./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_61-invariant_racing.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_61-invariant_racing.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 3465c34fa1c26a5c7a3494350123ab41e5828c33cb08ac3f67b81737d460e559 --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:46:49,740 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-29 21:46:49,742 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-29 21:46:49,785 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-29 21:46:49,786 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-29 21:46:49,788 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-29 21:46:49,791 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-29 21:46:49,793 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-29 21:46:49,795 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-29 21:46:49,799 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-29 21:46:49,800 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-29 21:46:49,802 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-29 21:46:49,803 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-29 21:46:49,805 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-29 21:46:49,806 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-29 21:46:49,810 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-29 21:46:49,811 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-29 21:46:49,813 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-29 21:46:49,814 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-29 21:46:49,819 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-29 21:46:49,829 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-29 21:46:49,831 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-29 21:46:49,832 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-29 21:46:49,832 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-29 21:46:49,839 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-29 21:46:49,839 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-29 21:46:49,840 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-29 21:46:49,842 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-29 21:46:49,842 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-29 21:46:49,843 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-29 21:46:49,844 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-29 21:46:49,845 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-29 21:46:49,846 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-29 21:46:49,847 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-29 21:46:49,848 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-29 21:46:49,848 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-29 21:46:49,849 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-29 21:46:49,849 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-29 21:46:49,849 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-29 21:46:49,850 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-29 21:46:49,851 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-29 21:46:49,852 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:46:49,885 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-29 21:46:49,885 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-29 21:46:49,886 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-29 21:46:49,886 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-29 21:46:49,887 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-29 21:46:49,887 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-29 21:46:49,888 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-29 21:46:49,888 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-29 21:46:49,888 INFO L138 SettingsManager]: * Use SBE=true [2023-08-29 21:46:49,889 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-29 21:46:49,890 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-29 21:46:49,890 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-08-29 21:46:49,890 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-29 21:46:49,890 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-29 21:46:49,890 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-29 21:46:49,890 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-08-29 21:46:49,891 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-08-29 21:46:49,891 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-08-29 21:46:49,891 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-29 21:46:49,891 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-08-29 21:46:49,891 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-29 21:46:49,892 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-29 21:46:49,892 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-29 21:46:49,892 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-29 21:46:49,892 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-29 21:46:49,892 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 21:46:49,893 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-29 21:46:49,893 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-29 21:46:49,893 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-29 21:46:49,893 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-29 21:46:49,893 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-29 21:46:49,894 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-29 21:46:49,894 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-29 21:46:49,894 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-29 21:46:49,894 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 -> 3465c34fa1c26a5c7a3494350123ab41e5828c33cb08ac3f67b81737d460e559 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:46:50,181 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-29 21:46:50,206 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-29 21:46:50,208 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-29 21:46:50,209 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-29 21:46:50,209 INFO L275 PluginConnector]: CDTParser initialized [2023-08-29 21:46:50,210 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/goblint-regression/28-race_reach_61-invariant_racing.i [2023-08-29 21:46:51,465 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-29 21:46:51,681 INFO L351 CDTParser]: Found 1 translation units. [2023-08-29 21:46:51,682 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_61-invariant_racing.i [2023-08-29 21:46:51,693 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8dc0a9af6/5fbb3ebdfe4f4bdfba2fd4a8288a025e/FLAGb7dbdc5ff [2023-08-29 21:46:51,705 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8dc0a9af6/5fbb3ebdfe4f4bdfba2fd4a8288a025e [2023-08-29 21:46:51,707 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-29 21:46:51,708 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-29 21:46:51,709 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-29 21:46:51,710 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-29 21:46:51,713 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-29 21:46:51,714 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 09:46:51" (1/1) ... [2023-08-29 21:46:51,715 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@743e846e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:46:51, skipping insertion in model container [2023-08-29 21:46:51,715 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 09:46:51" (1/1) ... [2023-08-29 21:46:51,720 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-29 21:46:51,760 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-29 21:46:52,028 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_61-invariant_racing.i[30176,30189] [2023-08-29 21:46:52,058 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 21:46:52,072 INFO L203 MainTranslator]: Completed pre-run [2023-08-29 21:46:52,117 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_61-invariant_racing.i[30176,30189] [2023-08-29 21:46:52,128 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 21:46:52,170 INFO L208 MainTranslator]: Completed translation [2023-08-29 21:46:52,171 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:46:52 WrapperNode [2023-08-29 21:46:52,171 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-29 21:46:52,172 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-29 21:46:52,172 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-29 21:46:52,173 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-29 21:46:52,179 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:46:52" (1/1) ... [2023-08-29 21:46:52,204 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:46:52" (1/1) ... [2023-08-29 21:46:52,233 INFO L138 Inliner]: procedures = 170, calls = 32, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 96 [2023-08-29 21:46:52,233 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-29 21:46:52,234 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-29 21:46:52,235 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-29 21:46:52,235 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-29 21:46:52,242 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:46:52" (1/1) ... [2023-08-29 21:46:52,243 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:46:52" (1/1) ... [2023-08-29 21:46:52,260 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:46:52" (1/1) ... [2023-08-29 21:46:52,261 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:46:52" (1/1) ... [2023-08-29 21:46:52,266 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:46:52" (1/1) ... [2023-08-29 21:46:52,277 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:46:52" (1/1) ... [2023-08-29 21:46:52,280 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:46:52" (1/1) ... [2023-08-29 21:46:52,288 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:46:52" (1/1) ... [2023-08-29 21:46:52,290 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-29 21:46:52,291 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-29 21:46:52,291 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-29 21:46:52,291 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-29 21:46:52,292 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:46:52" (1/1) ... [2023-08-29 21:46:52,300 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 21:46:52,310 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:46:52,325 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:46:52,348 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:46:52,368 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-08-29 21:46:52,369 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-29 21:46:52,369 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-08-29 21:46:52,369 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-29 21:46:52,369 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-29 21:46:52,369 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2023-08-29 21:46:52,370 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2023-08-29 21:46:52,370 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-29 21:46:52,370 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-29 21:46:52,370 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-29 21:46:52,370 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-29 21:46:52,371 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:46:52,548 INFO L236 CfgBuilder]: Building ICFG [2023-08-29 21:46:52,550 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-29 21:46:52,734 INFO L277 CfgBuilder]: Performing block encoding [2023-08-29 21:46:52,741 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-29 21:46:52,741 INFO L302 CfgBuilder]: Removed 16 assume(true) statements. [2023-08-29 21:46:52,743 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 09:46:52 BoogieIcfgContainer [2023-08-29 21:46:52,743 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-29 21:46:52,745 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-29 21:46:52,745 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-08-29 21:46:52,748 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-08-29 21:46:52,748 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.08 09:46:51" (1/3) ... [2023-08-29 21:46:52,749 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6e91ae6c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 09:46:52, skipping insertion in model container [2023-08-29 21:46:52,749 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:46:52" (2/3) ... [2023-08-29 21:46:52,749 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6e91ae6c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 09:46:52, skipping insertion in model container [2023-08-29 21:46:52,749 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 09:46:52" (3/3) ... [2023-08-29 21:46:52,750 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_61-invariant_racing.i [2023-08-29 21:46:52,765 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-29 21:46:52,766 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2023-08-29 21:46:52,766 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-29 21:46:52,817 INFO L144 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2023-08-29 21:46:52,848 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 116 places, 132 transitions, 272 flow [2023-08-29 21:46:52,919 INFO L130 PetriNetUnfolder]: 30/194 cut-off events. [2023-08-29 21:46:52,919 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:46:52,926 INFO L83 FinitePrefix]: Finished finitePrefix Result has 200 conditions, 194 events. 30/194 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 608 event pairs, 0 based on Foata normal form. 0/149 useless extension candidates. Maximal degree in co-relation 98. Up to 6 conditions per place. [2023-08-29 21:46:52,927 INFO L82 GeneralOperation]: Start removeDead. Operand has 116 places, 132 transitions, 272 flow [2023-08-29 21:46:52,934 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 116 places, 132 transitions, 272 flow [2023-08-29 21:46:52,937 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:46:52,944 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 116 places, 132 transitions, 272 flow [2023-08-29 21:46:52,952 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 116 places, 132 transitions, 272 flow [2023-08-29 21:46:52,952 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 116 places, 132 transitions, 272 flow [2023-08-29 21:46:53,003 INFO L130 PetriNetUnfolder]: 30/194 cut-off events. [2023-08-29 21:46:53,004 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:46:53,006 INFO L83 FinitePrefix]: Finished finitePrefix Result has 200 conditions, 194 events. 30/194 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 608 event pairs, 0 based on Foata normal form. 0/149 useless extension candidates. Maximal degree in co-relation 98. Up to 6 conditions per place. [2023-08-29 21:46:53,009 INFO L119 LiptonReduction]: Number of co-enabled transitions 4216 [2023-08-29 21:46:55,767 INFO L134 LiptonReduction]: Checked pairs total: 13510 [2023-08-29 21:46:55,768 INFO L136 LiptonReduction]: Total number of compositions: 100 [2023-08-29 21:46:55,780 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:46:55,785 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;@1c973825, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:46:55,785 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:46:55,788 INFO L130 PetriNetUnfolder]: 0/3 cut-off events. [2023-08-29 21:46:55,788 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:46:55,788 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:46:55,789 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:46:55,789 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:46:55,793 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:46:55,794 INFO L85 PathProgramCache]: Analyzing trace with hash 16045, now seen corresponding path program 1 times [2023-08-29 21:46:55,800 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:46:55,801 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [588108702] [2023-08-29 21:46:55,801 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:55,801 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:46:55,891 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:46:56,121 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:46:56,122 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:46:56,122 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [588108702] [2023-08-29 21:46:56,123 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [588108702] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:46:56,123 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:46:56,123 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:46:56,125 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [805810610] [2023-08-29 21:46:56,125 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:46:56,131 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:46:56,135 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:46:56,160 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:46:56,175 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:46:56,253 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 107 out of 232 [2023-08-29 21:46:56,255 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 46 places, 59 transitions, 126 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:46:56,256 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:46:56,256 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 107 of 232 [2023-08-29 21:46:56,256 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:46:56,366 INFO L130 PetriNetUnfolder]: 201/486 cut-off events. [2023-08-29 21:46:56,366 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:46:56,367 INFO L83 FinitePrefix]: Finished finitePrefix Result has 923 conditions, 486 events. 201/486 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 26. Compared 2278 event pairs, 0 based on Foata normal form. 69/445 useless extension candidates. Maximal degree in co-relation 875. Up to 408 conditions per place. [2023-08-29 21:46:56,370 INFO L137 encePairwiseOnDemand]: 214/232 looper letters, 42 selfloop transitions, 2 changer transitions 3/57 dead transitions. [2023-08-29 21:46:56,370 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 48 places, 57 transitions, 214 flow [2023-08-29 21:46:56,372 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:46:56,374 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:46:56,380 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 389 transitions. [2023-08-29 21:46:56,383 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5589080459770115 [2023-08-29 21:46:56,383 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 389 transitions. [2023-08-29 21:46:56,384 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 389 transitions. [2023-08-29 21:46:56,385 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:46:56,387 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 389 transitions. [2023-08-29 21:46:56,391 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 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:46:56,394 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 232.0) internal successors, (928), 4 states have internal predecessors, (928), 0 states have call successors, (0), 0 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:46:56,395 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 232.0) internal successors, (928), 4 states have internal predecessors, (928), 0 states have call successors, (0), 0 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:46:56,397 INFO L175 Difference]: Start difference. First operand has 46 places, 59 transitions, 126 flow. Second operand 3 states and 389 transitions. [2023-08-29 21:46:56,397 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 48 places, 57 transitions, 214 flow [2023-08-29 21:46:56,400 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 48 places, 57 transitions, 214 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:46:56,402 INFO L231 Difference]: Finished difference. Result has 49 places, 43 transitions, 102 flow [2023-08-29 21:46:56,403 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=232, PETRI_DIFFERENCE_MINUEND_FLOW=98, PETRI_DIFFERENCE_MINUEND_PLACES=46, 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=102, PETRI_PLACES=49, PETRI_TRANSITIONS=43} [2023-08-29 21:46:56,406 INFO L281 CegarLoopForPetriNet]: 46 programPoint places, 3 predicate places. [2023-08-29 21:46:56,406 INFO L495 AbstractCegarLoop]: Abstraction has has 49 places, 43 transitions, 102 flow [2023-08-29 21:46:56,407 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:46:56,407 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:46:56,407 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:46:56,407 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-08-29 21:46:56,408 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:46:56,408 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:46:56,408 INFO L85 PathProgramCache]: Analyzing trace with hash 16044, now seen corresponding path program 1 times [2023-08-29 21:46:56,409 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:46:56,409 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [138082947] [2023-08-29 21:46:56,409 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:56,409 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:46:56,418 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:46:56,450 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:46:56,451 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:46:56,451 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [138082947] [2023-08-29 21:46:56,451 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [138082947] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:46:56,451 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:46:56,451 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:46:56,452 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1621584189] [2023-08-29 21:46:56,452 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:46:56,453 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:46:56,453 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:46:56,453 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:46:56,454 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:46:56,481 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 104 out of 232 [2023-08-29 21:46:56,481 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 49 places, 43 transitions, 102 flow. Second operand has 3 states, 3 states have (on average 104.66666666666667) internal successors, (314), 3 states have internal predecessors, (314), 0 states have call successors, (0), 0 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:46:56,482 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:46:56,482 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 104 of 232 [2023-08-29 21:46:56,482 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:46:56,568 INFO L130 PetriNetUnfolder]: 171/417 cut-off events. [2023-08-29 21:46:56,568 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:46:56,569 INFO L83 FinitePrefix]: Finished finitePrefix Result has 824 conditions, 417 events. 171/417 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 20. Compared 1794 event pairs, 144 based on Foata normal form. 0/350 useless extension candidates. Maximal degree in co-relation 799. Up to 337 conditions per place. [2023-08-29 21:46:56,570 INFO L137 encePairwiseOnDemand]: 228/232 looper letters, 39 selfloop transitions, 2 changer transitions 0/51 dead transitions. [2023-08-29 21:46:56,570 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 47 places, 51 transitions, 200 flow [2023-08-29 21:46:56,571 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:46:56,571 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:46:56,572 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 355 transitions. [2023-08-29 21:46:56,573 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5100574712643678 [2023-08-29 21:46:56,573 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 355 transitions. [2023-08-29 21:46:56,573 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 355 transitions. [2023-08-29 21:46:56,574 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:46:56,574 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 355 transitions. [2023-08-29 21:46:56,575 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 118.33333333333333) internal successors, (355), 3 states have internal predecessors, (355), 0 states have call successors, (0), 0 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:46:56,576 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 232.0) internal successors, (928), 4 states have internal predecessors, (928), 0 states have call successors, (0), 0 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:46:56,577 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 232.0) internal successors, (928), 4 states have internal predecessors, (928), 0 states have call successors, (0), 0 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:46:56,577 INFO L175 Difference]: Start difference. First operand has 49 places, 43 transitions, 102 flow. Second operand 3 states and 355 transitions. [2023-08-29 21:46:56,577 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 47 places, 51 transitions, 200 flow [2023-08-29 21:46:56,578 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 44 places, 51 transitions, 194 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-08-29 21:46:56,579 INFO L231 Difference]: Finished difference. Result has 44 places, 41 transitions, 96 flow [2023-08-29 21:46:56,579 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=232, PETRI_DIFFERENCE_MINUEND_FLOW=92, PETRI_DIFFERENCE_MINUEND_PLACES=42, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=41, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=39, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=96, PETRI_PLACES=44, PETRI_TRANSITIONS=41} [2023-08-29 21:46:56,580 INFO L281 CegarLoopForPetriNet]: 46 programPoint places, -2 predicate places. [2023-08-29 21:46:56,580 INFO L495 AbstractCegarLoop]: Abstraction has has 44 places, 41 transitions, 96 flow [2023-08-29 21:46:56,580 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 104.66666666666667) internal successors, (314), 3 states have internal predecessors, (314), 0 states have call successors, (0), 0 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:46:56,581 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:46:56,581 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2023-08-29 21:46:56,581 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-08-29 21:46:56,581 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:46:56,582 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:46:56,582 INFO L85 PathProgramCache]: Analyzing trace with hash 478397753, now seen corresponding path program 1 times [2023-08-29 21:46:56,582 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:46:56,582 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1493997434] [2023-08-29 21:46:56,582 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:56,583 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:46:56,593 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:46:56,662 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:46:56,663 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:46:56,663 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1493997434] [2023-08-29 21:46:56,663 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1493997434] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:46:56,664 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [837287942] [2023-08-29 21:46:56,664 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:56,664 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:46:56,664 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:46:56,669 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:46:56,704 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:46:56,746 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:46:56,754 INFO L263 TraceCheckSpWp]: Trace formula consists of 100 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:46:56,760 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:46:56,845 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:46:56,898 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:46:56,899 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:46:56,958 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:46:56,959 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [837287942] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:46:56,959 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:46:56,959 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 6 [2023-08-29 21:46:56,959 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [361738277] [2023-08-29 21:46:56,961 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:46:56,961 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2023-08-29 21:46:56,962 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:46:56,962 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2023-08-29 21:46:56,962 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=36, Unknown=0, NotChecked=0, Total=56 [2023-08-29 21:46:57,084 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 103 out of 232 [2023-08-29 21:46:57,086 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 44 places, 41 transitions, 96 flow. Second operand has 8 states, 8 states have (on average 104.875) internal successors, (839), 8 states have internal predecessors, (839), 0 states have call successors, (0), 0 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:46:57,087 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:46:57,087 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 103 of 232 [2023-08-29 21:46:57,087 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:46:57,163 INFO L130 PetriNetUnfolder]: 21/58 cut-off events. [2023-08-29 21:46:57,164 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:46:57,164 INFO L83 FinitePrefix]: Finished finitePrefix Result has 128 conditions, 58 events. 21/58 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 120 event pairs, 0 based on Foata normal form. 10/64 useless extension candidates. Maximal degree in co-relation 120. Up to 40 conditions per place. [2023-08-29 21:46:57,164 INFO L137 encePairwiseOnDemand]: 228/232 looper letters, 0 selfloop transitions, 0 changer transitions 30/30 dead transitions. [2023-08-29 21:46:57,164 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 26 places, 30 transitions, 116 flow [2023-08-29 21:46:57,165 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-08-29 21:46:57,165 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-08-29 21:46:57,166 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 439 transitions. [2023-08-29 21:46:57,166 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4730603448275862 [2023-08-29 21:46:57,166 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 439 transitions. [2023-08-29 21:46:57,166 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 439 transitions. [2023-08-29 21:46:57,167 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:46:57,167 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 439 transitions. [2023-08-29 21:46:57,168 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 109.75) internal successors, (439), 4 states have internal predecessors, (439), 0 states have call successors, (0), 0 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:46:57,170 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 232.0) internal successors, (1160), 5 states have internal predecessors, (1160), 0 states have call successors, (0), 0 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:46:57,171 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 232.0) internal successors, (1160), 5 states have internal predecessors, (1160), 0 states have call successors, (0), 0 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:46:57,171 INFO L175 Difference]: Start difference. First operand has 44 places, 41 transitions, 96 flow. Second operand 4 states and 439 transitions. [2023-08-29 21:46:57,171 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 26 places, 30 transitions, 116 flow [2023-08-29 21:46:57,172 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 24 places, 30 transitions, 113 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:46:57,173 INFO L231 Difference]: Finished difference. Result has 24 places, 0 transitions, 0 flow [2023-08-29 21:46:57,173 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=232, PETRI_DIFFERENCE_MINUEND_FLOW=41, PETRI_DIFFERENCE_MINUEND_PLACES=21, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=19, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=19, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=0, PETRI_PLACES=24, PETRI_TRANSITIONS=0} [2023-08-29 21:46:57,175 INFO L281 CegarLoopForPetriNet]: 46 programPoint places, -22 predicate places. [2023-08-29 21:46:57,175 INFO L495 AbstractCegarLoop]: Abstraction has has 24 places, 0 transitions, 0 flow [2023-08-29 21:46:57,176 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 104.875) internal successors, (839), 8 states have internal predecessors, (839), 0 states have call successors, (0), 0 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:46:57,179 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2023-08-29 21:46:57,180 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-08-29 21:46:57,180 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 21:46:57,180 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-08-29 21:46:57,181 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 6 remaining) [2023-08-29 21:46:57,181 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 21:46:57,189 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:46:57,385 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:46:57,386 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 21:46:57,388 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:46:57,391 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 116 places, 132 transitions, 272 flow [2023-08-29 21:46:57,405 INFO L130 PetriNetUnfolder]: 30/194 cut-off events. [2023-08-29 21:46:57,405 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:46:57,406 INFO L83 FinitePrefix]: Finished finitePrefix Result has 200 conditions, 194 events. 30/194 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 608 event pairs, 0 based on Foata normal form. 0/149 useless extension candidates. Maximal degree in co-relation 98. Up to 6 conditions per place. [2023-08-29 21:46:57,406 INFO L82 GeneralOperation]: Start removeDead. Operand has 116 places, 132 transitions, 272 flow [2023-08-29 21:46:57,407 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 112 places, 127 transitions, 259 flow [2023-08-29 21:46:57,407 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:46:57,407 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 112 places, 127 transitions, 259 flow [2023-08-29 21:46:57,407 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 112 places, 127 transitions, 259 flow [2023-08-29 21:46:57,407 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 112 places, 127 transitions, 259 flow [2023-08-29 21:46:57,419 INFO L130 PetriNetUnfolder]: 29/189 cut-off events. [2023-08-29 21:46:57,420 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:46:57,420 INFO L83 FinitePrefix]: Finished finitePrefix Result has 194 conditions, 189 events. 29/189 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 588 event pairs, 0 based on Foata normal form. 0/144 useless extension candidates. Maximal degree in co-relation 98. Up to 6 conditions per place. [2023-08-29 21:46:57,422 INFO L119 LiptonReduction]: Number of co-enabled transitions 4216 [2023-08-29 21:46:59,520 INFO L134 LiptonReduction]: Checked pairs total: 11832 [2023-08-29 21:46:59,520 INFO L136 LiptonReduction]: Total number of compositions: 96 [2023-08-29 21:46:59,522 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:46:59,523 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=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;@1c973825, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:46:59,524 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:46:59,527 INFO L130 PetriNetUnfolder]: 7/44 cut-off events. [2023-08-29 21:46:59,527 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:46:59,528 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:46:59,528 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-08-29 21:46:59,528 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:46:59,528 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:46:59,528 INFO L85 PathProgramCache]: Analyzing trace with hash 485766200, now seen corresponding path program 1 times [2023-08-29 21:46:59,529 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:46:59,529 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1934945235] [2023-08-29 21:46:59,529 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:59,529 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:46:59,550 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:46:59,550 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:46:59,558 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:46:59,571 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:46:59,572 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:46:59,572 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:46:59,572 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-08-29 21:46:59,572 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:46:59,573 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:46:59,573 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:46:59,573 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-08-29 21:46:59,589 INFO L144 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2023-08-29 21:46:59,591 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 143 places, 165 transitions, 348 flow [2023-08-29 21:46:59,621 INFO L130 PetriNetUnfolder]: 51/318 cut-off events. [2023-08-29 21:46:59,621 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:46:59,622 INFO L83 FinitePrefix]: Finished finitePrefix Result has 332 conditions, 318 events. 51/318 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 1127 event pairs, 0 based on Foata normal form. 0/242 useless extension candidates. Maximal degree in co-relation 196. Up to 9 conditions per place. [2023-08-29 21:46:59,622 INFO L82 GeneralOperation]: Start removeDead. Operand has 143 places, 165 transitions, 348 flow [2023-08-29 21:46:59,624 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 143 places, 165 transitions, 348 flow [2023-08-29 21:46:59,624 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:46:59,625 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 143 places, 165 transitions, 348 flow [2023-08-29 21:46:59,625 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 143 places, 165 transitions, 348 flow [2023-08-29 21:46:59,625 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 143 places, 165 transitions, 348 flow [2023-08-29 21:46:59,647 INFO L130 PetriNetUnfolder]: 51/318 cut-off events. [2023-08-29 21:46:59,647 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:46:59,648 INFO L83 FinitePrefix]: Finished finitePrefix Result has 332 conditions, 318 events. 51/318 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 1127 event pairs, 0 based on Foata normal form. 0/242 useless extension candidates. Maximal degree in co-relation 196. Up to 9 conditions per place. [2023-08-29 21:46:59,654 INFO L119 LiptonReduction]: Number of co-enabled transitions 11036 [2023-08-29 21:47:01,949 INFO L134 LiptonReduction]: Checked pairs total: 34160 [2023-08-29 21:47:01,949 INFO L136 LiptonReduction]: Total number of compositions: 111 [2023-08-29 21:47:01,951 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:47:01,952 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;@1c973825, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:47:01,952 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:47:01,953 INFO L130 PetriNetUnfolder]: 0/3 cut-off events. [2023-08-29 21:47:01,953 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:47:01,953 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:47:01,953 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:47:01,954 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:47:01,954 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:47:01,954 INFO L85 PathProgramCache]: Analyzing trace with hash 29004, now seen corresponding path program 1 times [2023-08-29 21:47:01,954 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:47:01,955 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1826935616] [2023-08-29 21:47:01,955 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:01,955 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:47:01,962 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:47:01,979 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:47:01,979 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:47:01,979 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1826935616] [2023-08-29 21:47:01,979 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1826935616] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:47:01,980 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:47:01,980 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:47:01,980 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [391860183] [2023-08-29 21:47:01,980 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:47:01,980 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:47:01,981 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:47:01,981 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:47:01,981 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:47:02,003 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 129 out of 276 [2023-08-29 21:47:02,004 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 66 places, 86 transitions, 190 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:47:02,004 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:47:02,004 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 129 of 276 [2023-08-29 21:47:02,004 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:47:02,503 INFO L130 PetriNetUnfolder]: 3359/5710 cut-off events. [2023-08-29 21:47:02,503 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:47:02,510 INFO L83 FinitePrefix]: Finished finitePrefix Result has 10979 conditions, 5710 events. 3359/5710 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 201. Compared 37275 event pairs, 2646 based on Foata normal form. 1318/6083 useless extension candidates. Maximal degree in co-relation 3657. Up to 4653 conditions per place. [2023-08-29 21:47:02,533 INFO L137 encePairwiseOnDemand]: 250/276 looper letters, 57 selfloop transitions, 2 changer transitions 3/81 dead transitions. [2023-08-29 21:47:02,534 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 66 places, 81 transitions, 302 flow [2023-08-29 21:47:02,534 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:47:02,534 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:47:02,535 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 483 transitions. [2023-08-29 21:47:02,536 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5833333333333334 [2023-08-29 21:47:02,536 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 483 transitions. [2023-08-29 21:47:02,536 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 483 transitions. [2023-08-29 21:47:02,536 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:47:02,536 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 483 transitions. [2023-08-29 21:47:02,537 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 161.0) internal successors, (483), 3 states have internal predecessors, (483), 0 states have call successors, (0), 0 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:47:02,539 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 276.0) internal successors, (1104), 4 states have internal predecessors, (1104), 0 states have call successors, (0), 0 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:47:02,540 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 276.0) internal successors, (1104), 4 states have internal predecessors, (1104), 0 states have call successors, (0), 0 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:47:02,540 INFO L175 Difference]: Start difference. First operand has 66 places, 86 transitions, 190 flow. Second operand 3 states and 483 transitions. [2023-08-29 21:47:02,540 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 66 places, 81 transitions, 302 flow [2023-08-29 21:47:02,543 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 66 places, 81 transitions, 302 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:47:02,544 INFO L231 Difference]: Finished difference. Result has 66 places, 60 transitions, 138 flow [2023-08-29 21:47:02,545 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=276, PETRI_DIFFERENCE_MINUEND_FLOW=144, PETRI_DIFFERENCE_MINUEND_PLACES=64, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=63, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=61, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=138, PETRI_PLACES=66, PETRI_TRANSITIONS=60} [2023-08-29 21:47:02,548 INFO L281 CegarLoopForPetriNet]: 66 programPoint places, 0 predicate places. [2023-08-29 21:47:02,548 INFO L495 AbstractCegarLoop]: Abstraction has has 66 places, 60 transitions, 138 flow [2023-08-29 21:47:02,549 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:47:02,549 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:47:02,549 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:47:02,549 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-08-29 21:47:02,549 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:47:02,550 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:47:02,550 INFO L85 PathProgramCache]: Analyzing trace with hash 29005, now seen corresponding path program 1 times [2023-08-29 21:47:02,550 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:47:02,550 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [981252344] [2023-08-29 21:47:02,550 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:02,550 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:47:02,558 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:47:02,615 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:47:02,616 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:47:02,616 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [981252344] [2023-08-29 21:47:02,616 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [981252344] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:47:02,616 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:47:02,616 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:47:02,617 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [624720936] [2023-08-29 21:47:02,617 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:47:02,617 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:47:02,617 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:47:02,618 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:47:02,618 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:47:02,674 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 132 out of 276 [2023-08-29 21:47:02,675 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 66 places, 60 transitions, 138 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:47:02,675 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:47:02,675 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 132 of 276 [2023-08-29 21:47:02,675 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:47:03,052 INFO L130 PetriNetUnfolder]: 3012/5168 cut-off events. [2023-08-29 21:47:03,052 INFO L131 PetriNetUnfolder]: For 28/28 co-relation queries the response was YES. [2023-08-29 21:47:03,058 INFO L83 FinitePrefix]: Finished finitePrefix Result has 9980 conditions, 5168 events. 3012/5168 cut-off events. For 28/28 co-relation queries the response was YES. Maximal size of possible extension queue 185. Compared 33872 event pairs, 1269 based on Foata normal form. 0/4594 useless extension candidates. Maximal degree in co-relation 9319. Up to 4651 conditions per place. [2023-08-29 21:47:03,078 INFO L137 encePairwiseOnDemand]: 272/276 looper letters, 49 selfloop transitions, 2 changer transitions 0/70 dead transitions. [2023-08-29 21:47:03,079 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 65 places, 70 transitions, 260 flow [2023-08-29 21:47:03,079 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:47:03,079 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:47:03,080 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 449 transitions. [2023-08-29 21:47:03,081 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5422705314009661 [2023-08-29 21:47:03,081 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 449 transitions. [2023-08-29 21:47:03,081 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 449 transitions. [2023-08-29 21:47:03,081 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:47:03,082 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 449 transitions. [2023-08-29 21:47:03,083 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 149.66666666666666) internal successors, (449), 3 states have internal predecessors, (449), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:47:03,084 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 276.0) internal successors, (1104), 4 states have internal predecessors, (1104), 0 states have call successors, (0), 0 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:47:03,085 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 276.0) internal successors, (1104), 4 states have internal predecessors, (1104), 0 states have call successors, (0), 0 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:47:03,085 INFO L175 Difference]: Start difference. First operand has 66 places, 60 transitions, 138 flow. Second operand 3 states and 449 transitions. [2023-08-29 21:47:03,085 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 65 places, 70 transitions, 260 flow [2023-08-29 21:47:03,090 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 62 places, 70 transitions, 254 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-08-29 21:47:03,092 INFO L231 Difference]: Finished difference. Result has 63 places, 61 transitions, 146 flow [2023-08-29 21:47:03,092 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=276, PETRI_DIFFERENCE_MINUEND_FLOW=132, PETRI_DIFFERENCE_MINUEND_PLACES=60, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=60, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=58, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=146, PETRI_PLACES=63, PETRI_TRANSITIONS=61} [2023-08-29 21:47:03,092 INFO L281 CegarLoopForPetriNet]: 66 programPoint places, -3 predicate places. [2023-08-29 21:47:03,093 INFO L495 AbstractCegarLoop]: Abstraction has has 63 places, 61 transitions, 146 flow [2023-08-29 21:47:03,093 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:47:03,093 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:47:03,093 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-08-29 21:47:03,094 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-08-29 21:47:03,094 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:47:03,094 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:47:03,094 INFO L85 PathProgramCache]: Analyzing trace with hash 1038413258, now seen corresponding path program 1 times [2023-08-29 21:47:03,094 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:47:03,095 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [550047761] [2023-08-29 21:47:03,095 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:03,095 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:47:03,103 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:47:03,158 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:47:03,159 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:47:03,159 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [550047761] [2023-08-29 21:47:03,159 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [550047761] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:47:03,159 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1356587912] [2023-08-29 21:47:03,160 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:03,160 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:47:03,160 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:47:03,165 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:47:03,191 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:47:03,226 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:47:03,227 INFO L263 TraceCheckSpWp]: Trace formula consists of 101 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:47:03,228 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:47:03,240 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:47:03,282 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:47:03,282 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:47:03,325 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:47:03,326 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1356587912] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:47:03,326 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:47:03,326 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 6 [2023-08-29 21:47:03,326 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [706931835] [2023-08-29 21:47:03,327 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:47:03,327 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2023-08-29 21:47:03,327 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:47:03,328 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2023-08-29 21:47:03,328 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=36, Unknown=0, NotChecked=0, Total=56 [2023-08-29 21:47:03,423 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 128 out of 276 [2023-08-29 21:47:03,425 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 63 places, 61 transitions, 146 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:47:03,425 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:47:03,425 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 128 of 276 [2023-08-29 21:47:03,425 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:47:03,591 INFO L130 PetriNetUnfolder]: 425/737 cut-off events. [2023-08-29 21:47:03,591 INFO L131 PetriNetUnfolder]: For 105/105 co-relation queries the response was YES. [2023-08-29 21:47:03,592 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1549 conditions, 737 events. 425/737 cut-off events. For 105/105 co-relation queries the response was YES. Maximal size of possible extension queue 39. Compared 3517 event pairs, 55 based on Foata normal form. 88/784 useless extension candidates. Maximal degree in co-relation 1175. Up to 480 conditions per place. [2023-08-29 21:47:03,593 INFO L137 encePairwiseOnDemand]: 272/276 looper letters, 0 selfloop transitions, 0 changer transitions 65/65 dead transitions. [2023-08-29 21:47:03,593 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 45 places, 65 transitions, 249 flow [2023-08-29 21:47:03,593 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2023-08-29 21:47:03,593 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2023-08-29 21:47:03,595 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 696 transitions. [2023-08-29 21:47:03,595 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5043478260869565 [2023-08-29 21:47:03,595 INFO L72 ComplementDD]: Start complementDD. Operand 5 states and 696 transitions. [2023-08-29 21:47:03,595 INFO L73 IsDeterministic]: Start isDeterministic. Operand 5 states and 696 transitions. [2023-08-29 21:47:03,596 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:47:03,596 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 5 states and 696 transitions. [2023-08-29 21:47:03,597 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 6 states, 5 states have (on average 139.2) internal successors, (696), 5 states have internal predecessors, (696), 0 states have call successors, (0), 0 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:47:03,599 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 6 states, 6 states have (on average 276.0) internal successors, (1656), 6 states have internal predecessors, (1656), 0 states have call successors, (0), 0 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:47:03,600 INFO L81 ComplementDD]: Finished complementDD. Result has 6 states, 6 states have (on average 276.0) internal successors, (1656), 6 states have internal predecessors, (1656), 0 states have call successors, (0), 0 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:47:03,600 INFO L175 Difference]: Start difference. First operand has 63 places, 61 transitions, 146 flow. Second operand 5 states and 696 transitions. [2023-08-29 21:47:03,600 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 45 places, 65 transitions, 249 flow [2023-08-29 21:47:03,601 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 44 places, 65 transitions, 247 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 21:47:03,601 INFO L231 Difference]: Finished difference. Result has 44 places, 0 transitions, 0 flow [2023-08-29 21:47:03,601 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=276, PETRI_DIFFERENCE_MINUEND_FLOW=87, PETRI_DIFFERENCE_MINUEND_PLACES=40, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=37, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=37, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=0, PETRI_PLACES=44, PETRI_TRANSITIONS=0} [2023-08-29 21:47:03,602 INFO L281 CegarLoopForPetriNet]: 66 programPoint places, -22 predicate places. [2023-08-29 21:47:03,602 INFO L495 AbstractCegarLoop]: Abstraction has has 44 places, 0 transitions, 0 flow [2023-08-29 21:47:03,603 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:47:03,603 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2023-08-29 21:47:03,603 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-08-29 21:47:03,603 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 21:47:03,603 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-08-29 21:47:03,604 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 6 remaining) [2023-08-29 21:47:03,604 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 21:47:03,611 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:47:03,808 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:47:03,809 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 21:47:03,809 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:47:03,811 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 143 places, 165 transitions, 348 flow [2023-08-29 21:47:03,834 INFO L130 PetriNetUnfolder]: 51/318 cut-off events. [2023-08-29 21:47:03,835 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:47:03,836 INFO L83 FinitePrefix]: Finished finitePrefix Result has 332 conditions, 318 events. 51/318 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 1127 event pairs, 0 based on Foata normal form. 0/242 useless extension candidates. Maximal degree in co-relation 196. Up to 9 conditions per place. [2023-08-29 21:47:03,836 INFO L82 GeneralOperation]: Start removeDead. Operand has 143 places, 165 transitions, 348 flow [2023-08-29 21:47:03,838 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 143 places, 165 transitions, 348 flow [2023-08-29 21:47:03,838 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:47:03,838 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 143 places, 165 transitions, 348 flow [2023-08-29 21:47:03,839 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 143 places, 165 transitions, 348 flow [2023-08-29 21:47:03,839 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 143 places, 165 transitions, 348 flow [2023-08-29 21:47:03,860 INFO L130 PetriNetUnfolder]: 51/318 cut-off events. [2023-08-29 21:47:03,860 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:47:03,861 INFO L83 FinitePrefix]: Finished finitePrefix Result has 332 conditions, 318 events. 51/318 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 1127 event pairs, 0 based on Foata normal form. 0/242 useless extension candidates. Maximal degree in co-relation 196. Up to 9 conditions per place. [2023-08-29 21:47:03,868 INFO L119 LiptonReduction]: Number of co-enabled transitions 11036 [2023-08-29 21:47:06,086 INFO L134 LiptonReduction]: Checked pairs total: 34113 [2023-08-29 21:47:06,086 INFO L136 LiptonReduction]: Total number of compositions: 111 [2023-08-29 21:47:06,088 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:47:06,088 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;@1c973825, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:47:06,088 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:47:06,095 INFO L130 PetriNetUnfolder]: 24/105 cut-off events. [2023-08-29 21:47:06,096 INFO L131 PetriNetUnfolder]: For 3/3 co-relation queries the response was YES. [2023-08-29 21:47:06,096 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:47:06,096 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1] [2023-08-29 21:47:06,096 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:47:06,097 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:47:06,097 INFO L85 PathProgramCache]: Analyzing trace with hash -1132692496, now seen corresponding path program 1 times [2023-08-29 21:47:06,097 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:47:06,097 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1888094165] [2023-08-29 21:47:06,097 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:06,097 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:47:06,109 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:47:06,109 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:47:06,116 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:47:06,121 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:47:06,121 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:47:06,121 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:47:06,122 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-08-29 21:47:06,122 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:47:06,122 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:47:06,123 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:47:06,123 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-08-29 21:47:06,141 INFO L144 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2023-08-29 21:47:06,143 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 170 places, 198 transitions, 426 flow [2023-08-29 21:47:06,189 INFO L130 PetriNetUnfolder]: 77/483 cut-off events. [2023-08-29 21:47:06,189 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:47:06,193 INFO L83 FinitePrefix]: Finished finitePrefix Result has 511 conditions, 483 events. 77/483 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 1880 event pairs, 1 based on Foata normal form. 0/366 useless extension candidates. Maximal degree in co-relation 326. Up to 16 conditions per place. [2023-08-29 21:47:06,193 INFO L82 GeneralOperation]: Start removeDead. Operand has 170 places, 198 transitions, 426 flow [2023-08-29 21:47:06,197 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 170 places, 198 transitions, 426 flow [2023-08-29 21:47:06,197 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:47:06,197 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 170 places, 198 transitions, 426 flow [2023-08-29 21:47:06,197 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 170 places, 198 transitions, 426 flow [2023-08-29 21:47:06,197 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 170 places, 198 transitions, 426 flow [2023-08-29 21:47:06,239 INFO L130 PetriNetUnfolder]: 77/483 cut-off events. [2023-08-29 21:47:06,240 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:47:06,243 INFO L83 FinitePrefix]: Finished finitePrefix Result has 511 conditions, 483 events. 77/483 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 1880 event pairs, 1 based on Foata normal form. 0/366 useless extension candidates. Maximal degree in co-relation 326. Up to 16 conditions per place. [2023-08-29 21:47:06,256 INFO L119 LiptonReduction]: Number of co-enabled transitions 19716 [2023-08-29 21:47:08,563 INFO L134 LiptonReduction]: Checked pairs total: 57944 [2023-08-29 21:47:08,564 INFO L136 LiptonReduction]: Total number of compositions: 126 [2023-08-29 21:47:08,565 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:47:08,566 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;@1c973825, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:47:08,566 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:47:08,567 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 21:47:08,567 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:47:08,567 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:47:08,567 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:47:08,567 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:47:08,568 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:47:08,568 INFO L85 PathProgramCache]: Analyzing trace with hash 43984, now seen corresponding path program 1 times [2023-08-29 21:47:08,568 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:47:08,568 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1615013839] [2023-08-29 21:47:08,568 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:08,568 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:47:08,589 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:47:08,618 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:47:08,618 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:47:08,618 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1615013839] [2023-08-29 21:47:08,619 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1615013839] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:47:08,619 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:47:08,619 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:47:08,619 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2049978939] [2023-08-29 21:47:08,619 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:47:08,619 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:47:08,620 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:47:08,620 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:47:08,620 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:47:08,642 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 154 out of 324 [2023-08-29 21:47:08,643 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 83 places, 109 transitions, 248 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:47:08,643 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:47:08,643 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 154 of 324 [2023-08-29 21:47:08,643 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:47:12,460 INFO L130 PetriNetUnfolder]: 38771/57275 cut-off events. [2023-08-29 21:47:12,460 INFO L131 PetriNetUnfolder]: For 867/867 co-relation queries the response was YES. [2023-08-29 21:47:12,527 INFO L83 FinitePrefix]: Finished finitePrefix Result has 110702 conditions, 57275 events. 38771/57275 cut-off events. For 867/867 co-relation queries the response was YES. Maximal size of possible extension queue 1638. Compared 433134 event pairs, 30131 based on Foata normal form. 10572/61526 useless extension candidates. Maximal degree in co-relation 17731. Up to 46831 conditions per place. [2023-08-29 21:47:12,866 INFO L137 encePairwiseOnDemand]: 292/324 looper letters, 73 selfloop transitions, 2 changer transitions 3/105 dead transitions. [2023-08-29 21:47:12,867 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 83 places, 105 transitions, 394 flow [2023-08-29 21:47:12,867 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:47:12,867 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:47:12,869 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 586 transitions. [2023-08-29 21:47:12,870 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.602880658436214 [2023-08-29 21:47:12,870 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 586 transitions. [2023-08-29 21:47:12,870 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 586 transitions. [2023-08-29 21:47:12,870 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:47:12,870 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 586 transitions. [2023-08-29 21:47:12,872 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 195.33333333333334) internal successors, (586), 3 states have internal predecessors, (586), 0 states have call successors, (0), 0 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:47:12,873 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 324.0) internal successors, (1296), 4 states have internal predecessors, (1296), 0 states have call successors, (0), 0 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:47:12,874 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 324.0) internal successors, (1296), 4 states have internal predecessors, (1296), 0 states have call successors, (0), 0 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:47:12,874 INFO L175 Difference]: Start difference. First operand has 83 places, 109 transitions, 248 flow. Second operand 3 states and 586 transitions. [2023-08-29 21:47:12,874 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 83 places, 105 transitions, 394 flow [2023-08-29 21:47:12,876 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 83 places, 105 transitions, 394 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:47:12,878 INFO L231 Difference]: Finished difference. Result has 83 places, 77 transitions, 182 flow [2023-08-29 21:47:12,879 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=324, PETRI_DIFFERENCE_MINUEND_FLOW=190, PETRI_DIFFERENCE_MINUEND_PLACES=81, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=80, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=78, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=182, PETRI_PLACES=83, PETRI_TRANSITIONS=77} [2023-08-29 21:47:12,879 INFO L281 CegarLoopForPetriNet]: 83 programPoint places, 0 predicate places. [2023-08-29 21:47:12,880 INFO L495 AbstractCegarLoop]: Abstraction has has 83 places, 77 transitions, 182 flow [2023-08-29 21:47:12,880 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:47:12,880 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:47:12,880 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:47:12,880 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-08-29 21:47:12,881 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:47:12,881 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:47:12,881 INFO L85 PathProgramCache]: Analyzing trace with hash 43986, now seen corresponding path program 1 times [2023-08-29 21:47:12,881 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:47:12,881 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [377556728] [2023-08-29 21:47:12,881 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:12,882 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:47:12,888 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:47:12,924 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:47:12,925 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:47:12,925 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [377556728] [2023-08-29 21:47:12,925 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [377556728] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:47:12,925 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:47:12,925 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:47:12,925 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2004543948] [2023-08-29 21:47:12,925 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:47:12,926 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:47:12,926 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:47:12,926 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:47:12,926 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:47:12,954 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 157 out of 324 [2023-08-29 21:47:12,955 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 83 places, 77 transitions, 182 flow. Second operand has 3 states, 3 states have (on average 157.66666666666666) internal successors, (473), 3 states have internal predecessors, (473), 0 states have call successors, (0), 0 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:47:12,955 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:47:12,955 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 157 of 324 [2023-08-29 21:47:12,955 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:47:15,663 INFO L130 PetriNetUnfolder]: 34737/50804 cut-off events. [2023-08-29 21:47:15,663 INFO L131 PetriNetUnfolder]: For 831/831 co-relation queries the response was YES. [2023-08-29 21:47:15,729 INFO L83 FinitePrefix]: Finished finitePrefix Result has 99449 conditions, 50804 events. 34737/50804 cut-off events. For 831/831 co-relation queries the response was YES. Maximal size of possible extension queue 1406. Compared 373037 event pairs, 27373 based on Foata normal form. 0/47077 useless extension candidates. Maximal degree in co-relation 92672. Up to 47275 conditions per place. [2023-08-29 21:47:15,938 INFO L137 encePairwiseOnDemand]: 320/324 looper letters, 58 selfloop transitions, 2 changer transitions 0/87 dead transitions. [2023-08-29 21:47:15,938 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 82 places, 87 transitions, 322 flow [2023-08-29 21:47:15,938 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:47:15,939 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:47:15,940 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 533 transitions. [2023-08-29 21:47:15,942 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5483539094650206 [2023-08-29 21:47:15,942 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 533 transitions. [2023-08-29 21:47:15,942 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 533 transitions. [2023-08-29 21:47:15,942 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:47:15,942 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 533 transitions. [2023-08-29 21:47:15,944 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 177.66666666666666) internal successors, (533), 3 states have internal predecessors, (533), 0 states have call successors, (0), 0 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:47:15,946 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 324.0) internal successors, (1296), 4 states have internal predecessors, (1296), 0 states have call successors, (0), 0 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:47:15,946 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 324.0) internal successors, (1296), 4 states have internal predecessors, (1296), 0 states have call successors, (0), 0 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:47:15,946 INFO L175 Difference]: Start difference. First operand has 83 places, 77 transitions, 182 flow. Second operand 3 states and 533 transitions. [2023-08-29 21:47:15,947 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 82 places, 87 transitions, 322 flow [2023-08-29 21:47:16,092 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 79 places, 87 transitions, 316 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-08-29 21:47:16,094 INFO L231 Difference]: Finished difference. Result has 80 places, 78 transitions, 190 flow [2023-08-29 21:47:16,094 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=324, PETRI_DIFFERENCE_MINUEND_FLOW=176, PETRI_DIFFERENCE_MINUEND_PLACES=77, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=77, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=75, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=190, PETRI_PLACES=80, PETRI_TRANSITIONS=78} [2023-08-29 21:47:16,095 INFO L281 CegarLoopForPetriNet]: 83 programPoint places, -3 predicate places. [2023-08-29 21:47:16,095 INFO L495 AbstractCegarLoop]: Abstraction has has 80 places, 78 transitions, 190 flow [2023-08-29 21:47:16,096 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 157.66666666666666) internal successors, (473), 3 states have internal predecessors, (473), 0 states have call successors, (0), 0 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:47:16,096 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:47:16,096 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-08-29 21:47:16,096 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2023-08-29 21:47:16,096 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:47:16,097 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:47:16,097 INFO L85 PathProgramCache]: Analyzing trace with hash 2003557117, now seen corresponding path program 1 times [2023-08-29 21:47:16,097 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:47:16,097 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1070792079] [2023-08-29 21:47:16,097 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:16,097 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:47:16,108 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:47:16,184 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:47:16,185 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:47:16,185 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1070792079] [2023-08-29 21:47:16,185 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1070792079] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:47:16,185 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [267584347] [2023-08-29 21:47:16,185 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:16,185 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:47:16,186 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:47:16,187 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:47:16,189 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:47:16,235 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:47:16,235 INFO L263 TraceCheckSpWp]: Trace formula consists of 101 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:47:16,236 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:47:16,247 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:47:16,281 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:47:16,281 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:47:16,318 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:47:16,319 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [267584347] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:47:16,319 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:47:16,319 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 6 [2023-08-29 21:47:16,319 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2138950119] [2023-08-29 21:47:16,320 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:47:16,320 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2023-08-29 21:47:16,320 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:47:16,320 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2023-08-29 21:47:16,321 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=36, Unknown=0, NotChecked=0, Total=56 [2023-08-29 21:47:16,436 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 153 out of 324 [2023-08-29 21:47:16,437 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 80 places, 78 transitions, 190 flow. Second operand has 8 states, 8 states have (on average 154.875) internal successors, (1239), 8 states have internal predecessors, (1239), 0 states have call successors, (0), 0 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:47:16,437 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:47:16,437 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 153 of 324 [2023-08-29 21:47:16,437 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:47:17,099 INFO L130 PetriNetUnfolder]: 5017/7662 cut-off events. [2023-08-29 21:47:17,099 INFO L131 PetriNetUnfolder]: For 1241/1241 co-relation queries the response was YES. [2023-08-29 21:47:17,107 INFO L83 FinitePrefix]: Finished finitePrefix Result has 15507 conditions, 7662 events. 5017/7662 cut-off events. For 1241/1241 co-relation queries the response was YES. Maximal size of possible extension queue 287. Compared 48051 event pairs, 429 based on Foata normal form. 648/8096 useless extension candidates. Maximal degree in co-relation 12061. Up to 4608 conditions per place. [2023-08-29 21:47:17,112 INFO L137 encePairwiseOnDemand]: 320/324 looper letters, 0 selfloop transitions, 0 changer transitions 106/106 dead transitions. [2023-08-29 21:47:17,112 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 63 places, 106 transitions, 406 flow [2023-08-29 21:47:17,112 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-08-29 21:47:17,112 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2023-08-29 21:47:17,114 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 1009 transitions. [2023-08-29 21:47:17,115 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5190329218106996 [2023-08-29 21:47:17,115 INFO L72 ComplementDD]: Start complementDD. Operand 6 states and 1009 transitions. [2023-08-29 21:47:17,115 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6 states and 1009 transitions. [2023-08-29 21:47:17,116 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:47:17,116 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 6 states and 1009 transitions. [2023-08-29 21:47:17,118 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 7 states, 6 states have (on average 168.16666666666666) internal successors, (1009), 6 states have internal predecessors, (1009), 0 states have call successors, (0), 0 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:47:17,121 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 7 states, 7 states have (on average 324.0) internal successors, (2268), 7 states have internal predecessors, (2268), 0 states have call successors, (0), 0 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:47:17,121 INFO L81 ComplementDD]: Finished complementDD. Result has 7 states, 7 states have (on average 324.0) internal successors, (2268), 7 states have internal predecessors, (2268), 0 states have call successors, (0), 0 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:47:17,121 INFO L175 Difference]: Start difference. First operand has 80 places, 78 transitions, 190 flow. Second operand 6 states and 1009 transitions. [2023-08-29 21:47:17,121 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 63 places, 106 transitions, 406 flow [2023-08-29 21:47:17,123 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 62 places, 106 transitions, 402 flow, removed 1 selfloop flow, removed 1 redundant places. [2023-08-29 21:47:17,123 INFO L231 Difference]: Finished difference. Result has 62 places, 0 transitions, 0 flow [2023-08-29 21:47:17,124 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=324, PETRI_DIFFERENCE_MINUEND_FLOW=124, PETRI_DIFFERENCE_MINUEND_PLACES=57, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=53, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=53, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=0, PETRI_PLACES=62, PETRI_TRANSITIONS=0} [2023-08-29 21:47:17,124 INFO L281 CegarLoopForPetriNet]: 83 programPoint places, -21 predicate places. [2023-08-29 21:47:17,124 INFO L495 AbstractCegarLoop]: Abstraction has has 62 places, 0 transitions, 0 flow [2023-08-29 21:47:17,125 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 154.875) internal successors, (1239), 8 states have internal predecessors, (1239), 0 states have call successors, (0), 0 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:47:17,125 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2023-08-29 21:47:17,125 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-08-29 21:47:17,125 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 21:47:17,125 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-08-29 21:47:17,126 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 6 remaining) [2023-08-29 21:47:17,126 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 21:47:17,133 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:47:17,330 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:47:17,331 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 21:47:17,331 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:47:17,337 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 170 places, 198 transitions, 426 flow [2023-08-29 21:47:17,369 INFO L130 PetriNetUnfolder]: 77/483 cut-off events. [2023-08-29 21:47:17,369 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:47:17,372 INFO L83 FinitePrefix]: Finished finitePrefix Result has 511 conditions, 483 events. 77/483 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 1880 event pairs, 1 based on Foata normal form. 0/366 useless extension candidates. Maximal degree in co-relation 326. Up to 16 conditions per place. [2023-08-29 21:47:17,372 INFO L82 GeneralOperation]: Start removeDead. Operand has 170 places, 198 transitions, 426 flow [2023-08-29 21:47:17,374 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 170 places, 198 transitions, 426 flow [2023-08-29 21:47:17,375 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:47:17,375 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 170 places, 198 transitions, 426 flow [2023-08-29 21:47:17,375 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 170 places, 198 transitions, 426 flow [2023-08-29 21:47:17,375 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 170 places, 198 transitions, 426 flow [2023-08-29 21:47:17,405 INFO L130 PetriNetUnfolder]: 77/483 cut-off events. [2023-08-29 21:47:17,406 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:47:17,408 INFO L83 FinitePrefix]: Finished finitePrefix Result has 511 conditions, 483 events. 77/483 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 1880 event pairs, 1 based on Foata normal form. 0/366 useless extension candidates. Maximal degree in co-relation 326. Up to 16 conditions per place. [2023-08-29 21:47:17,415 INFO L119 LiptonReduction]: Number of co-enabled transitions 19716 [2023-08-29 21:47:19,782 INFO L134 LiptonReduction]: Checked pairs total: 65582 [2023-08-29 21:47:19,782 INFO L136 LiptonReduction]: Total number of compositions: 129 [2023-08-29 21:47:19,784 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:47:19,784 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;@1c973825, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:47:19,784 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:47:19,794 INFO L130 PetriNetUnfolder]: 38/160 cut-off events. [2023-08-29 21:47:19,794 INFO L131 PetriNetUnfolder]: For 10/10 co-relation queries the response was YES. [2023-08-29 21:47:19,795 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:47:19,795 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 3, 1, 1, 1, 1, 1] [2023-08-29 21:47:19,795 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:47:19,795 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:47:19,795 INFO L85 PathProgramCache]: Analyzing trace with hash 1428145882, now seen corresponding path program 1 times [2023-08-29 21:47:19,796 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:47:19,796 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1215701007] [2023-08-29 21:47:19,796 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:19,796 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:47:19,814 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:47:19,814 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:47:19,831 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:47:19,839 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:47:19,839 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:47:19,840 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:47:19,840 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2023-08-29 21:47:19,840 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:47:19,842 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:47:19,842 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:47:19,842 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-08-29 21:47:19,867 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-08-29 21:47:19,869 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 197 places, 231 transitions, 506 flow [2023-08-29 21:47:19,943 INFO L130 PetriNetUnfolder]: 115/732 cut-off events. [2023-08-29 21:47:19,943 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:47:19,950 INFO L83 FinitePrefix]: Finished finitePrefix Result has 787 conditions, 732 events. 115/732 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 17. Compared 3205 event pairs, 6 based on Foata normal form. 0/554 useless extension candidates. Maximal degree in co-relation 503. Up to 32 conditions per place. [2023-08-29 21:47:19,950 INFO L82 GeneralOperation]: Start removeDead. Operand has 197 places, 231 transitions, 506 flow [2023-08-29 21:47:19,959 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 197 places, 231 transitions, 506 flow [2023-08-29 21:47:19,959 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:47:19,959 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 197 places, 231 transitions, 506 flow [2023-08-29 21:47:19,960 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 197 places, 231 transitions, 506 flow [2023-08-29 21:47:19,960 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 197 places, 231 transitions, 506 flow [2023-08-29 21:47:20,040 INFO L130 PetriNetUnfolder]: 115/732 cut-off events. [2023-08-29 21:47:20,040 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:47:20,047 INFO L83 FinitePrefix]: Finished finitePrefix Result has 787 conditions, 732 events. 115/732 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 17. Compared 3205 event pairs, 6 based on Foata normal form. 0/554 useless extension candidates. Maximal degree in co-relation 503. Up to 32 conditions per place. [2023-08-29 21:47:20,068 INFO L119 LiptonReduction]: Number of co-enabled transitions 30504 [2023-08-29 21:47:22,451 INFO L134 LiptonReduction]: Checked pairs total: 121454 [2023-08-29 21:47:22,451 INFO L136 LiptonReduction]: Total number of compositions: 144 [2023-08-29 21:47:22,453 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:47:22,453 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;@1c973825, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:47:22,453 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:47:22,454 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 21:47:22,454 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:47:22,454 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:47:22,454 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:47:22,454 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:47:22,455 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:47:22,455 INFO L85 PathProgramCache]: Analyzing trace with hash 61167, now seen corresponding path program 1 times [2023-08-29 21:47:22,455 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:47:22,455 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1086797979] [2023-08-29 21:47:22,455 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:22,455 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:47:22,472 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:47:22,487 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:47:22,487 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:47:22,488 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1086797979] [2023-08-29 21:47:22,488 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1086797979] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:47:22,488 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:47:22,488 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:47:22,490 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [181494143] [2023-08-29 21:47:22,490 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:47:22,490 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:47:22,490 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:47:22,491 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:47:22,491 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:47:22,514 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 179 out of 375 [2023-08-29 21:47:22,515 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 100 places, 132 transitions, 308 flow. Second operand has 3 states, 3 states have (on average 179.66666666666666) internal successors, (539), 3 states have internal predecessors, (539), 0 states have call successors, (0), 0 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:47:22,515 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:47:22,515 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 179 of 375 [2023-08-29 21:47:22,516 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:48:26,386 INFO L130 PetriNetUnfolder]: 737208/1008775 cut-off events. [2023-08-29 21:48:26,387 INFO L131 PetriNetUnfolder]: For 19957/19957 co-relation queries the response was YES. [2023-08-29 21:48:28,747 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1953503 conditions, 1008775 events. 737208/1008775 cut-off events. For 19957/19957 co-relation queries the response was YES. Maximal size of possible extension queue 21548. Compared 8499505 event pairs, 579888 based on Foata normal form. 148351/1029026 useless extension candidates. Maximal degree in co-relation 189117. Up to 824378 conditions per place. [2023-08-29 21:48:33,832 INFO L137 encePairwiseOnDemand]: 337/375 looper letters, 101 selfloop transitions, 2 changer transitions 3/135 dead transitions. [2023-08-29 21:48:33,832 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 100 places, 135 transitions, 524 flow [2023-08-29 21:48:33,832 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:48:33,833 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:48:33,854 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 701 transitions. [2023-08-29 21:48:33,855 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.6231111111111111 [2023-08-29 21:48:33,855 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 701 transitions. [2023-08-29 21:48:33,855 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 701 transitions. [2023-08-29 21:48:33,856 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:48:33,856 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 701 transitions. [2023-08-29 21:48:33,858 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 233.66666666666666) internal successors, (701), 3 states have internal predecessors, (701), 0 states have call successors, (0), 0 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:48:33,860 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 375.0) internal successors, (1500), 4 states have internal predecessors, (1500), 0 states have call successors, (0), 0 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:48:33,860 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 375.0) internal successors, (1500), 4 states have internal predecessors, (1500), 0 states have call successors, (0), 0 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:48:33,860 INFO L175 Difference]: Start difference. First operand has 100 places, 132 transitions, 308 flow. Second operand 3 states and 701 transitions. [2023-08-29 21:48:33,860 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 100 places, 135 transitions, 524 flow [2023-08-29 21:48:33,869 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 100 places, 135 transitions, 524 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:48:33,887 INFO L231 Difference]: Finished difference. Result has 100 places, 94 transitions, 228 flow [2023-08-29 21:48:33,888 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=375, PETRI_DIFFERENCE_MINUEND_FLOW=238, PETRI_DIFFERENCE_MINUEND_PLACES=98, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=97, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=95, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=228, PETRI_PLACES=100, PETRI_TRANSITIONS=94} [2023-08-29 21:48:33,888 INFO L281 CegarLoopForPetriNet]: 100 programPoint places, 0 predicate places. [2023-08-29 21:48:33,888 INFO L495 AbstractCegarLoop]: Abstraction has has 100 places, 94 transitions, 228 flow [2023-08-29 21:48:33,889 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 179.66666666666666) internal successors, (539), 3 states have internal predecessors, (539), 0 states have call successors, (0), 0 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:48:33,889 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:48:33,889 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:48:33,889 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable12 [2023-08-29 21:48:33,889 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:48:33,890 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:48:33,890 INFO L85 PathProgramCache]: Analyzing trace with hash 61166, now seen corresponding path program 1 times [2023-08-29 21:48:33,890 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:48:33,890 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [319262871] [2023-08-29 21:48:33,890 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:48:33,891 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:48:33,909 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:48:33,977 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:48:33,977 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:48:33,977 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [319262871] [2023-08-29 21:48:33,977 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [319262871] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:48:33,977 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:48:33,978 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:48:33,978 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2023466682] [2023-08-29 21:48:33,979 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:48:33,980 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:48:33,980 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:48:33,980 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:48:33,980 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:48:34,006 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 182 out of 375 [2023-08-29 21:48:34,007 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 100 places, 94 transitions, 228 flow. Second operand has 3 states, 3 states have (on average 182.66666666666666) internal successors, (548), 3 states have internal predecessors, (548), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:48:34,007 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:48:34,007 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 182 of 375 [2023-08-29 21:48:34,007 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:49:39,592 INFO L130 PetriNetUnfolder]: 659761/891941 cut-off events. [2023-08-29 21:49:39,593 INFO L131 PetriNetUnfolder]: For 19594/19594 co-relation queries the response was YES. [2023-08-29 21:49:40,983 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1748972 conditions, 891941 events. 659761/891941 cut-off events. For 19594/19594 co-relation queries the response was YES. Maximal size of possible extension queue 18744. Compared 7212953 event pairs, 439189 based on Foata normal form. 0/807052 useless extension candidates. Maximal degree in co-relation 1626558. Up to 835777 conditions per place. [2023-08-29 21:49:44,119 INFO L137 encePairwiseOnDemand]: 371/375 looper letters, 73 selfloop transitions, 2 changer transitions 0/104 dead transitions. [2023-08-29 21:49:44,119 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 99 places, 104 transitions, 398 flow [2023-08-29 21:49:44,125 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:49:44,125 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:49:44,126 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 623 transitions. [2023-08-29 21:49:44,127 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5537777777777778 [2023-08-29 21:49:44,127 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 623 transitions. [2023-08-29 21:49:44,127 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 623 transitions. [2023-08-29 21:49:44,127 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:49:44,128 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 623 transitions. [2023-08-29 21:49:44,129 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 207.66666666666666) internal successors, (623), 3 states have internal predecessors, (623), 0 states have call successors, (0), 0 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:49:44,131 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 375.0) internal successors, (1500), 4 states have internal predecessors, (1500), 0 states have call successors, (0), 0 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:49:44,131 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 375.0) internal successors, (1500), 4 states have internal predecessors, (1500), 0 states have call successors, (0), 0 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:49:44,131 INFO L175 Difference]: Start difference. First operand has 100 places, 94 transitions, 228 flow. Second operand 3 states and 623 transitions. [2023-08-29 21:49:44,131 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 99 places, 104 transitions, 398 flow [2023-08-29 21:50:34,923 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 96 places, 104 transitions, 392 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-08-29 21:50:34,924 INFO L231 Difference]: Finished difference. Result has 97 places, 95 transitions, 236 flow [2023-08-29 21:50:34,925 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=375, PETRI_DIFFERENCE_MINUEND_FLOW=222, PETRI_DIFFERENCE_MINUEND_PLACES=94, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=94, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=92, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=236, PETRI_PLACES=97, PETRI_TRANSITIONS=95} [2023-08-29 21:50:34,925 INFO L281 CegarLoopForPetriNet]: 100 programPoint places, -3 predicate places. [2023-08-29 21:50:34,925 INFO L495 AbstractCegarLoop]: Abstraction has has 97 places, 95 transitions, 236 flow [2023-08-29 21:50:34,926 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 182.66666666666666) internal successors, (548), 3 states have internal predecessors, (548), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:50:34,926 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:50:34,926 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-08-29 21:50:34,926 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable13 [2023-08-29 21:50:34,926 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:50:34,927 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:50:34,927 INFO L85 PathProgramCache]: Analyzing trace with hash 708435635, now seen corresponding path program 1 times [2023-08-29 21:50:34,927 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:50:34,927 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1198580671] [2023-08-29 21:50:34,927 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:50:34,927 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:50:34,935 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:50:34,997 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:50:34,998 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:50:34,998 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1198580671] [2023-08-29 21:50:34,998 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1198580671] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:50:34,998 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1286253930] [2023-08-29 21:50:34,998 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:50:34,999 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:50:34,999 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:50:35,001 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:50:35,002 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:50:35,054 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:50:35,055 INFO L263 TraceCheckSpWp]: Trace formula consists of 101 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:50:35,056 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:50:35,065 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:50:35,094 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:50:35,094 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:50:35,128 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:50:35,128 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1286253930] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:50:35,128 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:50:35,128 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 5 [2023-08-29 21:50:35,129 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [148002693] [2023-08-29 21:50:35,129 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:50:35,129 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2023-08-29 21:50:35,129 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:50:35,130 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2023-08-29 21:50:35,130 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=18, Invalid=24, Unknown=0, NotChecked=0, Total=42 [2023-08-29 21:50:35,195 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 179 out of 375 [2023-08-29 21:50:35,198 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 97 places, 95 transitions, 236 flow. Second operand has 7 states, 7 states have (on average 180.71428571428572) internal successors, (1265), 7 states have internal predecessors, (1265), 0 states have call successors, (0), 0 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:50:35,198 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:50:35,198 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 179 of 375 [2023-08-29 21:50:35,198 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:51:29,478 INFO L130 PetriNetUnfolder]: 668073/896307 cut-off events. [2023-08-29 21:51:29,478 INFO L131 PetriNetUnfolder]: For 23646/23646 co-relation queries the response was YES. [2023-08-29 21:51:30,941 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1778123 conditions, 896307 events. 668073/896307 cut-off events. For 23646/23646 co-relation queries the response was YES. Maximal size of possible extension queue 19026. Compared 7158641 event pairs, 92026 based on Foata normal form. 8/812962 useless extension candidates. Maximal degree in co-relation 258170. Up to 711625 conditions per place. [2023-08-29 21:51:34,037 INFO L137 encePairwiseOnDemand]: 369/375 looper letters, 193 selfloop transitions, 7 changer transitions 1/230 dead transitions. [2023-08-29 21:51:34,037 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 102 places, 230 transitions, 931 flow [2023-08-29 21:51:34,037 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-08-29 21:51:34,037 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2023-08-29 21:51:34,039 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 1279 transitions. [2023-08-29 21:51:34,040 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5684444444444444 [2023-08-29 21:51:34,040 INFO L72 ComplementDD]: Start complementDD. Operand 6 states and 1279 transitions. [2023-08-29 21:51:34,040 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6 states and 1279 transitions. [2023-08-29 21:51:34,041 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:51:34,041 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 6 states and 1279 transitions. [2023-08-29 21:51:34,043 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 7 states, 6 states have (on average 213.16666666666666) internal successors, (1279), 6 states have internal predecessors, (1279), 0 states have call successors, (0), 0 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:51:34,046 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 7 states, 7 states have (on average 375.0) internal successors, (2625), 7 states have internal predecessors, (2625), 0 states have call successors, (0), 0 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:51:34,047 INFO L81 ComplementDD]: Finished complementDD. Result has 7 states, 7 states have (on average 375.0) internal successors, (2625), 7 states have internal predecessors, (2625), 0 states have call successors, (0), 0 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:51:34,047 INFO L175 Difference]: Start difference. First operand has 97 places, 95 transitions, 236 flow. Second operand 6 states and 1279 transitions. [2023-08-29 21:51:34,047 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 102 places, 230 transitions, 931 flow [2023-08-29 21:51:34,050 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 101 places, 230 transitions, 929 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 21:51:34,052 INFO L231 Difference]: Finished difference. Result has 105 places, 99 transitions, 284 flow [2023-08-29 21:51:34,052 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=375, PETRI_DIFFERENCE_MINUEND_FLOW=234, PETRI_DIFFERENCE_MINUEND_PLACES=96, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=95, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=91, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=284, PETRI_PLACES=105, PETRI_TRANSITIONS=99} [2023-08-29 21:51:34,053 INFO L281 CegarLoopForPetriNet]: 100 programPoint places, 5 predicate places. [2023-08-29 21:51:34,053 INFO L495 AbstractCegarLoop]: Abstraction has has 105 places, 99 transitions, 284 flow [2023-08-29 21:51:34,054 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 180.71428571428572) internal successors, (1265), 7 states have internal predecessors, (1265), 0 states have call successors, (0), 0 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:51:34,054 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:51:34,054 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 4, 4, 1, 1, 1, 1, 1, 1] [2023-08-29 21:51:34,061 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:51:34,257 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 5 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable14 [2023-08-29 21:51:34,257 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:51:34,257 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:51:34,258 INFO L85 PathProgramCache]: Analyzing trace with hash 1699908412, now seen corresponding path program 1 times [2023-08-29 21:51:34,258 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:51:34,258 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [628489659] [2023-08-29 21:51:34,258 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:51:34,258 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:51:34,278 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:51:34,393 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:51:34,394 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:51:34,394 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [628489659] [2023-08-29 21:51:34,394 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [628489659] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:51:34,394 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [2049274474] [2023-08-29 21:51:34,394 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:51:34,395 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:51:34,395 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:51:34,396 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:51:34,618 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:51:34,679 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:51:34,680 INFO L263 TraceCheckSpWp]: Trace formula consists of 167 conjuncts, 15 conjunts are in the unsatisfiable core [2023-08-29 21:51:34,681 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:51:34,689 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:51:34,806 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:51:34,807 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:51:34,946 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:51:34,946 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [2049274474] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:51:34,946 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:51:34,946 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 5, 5] total 14 [2023-08-29 21:51:34,947 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2013705791] [2023-08-29 21:51:34,947 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:51:34,947 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 16 states [2023-08-29 21:51:34,948 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:51:34,949 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 16 interpolants. [2023-08-29 21:51:34,949 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=78, Invalid=162, Unknown=0, NotChecked=0, Total=240 [2023-08-29 21:51:35,260 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 179 out of 375 [2023-08-29 21:51:35,262 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 105 places, 99 transitions, 284 flow. Second operand has 16 states, 16 states have (on average 181.4375) internal successors, (2903), 16 states have internal predecessors, (2903), 0 states have call successors, (0), 0 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:51:35,262 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:51:35,262 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 179 of 375 [2023-08-29 21:51:35,262 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:51:40,361 INFO L130 PetriNetUnfolder]: 63913/91067 cut-off events. [2023-08-29 21:51:40,361 INFO L131 PetriNetUnfolder]: For 130520/130520 co-relation queries the response was YES. [2023-08-29 21:51:40,515 INFO L83 FinitePrefix]: Finished finitePrefix Result has 205319 conditions, 91067 events. 63913/91067 cut-off events. For 130520/130520 co-relation queries the response was YES. Maximal size of possible extension queue 2594. Compared 668886 event pairs, 528 based on Foata normal form. 16808/103352 useless extension candidates. Maximal degree in co-relation 25788. Up to 39600 conditions per place. [2023-08-29 21:51:40,565 INFO L137 encePairwiseOnDemand]: 371/375 looper letters, 0 selfloop transitions, 0 changer transitions 168/168 dead transitions. [2023-08-29 21:51:40,565 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 89 places, 168 transitions, 685 flow [2023-08-29 21:51:40,566 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-08-29 21:51:40,566 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2023-08-29 21:51:40,568 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 1402 transitions. [2023-08-29 21:51:40,569 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5340952380952381 [2023-08-29 21:51:40,569 INFO L72 ComplementDD]: Start complementDD. Operand 7 states and 1402 transitions. [2023-08-29 21:51:40,569 INFO L73 IsDeterministic]: Start isDeterministic. Operand 7 states and 1402 transitions. [2023-08-29 21:51:40,570 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:51:40,570 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 7 states and 1402 transitions. [2023-08-29 21:51:40,573 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 8 states, 7 states have (on average 200.28571428571428) internal successors, (1402), 7 states have internal predecessors, (1402), 0 states have call successors, (0), 0 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:51:40,576 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 8 states, 8 states have (on average 375.0) internal successors, (3000), 8 states have internal predecessors, (3000), 0 states have call successors, (0), 0 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:51:40,577 INFO L81 ComplementDD]: Finished complementDD. Result has 8 states, 8 states have (on average 375.0) internal successors, (3000), 8 states have internal predecessors, (3000), 0 states have call successors, (0), 0 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:51:40,577 INFO L175 Difference]: Start difference. First operand has 105 places, 99 transitions, 284 flow. Second operand 7 states and 1402 transitions. [2023-08-29 21:51:40,577 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 89 places, 168 transitions, 685 flow [2023-08-29 21:51:40,699 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 82 places, 168 transitions, 660 flow, removed 6 selfloop flow, removed 7 redundant places. [2023-08-29 21:51:40,700 INFO L231 Difference]: Finished difference. Result has 82 places, 0 transitions, 0 flow [2023-08-29 21:51:40,700 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=375, PETRI_DIFFERENCE_MINUEND_FLOW=170, PETRI_DIFFERENCE_MINUEND_PLACES=76, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=71, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=71, PETRI_DIFFERENCE_SUBTRAHEND_STATES=7, PETRI_FLOW=0, PETRI_PLACES=82, PETRI_TRANSITIONS=0} [2023-08-29 21:51:40,700 INFO L281 CegarLoopForPetriNet]: 100 programPoint places, -18 predicate places. [2023-08-29 21:51:40,700 INFO L495 AbstractCegarLoop]: Abstraction has has 82 places, 0 transitions, 0 flow [2023-08-29 21:51:40,701 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 16 states, 16 states have (on average 181.4375) internal successors, (2903), 16 states have internal predecessors, (2903), 0 states have call successors, (0), 0 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:51:40,701 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2023-08-29 21:51:40,701 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-08-29 21:51:40,701 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 21:51:40,702 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-08-29 21:51:40,702 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 6 remaining) [2023-08-29 21:51:40,702 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 21:51:40,707 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Forceful destruction successful, exit code 0 [2023-08-29 21:51:40,903 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:51:40,903 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2023-08-29 21:51:40,904 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:51:40,905 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 197 places, 231 transitions, 506 flow [2023-08-29 21:51:40,951 INFO L130 PetriNetUnfolder]: 115/732 cut-off events. [2023-08-29 21:51:40,951 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:51:40,955 INFO L83 FinitePrefix]: Finished finitePrefix Result has 787 conditions, 732 events. 115/732 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 17. Compared 3205 event pairs, 6 based on Foata normal form. 0/554 useless extension candidates. Maximal degree in co-relation 503. Up to 32 conditions per place. [2023-08-29 21:51:40,955 INFO L82 GeneralOperation]: Start removeDead. Operand has 197 places, 231 transitions, 506 flow [2023-08-29 21:51:40,957 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 197 places, 231 transitions, 506 flow [2023-08-29 21:51:40,957 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:51:40,957 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 197 places, 231 transitions, 506 flow [2023-08-29 21:51:40,957 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 197 places, 231 transitions, 506 flow [2023-08-29 21:51:40,957 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 197 places, 231 transitions, 506 flow [2023-08-29 21:51:41,198 INFO L130 PetriNetUnfolder]: 115/732 cut-off events. [2023-08-29 21:51:41,198 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:51:41,201 INFO L83 FinitePrefix]: Finished finitePrefix Result has 787 conditions, 732 events. 115/732 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 17. Compared 3205 event pairs, 6 based on Foata normal form. 0/554 useless extension candidates. Maximal degree in co-relation 503. Up to 32 conditions per place. [2023-08-29 21:51:41,222 INFO L119 LiptonReduction]: Number of co-enabled transitions 30504 [2023-08-29 21:51:43,352 INFO L134 LiptonReduction]: Checked pairs total: 106340 [2023-08-29 21:51:43,352 INFO L136 LiptonReduction]: Total number of compositions: 147 [2023-08-29 21:51:43,354 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:51:43,354 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@1c973825, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:51:43,354 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:51:43,366 INFO L130 PetriNetUnfolder]: 54/222 cut-off events. [2023-08-29 21:51:43,366 INFO L131 PetriNetUnfolder]: For 22/22 co-relation queries the response was YES. [2023-08-29 21:51:43,366 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:51:43,367 INFO L208 CegarLoopForPetriNet]: trace histogram [5, 4, 4, 1, 1, 1, 1, 1, 1] [2023-08-29 21:51:43,367 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:51:43,367 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:51:43,367 INFO L85 PathProgramCache]: Analyzing trace with hash -616184386, now seen corresponding path program 1 times [2023-08-29 21:51:43,367 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:51:43,367 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1571567952] [2023-08-29 21:51:43,368 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:51:43,368 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:51:43,379 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:51:43,380 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:51:43,387 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:51:43,392 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:51:43,392 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:51:43,392 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:51:43,392 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable16 [2023-08-29 21:51:43,392 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:51:43,393 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:51:43,393 WARN L233 ceAbstractionStarter]: 4 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:51:43,393 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 5 thread instances. [2023-08-29 21:51:43,411 INFO L144 ThreadInstanceAdder]: Constructed 5 joinOtherThreadTransitions. [2023-08-29 21:51:43,413 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 224 places, 264 transitions, 588 flow [2023-08-29 21:51:43,528 INFO L130 PetriNetUnfolder]: 181/1153 cut-off events. [2023-08-29 21:51:43,529 INFO L131 PetriNetUnfolder]: For 110/110 co-relation queries the response was YES. [2023-08-29 21:51:43,542 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1264 conditions, 1153 events. 181/1153 cut-off events. For 110/110 co-relation queries the response was YES. Maximal size of possible extension queue 26. Compared 5900 event pairs, 23 based on Foata normal form. 0/874 useless extension candidates. Maximal degree in co-relation 777. Up to 80 conditions per place. [2023-08-29 21:51:43,543 INFO L82 GeneralOperation]: Start removeDead. Operand has 224 places, 264 transitions, 588 flow [2023-08-29 21:51:43,550 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 224 places, 264 transitions, 588 flow [2023-08-29 21:51:43,551 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:51:43,551 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 224 places, 264 transitions, 588 flow [2023-08-29 21:51:43,551 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 224 places, 264 transitions, 588 flow [2023-08-29 21:51:43,551 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 224 places, 264 transitions, 588 flow [2023-08-29 21:51:43,664 INFO L130 PetriNetUnfolder]: 181/1153 cut-off events. [2023-08-29 21:51:43,664 INFO L131 PetriNetUnfolder]: For 110/110 co-relation queries the response was YES. [2023-08-29 21:51:43,677 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1264 conditions, 1153 events. 181/1153 cut-off events. For 110/110 co-relation queries the response was YES. Maximal size of possible extension queue 26. Compared 5900 event pairs, 23 based on Foata normal form. 0/874 useless extension candidates. Maximal degree in co-relation 777. Up to 80 conditions per place. [2023-08-29 21:51:43,708 INFO L119 LiptonReduction]: Number of co-enabled transitions 43400 [2023-08-29 21:51:45,996 INFO L134 LiptonReduction]: Checked pairs total: 174245 [2023-08-29 21:51:45,996 INFO L136 LiptonReduction]: Total number of compositions: 164 [2023-08-29 21:51:45,997 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:51:45,998 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;@1c973825, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:51:45,998 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:51:45,999 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 21:51:45,999 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:51:45,999 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:51:45,999 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:51:45,999 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:51:45,999 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:51:46,000 INFO L85 PathProgramCache]: Analyzing trace with hash 80623, now seen corresponding path program 1 times [2023-08-29 21:51:46,000 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:51:46,000 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1157165452] [2023-08-29 21:51:46,000 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:51:46,000 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:51:46,012 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:51:46,037 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:51:46,037 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:51:46,037 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1157165452] [2023-08-29 21:51:46,038 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1157165452] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:51:46,038 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:51:46,038 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:51:46,038 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1415928204] [2023-08-29 21:51:46,038 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:51:46,038 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:51:46,038 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:51:46,039 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:51:46,039 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:51:46,066 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 207 out of 428 [2023-08-29 21:51:46,067 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 116 places, 153 transitions, 366 flow. Second operand has 3 states, 3 states have (on average 207.66666666666666) internal successors, (623), 3 states have internal predecessors, (623), 0 states have call successors, (0), 0 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:51:46,067 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:51:46,067 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 207 of 428 [2023-08-29 21:51:46,067 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand