./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_42-trylock2_racefree.i --full-output --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations AFTER --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version b8dbc81d Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_42-trylock2_racefree.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 844ba080c7d33529db727776ee230d62edb7b62a6350a8061572438c458d73d3 --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:45:53,196 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-29 21:45:53,199 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-29 21:45:53,236 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-29 21:45:53,238 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-29 21:45:53,241 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-29 21:45:53,243 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-29 21:45:53,246 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-29 21:45:53,248 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-29 21:45:53,252 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-29 21:45:53,253 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-29 21:45:53,255 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-29 21:45:53,256 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-29 21:45:53,257 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-29 21:45:53,259 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-29 21:45:53,264 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-29 21:45:53,265 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-29 21:45:53,265 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-29 21:45:53,267 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-29 21:45:53,270 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-29 21:45:53,272 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-29 21:45:53,281 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-29 21:45:53,282 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-29 21:45:53,283 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-29 21:45:53,290 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-29 21:45:53,292 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-29 21:45:53,292 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-29 21:45:53,294 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-29 21:45:53,294 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-29 21:45:53,295 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-29 21:45:53,295 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-29 21:45:53,301 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-29 21:45:53,302 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-29 21:45:53,303 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-29 21:45:53,303 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-29 21:45:53,304 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-29 21:45:53,305 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-29 21:45:53,305 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-29 21:45:53,305 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-29 21:45:53,306 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-29 21:45:53,306 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-29 21:45:53,308 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:45:53,341 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-29 21:45:53,342 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-29 21:45:53,343 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-29 21:45:53,343 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-29 21:45:53,344 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-29 21:45:53,344 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-29 21:45:53,345 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-29 21:45:53,345 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-29 21:45:53,345 INFO L138 SettingsManager]: * Use SBE=true [2023-08-29 21:45:53,345 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-29 21:45:53,346 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-29 21:45:53,346 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-08-29 21:45:53,346 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-29 21:45:53,347 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-29 21:45:53,347 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-29 21:45:53,347 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-08-29 21:45:53,347 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-08-29 21:45:53,347 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-08-29 21:45:53,348 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-29 21:45:53,348 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-08-29 21:45:53,348 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-29 21:45:53,348 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-29 21:45:53,348 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-29 21:45:53,349 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-29 21:45:53,349 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-29 21:45:53,349 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 21:45:53,349 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-29 21:45:53,349 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-29 21:45:53,350 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-29 21:45:53,350 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-29 21:45:53,350 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-29 21:45:53,350 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-29 21:45:53,351 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-29 21:45:53,351 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-29 21:45:53,351 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 -> 844ba080c7d33529db727776ee230d62edb7b62a6350a8061572438c458d73d3 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:45:53,615 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-29 21:45:53,636 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-29 21:45:53,639 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-29 21:45:53,639 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-29 21:45:53,640 INFO L275 PluginConnector]: CDTParser initialized [2023-08-29 21:45:53,641 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/goblint-regression/28-race_reach_42-trylock2_racefree.i [2023-08-29 21:45:54,795 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-29 21:45:55,090 INFO L351 CDTParser]: Found 1 translation units. [2023-08-29 21:45:55,090 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_42-trylock2_racefree.i [2023-08-29 21:45:55,101 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8986228a2/a0deca8b8a75442999978d3442156d7a/FLAG9dfa7f342 [2023-08-29 21:45:55,116 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/8986228a2/a0deca8b8a75442999978d3442156d7a [2023-08-29 21:45:55,119 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-29 21:45:55,120 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-29 21:45:55,121 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-29 21:45:55,121 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-29 21:45:55,126 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-29 21:45:55,127 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 09:45:55" (1/1) ... [2023-08-29 21:45:55,128 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4d1c2960 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:45:55, skipping insertion in model container [2023-08-29 21:45:55,129 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 09:45:55" (1/1) ... [2023-08-29 21:45:55,135 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-29 21:45:55,187 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-29 21:45:55,500 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_42-trylock2_racefree.i[30176,30189] [2023-08-29 21:45:55,529 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 21:45:55,549 INFO L203 MainTranslator]: Completed pre-run [2023-08-29 21:45:55,588 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_42-trylock2_racefree.i[30176,30189] [2023-08-29 21:45:55,612 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 21:45:55,664 INFO L208 MainTranslator]: Completed translation [2023-08-29 21:45:55,665 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:45:55 WrapperNode [2023-08-29 21:45:55,665 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-29 21:45:55,666 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-29 21:45:55,666 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-29 21:45:55,667 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-29 21:45:55,672 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:45:55" (1/1) ... [2023-08-29 21:45:55,714 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:45:55" (1/1) ... [2023-08-29 21:45:55,742 INFO L138 Inliner]: procedures = 171, calls = 47, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 130 [2023-08-29 21:45:55,742 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-29 21:45:55,746 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-29 21:45:55,746 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-29 21:45:55,746 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-29 21:45:55,753 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:45:55" (1/1) ... [2023-08-29 21:45:55,754 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:45:55" (1/1) ... [2023-08-29 21:45:55,773 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:45:55" (1/1) ... [2023-08-29 21:45:55,773 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:45:55" (1/1) ... [2023-08-29 21:45:55,778 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:45:55" (1/1) ... [2023-08-29 21:45:55,794 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:45:55" (1/1) ... [2023-08-29 21:45:55,796 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:45:55" (1/1) ... [2023-08-29 21:45:55,797 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:45:55" (1/1) ... [2023-08-29 21:45:55,806 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-29 21:45:55,807 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-29 21:45:55,807 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-29 21:45:55,807 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-29 21:45:55,808 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:45:55" (1/1) ... [2023-08-29 21:45:55,813 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 21:45:55,824 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:45:55,838 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-08-29 21:45:55,862 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:45:55,877 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-08-29 21:45:55,877 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-29 21:45:55,877 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-08-29 21:45:55,878 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-29 21:45:55,878 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-29 21:45:55,878 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2023-08-29 21:45:55,878 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2023-08-29 21:45:55,878 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-29 21:45:55,878 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexTryLock [2023-08-29 21:45:55,879 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-29 21:45:55,879 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-29 21:45:55,879 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-29 21:45:55,880 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:45:56,004 INFO L236 CfgBuilder]: Building ICFG [2023-08-29 21:45:56,006 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-29 21:45:56,251 INFO L277 CfgBuilder]: Performing block encoding [2023-08-29 21:45:56,259 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-29 21:45:56,259 INFO L302 CfgBuilder]: Removed 23 assume(true) statements. [2023-08-29 21:45:56,261 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 09:45:56 BoogieIcfgContainer [2023-08-29 21:45:56,261 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-29 21:45:56,267 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-29 21:45:56,267 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-08-29 21:45:56,270 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-08-29 21:45:56,270 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.08 09:45:55" (1/3) ... [2023-08-29 21:45:56,271 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@16abd64e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 09:45:56, skipping insertion in model container [2023-08-29 21:45:56,271 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:45:55" (2/3) ... [2023-08-29 21:45:56,271 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@16abd64e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 09:45:56, skipping insertion in model container [2023-08-29 21:45:56,271 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 09:45:56" (3/3) ... [2023-08-29 21:45:56,272 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_42-trylock2_racefree.i [2023-08-29 21:45:56,288 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-29 21:45:56,288 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 9 error locations. [2023-08-29 21:45:56,288 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-29 21:45:56,383 INFO L144 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2023-08-29 21:45:56,416 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 166 places, 192 transitions, 392 flow [2023-08-29 21:45:56,487 INFO L130 PetriNetUnfolder]: 45/284 cut-off events. [2023-08-29 21:45:56,488 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:45:56,499 INFO L83 FinitePrefix]: Finished finitePrefix Result has 290 conditions, 284 events. 45/284 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 19. Compared 1094 event pairs, 0 based on Foata normal form. 0/218 useless extension candidates. Maximal degree in co-relation 150. Up to 6 conditions per place. [2023-08-29 21:45:56,502 INFO L82 GeneralOperation]: Start removeDead. Operand has 166 places, 192 transitions, 392 flow [2023-08-29 21:45:56,511 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 166 places, 192 transitions, 392 flow [2023-08-29 21:45:56,515 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:45:56,525 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 166 places, 192 transitions, 392 flow [2023-08-29 21:45:56,527 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 166 places, 192 transitions, 392 flow [2023-08-29 21:45:56,528 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 166 places, 192 transitions, 392 flow [2023-08-29 21:45:56,577 INFO L130 PetriNetUnfolder]: 45/284 cut-off events. [2023-08-29 21:45:56,577 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:45:56,579 INFO L83 FinitePrefix]: Finished finitePrefix Result has 290 conditions, 284 events. 45/284 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 19. Compared 1094 event pairs, 0 based on Foata normal form. 0/218 useless extension candidates. Maximal degree in co-relation 150. Up to 6 conditions per place. [2023-08-29 21:45:56,588 INFO L119 LiptonReduction]: Number of co-enabled transitions 10388 [2023-08-29 21:46:00,439 INFO L134 LiptonReduction]: Checked pairs total: 25620 [2023-08-29 21:46:00,439 INFO L136 LiptonReduction]: Total number of compositions: 153 [2023-08-29 21:46:00,452 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:46:00,457 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@3f4af1b7, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:46:00,458 INFO L358 AbstractCegarLoop]: Starting to check reachability of 9 error locations. [2023-08-29 21:46:00,460 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 21:46:00,460 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:46:00,460 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:46:00,461 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:46:00,461 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 6 more)] === [2023-08-29 21:46:00,465 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:46:00,466 INFO L85 PathProgramCache]: Analyzing trace with hash 23651, now seen corresponding path program 1 times [2023-08-29 21:46:00,473 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:46:00,474 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1326497717] [2023-08-29 21:46:00,474 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:00,475 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:46:00,559 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:46:00,715 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:00,716 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:46:00,717 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1326497717] [2023-08-29 21:46:00,718 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1326497717] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:46:00,718 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:46:00,718 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:46:00,720 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [494368426] [2023-08-29 21:46:00,720 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:46:00,727 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:46:00,732 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:46:00,754 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:46:00,755 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:46:00,807 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 151 out of 345 [2023-08-29 21:46:00,810 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 60 places, 82 transitions, 172 flow. Second operand has 3 states, 3 states have (on average 151.66666666666666) internal successors, (455), 3 states have internal predecessors, (455), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:46:00,810 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:46:00,810 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 151 of 345 [2023-08-29 21:46:00,811 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:46:01,002 INFO L130 PetriNetUnfolder]: 438/1011 cut-off events. [2023-08-29 21:46:01,002 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:46:01,005 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1951 conditions, 1011 events. 438/1011 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 37. Compared 5155 event pairs, 390 based on Foata normal form. 143/943 useless extension candidates. Maximal degree in co-relation 1871. Up to 867 conditions per place. [2023-08-29 21:46:01,009 INFO L137 encePairwiseOnDemand]: 317/345 looper letters, 58 selfloop transitions, 2 changer transitions 4/71 dead transitions. [2023-08-29 21:46:01,010 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 59 places, 71 transitions, 276 flow [2023-08-29 21:46:01,011 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:46:01,013 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:46:01,020 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 553 transitions. [2023-08-29 21:46:01,023 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5342995169082125 [2023-08-29 21:46:01,024 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 553 transitions. [2023-08-29 21:46:01,024 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 553 transitions. [2023-08-29 21:46:01,026 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:46:01,028 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 553 transitions. [2023-08-29 21:46:01,032 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 184.33333333333334) internal successors, (553), 3 states have internal predecessors, (553), 0 states have call successors, (0), 0 states 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:01,037 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 345.0) internal successors, (1380), 4 states have internal predecessors, (1380), 0 states have call successors, (0), 0 states 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:01,038 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 345.0) internal successors, (1380), 4 states have internal predecessors, (1380), 0 states have call successors, (0), 0 states 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:01,040 INFO L175 Difference]: Start difference. First operand has 60 places, 82 transitions, 172 flow. Second operand 3 states and 553 transitions. [2023-08-29 21:46:01,041 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 59 places, 71 transitions, 276 flow [2023-08-29 21:46:01,044 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 59 places, 71 transitions, 276 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:46:01,046 INFO L231 Difference]: Finished difference. Result has 59 places, 52 transitions, 114 flow [2023-08-29 21:46:01,047 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=345, PETRI_DIFFERENCE_MINUEND_FLOW=120, PETRI_DIFFERENCE_MINUEND_PLACES=57, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=56, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=54, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=114, PETRI_PLACES=59, PETRI_TRANSITIONS=52} [2023-08-29 21:46:01,050 INFO L281 CegarLoopForPetriNet]: 60 programPoint places, -1 predicate places. [2023-08-29 21:46:01,051 INFO L495 AbstractCegarLoop]: Abstraction has has 59 places, 52 transitions, 114 flow [2023-08-29 21:46:01,051 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 151.66666666666666) internal successors, (455), 3 states have internal predecessors, (455), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:46:01,051 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:46:01,052 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:46:01,052 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-08-29 21:46:01,052 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 6 more)] === [2023-08-29 21:46:01,053 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:46:01,053 INFO L85 PathProgramCache]: Analyzing trace with hash 23650, now seen corresponding path program 1 times [2023-08-29 21:46:01,053 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:46:01,053 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [442181973] [2023-08-29 21:46:01,053 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:01,054 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:46:01,069 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:46:01,161 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:01,161 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:46:01,162 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [442181973] [2023-08-29 21:46:01,162 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [442181973] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:46:01,162 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:46:01,162 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:46:01,162 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [187960801] [2023-08-29 21:46:01,162 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:46:01,164 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:46:01,164 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:46:01,164 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:46:01,165 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:46:01,198 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 154 out of 345 [2023-08-29 21:46:01,198 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 59 places, 52 transitions, 114 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:46:01,199 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:46:01,199 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 154 of 345 [2023-08-29 21:46:01,199 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:46:01,341 INFO L130 PetriNetUnfolder]: 391/881 cut-off events. [2023-08-29 21:46:01,341 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:46:01,342 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1720 conditions, 881 events. 391/881 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 31. Compared 4445 event pairs, 0 based on Foata normal form. 0/752 useless extension candidates. Maximal degree in co-relation 1695. Up to 797 conditions per place. [2023-08-29 21:46:01,346 INFO L137 encePairwiseOnDemand]: 341/345 looper letters, 58 selfloop transitions, 2 changer transitions 1/68 dead transitions. [2023-08-29 21:46:01,346 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 57 places, 68 transitions, 268 flow [2023-08-29 21:46:01,346 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:46:01,346 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:46:01,347 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 525 transitions. [2023-08-29 21:46:01,348 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5072463768115942 [2023-08-29 21:46:01,348 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 525 transitions. [2023-08-29 21:46:01,348 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 525 transitions. [2023-08-29 21:46:01,349 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:46:01,349 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 525 transitions. [2023-08-29 21:46:01,350 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 175.0) internal successors, (525), 3 states have internal predecessors, (525), 0 states have call successors, (0), 0 states 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:01,352 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 345.0) internal successors, (1380), 4 states have internal predecessors, (1380), 0 states have call successors, (0), 0 states 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:01,353 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 345.0) internal successors, (1380), 4 states have internal predecessors, (1380), 0 states have call successors, (0), 0 states 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:01,353 INFO L175 Difference]: Start difference. First operand has 59 places, 52 transitions, 114 flow. Second operand 3 states and 525 transitions. [2023-08-29 21:46:01,353 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 57 places, 68 transitions, 268 flow [2023-08-29 21:46:01,355 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 54 places, 68 transitions, 262 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-08-29 21:46:01,356 INFO L231 Difference]: Finished difference. Result has 55 places, 52 transitions, 118 flow [2023-08-29 21:46:01,356 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=345, PETRI_DIFFERENCE_MINUEND_FLOW=108, PETRI_DIFFERENCE_MINUEND_PLACES=52, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=52, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=50, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=118, PETRI_PLACES=55, PETRI_TRANSITIONS=52} [2023-08-29 21:46:01,357 INFO L281 CegarLoopForPetriNet]: 60 programPoint places, -5 predicate places. [2023-08-29 21:46:01,357 INFO L495 AbstractCegarLoop]: Abstraction has has 55 places, 52 transitions, 118 flow [2023-08-29 21:46:01,357 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:46:01,358 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:46:01,358 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2023-08-29 21:46:01,358 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-08-29 21:46:01,358 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 6 more)] === [2023-08-29 21:46:01,358 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:46:01,359 INFO L85 PathProgramCache]: Analyzing trace with hash 705173179, now seen corresponding path program 1 times [2023-08-29 21:46:01,359 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:46:01,359 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1068168593] [2023-08-29 21:46:01,359 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:01,359 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:46:01,372 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:46:01,478 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:01,478 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:46:01,479 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1068168593] [2023-08-29 21:46:01,479 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1068168593] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:46:01,479 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1096925637] [2023-08-29 21:46:01,479 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:01,479 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:46:01,480 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:46:01,489 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:01,522 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:01,567 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:46:01,569 INFO L263 TraceCheckSpWp]: Trace formula consists of 120 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:46:01,573 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:46:01,626 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:01,684 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:01,684 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:46:01,752 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:01,753 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1096925637] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:46:01,753 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:46:01,753 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 5 [2023-08-29 21:46:01,753 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2052228550] [2023-08-29 21:46:01,753 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:46:01,754 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2023-08-29 21:46:01,754 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:46:01,754 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2023-08-29 21:46:01,754 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=18, Invalid=24, Unknown=0, NotChecked=0, Total=42 [2023-08-29 21:46:01,836 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 151 out of 345 [2023-08-29 21:46:01,837 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 55 places, 52 transitions, 118 flow. Second operand has 7 states, 7 states have (on average 152.71428571428572) internal successors, (1069), 7 states have internal predecessors, (1069), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:46:01,838 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:46:01,838 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 151 of 345 [2023-08-29 21:46:01,838 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:46:01,909 INFO L130 PetriNetUnfolder]: 30/87 cut-off events. [2023-08-29 21:46:01,909 INFO L131 PetriNetUnfolder]: For 29/29 co-relation queries the response was YES. [2023-08-29 21:46:01,910 INFO L83 FinitePrefix]: Finished finitePrefix Result has 206 conditions, 87 events. 30/87 cut-off events. For 29/29 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 133 event pairs, 14 based on Foata normal form. 16/103 useless extension candidates. Maximal degree in co-relation 91. Up to 62 conditions per place. [2023-08-29 21:46:01,910 INFO L137 encePairwiseOnDemand]: 341/345 looper letters, 0 selfloop transitions, 0 changer transitions 38/38 dead transitions. [2023-08-29 21:46:01,910 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 30 places, 38 transitions, 154 flow [2023-08-29 21:46:01,910 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-08-29 21:46:01,910 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-08-29 21:46:01,912 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 641 transitions. [2023-08-29 21:46:01,912 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4644927536231884 [2023-08-29 21:46:01,912 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 641 transitions. [2023-08-29 21:46:01,912 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 641 transitions. [2023-08-29 21:46:01,913 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:46:01,913 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 641 transitions. [2023-08-29 21:46:01,914 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 160.25) internal successors, (641), 4 states have internal predecessors, (641), 0 states have call successors, (0), 0 states 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:01,917 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 345.0) internal successors, (1725), 5 states have internal predecessors, (1725), 0 states have call successors, (0), 0 states 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:01,917 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 345.0) internal successors, (1725), 5 states have internal predecessors, (1725), 0 states have call successors, (0), 0 states 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:01,917 INFO L175 Difference]: Start difference. First operand has 55 places, 52 transitions, 118 flow. Second operand 4 states and 641 transitions. [2023-08-29 21:46:01,918 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 30 places, 38 transitions, 154 flow [2023-08-29 21:46:01,918 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 27 places, 38 transitions, 148 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-08-29 21:46:01,919 INFO L231 Difference]: Finished difference. Result has 27 places, 0 transitions, 0 flow [2023-08-29 21:46:01,919 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=345, PETRI_DIFFERENCE_MINUEND_FLOW=46, PETRI_DIFFERENCE_MINUEND_PLACES=24, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=22, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=22, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=0, PETRI_PLACES=27, PETRI_TRANSITIONS=0} [2023-08-29 21:46:01,920 INFO L281 CegarLoopForPetriNet]: 60 programPoint places, -33 predicate places. [2023-08-29 21:46:01,921 INFO L495 AbstractCegarLoop]: Abstraction has has 27 places, 0 transitions, 0 flow [2023-08-29 21:46:01,921 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 152.71428571428572) internal successors, (1069), 7 states have internal predecessors, (1069), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:46:01,925 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (8 of 9 remaining) [2023-08-29 21:46:01,925 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 9 remaining) [2023-08-29 21:46:01,925 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (6 of 9 remaining) [2023-08-29 21:46:01,926 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4ASSERT_VIOLATIONMEMORY_LEAK (5 of 9 remaining) [2023-08-29 21:46:01,926 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 9 remaining) [2023-08-29 21:46:01,926 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 9 remaining) [2023-08-29 21:46:01,926 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (2 of 9 remaining) [2023-08-29 21:46:01,926 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK (1 of 9 remaining) [2023-08-29 21:46:01,926 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 9 remaining) [2023-08-29 21:46:01,935 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:02,132 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:02,133 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 21:46:02,135 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:46:02,139 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 166 places, 192 transitions, 392 flow [2023-08-29 21:46:02,166 INFO L130 PetriNetUnfolder]: 45/284 cut-off events. [2023-08-29 21:46:02,167 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:46:02,168 INFO L83 FinitePrefix]: Finished finitePrefix Result has 290 conditions, 284 events. 45/284 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 19. Compared 1094 event pairs, 0 based on Foata normal form. 0/218 useless extension candidates. Maximal degree in co-relation 150. Up to 6 conditions per place. [2023-08-29 21:46:02,169 INFO L82 GeneralOperation]: Start removeDead. Operand has 166 places, 192 transitions, 392 flow [2023-08-29 21:46:02,180 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 162 places, 187 transitions, 379 flow [2023-08-29 21:46:02,182 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:46:02,183 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 162 places, 187 transitions, 379 flow [2023-08-29 21:46:02,183 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 162 places, 187 transitions, 379 flow [2023-08-29 21:46:02,183 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 162 places, 187 transitions, 379 flow [2023-08-29 21:46:02,208 INFO L130 PetriNetUnfolder]: 44/279 cut-off events. [2023-08-29 21:46:02,208 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:46:02,209 INFO L83 FinitePrefix]: Finished finitePrefix Result has 284 conditions, 279 events. 44/279 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 19. Compared 1079 event pairs, 0 based on Foata normal form. 0/213 useless extension candidates. Maximal degree in co-relation 150. Up to 6 conditions per place. [2023-08-29 21:46:02,214 INFO L119 LiptonReduction]: Number of co-enabled transitions 10388 [2023-08-29 21:46:05,569 INFO L134 LiptonReduction]: Checked pairs total: 22269 [2023-08-29 21:46:05,569 INFO L136 LiptonReduction]: Total number of compositions: 154 [2023-08-29 21:46:05,571 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:46:05,572 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;@3f4af1b7, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:46:05,572 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:46:05,576 INFO L130 PetriNetUnfolder]: 6/40 cut-off events. [2023-08-29 21:46:05,576 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:46:05,577 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:46:05,577 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-08-29 21:46:05,577 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:46:05,577 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:46:05,578 INFO L85 PathProgramCache]: Analyzing trace with hash 626133106, now seen corresponding path program 1 times [2023-08-29 21:46:05,578 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:46:05,578 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [77557983] [2023-08-29 21:46:05,578 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:05,578 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:46:05,610 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:46:05,610 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:46:05,621 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:46:05,646 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:46:05,646 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:46:05,647 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:46:05,647 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-08-29 21:46:05,647 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:46:05,648 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:46:05,649 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:46:05,649 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-08-29 21:46:05,678 INFO L144 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2023-08-29 21:46:05,685 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 210 places, 247 transitions, 512 flow [2023-08-29 21:46:05,732 INFO L130 PetriNetUnfolder]: 76/460 cut-off events. [2023-08-29 21:46:05,733 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:46:05,737 INFO L83 FinitePrefix]: Finished finitePrefix Result has 474 conditions, 460 events. 76/460 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 19. Compared 2008 event pairs, 0 based on Foata normal form. 0/350 useless extension candidates. Maximal degree in co-relation 286. Up to 9 conditions per place. [2023-08-29 21:46:05,737 INFO L82 GeneralOperation]: Start removeDead. Operand has 210 places, 247 transitions, 512 flow [2023-08-29 21:46:05,741 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 210 places, 247 transitions, 512 flow [2023-08-29 21:46:05,742 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:46:05,742 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 210 places, 247 transitions, 512 flow [2023-08-29 21:46:05,742 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 210 places, 247 transitions, 512 flow [2023-08-29 21:46:05,742 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 210 places, 247 transitions, 512 flow [2023-08-29 21:46:05,792 INFO L130 PetriNetUnfolder]: 76/460 cut-off events. [2023-08-29 21:46:05,792 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:46:05,796 INFO L83 FinitePrefix]: Finished finitePrefix Result has 474 conditions, 460 events. 76/460 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 19. Compared 2008 event pairs, 0 based on Foata normal form. 0/350 useless extension candidates. Maximal degree in co-relation 286. Up to 9 conditions per place. [2023-08-29 21:46:05,813 INFO L119 LiptonReduction]: Number of co-enabled transitions 27560 [2023-08-29 21:46:09,048 INFO L134 LiptonReduction]: Checked pairs total: 85886 [2023-08-29 21:46:09,049 INFO L136 LiptonReduction]: Total number of compositions: 173 [2023-08-29 21:46:09,051 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:46:09,052 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;@3f4af1b7, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:46:09,052 INFO L358 AbstractCegarLoop]: Starting to check reachability of 9 error locations. [2023-08-29 21:46:09,053 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 21:46:09,053 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:46:09,054 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:46:09,054 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:46:09,054 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 6 more)] === [2023-08-29 21:46:09,054 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:46:09,055 INFO L85 PathProgramCache]: Analyzing trace with hash 43770, now seen corresponding path program 1 times [2023-08-29 21:46:09,055 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:46:09,055 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1924201361] [2023-08-29 21:46:09,055 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:09,055 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:46:09,068 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:46:09,134 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:09,135 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:46:09,136 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1924201361] [2023-08-29 21:46:09,137 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1924201361] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:46:09,137 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:46:09,137 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:46:09,137 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [504920911] [2023-08-29 21:46:09,137 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:46:09,138 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:46:09,138 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:46:09,138 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:46:09,139 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:46:09,167 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 195 out of 420 [2023-08-29 21:46:09,168 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 90 places, 122 transitions, 262 flow. Second operand has 3 states, 3 states have (on average 195.66666666666666) internal successors, (587), 3 states have internal predecessors, (587), 0 states have call successors, (0), 0 states 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:09,168 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:46:09,169 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 195 of 420 [2023-08-29 21:46:09,169 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:46:11,296 INFO L130 PetriNetUnfolder]: 15499/26343 cut-off events. [2023-08-29 21:46:11,296 INFO L131 PetriNetUnfolder]: For 81/81 co-relation queries the response was YES. [2023-08-29 21:46:11,392 INFO L83 FinitePrefix]: Finished finitePrefix Result has 50506 conditions, 26343 events. 15499/26343 cut-off events. For 81/81 co-relation queries the response was YES. Maximal size of possible extension queue 545. Compared 198050 event pairs, 14669 based on Foata normal form. 6243/28706 useless extension candidates. Maximal degree in co-relation 42105. Up to 24051 conditions per place. [2023-08-29 21:46:11,505 INFO L137 encePairwiseOnDemand]: 382/420 looper letters, 81 selfloop transitions, 2 changer transitions 3/105 dead transitions. [2023-08-29 21:46:11,505 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 91 places, 105 transitions, 398 flow [2023-08-29 21:46:11,506 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:46:11,506 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:46:11,507 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 718 transitions. [2023-08-29 21:46:11,508 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5698412698412698 [2023-08-29 21:46:11,508 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 718 transitions. [2023-08-29 21:46:11,511 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 718 transitions. [2023-08-29 21:46:11,512 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:46:11,512 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 718 transitions. [2023-08-29 21:46:11,513 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 239.33333333333334) internal successors, (718), 3 states have internal predecessors, (718), 0 states have call successors, (0), 0 states 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:11,515 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 420.0) internal successors, (1680), 4 states have internal predecessors, (1680), 0 states have call successors, (0), 0 states 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:11,516 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 420.0) internal successors, (1680), 4 states have internal predecessors, (1680), 0 states have call successors, (0), 0 states 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:11,516 INFO L175 Difference]: Start difference. First operand has 90 places, 122 transitions, 262 flow. Second operand 3 states and 718 transitions. [2023-08-29 21:46:11,516 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 91 places, 105 transitions, 398 flow [2023-08-29 21:46:11,520 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 91 places, 105 transitions, 398 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:46:11,522 INFO L231 Difference]: Finished difference. Result has 92 places, 85 transitions, 196 flow [2023-08-29 21:46:11,523 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=420, PETRI_DIFFERENCE_MINUEND_FLOW=192, PETRI_DIFFERENCE_MINUEND_PLACES=89, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=87, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=85, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=196, PETRI_PLACES=92, PETRI_TRANSITIONS=85} [2023-08-29 21:46:11,526 INFO L281 CegarLoopForPetriNet]: 90 programPoint places, 2 predicate places. [2023-08-29 21:46:11,527 INFO L495 AbstractCegarLoop]: Abstraction has has 92 places, 85 transitions, 196 flow [2023-08-29 21:46:11,528 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 195.66666666666666) internal successors, (587), 3 states have internal predecessors, (587), 0 states have call successors, (0), 0 states 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:11,528 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:46:11,528 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:46:11,528 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-08-29 21:46:11,528 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 6 more)] === [2023-08-29 21:46:11,529 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:46:11,529 INFO L85 PathProgramCache]: Analyzing trace with hash 43769, now seen corresponding path program 1 times [2023-08-29 21:46:11,529 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:46:11,529 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [19700018] [2023-08-29 21:46:11,529 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:11,530 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:46:11,538 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:46:11,579 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:11,580 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:46:11,580 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [19700018] [2023-08-29 21:46:11,580 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [19700018] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:46:11,581 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:46:11,581 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:46:11,581 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1513471968] [2023-08-29 21:46:11,581 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:46:11,584 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:46:11,584 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:46:11,585 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:46:11,585 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:46:11,610 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 192 out of 420 [2023-08-29 21:46:11,611 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 92 places, 85 transitions, 196 flow. Second operand has 3 states, 3 states have (on average 192.66666666666666) internal successors, (578), 3 states have internal predecessors, (578), 0 states have call successors, (0), 0 states 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:11,611 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:46:11,612 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 192 of 420 [2023-08-29 21:46:11,612 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:46:13,275 INFO L130 PetriNetUnfolder]: 13489/23083 cut-off events. [2023-08-29 21:46:13,275 INFO L131 PetriNetUnfolder]: For 622/622 co-relation queries the response was YES. [2023-08-29 21:46:13,306 INFO L83 FinitePrefix]: Finished finitePrefix Result has 44942 conditions, 23083 events. 13489/23083 cut-off events. For 622/622 co-relation queries the response was YES. Maximal size of possible extension queue 497. Compared 172501 event pairs, 12690 based on Foata normal form. 0/20616 useless extension candidates. Maximal degree in co-relation 44825. Up to 20137 conditions per place. [2023-08-29 21:46:13,375 INFO L137 encePairwiseOnDemand]: 416/420 looper letters, 92 selfloop transitions, 2 changer transitions 0/113 dead transitions. [2023-08-29 21:46:13,375 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 89 places, 113 transitions, 440 flow [2023-08-29 21:46:13,376 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:46:13,376 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:46:13,377 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 671 transitions. [2023-08-29 21:46:13,378 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5325396825396825 [2023-08-29 21:46:13,378 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 671 transitions. [2023-08-29 21:46:13,378 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 671 transitions. [2023-08-29 21:46:13,379 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:46:13,379 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 671 transitions. [2023-08-29 21:46:13,380 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 223.66666666666666) internal successors, (671), 3 states have internal predecessors, (671), 0 states have call successors, (0), 0 states 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:13,382 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 420.0) internal successors, (1680), 4 states have internal predecessors, (1680), 0 states have call successors, (0), 0 states 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:13,383 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 420.0) internal successors, (1680), 4 states have internal predecessors, (1680), 0 states have call successors, (0), 0 states 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:13,384 INFO L175 Difference]: Start difference. First operand has 92 places, 85 transitions, 196 flow. Second operand 3 states and 671 transitions. [2023-08-29 21:46:13,385 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 89 places, 113 transitions, 440 flow [2023-08-29 21:46:13,391 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 87 places, 113 transitions, 436 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:46:13,394 INFO L231 Difference]: Finished difference. Result has 87 places, 83 transitions, 192 flow [2023-08-29 21:46:13,394 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=420, PETRI_DIFFERENCE_MINUEND_FLOW=188, PETRI_DIFFERENCE_MINUEND_PLACES=85, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=83, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=81, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=192, PETRI_PLACES=87, PETRI_TRANSITIONS=83} [2023-08-29 21:46:13,395 INFO L281 CegarLoopForPetriNet]: 90 programPoint places, -3 predicate places. [2023-08-29 21:46:13,396 INFO L495 AbstractCegarLoop]: Abstraction has has 87 places, 83 transitions, 192 flow [2023-08-29 21:46:13,396 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 192.66666666666666) internal successors, (578), 3 states have internal predecessors, (578), 0 states have call successors, (0), 0 states 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:13,396 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:46:13,397 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-08-29 21:46:13,397 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-08-29 21:46:13,397 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 6 more)] === [2023-08-29 21:46:13,397 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:46:13,397 INFO L85 PathProgramCache]: Analyzing trace with hash 1801539728, now seen corresponding path program 1 times [2023-08-29 21:46:13,398 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:46:13,400 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1445657922] [2023-08-29 21:46:13,400 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:13,400 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:46:13,411 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:46:13,490 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:13,490 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:46:13,490 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1445657922] [2023-08-29 21:46:13,490 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1445657922] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:46:13,491 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1346122916] [2023-08-29 21:46:13,491 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:13,491 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:46:13,491 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:46:13,493 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:46:13,500 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2023-08-29 21:46:13,558 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:46:13,559 INFO L263 TraceCheckSpWp]: Trace formula consists of 121 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:46:13,560 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:46:13,571 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:13,604 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:13,604 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:46:13,642 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:13,643 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1346122916] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:46:13,643 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:46:13,643 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 6 [2023-08-29 21:46:13,643 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [986482380] [2023-08-29 21:46:13,644 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:46:13,644 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2023-08-29 21:46:13,644 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:46:13,645 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2023-08-29 21:46:13,645 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=36, Unknown=0, NotChecked=0, Total=56 [2023-08-29 21:46:13,740 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 191 out of 420 [2023-08-29 21:46:13,741 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 87 places, 83 transitions, 192 flow. Second operand has 8 states, 8 states have (on average 192.875) internal successors, (1543), 8 states have internal predecessors, (1543), 0 states have call successors, (0), 0 states 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:13,741 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:46:13,742 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 191 of 420 [2023-08-29 21:46:13,742 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:46:14,001 INFO L130 PetriNetUnfolder]: 1230/2248 cut-off events. [2023-08-29 21:46:14,001 INFO L131 PetriNetUnfolder]: For 384/384 co-relation queries the response was YES. [2023-08-29 21:46:14,005 INFO L83 FinitePrefix]: Finished finitePrefix Result has 4610 conditions, 2248 events. 1230/2248 cut-off events. For 384/384 co-relation queries the response was YES. Maximal size of possible extension queue 65. Compared 12368 event pairs, 96 based on Foata normal form. 272/2519 useless extension candidates. Maximal degree in co-relation 4600. Up to 1472 conditions per place. [2023-08-29 21:46:14,007 INFO L137 encePairwiseOnDemand]: 416/420 looper letters, 0 selfloop transitions, 0 changer transitions 98/98 dead transitions. [2023-08-29 21:46:14,007 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 62 places, 98 transitions, 377 flow [2023-08-29 21:46:14,007 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2023-08-29 21:46:14,008 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2023-08-29 21:46:14,010 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 1042 transitions. [2023-08-29 21:46:14,010 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4961904761904762 [2023-08-29 21:46:14,010 INFO L72 ComplementDD]: Start complementDD. Operand 5 states and 1042 transitions. [2023-08-29 21:46:14,011 INFO L73 IsDeterministic]: Start isDeterministic. Operand 5 states and 1042 transitions. [2023-08-29 21:46:14,011 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:46:14,011 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 5 states and 1042 transitions. [2023-08-29 21:46:14,014 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 6 states, 5 states have (on average 208.4) internal successors, (1042), 5 states have internal predecessors, (1042), 0 states have call successors, (0), 0 states 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:14,017 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 6 states, 6 states have (on average 420.0) internal successors, (2520), 6 states have internal predecessors, (2520), 0 states have call successors, (0), 0 states 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:14,017 INFO L81 ComplementDD]: Finished complementDD. Result has 6 states, 6 states have (on average 420.0) internal successors, (2520), 6 states have internal predecessors, (2520), 0 states have call successors, (0), 0 states 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:14,018 INFO L175 Difference]: Start difference. First operand has 87 places, 83 transitions, 192 flow. Second operand 5 states and 1042 transitions. [2023-08-29 21:46:14,018 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 62 places, 98 transitions, 377 flow [2023-08-29 21:46:14,019 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 61 places, 98 transitions, 376 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 21:46:14,019 INFO L231 Difference]: Finished difference. Result has 61 places, 0 transitions, 0 flow [2023-08-29 21:46:14,020 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=420, PETRI_DIFFERENCE_MINUEND_FLOW=116, PETRI_DIFFERENCE_MINUEND_PLACES=57, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=51, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=51, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=0, PETRI_PLACES=61, PETRI_TRANSITIONS=0} [2023-08-29 21:46:14,020 INFO L281 CegarLoopForPetriNet]: 90 programPoint places, -29 predicate places. [2023-08-29 21:46:14,020 INFO L495 AbstractCegarLoop]: Abstraction has has 61 places, 0 transitions, 0 flow [2023-08-29 21:46:14,021 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 192.875) internal successors, (1543), 8 states have internal predecessors, (1543), 0 states have call successors, (0), 0 states 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:14,021 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (8 of 9 remaining) [2023-08-29 21:46:14,022 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 9 remaining) [2023-08-29 21:46:14,022 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (6 of 9 remaining) [2023-08-29 21:46:14,022 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4ASSERT_VIOLATIONMEMORY_LEAK (5 of 9 remaining) [2023-08-29 21:46:14,022 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 9 remaining) [2023-08-29 21:46:14,022 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 9 remaining) [2023-08-29 21:46:14,023 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (2 of 9 remaining) [2023-08-29 21:46:14,023 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK (1 of 9 remaining) [2023-08-29 21:46:14,023 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 9 remaining) [2023-08-29 21:46:14,031 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2023-08-29 21:46:14,231 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:46:14,232 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 21:46:14,232 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:46:14,234 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 210 places, 247 transitions, 512 flow [2023-08-29 21:46:14,267 INFO L130 PetriNetUnfolder]: 76/460 cut-off events. [2023-08-29 21:46:14,268 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:46:14,271 INFO L83 FinitePrefix]: Finished finitePrefix Result has 474 conditions, 460 events. 76/460 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 19. Compared 2008 event pairs, 0 based on Foata normal form. 0/350 useless extension candidates. Maximal degree in co-relation 286. Up to 9 conditions per place. [2023-08-29 21:46:14,271 INFO L82 GeneralOperation]: Start removeDead. Operand has 210 places, 247 transitions, 512 flow [2023-08-29 21:46:14,275 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 210 places, 247 transitions, 512 flow [2023-08-29 21:46:14,275 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:46:14,275 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 210 places, 247 transitions, 512 flow [2023-08-29 21:46:14,275 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 210 places, 247 transitions, 512 flow [2023-08-29 21:46:14,275 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 210 places, 247 transitions, 512 flow [2023-08-29 21:46:14,308 INFO L130 PetriNetUnfolder]: 76/460 cut-off events. [2023-08-29 21:46:14,308 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:46:14,312 INFO L83 FinitePrefix]: Finished finitePrefix Result has 474 conditions, 460 events. 76/460 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 19. Compared 2008 event pairs, 0 based on Foata normal form. 0/350 useless extension candidates. Maximal degree in co-relation 286. Up to 9 conditions per place. [2023-08-29 21:46:14,320 INFO L119 LiptonReduction]: Number of co-enabled transitions 27560 [2023-08-29 21:46:17,571 INFO L134 LiptonReduction]: Checked pairs total: 85158 [2023-08-29 21:46:17,571 INFO L136 LiptonReduction]: Total number of compositions: 177 [2023-08-29 21:46:17,576 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:46:17,580 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;@3f4af1b7, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:46:17,580 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:46:17,587 INFO L130 PetriNetUnfolder]: 27/118 cut-off events. [2023-08-29 21:46:17,587 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-29 21:46:17,588 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:46:17,588 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1] [2023-08-29 21:46:17,588 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:46:17,588 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:46:17,588 INFO L85 PathProgramCache]: Analyzing trace with hash 1635624027, now seen corresponding path program 1 times [2023-08-29 21:46:17,589 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:46:17,590 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1483796477] [2023-08-29 21:46:17,590 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:17,590 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:46:17,601 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:46:17,602 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:46:17,608 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:46:17,613 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:46:17,613 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:46:17,613 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:46:17,613 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-08-29 21:46:17,613 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:46:17,614 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:46:17,614 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:46:17,614 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-08-29 21:46:17,631 INFO L144 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2023-08-29 21:46:17,633 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 254 places, 302 transitions, 634 flow [2023-08-29 21:46:17,694 INFO L130 PetriNetUnfolder]: 112/677 cut-off events. [2023-08-29 21:46:17,694 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:46:17,701 INFO L83 FinitePrefix]: Finished finitePrefix Result has 705 conditions, 677 events. 112/677 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 3088 event pairs, 1 based on Foata normal form. 0/513 useless extension candidates. Maximal degree in co-relation 468. Up to 16 conditions per place. [2023-08-29 21:46:17,701 INFO L82 GeneralOperation]: Start removeDead. Operand has 254 places, 302 transitions, 634 flow [2023-08-29 21:46:17,706 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 254 places, 302 transitions, 634 flow [2023-08-29 21:46:17,706 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:46:17,706 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 254 places, 302 transitions, 634 flow [2023-08-29 21:46:17,706 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 254 places, 302 transitions, 634 flow [2023-08-29 21:46:17,707 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 254 places, 302 transitions, 634 flow [2023-08-29 21:46:17,765 INFO L130 PetriNetUnfolder]: 112/677 cut-off events. [2023-08-29 21:46:17,766 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:46:17,774 INFO L83 FinitePrefix]: Finished finitePrefix Result has 705 conditions, 677 events. 112/677 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 3088 event pairs, 1 based on Foata normal form. 0/513 useless extension candidates. Maximal degree in co-relation 468. Up to 16 conditions per place. [2023-08-29 21:46:17,794 INFO L119 LiptonReduction]: Number of co-enabled transitions 50244 [2023-08-29 21:46:20,945 INFO L134 LiptonReduction]: Checked pairs total: 149647 [2023-08-29 21:46:20,945 INFO L136 LiptonReduction]: Total number of compositions: 198 [2023-08-29 21:46:20,947 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:46:20,947 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;@3f4af1b7, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:46:20,947 INFO L358 AbstractCegarLoop]: Starting to check reachability of 9 error locations. [2023-08-29 21:46:20,949 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 21:46:20,949 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:46:20,949 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:46:20,949 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:46:20,949 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 6 more)] === [2023-08-29 21:46:20,950 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:46:20,950 INFO L85 PathProgramCache]: Analyzing trace with hash 67183, now seen corresponding path program 1 times [2023-08-29 21:46:20,950 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:46:20,950 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [462127775] [2023-08-29 21:46:20,950 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:46:20,951 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:46:20,967 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:46:21,004 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:21,004 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:46:21,004 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [462127775] [2023-08-29 21:46:21,005 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [462127775] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:46:21,005 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:46:21,005 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:46:21,005 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [12195381] [2023-08-29 21:46:21,006 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:46:21,006 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:46:21,006 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:46:21,007 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:46:21,007 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:46:21,033 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 236 out of 500 [2023-08-29 21:46:21,034 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 118 places, 163 transitions, 356 flow. Second operand has 3 states, 3 states have (on average 236.66666666666666) internal successors, (710), 3 states have internal predecessors, (710), 0 states have call successors, (0), 0 states 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:21,034 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:46:21,034 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 236 of 500 [2023-08-29 21:46:21,034 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:46:58,394 INFO L130 PetriNetUnfolder]: 394349/576877 cut-off events. [2023-08-29 21:46:58,395 INFO L131 PetriNetUnfolder]: For 2671/2671 co-relation queries the response was YES. [2023-08-29 21:46:59,391 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1116060 conditions, 576877 events. 394349/576877 cut-off events. For 2671/2671 co-relation queries the response was YES. Maximal size of possible extension queue 8741. Compared 5051225 event pairs, 376617 based on Foata normal form. 109183/619955 useless extension candidates. Maximal degree in co-relation 631555. Up to 537224 conditions per place. [2023-08-29 21:47:01,479 INFO L137 encePairwiseOnDemand]: 448/500 looper letters, 98 selfloop transitions, 2 changer transitions 3/130 dead transitions. [2023-08-29 21:47:01,479 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 117 places, 130 transitions, 494 flow [2023-08-29 21:47:01,479 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:47:01,479 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:47:01,481 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 872 transitions. [2023-08-29 21:47:01,482 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5813333333333334 [2023-08-29 21:47:01,482 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 872 transitions. [2023-08-29 21:47:01,482 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 872 transitions. [2023-08-29 21:47:01,482 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:47:01,482 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 872 transitions. [2023-08-29 21:47:01,484 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 290.6666666666667) internal successors, (872), 3 states have internal predecessors, (872), 0 states have call successors, (0), 0 states 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:01,486 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 500.0) internal successors, (2000), 4 states have internal predecessors, (2000), 0 states have call successors, (0), 0 states 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:01,487 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 500.0) internal successors, (2000), 4 states have internal predecessors, (2000), 0 states have call successors, (0), 0 states 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:01,487 INFO L175 Difference]: Start difference. First operand has 118 places, 163 transitions, 356 flow. Second operand 3 states and 872 transitions. [2023-08-29 21:47:01,487 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 117 places, 130 transitions, 494 flow [2023-08-29 21:47:01,491 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 117 places, 130 transitions, 494 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:47:01,493 INFO L231 Difference]: Finished difference. Result has 118 places, 110 transitions, 256 flow [2023-08-29 21:47:01,493 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=500, PETRI_DIFFERENCE_MINUEND_FLOW=254, PETRI_DIFFERENCE_MINUEND_PLACES=115, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=112, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=110, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=256, PETRI_PLACES=118, PETRI_TRANSITIONS=110} [2023-08-29 21:47:01,494 INFO L281 CegarLoopForPetriNet]: 118 programPoint places, 0 predicate places. [2023-08-29 21:47:01,494 INFO L495 AbstractCegarLoop]: Abstraction has has 118 places, 110 transitions, 256 flow [2023-08-29 21:47:01,495 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 236.66666666666666) internal successors, (710), 3 states have internal predecessors, (710), 0 states have call successors, (0), 0 states 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:01,495 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:47:01,495 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:47:01,495 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-08-29 21:47:01,495 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 6 more)] === [2023-08-29 21:47:01,496 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:47:01,496 INFO L85 PathProgramCache]: Analyzing trace with hash 67182, now seen corresponding path program 1 times [2023-08-29 21:47:01,496 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:47:01,496 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [63795366] [2023-08-29 21:47:01,496 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:01,497 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:47:01,501 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:47:01,514 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,514 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:47:01,515 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [63795366] [2023-08-29 21:47:01,515 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [63795366] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:47:01,515 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:47:01,515 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:47:01,515 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [193858025] [2023-08-29 21:47:01,515 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:47:01,516 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:47:01,516 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:47:01,516 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:47:01,517 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:47:01,540 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 233 out of 500 [2023-08-29 21:47:01,541 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 118 places, 110 transitions, 256 flow. Second operand has 3 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:47:01,541 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:47:01,541 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 233 of 500 [2023-08-29 21:47:01,541 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:47:37,630 INFO L130 PetriNetUnfolder]: 344486/502752 cut-off events. [2023-08-29 21:47:37,631 INFO L131 PetriNetUnfolder]: For 11248/11248 co-relation queries the response was YES. [2023-08-29 21:47:38,757 INFO L83 FinitePrefix]: Finished finitePrefix Result has 986553 conditions, 502752 events. 344486/502752 cut-off events. For 11248/11248 co-relation queries the response was YES. Maximal size of possible extension queue 7875. Compared 4343955 event pairs, 322628 based on Foata normal form. 0/458202 useless extension candidates. Maximal degree in co-relation 986435. Up to 451041 conditions per place. [2023-08-29 21:47:40,331 INFO L137 encePairwiseOnDemand]: 496/500 looper letters, 124 selfloop transitions, 2 changer transitions 0/153 dead transitions. [2023-08-29 21:47:40,331 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 115 places, 153 transitions, 594 flow [2023-08-29 21:47:40,331 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:47:40,332 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:47:40,333 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 826 transitions. [2023-08-29 21:47:40,334 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5506666666666666 [2023-08-29 21:47:40,334 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 826 transitions. [2023-08-29 21:47:40,334 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 826 transitions. [2023-08-29 21:47:40,335 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:47:40,335 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 826 transitions. [2023-08-29 21:47:40,337 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 275.3333333333333) internal successors, (826), 3 states have internal predecessors, (826), 0 states have call successors, (0), 0 states 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:40,339 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 500.0) internal successors, (2000), 4 states have internal predecessors, (2000), 0 states have call successors, (0), 0 states 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:40,340 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 500.0) internal successors, (2000), 4 states have internal predecessors, (2000), 0 states have call successors, (0), 0 states 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:40,340 INFO L175 Difference]: Start difference. First operand has 118 places, 110 transitions, 256 flow. Second operand 3 states and 826 transitions. [2023-08-29 21:47:40,340 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 115 places, 153 transitions, 594 flow [2023-08-29 21:47:40,473 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 113 places, 153 transitions, 590 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:47:40,475 INFO L231 Difference]: Finished difference. Result has 113 places, 108 transitions, 252 flow [2023-08-29 21:47:40,475 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=500, PETRI_DIFFERENCE_MINUEND_FLOW=248, PETRI_DIFFERENCE_MINUEND_PLACES=111, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=108, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=106, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=252, PETRI_PLACES=113, PETRI_TRANSITIONS=108} [2023-08-29 21:47:40,476 INFO L281 CegarLoopForPetriNet]: 118 programPoint places, -5 predicate places. [2023-08-29 21:47:40,476 INFO L495 AbstractCegarLoop]: Abstraction has has 113 places, 108 transitions, 252 flow [2023-08-29 21:47:40,476 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 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:47:40,477 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:47:40,477 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-08-29 21:47:40,477 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2023-08-29 21:47:40,477 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 6 more)] === [2023-08-29 21:47:40,478 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:47:40,478 INFO L85 PathProgramCache]: Analyzing trace with hash 1970752937, now seen corresponding path program 1 times [2023-08-29 21:47:40,478 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:47:40,478 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [930846148] [2023-08-29 21:47:40,478 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:40,478 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:47:40,487 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:47:40,541 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:40,541 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:47:40,541 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [930846148] [2023-08-29 21:47:40,542 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [930846148] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:47:40,542 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1563550025] [2023-08-29 21:47:40,542 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:40,542 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:47:40,542 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:47:40,545 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:40,546 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:40,616 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:47:40,617 INFO L263 TraceCheckSpWp]: Trace formula consists of 121 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:47:40,618 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:47:40,627 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:40,670 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:40,671 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:47:40,705 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:40,705 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1563550025] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:47:40,706 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:47:40,706 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 6 [2023-08-29 21:47:40,706 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1169683970] [2023-08-29 21:47:40,706 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:47:40,706 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2023-08-29 21:47:40,706 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:47:40,707 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2023-08-29 21:47:40,707 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=36, Unknown=0, NotChecked=0, Total=56 [2023-08-29 21:47:40,782 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 232 out of 500 [2023-08-29 21:47:40,783 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 113 places, 108 transitions, 252 flow. Second operand has 8 states, 8 states have (on average 233.875) internal successors, (1871), 8 states have internal predecessors, (1871), 0 states have call successors, (0), 0 states 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:40,783 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:47:40,784 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 232 of 500 [2023-08-29 21:47:40,784 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:47:43,638 INFO L130 PetriNetUnfolder]: 31732/46574 cut-off events. [2023-08-29 21:47:43,638 INFO L131 PetriNetUnfolder]: For 5072/5072 co-relation queries the response was YES. [2023-08-29 21:47:43,720 INFO L83 FinitePrefix]: Finished finitePrefix Result has 96431 conditions, 46574 events. 31732/46574 cut-off events. For 5072/5072 co-relation queries the response was YES. Maximal size of possible extension queue 867. Compared 323461 event pairs, 0 based on Foata normal form. 4336/50910 useless extension candidates. Maximal degree in co-relation 96420. Up to 31106 conditions per place. [2023-08-29 21:47:43,747 INFO L137 encePairwiseOnDemand]: 496/500 looper letters, 0 selfloop transitions, 0 changer transitions 167/167 dead transitions. [2023-08-29 21:47:43,747 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 88 places, 167 transitions, 648 flow [2023-08-29 21:47:43,747 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-08-29 21:47:43,747 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2023-08-29 21:47:43,750 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 1543 transitions. [2023-08-29 21:47:43,751 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5143333333333333 [2023-08-29 21:47:43,751 INFO L72 ComplementDD]: Start complementDD. Operand 6 states and 1543 transitions. [2023-08-29 21:47:43,751 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6 states and 1543 transitions. [2023-08-29 21:47:43,752 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:47:43,752 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 6 states and 1543 transitions. [2023-08-29 21:47:43,755 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 7 states, 6 states have (on average 257.1666666666667) internal successors, (1543), 6 states have internal predecessors, (1543), 0 states have call successors, (0), 0 states 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:43,759 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 7 states, 7 states have (on average 500.0) internal successors, (3500), 7 states have internal predecessors, (3500), 0 states have call successors, (0), 0 states 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:43,760 INFO L81 ComplementDD]: Finished complementDD. Result has 7 states, 7 states have (on average 500.0) internal successors, (3500), 7 states have internal predecessors, (3500), 0 states have call successors, (0), 0 states 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:43,761 INFO L175 Difference]: Start difference. First operand has 113 places, 108 transitions, 252 flow. Second operand 6 states and 1543 transitions. [2023-08-29 21:47:43,761 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 88 places, 167 transitions, 648 flow [2023-08-29 21:47:43,763 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 87 places, 167 transitions, 645 flow, removed 1 selfloop flow, removed 1 redundant places. [2023-08-29 21:47:43,764 INFO L231 Difference]: Finished difference. Result has 87 places, 0 transitions, 0 flow [2023-08-29 21:47:43,764 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=500, PETRI_DIFFERENCE_MINUEND_FLOW=167, PETRI_DIFFERENCE_MINUEND_PLACES=82, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=74, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=74, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=0, PETRI_PLACES=87, PETRI_TRANSITIONS=0} [2023-08-29 21:47:43,765 INFO L281 CegarLoopForPetriNet]: 118 programPoint places, -31 predicate places. [2023-08-29 21:47:43,765 INFO L495 AbstractCegarLoop]: Abstraction has has 87 places, 0 transitions, 0 flow [2023-08-29 21:47:43,766 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 233.875) internal successors, (1871), 8 states have internal predecessors, (1871), 0 states have call successors, (0), 0 states 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:43,766 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (8 of 9 remaining) [2023-08-29 21:47:43,766 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 9 remaining) [2023-08-29 21:47:43,767 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (6 of 9 remaining) [2023-08-29 21:47:43,767 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4ASSERT_VIOLATIONMEMORY_LEAK (5 of 9 remaining) [2023-08-29 21:47:43,767 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 9 remaining) [2023-08-29 21:47:43,767 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 9 remaining) [2023-08-29 21:47:43,767 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (2 of 9 remaining) [2023-08-29 21:47:43,768 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK (1 of 9 remaining) [2023-08-29 21:47:43,768 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 9 remaining) [2023-08-29 21:47:43,775 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2023-08-29 21:47:43,972 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:43,972 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 21:47:43,973 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:47:43,975 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 254 places, 302 transitions, 634 flow [2023-08-29 21:47:44,016 INFO L130 PetriNetUnfolder]: 112/677 cut-off events. [2023-08-29 21:47:44,017 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:47:44,023 INFO L83 FinitePrefix]: Finished finitePrefix Result has 705 conditions, 677 events. 112/677 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 3088 event pairs, 1 based on Foata normal form. 0/513 useless extension candidates. Maximal degree in co-relation 468. Up to 16 conditions per place. [2023-08-29 21:47:44,023 INFO L82 GeneralOperation]: Start removeDead. Operand has 254 places, 302 transitions, 634 flow [2023-08-29 21:47:44,026 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 254 places, 302 transitions, 634 flow [2023-08-29 21:47:44,026 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:47:44,026 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 254 places, 302 transitions, 634 flow [2023-08-29 21:47:44,026 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 254 places, 302 transitions, 634 flow [2023-08-29 21:47:44,026 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 254 places, 302 transitions, 634 flow [2023-08-29 21:47:44,070 INFO L130 PetriNetUnfolder]: 112/677 cut-off events. [2023-08-29 21:47:44,071 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:47:44,077 INFO L83 FinitePrefix]: Finished finitePrefix Result has 705 conditions, 677 events. 112/677 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 3088 event pairs, 1 based on Foata normal form. 0/513 useless extension candidates. Maximal degree in co-relation 468. Up to 16 conditions per place. [2023-08-29 21:47:44,095 INFO L119 LiptonReduction]: Number of co-enabled transitions 50244 [2023-08-29 21:47:47,397 INFO L134 LiptonReduction]: Checked pairs total: 165064 [2023-08-29 21:47:47,397 INFO L136 LiptonReduction]: Total number of compositions: 200 [2023-08-29 21:47:47,398 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:47:47,398 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;@3f4af1b7, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:47:47,399 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:47:47,407 INFO L130 PetriNetUnfolder]: 49/202 cut-off events. [2023-08-29 21:47:47,408 INFO L131 PetriNetUnfolder]: For 8/8 co-relation queries the response was YES. [2023-08-29 21:47:47,408 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:47:47,408 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 3, 1, 1, 1, 1, 1] [2023-08-29 21:47:47,408 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:47:47,408 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:47:47,408 INFO L85 PathProgramCache]: Analyzing trace with hash 252132836, now seen corresponding path program 1 times [2023-08-29 21:47:47,408 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:47:47,409 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1617020433] [2023-08-29 21:47:47,409 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:47,409 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:47:47,430 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:47:47,431 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:47:47,440 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:47:47,451 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:47:47,452 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:47:47,452 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:47:47,452 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2023-08-29 21:47:47,452 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:47:47,454 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:47:47,454 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:47:47,454 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-08-29 21:47:47,485 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-08-29 21:47:47,488 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 298 places, 357 transitions, 758 flow [2023-08-29 21:47:47,603 INFO L130 PetriNetUnfolder]: 160/978 cut-off events. [2023-08-29 21:47:47,603 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:47:47,621 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1033 conditions, 978 events. 160/978 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 23. Compared 4814 event pairs, 6 based on Foata normal form. 0/740 useless extension candidates. Maximal degree in co-relation 697. Up to 32 conditions per place. [2023-08-29 21:47:47,622 INFO L82 GeneralOperation]: Start removeDead. Operand has 298 places, 357 transitions, 758 flow [2023-08-29 21:47:47,635 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 298 places, 357 transitions, 758 flow [2023-08-29 21:47:47,636 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:47:47,636 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 298 places, 357 transitions, 758 flow [2023-08-29 21:47:47,636 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 298 places, 357 transitions, 758 flow [2023-08-29 21:47:47,636 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 298 places, 357 transitions, 758 flow [2023-08-29 21:47:47,724 INFO L130 PetriNetUnfolder]: 160/978 cut-off events. [2023-08-29 21:47:47,725 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:47:47,739 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1033 conditions, 978 events. 160/978 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 23. Compared 4814 event pairs, 6 based on Foata normal form. 0/740 useless extension candidates. Maximal degree in co-relation 697. Up to 32 conditions per place. [2023-08-29 21:47:47,766 INFO L119 LiptonReduction]: Number of co-enabled transitions 78864 [2023-08-29 21:47:50,890 INFO L134 LiptonReduction]: Checked pairs total: 239549 [2023-08-29 21:47:50,890 INFO L136 LiptonReduction]: Total number of compositions: 229 [2023-08-29 21:47:50,891 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:47:50,891 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;@3f4af1b7, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:47:50,892 INFO L358 AbstractCegarLoop]: Starting to check reachability of 9 error locations. [2023-08-29 21:47:50,893 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 21:47:50,893 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:47:50,893 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:47:50,893 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:47:50,893 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 6 more)] === [2023-08-29 21:47:50,893 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:47:50,894 INFO L85 PathProgramCache]: Analyzing trace with hash 94108, now seen corresponding path program 1 times [2023-08-29 21:47:50,894 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:47:50,894 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1456136565] [2023-08-29 21:47:50,894 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:47:50,894 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:47:50,899 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:47:50,935 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:50,936 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:47:50,936 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1456136565] [2023-08-29 21:47:50,936 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1456136565] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:47:50,936 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:47:50,937 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:47:50,937 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [307933924] [2023-08-29 21:47:50,937 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:47:50,937 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:47:50,937 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:47:50,938 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:47:50,938 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:47:50,973 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 274 out of 586 [2023-08-29 21:47:50,974 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 140 places, 194 transitions, 432 flow. Second operand has 3 states, 3 states have (on average 274.6666666666667) internal successors, (824), 3 states have internal predecessors, (824), 0 states have call successors, (0), 0 states 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:50,974 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:47:50,975 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 274 of 586 [2023-08-29 21:47:50,975 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand