./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_08-cond_racefree.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/goblint-regression/28-race_reach_08-cond_racefree.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 b4439281d7e12bca3fd2bd39ebda4196e341f38fedf1c370a96bdabb4944cfe7 --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 21:38:03,623 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-29 21:38:03,625 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-29 21:38:03,657 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-29 21:38:03,659 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-29 21:38:03,661 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-29 21:38:03,663 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-29 21:38:03,665 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-29 21:38:03,666 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-29 21:38:03,669 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-29 21:38:03,670 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-29 21:38:03,672 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-29 21:38:03,672 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-29 21:38:03,674 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-29 21:38:03,675 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-29 21:38:03,683 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-29 21:38:03,683 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-29 21:38:03,685 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-29 21:38:03,686 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-29 21:38:03,690 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-29 21:38:03,691 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-29 21:38:03,692 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-29 21:38:03,693 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-29 21:38:03,694 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-29 21:38:03,699 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-29 21:38:03,699 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-29 21:38:03,700 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-29 21:38:03,701 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-29 21:38:03,701 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-29 21:38:03,702 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-29 21:38:03,702 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-29 21:38:03,706 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-29 21:38:03,707 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-29 21:38:03,707 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-29 21:38:03,708 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-29 21:38:03,709 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-29 21:38:03,709 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-29 21:38:03,709 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-29 21:38:03,710 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-29 21:38:03,710 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-29 21:38:03,711 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-29 21:38:03,712 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-08-29 21:38:03,734 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-29 21:38:03,734 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-29 21:38:03,735 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-29 21:38:03,735 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-29 21:38:03,736 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-29 21:38:03,736 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-29 21:38:03,737 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-29 21:38:03,737 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-29 21:38:03,737 INFO L138 SettingsManager]: * Use SBE=true [2023-08-29 21:38:03,737 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-29 21:38:03,738 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-29 21:38:03,738 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-08-29 21:38:03,738 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-29 21:38:03,738 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-29 21:38:03,738 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-29 21:38:03,738 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-08-29 21:38:03,739 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-08-29 21:38:03,739 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-08-29 21:38:03,739 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-29 21:38:03,739 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-08-29 21:38:03,739 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-29 21:38:03,739 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-29 21:38:03,739 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-29 21:38:03,740 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-29 21:38:03,740 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-29 21:38:03,740 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 21:38:03,740 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-29 21:38:03,740 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-29 21:38:03,740 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-29 21:38:03,740 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-29 21:38:03,741 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-29 21:38:03,741 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-29 21:38:03,741 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-29 21:38:03,741 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-29 21:38:03,741 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 -> b4439281d7e12bca3fd2bd39ebda4196e341f38fedf1c370a96bdabb4944cfe7 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 21:38:03,971 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-29 21:38:03,987 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-29 21:38:03,989 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-29 21:38:03,989 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-29 21:38:03,989 INFO L275 PluginConnector]: CDTParser initialized [2023-08-29 21:38:03,990 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/goblint-regression/28-race_reach_08-cond_racefree.i [2023-08-29 21:38:04,881 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-29 21:38:05,074 INFO L351 CDTParser]: Found 1 translation units. [2023-08-29 21:38:05,075 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_08-cond_racefree.i [2023-08-29 21:38:05,085 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/48e604eb5/73811910f5844a4289e44343bfea9d7d/FLAGc0023cc33 [2023-08-29 21:38:05,098 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/48e604eb5/73811910f5844a4289e44343bfea9d7d [2023-08-29 21:38:05,100 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-29 21:38:05,101 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-29 21:38:05,102 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-29 21:38:05,103 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-29 21:38:05,105 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-29 21:38:05,105 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 09:38:05" (1/1) ... [2023-08-29 21:38:05,106 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@79bf3f12 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:38:05, skipping insertion in model container [2023-08-29 21:38:05,108 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 09:38:05" (1/1) ... [2023-08-29 21:38:05,112 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-29 21:38:05,150 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-29 21:38:05,448 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_08-cond_racefree.i[41322,41335] [2023-08-29 21:38:05,473 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 21:38:05,485 INFO L203 MainTranslator]: Completed pre-run [2023-08-29 21:38:05,523 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_08-cond_racefree.i[41322,41335] [2023-08-29 21:38:05,535 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 21:38:05,594 INFO L208 MainTranslator]: Completed translation [2023-08-29 21:38:05,594 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:38:05 WrapperNode [2023-08-29 21:38:05,594 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-29 21:38:05,595 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-29 21:38:05,596 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-29 21:38:05,596 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-29 21:38:05,600 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:38:05" (1/1) ... [2023-08-29 21:38:05,625 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:38:05" (1/1) ... [2023-08-29 21:38:05,649 INFO L138 Inliner]: procedures = 270, calls = 30, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 90 [2023-08-29 21:38:05,650 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-29 21:38:05,651 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-29 21:38:05,651 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-29 21:38:05,651 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-29 21:38:05,657 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:38:05" (1/1) ... [2023-08-29 21:38:05,657 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:38:05" (1/1) ... [2023-08-29 21:38:05,672 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:38:05" (1/1) ... [2023-08-29 21:38:05,673 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:38:05" (1/1) ... [2023-08-29 21:38:05,677 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:38:05" (1/1) ... [2023-08-29 21:38:05,686 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:38:05" (1/1) ... [2023-08-29 21:38:05,687 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:38:05" (1/1) ... [2023-08-29 21:38:05,693 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:38:05" (1/1) ... [2023-08-29 21:38:05,695 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-29 21:38:05,699 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-29 21:38:05,699 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-29 21:38:05,699 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-29 21:38:05,700 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:38:05" (1/1) ... [2023-08-29 21:38:05,704 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 21:38:05,712 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:38:05,724 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 21:38:05,746 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 21:38:05,755 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-29 21:38:05,755 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-29 21:38:05,755 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-08-29 21:38:05,755 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-29 21:38:05,755 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-08-29 21:38:05,755 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-29 21:38:05,756 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2023-08-29 21:38:05,756 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2023-08-29 21:38:05,756 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-29 21:38:05,756 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-29 21:38:05,756 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-29 21:38:05,757 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 21:38:05,912 INFO L236 CfgBuilder]: Building ICFG [2023-08-29 21:38:05,914 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-29 21:38:06,071 INFO L277 CfgBuilder]: Performing block encoding [2023-08-29 21:38:06,077 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-29 21:38:06,078 INFO L302 CfgBuilder]: Removed 10 assume(true) statements. [2023-08-29 21:38:06,079 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 09:38:06 BoogieIcfgContainer [2023-08-29 21:38:06,080 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-29 21:38:06,083 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-29 21:38:06,083 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-08-29 21:38:06,085 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-08-29 21:38:06,085 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.08 09:38:05" (1/3) ... [2023-08-29 21:38:06,086 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@73e0a3e4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 09:38:06, skipping insertion in model container [2023-08-29 21:38:06,086 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:38:05" (2/3) ... [2023-08-29 21:38:06,086 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@73e0a3e4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 09:38:06, skipping insertion in model container [2023-08-29 21:38:06,086 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 09:38:06" (3/3) ... [2023-08-29 21:38:06,087 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_08-cond_racefree.i [2023-08-29 21:38:06,098 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-29 21:38:06,098 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2023-08-29 21:38:06,098 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-29 21:38:06,190 INFO L144 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2023-08-29 21:38:06,217 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 117 places, 129 transitions, 266 flow [2023-08-29 21:38:06,275 INFO L130 PetriNetUnfolder]: 23/178 cut-off events. [2023-08-29 21:38:06,275 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:38:06,279 INFO L83 FinitePrefix]: Finished finitePrefix Result has 184 conditions, 178 events. 23/178 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 438 event pairs, 0 based on Foata normal form. 0/140 useless extension candidates. Maximal degree in co-relation 89. Up to 6 conditions per place. [2023-08-29 21:38:06,279 INFO L82 GeneralOperation]: Start removeDead. Operand has 117 places, 129 transitions, 266 flow [2023-08-29 21:38:06,284 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 117 places, 129 transitions, 266 flow [2023-08-29 21:38:06,287 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:38:06,298 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 117 places, 129 transitions, 266 flow [2023-08-29 21:38:06,302 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 117 places, 129 transitions, 266 flow [2023-08-29 21:38:06,303 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 117 places, 129 transitions, 266 flow [2023-08-29 21:38:06,325 INFO L130 PetriNetUnfolder]: 23/178 cut-off events. [2023-08-29 21:38:06,325 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:38:06,326 INFO L83 FinitePrefix]: Finished finitePrefix Result has 184 conditions, 178 events. 23/178 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 438 event pairs, 0 based on Foata normal form. 0/140 useless extension candidates. Maximal degree in co-relation 89. Up to 6 conditions per place. [2023-08-29 21:38:06,327 INFO L119 LiptonReduction]: Number of co-enabled transitions 3080 [2023-08-29 21:38:09,282 INFO L134 LiptonReduction]: Checked pairs total: 5768 [2023-08-29 21:38:09,282 INFO L136 LiptonReduction]: Total number of compositions: 114 [2023-08-29 21:38:09,291 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:38:09,296 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;@176dec7b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:38:09,296 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:38:09,298 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 21:38:09,298 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:38:09,298 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:09,298 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:38:09,299 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:38:09,301 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:09,302 INFO L85 PathProgramCache]: Analyzing trace with hash 15832, now seen corresponding path program 1 times [2023-08-29 21:38:09,307 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:09,308 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [502101719] [2023-08-29 21:38:09,308 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:09,308 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:09,390 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:09,505 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 21:38:09,506 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:38:09,506 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [502101719] [2023-08-29 21:38:09,507 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [502101719] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:38:09,509 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:38:09,514 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:38:09,515 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [955835590] [2023-08-29 21:38:09,516 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:38:09,521 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:38:09,524 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:38:09,536 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:38:09,536 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:38:09,571 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 107 out of 243 [2023-08-29 21:38:09,574 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 33 places, 41 transitions, 90 flow. Second operand has 3 states, 3 states have (on average 107.66666666666667) internal successors, (323), 3 states have internal predecessors, (323), 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 21:38:09,574 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:38:09,575 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 107 of 243 [2023-08-29 21:38:09,575 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:38:09,652 INFO L130 PetriNetUnfolder]: 131/295 cut-off events. [2023-08-29 21:38:09,652 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:38:09,655 INFO L83 FinitePrefix]: Finished finitePrefix Result has 595 conditions, 295 events. 131/295 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 18. Compared 1243 event pairs, 104 based on Foata normal form. 26/240 useless extension candidates. Maximal degree in co-relation 545. Up to 255 conditions per place. [2023-08-29 21:38:09,658 INFO L137 encePairwiseOnDemand]: 229/243 looper letters, 32 selfloop transitions, 2 changer transitions 3/38 dead transitions. [2023-08-29 21:38:09,658 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 33 places, 38 transitions, 156 flow [2023-08-29 21:38:09,660 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:38:09,661 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:38:09,670 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 374 transitions. [2023-08-29 21:38:09,673 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5130315500685871 [2023-08-29 21:38:09,673 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 374 transitions. [2023-08-29 21:38:09,674 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 374 transitions. [2023-08-29 21:38:09,676 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:38:09,677 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 374 transitions. [2023-08-29 21:38:09,682 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 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 21:38:09,687 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 243.0) internal successors, (972), 4 states have internal predecessors, (972), 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 21:38:09,687 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 243.0) internal successors, (972), 4 states have internal predecessors, (972), 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 21:38:09,689 INFO L175 Difference]: Start difference. First operand has 33 places, 41 transitions, 90 flow. Second operand 3 states and 374 transitions. [2023-08-29 21:38:09,690 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 33 places, 38 transitions, 156 flow [2023-08-29 21:38:09,692 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 33 places, 38 transitions, 156 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:38:09,693 INFO L231 Difference]: Finished difference. Result has 33 places, 27 transitions, 64 flow [2023-08-29 21:38:09,694 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=243, PETRI_DIFFERENCE_MINUEND_FLOW=68, PETRI_DIFFERENCE_MINUEND_PLACES=31, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=30, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=28, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=64, PETRI_PLACES=33, PETRI_TRANSITIONS=27} [2023-08-29 21:38:09,696 INFO L281 CegarLoopForPetriNet]: 33 programPoint places, 0 predicate places. [2023-08-29 21:38:09,696 INFO L495 AbstractCegarLoop]: Abstraction has has 33 places, 27 transitions, 64 flow [2023-08-29 21:38:09,697 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 107.66666666666667) internal successors, (323), 3 states have internal predecessors, (323), 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 21:38:09,697 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:09,697 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:38:09,697 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-08-29 21:38:09,697 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:38:09,703 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:09,704 INFO L85 PathProgramCache]: Analyzing trace with hash 15830, now seen corresponding path program 1 times [2023-08-29 21:38:09,704 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:09,705 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2139207887] [2023-08-29 21:38:09,705 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:09,705 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:09,729 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:09,828 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 21:38:09,829 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:38:09,829 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2139207887] [2023-08-29 21:38:09,829 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2139207887] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:38:09,830 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:38:09,830 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:38:09,831 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1125453855] [2023-08-29 21:38:09,831 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:38:09,832 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:38:09,832 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:38:09,833 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:38:09,833 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:38:09,861 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 110 out of 243 [2023-08-29 21:38:09,861 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 33 places, 27 transitions, 64 flow. Second operand has 3 states, 3 states have (on average 110.66666666666667) internal successors, (332), 3 states have internal predecessors, (332), 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 21:38:09,862 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:38:09,862 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 110 of 243 [2023-08-29 21:38:09,862 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:38:09,915 INFO L130 PetriNetUnfolder]: 113/247 cut-off events. [2023-08-29 21:38:09,915 INFO L131 PetriNetUnfolder]: For 7/7 co-relation queries the response was YES. [2023-08-29 21:38:09,922 INFO L83 FinitePrefix]: Finished finitePrefix Result has 511 conditions, 247 events. 113/247 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 18. Compared 911 event pairs, 84 based on Foata normal form. 0/201 useless extension candidates. Maximal degree in co-relation 486. Up to 236 conditions per place. [2023-08-29 21:38:09,923 INFO L137 encePairwiseOnDemand]: 238/243 looper letters, 32 selfloop transitions, 2 changer transitions 1/36 dead transitions. [2023-08-29 21:38:09,923 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 32 places, 36 transitions, 152 flow [2023-08-29 21:38:09,923 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:38:09,923 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:38:09,925 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 368 transitions. [2023-08-29 21:38:09,925 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.50480109739369 [2023-08-29 21:38:09,925 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 368 transitions. [2023-08-29 21:38:09,925 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 368 transitions. [2023-08-29 21:38:09,925 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:38:09,925 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 368 transitions. [2023-08-29 21:38:09,926 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 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 21:38:09,928 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 243.0) internal successors, (972), 4 states have internal predecessors, (972), 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 21:38:09,929 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 243.0) internal successors, (972), 4 states have internal predecessors, (972), 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 21:38:09,929 INFO L175 Difference]: Start difference. First operand has 33 places, 27 transitions, 64 flow. Second operand 3 states and 368 transitions. [2023-08-29 21:38:09,929 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 32 places, 36 transitions, 152 flow [2023-08-29 21:38:09,930 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 29 places, 36 transitions, 146 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-08-29 21:38:09,931 INFO L231 Difference]: Finished difference. Result has 30 places, 27 transitions, 70 flow [2023-08-29 21:38:09,931 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=243, PETRI_DIFFERENCE_MINUEND_FLOW=58, PETRI_DIFFERENCE_MINUEND_PLACES=27, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=27, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=25, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=70, PETRI_PLACES=30, PETRI_TRANSITIONS=27} [2023-08-29 21:38:09,931 INFO L281 CegarLoopForPetriNet]: 33 programPoint places, -3 predicate places. [2023-08-29 21:38:09,932 INFO L495 AbstractCegarLoop]: Abstraction has has 30 places, 27 transitions, 70 flow [2023-08-29 21:38:09,932 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 110.66666666666667) internal successors, (332), 3 states have internal predecessors, (332), 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 21:38:09,932 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:09,932 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2023-08-29 21:38:09,932 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-08-29 21:38:09,933 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:38:09,934 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:09,934 INFO L85 PathProgramCache]: Analyzing trace with hash 471973036, now seen corresponding path program 1 times [2023-08-29 21:38:09,935 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:09,935 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2106170414] [2023-08-29 21:38:09,935 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:09,935 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:09,970 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:10,067 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:10,067 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:38:10,067 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2106170414] [2023-08-29 21:38:10,067 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2106170414] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:38:10,068 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1345037081] [2023-08-29 21:38:10,068 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:10,069 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:38:10,069 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:38:10,071 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-08-29 21:38:10,077 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2023-08-29 21:38:10,127 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:10,128 INFO L263 TraceCheckSpWp]: Trace formula consists of 113 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:38:10,139 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:38:10,189 INFO L350 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 5 [2023-08-29 21:38:10,239 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:10,239 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:38:10,275 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:10,276 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1345037081] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:38:10,276 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:38:10,276 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 6 [2023-08-29 21:38:10,276 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [281414715] [2023-08-29 21:38:10,277 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:38:10,278 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2023-08-29 21:38:10,278 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:38:10,278 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2023-08-29 21:38:10,279 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=36, Unknown=0, NotChecked=0, Total=56 [2023-08-29 21:38:10,373 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 106 out of 243 [2023-08-29 21:38:10,374 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 30 places, 27 transitions, 70 flow. Second operand has 8 states, 8 states have (on average 107.875) internal successors, (863), 8 states have internal predecessors, (863), 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 21:38:10,374 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:38:10,374 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 106 of 243 [2023-08-29 21:38:10,374 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:38:10,423 INFO L130 PetriNetUnfolder]: 16/46 cut-off events. [2023-08-29 21:38:10,423 INFO L131 PetriNetUnfolder]: For 15/15 co-relation queries the response was YES. [2023-08-29 21:38:10,424 INFO L83 FinitePrefix]: Finished finitePrefix Result has 116 conditions, 46 events. 16/46 cut-off events. For 15/15 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 65 event pairs, 7 based on Foata normal form. 9/55 useless extension candidates. Maximal degree in co-relation 45. Up to 34 conditions per place. [2023-08-29 21:38:10,424 INFO L137 encePairwiseOnDemand]: 238/243 looper letters, 0 selfloop transitions, 0 changer transitions 22/22 dead transitions. [2023-08-29 21:38:10,424 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 21 places, 22 transitions, 94 flow [2023-08-29 21:38:10,424 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-08-29 21:38:10,424 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-08-29 21:38:10,425 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 448 transitions. [2023-08-29 21:38:10,426 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4609053497942387 [2023-08-29 21:38:10,426 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 448 transitions. [2023-08-29 21:38:10,426 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 448 transitions. [2023-08-29 21:38:10,426 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:38:10,426 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 448 transitions. [2023-08-29 21:38:10,427 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 112.0) internal successors, (448), 4 states have internal predecessors, (448), 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 21:38:10,428 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 243.0) internal successors, (1215), 5 states have internal predecessors, (1215), 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 21:38:10,429 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 243.0) internal successors, (1215), 5 states have internal predecessors, (1215), 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 21:38:10,429 INFO L175 Difference]: Start difference. First operand has 30 places, 27 transitions, 70 flow. Second operand 4 states and 448 transitions. [2023-08-29 21:38:10,429 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 21 places, 22 transitions, 94 flow [2023-08-29 21:38:10,430 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 18 places, 22 transitions, 88 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-08-29 21:38:10,430 INFO L231 Difference]: Finished difference. Result has 18 places, 0 transitions, 0 flow [2023-08-29 21:38:10,430 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=243, PETRI_DIFFERENCE_MINUEND_FLOW=28, PETRI_DIFFERENCE_MINUEND_PLACES=15, 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=4, PETRI_FLOW=0, PETRI_PLACES=18, PETRI_TRANSITIONS=0} [2023-08-29 21:38:10,431 INFO L281 CegarLoopForPetriNet]: 33 programPoint places, -15 predicate places. [2023-08-29 21:38:10,431 INFO L495 AbstractCegarLoop]: Abstraction has has 18 places, 0 transitions, 0 flow [2023-08-29 21:38:10,431 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 107.875) internal successors, (863), 8 states have internal predecessors, (863), 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 21:38:10,433 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2023-08-29 21:38:10,433 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-08-29 21:38:10,434 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 21:38:10,434 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-08-29 21:38:10,434 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 6 remaining) [2023-08-29 21:38:10,434 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 21:38:10,442 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Forceful destruction successful, exit code 0 [2023-08-29 21:38:10,637 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2,2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:38:10,638 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 21:38:10,639 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:38:10,642 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 117 places, 129 transitions, 266 flow [2023-08-29 21:38:10,652 INFO L130 PetriNetUnfolder]: 23/178 cut-off events. [2023-08-29 21:38:10,652 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:38:10,653 INFO L83 FinitePrefix]: Finished finitePrefix Result has 184 conditions, 178 events. 23/178 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 438 event pairs, 0 based on Foata normal form. 0/140 useless extension candidates. Maximal degree in co-relation 89. Up to 6 conditions per place. [2023-08-29 21:38:10,653 INFO L82 GeneralOperation]: Start removeDead. Operand has 117 places, 129 transitions, 266 flow [2023-08-29 21:38:10,654 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 113 places, 124 transitions, 253 flow [2023-08-29 21:38:10,654 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:38:10,654 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 113 places, 124 transitions, 253 flow [2023-08-29 21:38:10,654 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 113 places, 124 transitions, 253 flow [2023-08-29 21:38:10,654 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 113 places, 124 transitions, 253 flow [2023-08-29 21:38:10,666 INFO L130 PetriNetUnfolder]: 22/173 cut-off events. [2023-08-29 21:38:10,666 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:38:10,667 INFO L83 FinitePrefix]: Finished finitePrefix Result has 178 conditions, 173 events. 22/173 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 423 event pairs, 0 based on Foata normal form. 0/135 useless extension candidates. Maximal degree in co-relation 89. Up to 6 conditions per place. [2023-08-29 21:38:10,668 INFO L119 LiptonReduction]: Number of co-enabled transitions 3080 [2023-08-29 21:38:13,160 INFO L134 LiptonReduction]: Checked pairs total: 5500 [2023-08-29 21:38:13,160 INFO L136 LiptonReduction]: Total number of compositions: 114 [2023-08-29 21:38:13,161 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:38:13,162 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;@176dec7b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:38:13,162 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:38:13,164 INFO L130 PetriNetUnfolder]: 4/32 cut-off events. [2023-08-29 21:38:13,164 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:38:13,164 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:13,164 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-08-29 21:38:13,165 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:38:13,165 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:13,165 INFO L85 PathProgramCache]: Analyzing trace with hash 830564393, now seen corresponding path program 1 times [2023-08-29 21:38:13,165 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:13,165 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1841964263] [2023-08-29 21:38:13,165 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:13,165 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:13,174 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:38:13,175 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:38:13,179 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:38:13,191 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:38:13,192 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:38:13,192 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:38:13,192 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-08-29 21:38:13,192 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:38:13,193 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:38:13,193 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:38:13,193 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-08-29 21:38:13,208 INFO L144 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2023-08-29 21:38:13,214 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 142 places, 159 transitions, 336 flow [2023-08-29 21:38:13,231 INFO L130 PetriNetUnfolder]: 40/286 cut-off events. [2023-08-29 21:38:13,232 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:38:13,232 INFO L83 FinitePrefix]: Finished finitePrefix Result has 300 conditions, 286 events. 40/286 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 874 event pairs, 0 based on Foata normal form. 0/221 useless extension candidates. Maximal degree in co-relation 180. Up to 9 conditions per place. [2023-08-29 21:38:13,233 INFO L82 GeneralOperation]: Start removeDead. Operand has 142 places, 159 transitions, 336 flow [2023-08-29 21:38:13,234 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 142 places, 159 transitions, 336 flow [2023-08-29 21:38:13,234 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:38:13,234 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 142 places, 159 transitions, 336 flow [2023-08-29 21:38:13,234 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 142 places, 159 transitions, 336 flow [2023-08-29 21:38:13,234 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 142 places, 159 transitions, 336 flow [2023-08-29 21:38:13,248 INFO L130 PetriNetUnfolder]: 40/286 cut-off events. [2023-08-29 21:38:13,248 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:38:13,249 INFO L83 FinitePrefix]: Finished finitePrefix Result has 300 conditions, 286 events. 40/286 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 874 event pairs, 0 based on Foata normal form. 0/221 useless extension candidates. Maximal degree in co-relation 180. Up to 9 conditions per place. [2023-08-29 21:38:13,252 INFO L119 LiptonReduction]: Number of co-enabled transitions 8344 [2023-08-29 21:38:15,784 INFO L134 LiptonReduction]: Checked pairs total: 19423 [2023-08-29 21:38:15,785 INFO L136 LiptonReduction]: Total number of compositions: 125 [2023-08-29 21:38:15,786 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:38:15,787 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;@176dec7b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:38:15,787 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:38:15,788 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 21:38:15,788 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:38:15,788 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:15,788 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:38:15,788 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:38:15,789 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:15,789 INFO L85 PathProgramCache]: Analyzing trace with hash 29533, now seen corresponding path program 1 times [2023-08-29 21:38:15,789 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:15,789 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1725319273] [2023-08-29 21:38:15,789 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:15,789 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:15,794 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:15,819 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 21:38:15,819 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:38:15,820 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1725319273] [2023-08-29 21:38:15,820 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1725319273] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:38:15,820 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:38:15,820 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:38:15,820 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1232216342] [2023-08-29 21:38:15,820 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:38:15,820 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:38:15,821 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:38:15,821 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:38:15,821 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:38:15,841 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 132 out of 284 [2023-08-29 21:38:15,842 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 51 places, 64 transitions, 146 flow. Second operand has 3 states, 3 states have (on average 132.66666666666666) internal successors, (398), 3 states have internal predecessors, (398), 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 21:38:15,842 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:38:15,842 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 132 of 284 [2023-08-29 21:38:15,842 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:38:16,075 INFO L130 PetriNetUnfolder]: 2166/3795 cut-off events. [2023-08-29 21:38:16,076 INFO L131 PetriNetUnfolder]: For 44/44 co-relation queries the response was YES. [2023-08-29 21:38:16,079 INFO L83 FinitePrefix]: Finished finitePrefix Result has 7360 conditions, 3795 events. 2166/3795 cut-off events. For 44/44 co-relation queries the response was YES. Maximal size of possible extension queue 175. Compared 24430 event pairs, 1008 based on Foata normal form. 461/3450 useless extension candidates. Maximal degree in co-relation 983. Up to 3497 conditions per place. [2023-08-29 21:38:16,088 INFO L137 encePairwiseOnDemand]: 264/284 looper letters, 43 selfloop transitions, 2 changer transitions 3/58 dead transitions. [2023-08-29 21:38:16,089 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 53 places, 58 transitions, 228 flow [2023-08-29 21:38:16,089 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:38:16,089 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:38:16,090 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 467 transitions. [2023-08-29 21:38:16,090 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5481220657276995 [2023-08-29 21:38:16,090 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 467 transitions. [2023-08-29 21:38:16,090 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 467 transitions. [2023-08-29 21:38:16,091 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:38:16,091 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 467 transitions. [2023-08-29 21:38:16,092 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 155.66666666666666) internal successors, (467), 3 states have internal predecessors, (467), 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 21:38:16,093 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 284.0) internal successors, (1136), 4 states have internal predecessors, (1136), 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 21:38:16,093 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 284.0) internal successors, (1136), 4 states have internal predecessors, (1136), 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 21:38:16,094 INFO L175 Difference]: Start difference. First operand has 51 places, 64 transitions, 146 flow. Second operand 3 states and 467 transitions. [2023-08-29 21:38:16,094 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 53 places, 58 transitions, 228 flow [2023-08-29 21:38:16,095 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 53 places, 58 transitions, 228 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:38:16,096 INFO L231 Difference]: Finished difference. Result has 54 places, 47 transitions, 122 flow [2023-08-29 21:38:16,097 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=284, PETRI_DIFFERENCE_MINUEND_FLOW=116, PETRI_DIFFERENCE_MINUEND_PLACES=51, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=49, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=47, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=122, PETRI_PLACES=54, PETRI_TRANSITIONS=47} [2023-08-29 21:38:16,100 INFO L281 CegarLoopForPetriNet]: 51 programPoint places, 3 predicate places. [2023-08-29 21:38:16,100 INFO L495 AbstractCegarLoop]: Abstraction has has 54 places, 47 transitions, 122 flow [2023-08-29 21:38:16,100 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 132.66666666666666) internal successors, (398), 3 states have internal predecessors, (398), 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 21:38:16,100 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:16,100 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:38:16,100 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-08-29 21:38:16,101 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:38:16,101 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:16,101 INFO L85 PathProgramCache]: Analyzing trace with hash 29531, now seen corresponding path program 1 times [2023-08-29 21:38:16,101 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:16,101 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1074384863] [2023-08-29 21:38:16,101 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:16,102 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:16,107 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:16,130 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 21:38:16,130 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:38:16,130 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1074384863] [2023-08-29 21:38:16,130 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1074384863] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:38:16,130 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:38:16,130 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:38:16,131 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1216719579] [2023-08-29 21:38:16,131 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:38:16,131 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:38:16,131 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:38:16,132 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:38:16,132 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:38:16,151 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 129 out of 284 [2023-08-29 21:38:16,152 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 54 places, 47 transitions, 122 flow. Second operand has 3 states, 3 states have (on average 129.66666666666666) internal successors, (389), 3 states have internal predecessors, (389), 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 21:38:16,152 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:38:16,152 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 129 of 284 [2023-08-29 21:38:16,152 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:38:16,362 INFO L130 PetriNetUnfolder]: 1686/3002 cut-off events. [2023-08-29 21:38:16,362 INFO L131 PetriNetUnfolder]: For 176/176 co-relation queries the response was YES. [2023-08-29 21:38:16,364 INFO L83 FinitePrefix]: Finished finitePrefix Result has 6062 conditions, 3002 events. 1686/3002 cut-off events. For 176/176 co-relation queries the response was YES. Maximal size of possible extension queue 132. Compared 18417 event pairs, 1484 based on Foata normal form. 0/2564 useless extension candidates. Maximal degree in co-relation 6001. Up to 2521 conditions per place. [2023-08-29 21:38:16,371 INFO L137 encePairwiseOnDemand]: 280/284 looper letters, 47 selfloop transitions, 2 changer transitions 0/59 dead transitions. [2023-08-29 21:38:16,371 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 51 places, 59 transitions, 244 flow [2023-08-29 21:38:16,372 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:38:16,372 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:38:16,372 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 437 transitions. [2023-08-29 21:38:16,373 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5129107981220657 [2023-08-29 21:38:16,373 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 437 transitions. [2023-08-29 21:38:16,373 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 437 transitions. [2023-08-29 21:38:16,373 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:38:16,373 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 437 transitions. [2023-08-29 21:38:16,374 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 145.66666666666666) internal successors, (437), 3 states have internal predecessors, (437), 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 21:38:16,375 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 284.0) internal successors, (1136), 4 states have internal predecessors, (1136), 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 21:38:16,376 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 284.0) internal successors, (1136), 4 states have internal predecessors, (1136), 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 21:38:16,376 INFO L175 Difference]: Start difference. First operand has 54 places, 47 transitions, 122 flow. Second operand 3 states and 437 transitions. [2023-08-29 21:38:16,376 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 51 places, 59 transitions, 244 flow [2023-08-29 21:38:16,377 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 49 places, 59 transitions, 240 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:38:16,378 INFO L231 Difference]: Finished difference. Result has 49 places, 45 transitions, 118 flow [2023-08-29 21:38:16,378 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=284, PETRI_DIFFERENCE_MINUEND_FLOW=114, PETRI_DIFFERENCE_MINUEND_PLACES=47, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=45, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=43, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=118, PETRI_PLACES=49, PETRI_TRANSITIONS=45} [2023-08-29 21:38:16,379 INFO L281 CegarLoopForPetriNet]: 51 programPoint places, -2 predicate places. [2023-08-29 21:38:16,379 INFO L495 AbstractCegarLoop]: Abstraction has has 49 places, 45 transitions, 118 flow [2023-08-29 21:38:16,380 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 129.66666666666666) internal successors, (389), 3 states have internal predecessors, (389), 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 21:38:16,380 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:16,380 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-08-29 21:38:16,380 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-08-29 21:38:16,383 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:38:16,384 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:16,384 INFO L85 PathProgramCache]: Analyzing trace with hash 1527088145, now seen corresponding path program 1 times [2023-08-29 21:38:16,384 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:16,384 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [74414577] [2023-08-29 21:38:16,384 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:16,386 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:16,393 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:16,457 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:16,457 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:38:16,457 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [74414577] [2023-08-29 21:38:16,458 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [74414577] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:38:16,458 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [811825586] [2023-08-29 21:38:16,458 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:16,458 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:38:16,458 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:38:16,465 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-08-29 21:38:16,500 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2023-08-29 21:38:16,535 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:16,536 INFO L263 TraceCheckSpWp]: Trace formula consists of 114 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:38:16,536 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:38:16,546 INFO L350 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 5 [2023-08-29 21:38:16,573 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:16,573 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:38:16,605 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:16,605 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [811825586] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:38:16,606 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:38:16,606 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 6 [2023-08-29 21:38:16,606 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1779265360] [2023-08-29 21:38:16,606 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:38:16,606 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2023-08-29 21:38:16,606 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:38:16,607 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2023-08-29 21:38:16,607 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=36, Unknown=0, NotChecked=0, Total=56 [2023-08-29 21:38:16,690 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 128 out of 284 [2023-08-29 21:38:16,692 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 49 places, 45 transitions, 118 flow. Second operand has 8 states, 8 states have (on average 129.875) internal successors, (1039), 8 states have internal predecessors, (1039), 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 21:38:16,692 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:38:16,693 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 128 of 284 [2023-08-29 21:38:16,693 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:38:16,823 INFO L130 PetriNetUnfolder]: 286/532 cut-off events. [2023-08-29 21:38:16,823 INFO L131 PetriNetUnfolder]: For 77/77 co-relation queries the response was YES. [2023-08-29 21:38:16,824 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1124 conditions, 532 events. 286/532 cut-off events. For 77/77 co-relation queries the response was YES. Maximal size of possible extension queue 31. Compared 2491 event pairs, 0 based on Foata normal form. 70/601 useless extension candidates. Maximal degree in co-relation 1114. Up to 346 conditions per place. [2023-08-29 21:38:16,824 INFO L137 encePairwiseOnDemand]: 279/284 looper letters, 0 selfloop transitions, 0 changer transitions 51/51 dead transitions. [2023-08-29 21:38:16,824 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 40 places, 51 transitions, 201 flow [2023-08-29 21:38:16,825 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2023-08-29 21:38:16,825 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2023-08-29 21:38:16,826 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 688 transitions. [2023-08-29 21:38:16,826 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.48450704225352115 [2023-08-29 21:38:16,826 INFO L72 ComplementDD]: Start complementDD. Operand 5 states and 688 transitions. [2023-08-29 21:38:16,826 INFO L73 IsDeterministic]: Start isDeterministic. Operand 5 states and 688 transitions. [2023-08-29 21:38:16,827 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:38:16,827 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 5 states and 688 transitions. [2023-08-29 21:38:16,828 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 6 states, 5 states have (on average 137.6) internal successors, (688), 5 states have internal predecessors, (688), 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 21:38:16,829 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 6 states, 6 states have (on average 284.0) internal successors, (1704), 6 states have internal predecessors, (1704), 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 21:38:16,830 INFO L81 ComplementDD]: Finished complementDD. Result has 6 states, 6 states have (on average 284.0) internal successors, (1704), 6 states have internal predecessors, (1704), 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 21:38:16,830 INFO L175 Difference]: Start difference. First operand has 49 places, 45 transitions, 118 flow. Second operand 5 states and 688 transitions. [2023-08-29 21:38:16,830 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 40 places, 51 transitions, 201 flow [2023-08-29 21:38:16,831 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 39 places, 51 transitions, 200 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 21:38:16,831 INFO L231 Difference]: Finished difference. Result has 39 places, 0 transitions, 0 flow [2023-08-29 21:38:16,831 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=284, PETRI_DIFFERENCE_MINUEND_FLOW=72, PETRI_DIFFERENCE_MINUEND_PLACES=35, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=29, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=29, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=0, PETRI_PLACES=39, PETRI_TRANSITIONS=0} [2023-08-29 21:38:16,832 INFO L281 CegarLoopForPetriNet]: 51 programPoint places, -12 predicate places. [2023-08-29 21:38:16,833 INFO L495 AbstractCegarLoop]: Abstraction has has 39 places, 0 transitions, 0 flow [2023-08-29 21:38:16,833 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 129.875) internal successors, (1039), 8 states have internal predecessors, (1039), 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 21:38:16,833 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2023-08-29 21:38:16,833 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-08-29 21:38:16,834 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 21:38:16,834 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-08-29 21:38:16,834 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 6 remaining) [2023-08-29 21:38:16,834 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 21:38:16,841 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Forceful destruction successful, exit code 0 [2023-08-29 21:38:17,041 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable6 [2023-08-29 21:38:17,043 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 21:38:17,043 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:38:17,045 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 142 places, 159 transitions, 336 flow [2023-08-29 21:38:17,057 INFO L130 PetriNetUnfolder]: 40/286 cut-off events. [2023-08-29 21:38:17,057 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:38:17,058 INFO L83 FinitePrefix]: Finished finitePrefix Result has 300 conditions, 286 events. 40/286 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 874 event pairs, 0 based on Foata normal form. 0/221 useless extension candidates. Maximal degree in co-relation 180. Up to 9 conditions per place. [2023-08-29 21:38:17,058 INFO L82 GeneralOperation]: Start removeDead. Operand has 142 places, 159 transitions, 336 flow [2023-08-29 21:38:17,059 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 142 places, 159 transitions, 336 flow [2023-08-29 21:38:17,060 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:38:17,060 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 142 places, 159 transitions, 336 flow [2023-08-29 21:38:17,060 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 142 places, 159 transitions, 336 flow [2023-08-29 21:38:17,060 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 142 places, 159 transitions, 336 flow [2023-08-29 21:38:17,072 INFO L130 PetriNetUnfolder]: 40/286 cut-off events. [2023-08-29 21:38:17,072 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:38:17,072 INFO L83 FinitePrefix]: Finished finitePrefix Result has 300 conditions, 286 events. 40/286 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 874 event pairs, 0 based on Foata normal form. 0/221 useless extension candidates. Maximal degree in co-relation 180. Up to 9 conditions per place. [2023-08-29 21:38:17,076 INFO L119 LiptonReduction]: Number of co-enabled transitions 8344 [2023-08-29 21:38:19,536 INFO L134 LiptonReduction]: Checked pairs total: 19105 [2023-08-29 21:38:19,536 INFO L136 LiptonReduction]: Total number of compositions: 128 [2023-08-29 21:38:19,537 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:38:19,537 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;@176dec7b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:38:19,537 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:38:19,541 INFO L130 PetriNetUnfolder]: 13/72 cut-off events. [2023-08-29 21:38:19,541 INFO L131 PetriNetUnfolder]: For 3/3 co-relation queries the response was YES. [2023-08-29 21:38:19,541 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:19,541 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1] [2023-08-29 21:38:19,541 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:38:19,541 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:19,541 INFO L85 PathProgramCache]: Analyzing trace with hash 891674205, now seen corresponding path program 1 times [2023-08-29 21:38:19,542 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:19,542 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [331101182] [2023-08-29 21:38:19,542 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:19,542 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:19,552 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:38:19,552 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:38:19,557 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:38:19,560 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:38:19,564 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:38:19,565 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:38:19,565 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-08-29 21:38:19,565 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:38:19,566 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:38:19,567 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:38:19,567 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-08-29 21:38:19,581 INFO L144 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2023-08-29 21:38:19,583 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 167 places, 189 transitions, 408 flow [2023-08-29 21:38:19,605 INFO L130 PetriNetUnfolder]: 62/435 cut-off events. [2023-08-29 21:38:19,606 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:38:19,608 INFO L83 FinitePrefix]: Finished finitePrefix Result has 463 conditions, 435 events. 62/435 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 14. Compared 1513 event pairs, 1 based on Foata normal form. 0/333 useless extension candidates. Maximal degree in co-relation 294. Up to 16 conditions per place. [2023-08-29 21:38:19,608 INFO L82 GeneralOperation]: Start removeDead. Operand has 167 places, 189 transitions, 408 flow [2023-08-29 21:38:19,610 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 167 places, 189 transitions, 408 flow [2023-08-29 21:38:19,610 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:38:19,610 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 167 places, 189 transitions, 408 flow [2023-08-29 21:38:19,610 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 167 places, 189 transitions, 408 flow [2023-08-29 21:38:19,610 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 167 places, 189 transitions, 408 flow [2023-08-29 21:38:19,633 INFO L130 PetriNetUnfolder]: 62/435 cut-off events. [2023-08-29 21:38:19,633 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:38:19,635 INFO L83 FinitePrefix]: Finished finitePrefix Result has 463 conditions, 435 events. 62/435 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 14. Compared 1513 event pairs, 1 based on Foata normal form. 0/333 useless extension candidates. Maximal degree in co-relation 294. Up to 16 conditions per place. [2023-08-29 21:38:19,644 INFO L119 LiptonReduction]: Number of co-enabled transitions 15120 [2023-08-29 21:38:22,103 INFO L134 LiptonReduction]: Checked pairs total: 37198 [2023-08-29 21:38:22,104 INFO L136 LiptonReduction]: Total number of compositions: 140 [2023-08-29 21:38:22,105 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:38:22,105 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;@176dec7b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:38:22,105 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:38:22,106 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 21:38:22,106 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:38:22,106 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:22,106 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:38:22,106 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:38:22,106 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:22,107 INFO L85 PathProgramCache]: Analyzing trace with hash 45100, now seen corresponding path program 1 times [2023-08-29 21:38:22,107 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:22,107 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [69943715] [2023-08-29 21:38:22,107 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:22,107 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:22,124 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:22,152 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 21:38:22,152 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:38:22,153 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [69943715] [2023-08-29 21:38:22,153 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [69943715] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:38:22,153 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:38:22,153 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:38:22,153 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1759179680] [2023-08-29 21:38:22,153 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:38:22,153 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:38:22,154 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:38:22,154 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:38:22,154 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:38:22,174 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 154 out of 329 [2023-08-29 21:38:22,175 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 65 places, 83 transitions, 196 flow. Second operand has 3 states, 3 states have (on average 154.66666666666666) internal successors, (464), 3 states have internal predecessors, (464), 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 21:38:22,175 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:38:22,175 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 154 of 329 [2023-08-29 21:38:22,175 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:38:24,470 INFO L130 PetriNetUnfolder]: 24490/37484 cut-off events. [2023-08-29 21:38:24,470 INFO L131 PetriNetUnfolder]: For 709/709 co-relation queries the response was YES. [2023-08-29 21:38:24,522 INFO L83 FinitePrefix]: Finished finitePrefix Result has 72706 conditions, 37484 events. 24490/37484 cut-off events. For 709/709 co-relation queries the response was YES. Maximal size of possible extension queue 1240. Compared 284583 event pairs, 21143 based on Foata normal form. 9044/40141 useless extension candidates. Maximal degree in co-relation 14199. Up to 34655 conditions per place. [2023-08-29 21:38:24,645 INFO L137 encePairwiseOnDemand]: 303/329 looper letters, 51 selfloop transitions, 2 changer transitions 3/71 dead transitions. [2023-08-29 21:38:24,645 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 67 places, 71 transitions, 282 flow [2023-08-29 21:38:24,646 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:38:24,646 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:38:24,647 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 547 transitions. [2023-08-29 21:38:24,647 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5542046605876393 [2023-08-29 21:38:24,647 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 547 transitions. [2023-08-29 21:38:24,647 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 547 transitions. [2023-08-29 21:38:24,648 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:38:24,648 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 547 transitions. [2023-08-29 21:38:24,648 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 182.33333333333334) internal successors, (547), 3 states have internal predecessors, (547), 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 21:38:24,650 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 329.0) internal successors, (1316), 4 states have internal predecessors, (1316), 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 21:38:24,650 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 329.0) internal successors, (1316), 4 states have internal predecessors, (1316), 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 21:38:24,650 INFO L175 Difference]: Start difference. First operand has 65 places, 83 transitions, 196 flow. Second operand 3 states and 547 transitions. [2023-08-29 21:38:24,650 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 67 places, 71 transitions, 282 flow [2023-08-29 21:38:24,653 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 67 places, 71 transitions, 282 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:38:24,654 INFO L231 Difference]: Finished difference. Result has 68 places, 60 transitions, 158 flow [2023-08-29 21:38:24,654 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=329, PETRI_DIFFERENCE_MINUEND_FLOW=154, PETRI_DIFFERENCE_MINUEND_PLACES=65, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=62, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=60, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=158, PETRI_PLACES=68, PETRI_TRANSITIONS=60} [2023-08-29 21:38:24,654 INFO L281 CegarLoopForPetriNet]: 65 programPoint places, 3 predicate places. [2023-08-29 21:38:24,654 INFO L495 AbstractCegarLoop]: Abstraction has has 68 places, 60 transitions, 158 flow [2023-08-29 21:38:24,655 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 154.66666666666666) internal successors, (464), 3 states have internal predecessors, (464), 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 21:38:24,655 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:24,655 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:38:24,655 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-08-29 21:38:24,655 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:38:24,655 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:24,656 INFO L85 PathProgramCache]: Analyzing trace with hash 45102, now seen corresponding path program 1 times [2023-08-29 21:38:24,656 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:24,656 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [803442921] [2023-08-29 21:38:24,656 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:24,656 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:24,661 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:24,674 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 21:38:24,675 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:38:24,675 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [803442921] [2023-08-29 21:38:24,675 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [803442921] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:38:24,675 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:38:24,675 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:38:24,675 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1295229537] [2023-08-29 21:38:24,676 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:38:24,676 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:38:24,676 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:38:24,676 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:38:24,676 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:38:24,692 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 151 out of 329 [2023-08-29 21:38:24,693 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 68 places, 60 transitions, 158 flow. Second operand has 3 states, 3 states have (on average 151.66666666666666) internal successors, (455), 3 states have internal predecessors, (455), 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 21:38:24,693 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:38:24,693 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 151 of 329 [2023-08-29 21:38:24,693 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:38:26,290 INFO L130 PetriNetUnfolder]: 19018/28931 cut-off events. [2023-08-29 21:38:26,290 INFO L131 PetriNetUnfolder]: For 1662/1662 co-relation queries the response was YES. [2023-08-29 21:38:26,319 INFO L83 FinitePrefix]: Finished finitePrefix Result has 58378 conditions, 28931 events. 19018/28931 cut-off events. For 1662/1662 co-relation queries the response was YES. Maximal size of possible extension queue 953. Compared 211303 event pairs, 16947 based on Foata normal form. 0/25395 useless extension candidates. Maximal degree in co-relation 58316. Up to 24777 conditions per place. [2023-08-29 21:38:26,390 INFO L137 encePairwiseOnDemand]: 325/329 looper letters, 61 selfloop transitions, 2 changer transitions 0/78 dead transitions. [2023-08-29 21:38:26,390 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 65 places, 78 transitions, 320 flow [2023-08-29 21:38:26,390 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:38:26,390 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:38:26,391 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 517 transitions. [2023-08-29 21:38:26,392 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5238095238095238 [2023-08-29 21:38:26,392 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 517 transitions. [2023-08-29 21:38:26,392 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 517 transitions. [2023-08-29 21:38:26,392 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:38:26,392 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 517 transitions. [2023-08-29 21:38:26,393 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 172.33333333333334) internal successors, (517), 3 states have internal predecessors, (517), 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 21:38:26,394 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 329.0) internal successors, (1316), 4 states have internal predecessors, (1316), 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 21:38:26,394 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 329.0) internal successors, (1316), 4 states have internal predecessors, (1316), 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 21:38:26,394 INFO L175 Difference]: Start difference. First operand has 68 places, 60 transitions, 158 flow. Second operand 3 states and 517 transitions. [2023-08-29 21:38:26,395 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 65 places, 78 transitions, 320 flow [2023-08-29 21:38:26,401 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 63 places, 78 transitions, 316 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:38:26,403 INFO L231 Difference]: Finished difference. Result has 63 places, 58 transitions, 154 flow [2023-08-29 21:38:26,403 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=329, PETRI_DIFFERENCE_MINUEND_FLOW=150, PETRI_DIFFERENCE_MINUEND_PLACES=61, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=58, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=56, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=154, PETRI_PLACES=63, PETRI_TRANSITIONS=58} [2023-08-29 21:38:26,403 INFO L281 CegarLoopForPetriNet]: 65 programPoint places, -2 predicate places. [2023-08-29 21:38:26,404 INFO L495 AbstractCegarLoop]: Abstraction has has 63 places, 58 transitions, 154 flow [2023-08-29 21:38:26,404 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 151.66666666666666) internal successors, (455), 3 states have internal predecessors, (455), 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 21:38:26,404 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:26,404 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-08-29 21:38:26,404 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2023-08-29 21:38:26,404 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:38:26,405 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:26,405 INFO L85 PathProgramCache]: Analyzing trace with hash -1260040429, now seen corresponding path program 1 times [2023-08-29 21:38:26,405 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:26,405 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [406190558] [2023-08-29 21:38:26,405 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:26,405 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:26,412 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:26,468 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:26,469 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:38:26,469 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [406190558] [2023-08-29 21:38:26,469 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [406190558] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:38:26,469 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1660381721] [2023-08-29 21:38:26,469 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:26,469 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:38:26,469 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:38:26,470 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-08-29 21:38:26,472 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2023-08-29 21:38:26,525 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:26,526 INFO L263 TraceCheckSpWp]: Trace formula consists of 114 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:38:26,527 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:38:26,535 INFO L350 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 5 [2023-08-29 21:38:26,572 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:26,572 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:38:26,598 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:26,598 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1660381721] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:38:26,599 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:38:26,599 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 5 [2023-08-29 21:38:26,599 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [569033803] [2023-08-29 21:38:26,599 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:38:26,599 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2023-08-29 21:38:26,599 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:38:26,600 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2023-08-29 21:38:26,600 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=18, Invalid=24, Unknown=0, NotChecked=0, Total=42 [2023-08-29 21:38:26,660 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 151 out of 329 [2023-08-29 21:38:26,662 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 63 places, 58 transitions, 154 flow. Second operand has 7 states, 7 states have (on average 152.71428571428572) internal successors, (1069), 7 states have internal predecessors, (1069), 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 21:38:26,662 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:38:26,662 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 151 of 329 [2023-08-29 21:38:26,662 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:38:27,907 INFO L130 PetriNetUnfolder]: 18108/26500 cut-off events. [2023-08-29 21:38:27,908 INFO L131 PetriNetUnfolder]: For 1279/1279 co-relation queries the response was YES. [2023-08-29 21:38:27,946 INFO L83 FinitePrefix]: Finished finitePrefix Result has 54885 conditions, 26500 events. 18108/26500 cut-off events. For 1279/1279 co-relation queries the response was YES. Maximal size of possible extension queue 824. Compared 183184 event pairs, 3516 based on Foata normal form. 7/24212 useless extension candidates. Maximal degree in co-relation 49770. Up to 20037 conditions per place. [2023-08-29 21:38:28,027 INFO L137 encePairwiseOnDemand]: 323/329 looper letters, 113 selfloop transitions, 6 changer transitions 1/135 dead transitions. [2023-08-29 21:38:28,027 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 67 places, 135 transitions, 560 flow [2023-08-29 21:38:28,028 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-08-29 21:38:28,028 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2023-08-29 21:38:28,030 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 1031 transitions. [2023-08-29 21:38:28,030 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.522289766970618 [2023-08-29 21:38:28,030 INFO L72 ComplementDD]: Start complementDD. Operand 6 states and 1031 transitions. [2023-08-29 21:38:28,030 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6 states and 1031 transitions. [2023-08-29 21:38:28,161 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:38:28,161 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 6 states and 1031 transitions. [2023-08-29 21:38:28,162 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 7 states, 6 states have (on average 171.83333333333334) internal successors, (1031), 6 states have internal predecessors, (1031), 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 21:38:28,164 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 7 states, 7 states have (on average 329.0) internal successors, (2303), 7 states have internal predecessors, (2303), 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 21:38:28,165 INFO L81 ComplementDD]: Finished complementDD. Result has 7 states, 7 states have (on average 329.0) internal successors, (2303), 7 states have internal predecessors, (2303), 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 21:38:28,165 INFO L175 Difference]: Start difference. First operand has 63 places, 58 transitions, 154 flow. Second operand 6 states and 1031 transitions. [2023-08-29 21:38:28,165 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 67 places, 135 transitions, 560 flow [2023-08-29 21:38:28,239 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 65 places, 135 transitions, 554 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:38:28,240 INFO L231 Difference]: Finished difference. Result has 66 places, 59 transitions, 170 flow [2023-08-29 21:38:28,241 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=329, PETRI_DIFFERENCE_MINUEND_FLOW=146, PETRI_DIFFERENCE_MINUEND_PLACES=60, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=57, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=53, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=170, PETRI_PLACES=66, PETRI_TRANSITIONS=59} [2023-08-29 21:38:28,241 INFO L281 CegarLoopForPetriNet]: 65 programPoint places, 1 predicate places. [2023-08-29 21:38:28,241 INFO L495 AbstractCegarLoop]: Abstraction has has 66 places, 59 transitions, 170 flow [2023-08-29 21:38:28,242 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 152.71428571428572) internal successors, (1069), 7 states have internal predecessors, (1069), 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 21:38:28,242 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:28,242 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 2, 1, 1, 1, 1, 1, 1] [2023-08-29 21:38:28,248 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Ended with exit code 0 [2023-08-29 21:38:28,446 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable10,4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:38:28,446 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:38:28,447 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:28,447 INFO L85 PathProgramCache]: Analyzing trace with hash 1622779725, now seen corresponding path program 1 times [2023-08-29 21:38:28,447 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:28,447 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1300774490] [2023-08-29 21:38:28,447 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:28,447 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:28,453 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:28,505 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 5 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-08-29 21:38:28,505 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:38:28,505 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1300774490] [2023-08-29 21:38:28,505 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1300774490] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:38:28,505 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [932382628] [2023-08-29 21:38:28,506 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:28,506 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:38:28,506 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:38:28,507 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-08-29 21:38:28,509 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Waiting until timeout for monitored process [2023-08-29 21:38:28,575 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:28,585 INFO L263 TraceCheckSpWp]: Trace formula consists of 141 conjuncts, 4 conjunts are in the unsatisfiable core [2023-08-29 21:38:28,586 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:38:28,607 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:28,607 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:38:28,641 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:28,641 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [932382628] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:38:28,641 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:38:28,642 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [4, 4, 4] total 11 [2023-08-29 21:38:28,642 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [117635046] [2023-08-29 21:38:28,642 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:38:28,642 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 12 states [2023-08-29 21:38:28,642 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:38:28,642 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 12 interpolants. [2023-08-29 21:38:28,643 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=51, Invalid=81, Unknown=0, NotChecked=0, Total=132 [2023-08-29 21:38:28,739 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 145 out of 329 [2023-08-29 21:38:28,741 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 66 places, 59 transitions, 170 flow. Second operand has 12 states, 12 states have (on average 147.33333333333334) internal successors, (1768), 12 states have internal predecessors, (1768), 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 21:38:28,741 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:38:28,741 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 145 of 329 [2023-08-29 21:38:28,741 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:38:29,056 INFO L130 PetriNetUnfolder]: 3352/5486 cut-off events. [2023-08-29 21:38:29,056 INFO L131 PetriNetUnfolder]: For 2697/2697 co-relation queries the response was YES. [2023-08-29 21:38:29,063 INFO L83 FinitePrefix]: Finished finitePrefix Result has 11680 conditions, 5486 events. 3352/5486 cut-off events. For 2697/2697 co-relation queries the response was YES. Maximal size of possible extension queue 205. Compared 35252 event pairs, 355 based on Foata normal form. 504/5798 useless extension candidates. Maximal degree in co-relation 1291. Up to 3178 conditions per place. [2023-08-29 21:38:29,067 INFO L137 encePairwiseOnDemand]: 325/329 looper letters, 0 selfloop transitions, 0 changer transitions 85/85 dead transitions. [2023-08-29 21:38:29,067 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 59 places, 85 transitions, 344 flow [2023-08-29 21:38:29,067 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-08-29 21:38:29,067 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2023-08-29 21:38:29,068 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 945 transitions. [2023-08-29 21:38:29,069 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4787234042553192 [2023-08-29 21:38:29,069 INFO L72 ComplementDD]: Start complementDD. Operand 6 states and 945 transitions. [2023-08-29 21:38:29,069 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6 states and 945 transitions. [2023-08-29 21:38:29,070 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:38:29,070 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 6 states and 945 transitions. [2023-08-29 21:38:29,071 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 7 states, 6 states have (on average 157.5) internal successors, (945), 6 states have internal predecessors, (945), 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 21:38:29,073 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 7 states, 7 states have (on average 329.0) internal successors, (2303), 7 states have internal predecessors, (2303), 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 21:38:29,073 INFO L81 ComplementDD]: Finished complementDD. Result has 7 states, 7 states have (on average 329.0) internal successors, (2303), 7 states have internal predecessors, (2303), 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 21:38:29,073 INFO L175 Difference]: Start difference. First operand has 66 places, 59 transitions, 170 flow. Second operand 6 states and 945 transitions. [2023-08-29 21:38:29,073 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 59 places, 85 transitions, 344 flow [2023-08-29 21:38:29,075 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 55 places, 85 transitions, 331 flow, removed 3 selfloop flow, removed 4 redundant places. [2023-08-29 21:38:29,075 INFO L231 Difference]: Finished difference. Result has 55 places, 0 transitions, 0 flow [2023-08-29 21:38:29,076 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=329, PETRI_DIFFERENCE_MINUEND_FLOW=103, PETRI_DIFFERENCE_MINUEND_PLACES=50, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=42, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=42, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=0, PETRI_PLACES=55, PETRI_TRANSITIONS=0} [2023-08-29 21:38:29,077 INFO L281 CegarLoopForPetriNet]: 65 programPoint places, -10 predicate places. [2023-08-29 21:38:29,077 INFO L495 AbstractCegarLoop]: Abstraction has has 55 places, 0 transitions, 0 flow [2023-08-29 21:38:29,078 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 12 states, 12 states have (on average 147.33333333333334) internal successors, (1768), 12 states have internal predecessors, (1768), 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 21:38:29,078 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2023-08-29 21:38:29,079 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-08-29 21:38:29,079 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 21:38:29,079 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-08-29 21:38:29,079 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 6 remaining) [2023-08-29 21:38:29,079 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 21:38:29,092 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Forceful destruction successful, exit code 0 [2023-08-29 21:38:29,283 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11,5 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:38:29,283 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2023-08-29 21:38:29,284 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:38:29,285 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 167 places, 189 transitions, 408 flow [2023-08-29 21:38:29,305 INFO L130 PetriNetUnfolder]: 62/435 cut-off events. [2023-08-29 21:38:29,305 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:38:29,307 INFO L83 FinitePrefix]: Finished finitePrefix Result has 463 conditions, 435 events. 62/435 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 14. Compared 1513 event pairs, 1 based on Foata normal form. 0/333 useless extension candidates. Maximal degree in co-relation 294. Up to 16 conditions per place. [2023-08-29 21:38:29,307 INFO L82 GeneralOperation]: Start removeDead. Operand has 167 places, 189 transitions, 408 flow [2023-08-29 21:38:29,308 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 167 places, 189 transitions, 408 flow [2023-08-29 21:38:29,308 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:38:29,308 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 167 places, 189 transitions, 408 flow [2023-08-29 21:38:29,308 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 167 places, 189 transitions, 408 flow [2023-08-29 21:38:29,308 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 167 places, 189 transitions, 408 flow [2023-08-29 21:38:29,328 INFO L130 PetriNetUnfolder]: 62/435 cut-off events. [2023-08-29 21:38:29,328 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:38:29,330 INFO L83 FinitePrefix]: Finished finitePrefix Result has 463 conditions, 435 events. 62/435 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 14. Compared 1513 event pairs, 1 based on Foata normal form. 0/333 useless extension candidates. Maximal degree in co-relation 294. Up to 16 conditions per place. [2023-08-29 21:38:29,333 INFO L119 LiptonReduction]: Number of co-enabled transitions 15120 [2023-08-29 21:38:31,921 INFO L134 LiptonReduction]: Checked pairs total: 40968 [2023-08-29 21:38:31,921 INFO L136 LiptonReduction]: Total number of compositions: 143 [2023-08-29 21:38:31,922 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:38:31,922 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;@176dec7b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:38:31,922 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:38:31,927 INFO L130 PetriNetUnfolder]: 23/114 cut-off events. [2023-08-29 21:38:31,927 INFO L131 PetriNetUnfolder]: For 10/10 co-relation queries the response was YES. [2023-08-29 21:38:31,927 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:31,928 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 3, 1, 1, 1, 1, 1] [2023-08-29 21:38:31,928 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:38:31,928 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:31,928 INFO L85 PathProgramCache]: Analyzing trace with hash -401479404, now seen corresponding path program 1 times [2023-08-29 21:38:31,928 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:31,928 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1909108144] [2023-08-29 21:38:31,928 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:31,929 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:31,941 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:38:31,941 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:38:31,946 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:38:31,949 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:38:31,950 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:38:31,950 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:38:31,950 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable12 [2023-08-29 21:38:31,950 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:38:31,950 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:38:31,951 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:38:31,951 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-08-29 21:38:31,963 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-08-29 21:38:31,965 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 192 places, 219 transitions, 482 flow [2023-08-29 21:38:32,010 INFO L130 PetriNetUnfolder]: 96/668 cut-off events. [2023-08-29 21:38:32,010 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:38:32,014 INFO L83 FinitePrefix]: Finished finitePrefix Result has 723 conditions, 668 events. 96/668 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 2725 event pairs, 6 based on Foata normal form. 0/509 useless extension candidates. Maximal degree in co-relation 455. Up to 32 conditions per place. [2023-08-29 21:38:32,014 INFO L82 GeneralOperation]: Start removeDead. Operand has 192 places, 219 transitions, 482 flow [2023-08-29 21:38:32,017 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 192 places, 219 transitions, 482 flow [2023-08-29 21:38:32,017 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:38:32,017 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 192 places, 219 transitions, 482 flow [2023-08-29 21:38:32,017 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 192 places, 219 transitions, 482 flow [2023-08-29 21:38:32,017 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 192 places, 219 transitions, 482 flow [2023-08-29 21:38:32,130 INFO L130 PetriNetUnfolder]: 96/668 cut-off events. [2023-08-29 21:38:32,130 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:38:32,134 INFO L83 FinitePrefix]: Finished finitePrefix Result has 723 conditions, 668 events. 96/668 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 2725 event pairs, 6 based on Foata normal form. 0/509 useless extension candidates. Maximal degree in co-relation 455. Up to 32 conditions per place. [2023-08-29 21:38:32,143 INFO L119 LiptonReduction]: Number of co-enabled transitions 23632 [2023-08-29 21:38:34,962 INFO L134 LiptonReduction]: Checked pairs total: 68895 [2023-08-29 21:38:34,962 INFO L136 LiptonReduction]: Total number of compositions: 158 [2023-08-29 21:38:34,963 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:38:34,963 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;@176dec7b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:38:34,963 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:38:34,964 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 21:38:34,964 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:38:34,964 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:34,964 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:38:34,964 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:38:34,965 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:34,965 INFO L85 PathProgramCache]: Analyzing trace with hash 62723, now seen corresponding path program 1 times [2023-08-29 21:38:34,965 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:34,965 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [620073954] [2023-08-29 21:38:34,965 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:34,965 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:34,981 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:35,018 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 21:38:35,018 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:38:35,018 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [620073954] [2023-08-29 21:38:35,019 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [620073954] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:38:35,019 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:38:35,019 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:38:35,019 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [813659880] [2023-08-29 21:38:35,019 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:38:35,020 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:38:35,020 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:38:35,020 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:38:35,020 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:38:35,040 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 176 out of 377 [2023-08-29 21:38:35,040 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 78 places, 100 transitions, 244 flow. Second operand has 3 states, 3 states have (on average 176.66666666666666) internal successors, (530), 3 states have internal predecessors, (530), 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 21:38:35,040 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:38:35,040 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 176 of 377 [2023-08-29 21:38:35,041 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:39:08,356 INFO L130 PetriNetUnfolder]: 429340/594073 cut-off events. [2023-08-29 21:39:08,356 INFO L131 PetriNetUnfolder]: For 14614/14614 co-relation queries the response was YES. [2023-08-29 21:39:09,357 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1161049 conditions, 594073 events. 429340/594073 cut-off events. For 14614/14614 co-relation queries the response was YES. Maximal size of possible extension queue 12980. Compared 4821515 event pairs, 408072 based on Foata normal form. 96328/615765 useless extension candidates. Maximal degree in co-relation 100325. Up to 558770 conditions per place. [2023-08-29 21:39:11,039 INFO L137 encePairwiseOnDemand]: 346/377 looper letters, 66 selfloop transitions, 2 changer transitions 2/85 dead transitions. [2023-08-29 21:39:11,039 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 80 places, 85 transitions, 352 flow [2023-08-29 21:39:11,040 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:39:11,040 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:39:11,041 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 632 transitions. [2023-08-29 21:39:11,041 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5587975243147657 [2023-08-29 21:39:11,041 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 632 transitions. [2023-08-29 21:39:11,041 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 632 transitions. [2023-08-29 21:39:11,042 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:39:11,042 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 632 transitions. [2023-08-29 21:39:11,043 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 210.66666666666666) internal successors, (632), 3 states have internal predecessors, (632), 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 21:39:11,044 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 377.0) internal successors, (1508), 4 states have internal predecessors, (1508), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:39:11,044 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 377.0) internal successors, (1508), 4 states have internal predecessors, (1508), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:39:11,044 INFO L175 Difference]: Start difference. First operand has 78 places, 100 transitions, 244 flow. Second operand 3 states and 632 transitions. [2023-08-29 21:39:11,044 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 80 places, 85 transitions, 352 flow [2023-08-29 21:39:11,048 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 80 places, 85 transitions, 352 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:39:11,049 INFO L231 Difference]: Finished difference. Result has 81 places, 73 transitions, 196 flow [2023-08-29 21:39:11,049 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=377, PETRI_DIFFERENCE_MINUEND_FLOW=192, PETRI_DIFFERENCE_MINUEND_PLACES=78, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=74, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=72, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=196, PETRI_PLACES=81, PETRI_TRANSITIONS=73} [2023-08-29 21:39:11,049 INFO L281 CegarLoopForPetriNet]: 78 programPoint places, 3 predicate places. [2023-08-29 21:39:11,049 INFO L495 AbstractCegarLoop]: Abstraction has has 81 places, 73 transitions, 196 flow [2023-08-29 21:39:11,050 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 176.66666666666666) internal successors, (530), 3 states have internal predecessors, (530), 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 21:39:11,050 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:39:11,050 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:39:11,050 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable13 [2023-08-29 21:39:11,050 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:39:11,050 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:39:11,050 INFO L85 PathProgramCache]: Analyzing trace with hash 62725, now seen corresponding path program 1 times [2023-08-29 21:39:11,050 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:39:11,051 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1212581357] [2023-08-29 21:39:11,051 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:39:11,051 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:39:11,054 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:39:11,063 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 21:39:11,063 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:39:11,063 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1212581357] [2023-08-29 21:39:11,063 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1212581357] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:39:11,063 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:39:11,064 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:39:11,064 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2004066742] [2023-08-29 21:39:11,064 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:39:11,064 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:39:11,064 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:39:11,064 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:39:11,065 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:39:11,082 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 173 out of 377 [2023-08-29 21:39:11,082 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 81 places, 73 transitions, 196 flow. Second operand has 3 states, 3 states have (on average 173.66666666666666) internal successors, (521), 3 states have internal predecessors, (521), 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 21:39:11,082 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:39:11,082 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 173 of 377 [2023-08-29 21:39:11,082 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:39:38,244 INFO L130 PetriNetUnfolder]: 349614/481986 cut-off events. [2023-08-29 21:39:38,244 INFO L131 PetriNetUnfolder]: For 26140/26140 co-relation queries the response was YES. [2023-08-29 21:39:39,300 INFO L83 FinitePrefix]: Finished finitePrefix Result has 970061 conditions, 481986 events. 349614/481986 cut-off events. For 26140/26140 co-relation queries the response was YES. Maximal size of possible extension queue 10607. Compared 3819862 event pairs, 313434 based on Foata normal form. 0/439594 useless extension candidates. Maximal degree in co-relation 969988. Up to 416884 conditions per place. [2023-08-29 21:39:41,136 INFO L137 encePairwiseOnDemand]: 373/377 looper letters, 85 selfloop transitions, 2 changer transitions 0/102 dead transitions. [2023-08-29 21:39:41,137 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 79 places, 102 transitions, 428 flow [2023-08-29 21:39:41,137 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:39:41,137 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:39:41,139 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 607 transitions. [2023-08-29 21:39:41,139 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5366931918656057 [2023-08-29 21:39:41,139 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 607 transitions. [2023-08-29 21:39:41,139 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 607 transitions. [2023-08-29 21:39:41,148 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:39:41,152 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 607 transitions. [2023-08-29 21:39:41,154 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 202.33333333333334) internal successors, (607), 3 states have internal predecessors, (607), 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 21:39:41,155 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 377.0) internal successors, (1508), 4 states have internal predecessors, (1508), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:39:41,155 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 377.0) internal successors, (1508), 4 states have internal predecessors, (1508), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:39:41,156 INFO L175 Difference]: Start difference. First operand has 81 places, 73 transitions, 196 flow. Second operand 3 states and 607 transitions. [2023-08-29 21:39:41,156 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 79 places, 102 transitions, 428 flow [2023-08-29 21:39:41,245 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 77 places, 102 transitions, 424 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:39:41,246 INFO L231 Difference]: Finished difference. Result has 77 places, 71 transitions, 192 flow [2023-08-29 21:39:41,246 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=377, PETRI_DIFFERENCE_MINUEND_FLOW=188, PETRI_DIFFERENCE_MINUEND_PLACES=75, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=71, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=69, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=192, PETRI_PLACES=77, PETRI_TRANSITIONS=71} [2023-08-29 21:39:41,246 INFO L281 CegarLoopForPetriNet]: 78 programPoint places, -1 predicate places. [2023-08-29 21:39:41,246 INFO L495 AbstractCegarLoop]: Abstraction has has 77 places, 71 transitions, 192 flow [2023-08-29 21:39:41,247 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 173.66666666666666) internal successors, (521), 3 states have internal predecessors, (521), 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 21:39:41,247 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:39:41,247 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-08-29 21:39:41,247 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable14 [2023-08-29 21:39:41,247 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:39:41,247 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:39:41,247 INFO L85 PathProgramCache]: Analyzing trace with hash 2146557541, now seen corresponding path program 1 times [2023-08-29 21:39:41,247 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:39:41,247 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1893052082] [2023-08-29 21:39:41,247 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:39:41,247 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:39:41,263 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:39:41,347 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:39:41,347 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:39:41,347 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1893052082] [2023-08-29 21:39:41,347 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1893052082] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:39:41,347 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [852656838] [2023-08-29 21:39:41,347 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:39:41,348 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:39:41,348 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:39:41,370 INFO L229 MonitoredProcess]: Starting monitored process 6 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-08-29 21:39:41,409 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Waiting until timeout for monitored process [2023-08-29 21:39:41,466 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:39:41,466 INFO L263 TraceCheckSpWp]: Trace formula consists of 114 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:39:41,467 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:39:41,480 INFO L350 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 5 [2023-08-29 21:39:41,504 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:39:41,504 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:39:41,550 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:39:41,550 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [852656838] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:39:41,550 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:39:41,556 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 5 [2023-08-29 21:39:41,557 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [56804654] [2023-08-29 21:39:41,557 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:39:41,557 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2023-08-29 21:39:41,557 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:39:41,557 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2023-08-29 21:39:41,557 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=18, Invalid=24, Unknown=0, NotChecked=0, Total=42 [2023-08-29 21:39:41,642 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 173 out of 377 [2023-08-29 21:39:41,643 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 77 places, 71 transitions, 192 flow. Second operand has 7 states, 7 states have (on average 174.71428571428572) internal successors, (1223), 7 states have internal predecessors, (1223), 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 21:39:41,643 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:39:41,643 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 173 of 377 [2023-08-29 21:39:41,643 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:40:04,495 INFO L130 PetriNetUnfolder]: 355314/470363 cut-off events. [2023-08-29 21:40:04,495 INFO L131 PetriNetUnfolder]: For 14816/14816 co-relation queries the response was YES. [2023-08-29 21:40:05,358 INFO L83 FinitePrefix]: Finished finitePrefix Result has 975505 conditions, 470363 events. 355314/470363 cut-off events. For 14816/14816 co-relation queries the response was YES. Maximal size of possible extension queue 10229. Compared 3487141 event pairs, 11595 based on Foata normal form. 9/441390 useless extension candidates. Maximal degree in co-relation 888293. Up to 380774 conditions per place. [2023-08-29 21:40:06,758 INFO L137 encePairwiseOnDemand]: 370/377 looper letters, 161 selfloop transitions, 7 changer transitions 1/184 dead transitions. [2023-08-29 21:40:06,758 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 82 places, 184 transitions, 787 flow [2023-08-29 21:40:06,759 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-08-29 21:40:06,759 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2023-08-29 21:40:06,760 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 1212 transitions. [2023-08-29 21:40:06,761 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5358090185676393 [2023-08-29 21:40:06,761 INFO L72 ComplementDD]: Start complementDD. Operand 6 states and 1212 transitions. [2023-08-29 21:40:06,761 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6 states and 1212 transitions. [2023-08-29 21:40:06,761 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:40:06,762 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 6 states and 1212 transitions. [2023-08-29 21:40:06,763 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 7 states, 6 states have (on average 202.0) internal successors, (1212), 6 states have internal predecessors, (1212), 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 21:40:06,765 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 7 states, 7 states have (on average 377.0) internal successors, (2639), 7 states have internal predecessors, (2639), 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 21:40:06,766 INFO L81 ComplementDD]: Finished complementDD. Result has 7 states, 7 states have (on average 377.0) internal successors, (2639), 7 states have internal predecessors, (2639), 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 21:40:06,766 INFO L175 Difference]: Start difference. First operand has 77 places, 71 transitions, 192 flow. Second operand 6 states and 1212 transitions. [2023-08-29 21:40:06,766 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 82 places, 184 transitions, 787 flow [2023-08-29 21:40:21,573 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 80 places, 184 transitions, 779 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:40:21,574 INFO L231 Difference]: Finished difference. Result has 84 places, 75 transitions, 240 flow [2023-08-29 21:40:21,575 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=377, PETRI_DIFFERENCE_MINUEND_FLOW=188, PETRI_DIFFERENCE_MINUEND_PLACES=75, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=71, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=67, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=240, PETRI_PLACES=84, PETRI_TRANSITIONS=75} [2023-08-29 21:40:21,575 INFO L281 CegarLoopForPetriNet]: 78 programPoint places, 6 predicate places. [2023-08-29 21:40:21,575 INFO L495 AbstractCegarLoop]: Abstraction has has 84 places, 75 transitions, 240 flow [2023-08-29 21:40:21,576 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 174.71428571428572) internal successors, (1223), 7 states have internal predecessors, (1223), 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 21:40:21,576 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:40:21,576 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 2, 1, 1, 1, 1, 1, 1] [2023-08-29 21:40:21,579 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Ended with exit code 0 [2023-08-29 21:40:21,776 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 6 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable15 [2023-08-29 21:40:21,776 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:40:21,776 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:40:21,776 INFO L85 PathProgramCache]: Analyzing trace with hash -458564946, now seen corresponding path program 1 times [2023-08-29 21:40:21,777 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:40:21,777 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1561039004] [2023-08-29 21:40:21,777 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:40:21,777 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:40:21,784 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:40:21,849 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 5 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-08-29 21:40:21,850 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:40:21,850 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1561039004] [2023-08-29 21:40:21,850 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1561039004] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:40:21,850 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [676351809] [2023-08-29 21:40:21,850 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:40:21,850 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:40:21,851 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:40:21,851 INFO L229 MonitoredProcess]: Starting monitored process 7 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-08-29 21:40:21,854 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (7)] Waiting until timeout for monitored process [2023-08-29 21:40:21,914 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:40:21,914 INFO L263 TraceCheckSpWp]: Trace formula consists of 141 conjuncts, 4 conjunts are in the unsatisfiable core [2023-08-29 21:40:21,915 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:40:21,933 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:40:21,933 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:40:21,961 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:40:21,962 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [676351809] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:40:21,962 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:40:21,962 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [4, 4, 4] total 11 [2023-08-29 21:40:21,962 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1514657046] [2023-08-29 21:40:21,962 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:40:21,962 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 12 states [2023-08-29 21:40:21,962 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:40:21,963 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 12 interpolants. [2023-08-29 21:40:21,963 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=51, Invalid=81, Unknown=0, NotChecked=0, Total=132 [2023-08-29 21:40:22,040 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 167 out of 377 [2023-08-29 21:40:22,042 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 84 places, 75 transitions, 240 flow. Second operand has 12 states, 12 states have (on average 169.33333333333334) internal successors, (2032), 12 states have internal predecessors, (2032), 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 21:40:22,042 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:40:22,042 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 167 of 377 [2023-08-29 21:40:22,042 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:40:26,592 INFO L130 PetriNetUnfolder]: 61747/84352 cut-off events. [2023-08-29 21:40:26,592 INFO L131 PetriNetUnfolder]: For 49806/49806 co-relation queries the response was YES. [2023-08-29 21:40:26,753 INFO L83 FinitePrefix]: Finished finitePrefix Result has 212538 conditions, 84352 events. 61747/84352 cut-off events. For 49806/49806 co-relation queries the response was YES. Maximal size of possible extension queue 2177. Compared 561200 event pairs, 567 based on Foata normal form. 6561/90885 useless extension candidates. Maximal degree in co-relation 19720. Up to 52974 conditions per place. [2023-08-29 21:40:26,979 INFO L137 encePairwiseOnDemand]: 373/377 looper letters, 118 selfloop transitions, 5 changer transitions 0/137 dead transitions. [2023-08-29 21:40:26,979 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 78 places, 137 transitions, 587 flow [2023-08-29 21:40:26,979 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-08-29 21:40:26,979 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2023-08-29 21:40:26,981 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 1298 transitions. [2023-08-29 21:40:26,981 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.49185297461159533 [2023-08-29 21:40:26,981 INFO L72 ComplementDD]: Start complementDD. Operand 7 states and 1298 transitions. [2023-08-29 21:40:26,982 INFO L73 IsDeterministic]: Start isDeterministic. Operand 7 states and 1298 transitions. [2023-08-29 21:40:26,982 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:40:26,982 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 7 states and 1298 transitions. [2023-08-29 21:40:26,984 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 8 states, 7 states have (on average 185.42857142857142) internal successors, (1298), 7 states have internal predecessors, (1298), 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 21:40:26,986 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 8 states, 8 states have (on average 377.0) internal successors, (3016), 8 states have internal predecessors, (3016), 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 21:40:26,987 INFO L81 ComplementDD]: Finished complementDD. Result has 8 states, 8 states have (on average 377.0) internal successors, (3016), 8 states have internal predecessors, (3016), 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 21:40:26,987 INFO L175 Difference]: Start difference. First operand has 84 places, 75 transitions, 240 flow. Second operand 7 states and 1298 transitions. [2023-08-29 21:40:26,987 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 78 places, 137 transitions, 587 flow [2023-08-29 21:40:27,057 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 75 places, 137 transitions, 570 flow, removed 6 selfloop flow, removed 3 redundant places. [2023-08-29 21:40:27,058 INFO L231 Difference]: Finished difference. Result has 75 places, 56 transitions, 166 flow [2023-08-29 21:40:27,058 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=377, PETRI_DIFFERENCE_MINUEND_FLOW=156, PETRI_DIFFERENCE_MINUEND_PLACES=69, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=56, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=5, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=51, PETRI_DIFFERENCE_SUBTRAHEND_STATES=7, PETRI_FLOW=166, PETRI_PLACES=75, PETRI_TRANSITIONS=56} [2023-08-29 21:40:27,059 INFO L281 CegarLoopForPetriNet]: 78 programPoint places, -3 predicate places. [2023-08-29 21:40:27,059 INFO L495 AbstractCegarLoop]: Abstraction has has 75 places, 56 transitions, 166 flow [2023-08-29 21:40:27,069 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 12 states, 12 states have (on average 169.33333333333334) internal successors, (2032), 12 states have internal predecessors, (2032), 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 21:40:27,069 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:40:27,069 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 4, 4, 1, 1, 1, 1, 1, 1] [2023-08-29 21:40:27,076 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (7)] Forceful destruction successful, exit code 0 [2023-08-29 21:40:27,273 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 7 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable16 [2023-08-29 21:40:27,273 INFO L420 AbstractCegarLoop]: === Iteration 5 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:40:27,274 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:40:27,274 INFO L85 PathProgramCache]: Analyzing trace with hash 2051993797, now seen corresponding path program 1 times [2023-08-29 21:40:27,274 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:40:27,274 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [691909037] [2023-08-29 21:40:27,274 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:40:27,274 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:40:27,282 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:40:27,378 INFO L134 CoverageAnalysis]: Checked inductivity of 28 backedges. 15 proven. 13 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:40:27,378 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:40:27,379 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [691909037] [2023-08-29 21:40:27,379 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [691909037] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:40:27,379 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [133722714] [2023-08-29 21:40:27,379 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:40:27,379 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:40:27,379 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:40:27,380 INFO L229 MonitoredProcess]: Starting monitored process 8 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-08-29 21:40:27,383 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (8)] Waiting until timeout for monitored process [2023-08-29 21:40:27,452 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:40:27,453 INFO L263 TraceCheckSpWp]: Trace formula consists of 180 conjuncts, 15 conjunts are in the unsatisfiable core [2023-08-29 21:40:27,454 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:40:27,458 INFO L350 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 5 [2023-08-29 21:40:27,556 INFO L134 CoverageAnalysis]: Checked inductivity of 28 backedges. 0 proven. 28 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:40:27,556 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:40:27,660 INFO L134 CoverageAnalysis]: Checked inductivity of 28 backedges. 0 proven. 28 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:40:27,661 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [133722714] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:40:27,661 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:40:27,661 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 5, 5] total 15 [2023-08-29 21:40:27,661 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [295868757] [2023-08-29 21:40:27,661 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:40:27,661 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 17 states [2023-08-29 21:40:27,662 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:40:27,662 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 17 interpolants. [2023-08-29 21:40:27,662 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=68, Invalid=204, Unknown=0, NotChecked=0, Total=272 [2023-08-29 21:40:28,062 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 172 out of 377 [2023-08-29 21:40:28,064 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 75 places, 56 transitions, 166 flow. Second operand has 17 states, 17 states have (on average 174.47058823529412) internal successors, (2966), 17 states have internal predecessors, (2966), 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 21:40:28,064 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:40:28,064 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 172 of 377 [2023-08-29 21:40:28,064 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:40:31,116 INFO L130 PetriNetUnfolder]: 41092/57994 cut-off events. [2023-08-29 21:40:31,116 INFO L131 PetriNetUnfolder]: For 57025/57025 co-relation queries the response was YES. [2023-08-29 21:40:31,234 INFO L83 FinitePrefix]: Finished finitePrefix Result has 129164 conditions, 57994 events. 41092/57994 cut-off events. For 57025/57025 co-relation queries the response was YES. Maximal size of possible extension queue 1554. Compared 389942 event pairs, 70 based on Foata normal form. 5832/63823 useless extension candidates. Maximal degree in co-relation 114393. Up to 26487 conditions per place. [2023-08-29 21:40:31,266 INFO L137 encePairwiseOnDemand]: 374/377 looper letters, 0 selfloop transitions, 0 changer transitions 136/136 dead transitions. [2023-08-29 21:40:31,266 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 80 places, 136 transitions, 568 flow [2023-08-29 21:40:31,267 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-08-29 21:40:31,267 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2023-08-29 21:40:31,270 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 1327 transitions. [2023-08-29 21:40:31,270 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5028419856006063 [2023-08-29 21:40:31,270 INFO L72 ComplementDD]: Start complementDD. Operand 7 states and 1327 transitions. [2023-08-29 21:40:31,270 INFO L73 IsDeterministic]: Start isDeterministic. Operand 7 states and 1327 transitions. [2023-08-29 21:40:31,271 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:40:31,271 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 7 states and 1327 transitions. [2023-08-29 21:40:31,272 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 8 states, 7 states have (on average 189.57142857142858) internal successors, (1327), 7 states have internal predecessors, (1327), 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 21:40:31,274 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 8 states, 8 states have (on average 377.0) internal successors, (3016), 8 states have internal predecessors, (3016), 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 21:40:31,275 INFO L81 ComplementDD]: Finished complementDD. Result has 8 states, 8 states have (on average 377.0) internal successors, (3016), 8 states have internal predecessors, (3016), 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 21:40:31,275 INFO L175 Difference]: Start difference. First operand has 75 places, 56 transitions, 166 flow. Second operand 7 states and 1327 transitions. [2023-08-29 21:40:31,275 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 80 places, 136 transitions, 568 flow [2023-08-29 21:40:31,288 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 71 places, 136 transitions, 551 flow, removed 0 selfloop flow, removed 9 redundant places. [2023-08-29 21:40:31,289 INFO L231 Difference]: Finished difference. Result has 71 places, 0 transitions, 0 flow [2023-08-29 21:40:31,289 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=377, PETRI_DIFFERENCE_MINUEND_FLOW=139, PETRI_DIFFERENCE_MINUEND_PLACES=65, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=55, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=55, PETRI_DIFFERENCE_SUBTRAHEND_STATES=7, PETRI_FLOW=0, PETRI_PLACES=71, PETRI_TRANSITIONS=0} [2023-08-29 21:40:31,289 INFO L281 CegarLoopForPetriNet]: 78 programPoint places, -7 predicate places. [2023-08-29 21:40:31,289 INFO L495 AbstractCegarLoop]: Abstraction has has 71 places, 0 transitions, 0 flow [2023-08-29 21:40:31,290 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 17 states, 17 states have (on average 174.47058823529412) internal successors, (2966), 17 states have internal predecessors, (2966), 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 21:40:31,290 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2023-08-29 21:40:31,290 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-08-29 21:40:31,290 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 21:40:31,291 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-08-29 21:40:31,291 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 6 remaining) [2023-08-29 21:40:31,291 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 21:40:31,296 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (8)] Ended with exit code 0 [2023-08-29 21:40:31,495 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable17,8 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:40:31,496 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1, 1] [2023-08-29 21:40:31,496 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:40:31,497 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 192 places, 219 transitions, 482 flow [2023-08-29 21:40:31,534 INFO L130 PetriNetUnfolder]: 96/668 cut-off events. [2023-08-29 21:40:31,534 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:40:31,537 INFO L83 FinitePrefix]: Finished finitePrefix Result has 723 conditions, 668 events. 96/668 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 2725 event pairs, 6 based on Foata normal form. 0/509 useless extension candidates. Maximal degree in co-relation 455. Up to 32 conditions per place. [2023-08-29 21:40:31,537 INFO L82 GeneralOperation]: Start removeDead. Operand has 192 places, 219 transitions, 482 flow [2023-08-29 21:40:31,538 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 192 places, 219 transitions, 482 flow [2023-08-29 21:40:31,538 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:40:31,538 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 192 places, 219 transitions, 482 flow [2023-08-29 21:40:31,538 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 192 places, 219 transitions, 482 flow [2023-08-29 21:40:31,539 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 192 places, 219 transitions, 482 flow [2023-08-29 21:40:31,574 INFO L130 PetriNetUnfolder]: 96/668 cut-off events. [2023-08-29 21:40:31,574 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:40:31,577 INFO L83 FinitePrefix]: Finished finitePrefix Result has 723 conditions, 668 events. 96/668 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 2725 event pairs, 6 based on Foata normal form. 0/509 useless extension candidates. Maximal degree in co-relation 455. Up to 32 conditions per place. [2023-08-29 21:40:31,584 INFO L119 LiptonReduction]: Number of co-enabled transitions 23632 [2023-08-29 21:40:34,369 INFO L134 LiptonReduction]: Checked pairs total: 62391 [2023-08-29 21:40:34,369 INFO L136 LiptonReduction]: Total number of compositions: 155 [2023-08-29 21:40:34,370 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:40:34,371 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;@176dec7b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:40:34,371 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:40:34,378 INFO L130 PetriNetUnfolder]: 38/173 cut-off events. [2023-08-29 21:40:34,378 INFO L131 PetriNetUnfolder]: For 23/23 co-relation queries the response was YES. [2023-08-29 21:40:34,378 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:40:34,378 INFO L208 CegarLoopForPetriNet]: trace histogram [5, 4, 4, 1, 1, 1, 1, 1, 1] [2023-08-29 21:40:34,378 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:40:34,378 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:40:34,379 INFO L85 PathProgramCache]: Analyzing trace with hash 1650382520, now seen corresponding path program 1 times [2023-08-29 21:40:34,379 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:40:34,379 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [596729194] [2023-08-29 21:40:34,379 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:40:34,379 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:40:34,390 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:40:34,390 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:40:34,396 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:40:34,402 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:40:34,404 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:40:34,404 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:40:34,404 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable18 [2023-08-29 21:40:34,404 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:40:34,405 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:40:34,405 WARN L233 ceAbstractionStarter]: 4 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:40:34,405 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 5 thread instances. [2023-08-29 21:40:34,424 INFO L144 ThreadInstanceAdder]: Constructed 5 joinOtherThreadTransitions. [2023-08-29 21:40:34,426 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 217 places, 249 transitions, 558 flow [2023-08-29 21:40:34,498 INFO L130 PetriNetUnfolder]: 158/1073 cut-off events. [2023-08-29 21:40:34,498 INFO L131 PetriNetUnfolder]: For 110/110 co-relation queries the response was YES. [2023-08-29 21:40:34,506 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1184 conditions, 1073 events. 158/1073 cut-off events. For 110/110 co-relation queries the response was YES. Maximal size of possible extension queue 26. Compared 5216 event pairs, 23 based on Foata normal form. 0/817 useless extension candidates. Maximal degree in co-relation 713. Up to 80 conditions per place. [2023-08-29 21:40:34,506 INFO L82 GeneralOperation]: Start removeDead. Operand has 217 places, 249 transitions, 558 flow [2023-08-29 21:40:34,509 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 217 places, 249 transitions, 558 flow [2023-08-29 21:40:34,510 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:40:34,510 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 217 places, 249 transitions, 558 flow [2023-08-29 21:40:34,510 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 217 places, 249 transitions, 558 flow [2023-08-29 21:40:34,510 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 217 places, 249 transitions, 558 flow [2023-08-29 21:40:34,583 INFO L130 PetriNetUnfolder]: 158/1073 cut-off events. [2023-08-29 21:40:34,583 INFO L131 PetriNetUnfolder]: For 110/110 co-relation queries the response was YES. [2023-08-29 21:40:34,591 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1184 conditions, 1073 events. 158/1073 cut-off events. For 110/110 co-relation queries the response was YES. Maximal size of possible extension queue 26. Compared 5216 event pairs, 23 based on Foata normal form. 0/817 useless extension candidates. Maximal degree in co-relation 713. Up to 80 conditions per place. [2023-08-29 21:40:34,611 INFO L119 LiptonReduction]: Number of co-enabled transitions 33880 [2023-08-29 21:40:37,270 INFO L134 LiptonReduction]: Checked pairs total: 103475 [2023-08-29 21:40:37,270 INFO L136 LiptonReduction]: Total number of compositions: 170 [2023-08-29 21:40:37,271 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:40:37,271 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;@176dec7b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:40:37,272 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:40:37,272 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 21:40:37,272 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:40:37,273 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:40:37,273 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:40:37,273 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:40:37,273 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:40:37,273 INFO L85 PathProgramCache]: Analyzing trace with hash 82066, now seen corresponding path program 1 times [2023-08-29 21:40:37,273 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:40:37,273 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1819046021] [2023-08-29 21:40:37,273 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:40:37,274 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:40:37,278 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:40:37,298 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 21:40:37,299 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:40:37,299 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1819046021] [2023-08-29 21:40:37,299 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1819046021] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:40:37,299 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:40:37,299 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:40:37,299 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1699991180] [2023-08-29 21:40:37,299 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:40:37,299 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:40:37,300 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:40:37,300 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:40:37,300 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:40:37,320 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 198 out of 419 [2023-08-29 21:40:37,320 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 93 places, 121 transitions, 302 flow. Second operand has 3 states, 3 states have (on average 198.66666666666666) internal successors, (596), 3 states have internal predecessors, (596), 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 21:40:37,320 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:40:37,320 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 198 of 419 [2023-08-29 21:40:37,321 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand