./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_03-munge_racing.i --full-output --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations AFTER --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version b8dbc81d Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_03-munge_racing.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 7df5d4e763d99c6ca9aa3d4daa03dcc5b8b9d65829db9a89ff85ebe5a14f3ac3 --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:36:12,451 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-29 21:36:12,453 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-29 21:36:12,497 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-29 21:36:12,498 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-29 21:36:12,501 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-29 21:36:12,503 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-29 21:36:12,505 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-29 21:36:12,508 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-29 21:36:12,512 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-29 21:36:12,513 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-29 21:36:12,516 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-29 21:36:12,516 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-29 21:36:12,519 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-29 21:36:12,520 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-29 21:36:12,527 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-29 21:36:12,528 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-29 21:36:12,529 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-29 21:36:12,531 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-29 21:36:12,537 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-29 21:36:12,544 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-29 21:36:12,545 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-29 21:36:12,546 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-29 21:36:12,547 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-29 21:36:12,553 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-29 21:36:12,553 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-29 21:36:12,554 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-29 21:36:12,556 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-29 21:36:12,556 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-29 21:36:12,557 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-29 21:36:12,557 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-29 21:36:12,559 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-29 21:36:12,561 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-29 21:36:12,562 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-29 21:36:12,563 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-29 21:36:12,563 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-29 21:36:12,564 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-29 21:36:12,564 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-29 21:36:12,564 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-29 21:36:12,565 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-29 21:36:12,565 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-29 21:36:12,567 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:36:12,600 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-29 21:36:12,601 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-29 21:36:12,602 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-29 21:36:12,602 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-29 21:36:12,603 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-29 21:36:12,603 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-29 21:36:12,604 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-29 21:36:12,604 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-29 21:36:12,604 INFO L138 SettingsManager]: * Use SBE=true [2023-08-29 21:36:12,604 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-29 21:36:12,605 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-29 21:36:12,605 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-08-29 21:36:12,605 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-29 21:36:12,606 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-29 21:36:12,606 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-29 21:36:12,606 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-08-29 21:36:12,606 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-08-29 21:36:12,606 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-08-29 21:36:12,607 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-29 21:36:12,607 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-08-29 21:36:12,607 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-29 21:36:12,607 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-29 21:36:12,607 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-29 21:36:12,608 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-29 21:36:12,608 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-29 21:36:12,608 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 21:36:12,608 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-29 21:36:12,608 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-29 21:36:12,609 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-29 21:36:12,609 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-29 21:36:12,609 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-29 21:36:12,609 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-29 21:36:12,610 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-29 21:36:12,610 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-29 21:36:12,610 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 -> 7df5d4e763d99c6ca9aa3d4daa03dcc5b8b9d65829db9a89ff85ebe5a14f3ac3 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:36:12,939 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-29 21:36:12,961 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-29 21:36:12,963 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-29 21:36:12,965 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-29 21:36:12,968 INFO L275 PluginConnector]: CDTParser initialized [2023-08-29 21:36:12,970 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/goblint-regression/28-race_reach_03-munge_racing.i [2023-08-29 21:36:14,103 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-29 21:36:14,349 INFO L351 CDTParser]: Found 1 translation units. [2023-08-29 21:36:14,350 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_03-munge_racing.i [2023-08-29 21:36:14,362 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/cb5d14cab/937af624e5d241829b50d7754b6a01fb/FLAG2a22b2cc9 [2023-08-29 21:36:14,374 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/cb5d14cab/937af624e5d241829b50d7754b6a01fb [2023-08-29 21:36:14,376 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-29 21:36:14,377 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-29 21:36:14,378 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-29 21:36:14,378 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-29 21:36:14,380 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-29 21:36:14,381 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,382 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@34a67c1a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14, skipping insertion in model container [2023-08-29 21:36:14,382 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,387 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-29 21:36:14,422 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-29 21:36:14,685 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_03-munge_racing.i[30176,30189] [2023-08-29 21:36:14,720 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 21:36:14,734 INFO L203 MainTranslator]: Completed pre-run [2023-08-29 21:36:14,825 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_03-munge_racing.i[30176,30189] [2023-08-29 21:36:14,841 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 21:36:14,884 INFO L208 MainTranslator]: Completed translation [2023-08-29 21:36:14,885 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14 WrapperNode [2023-08-29 21:36:14,885 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-29 21:36:14,886 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-29 21:36:14,887 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-29 21:36:14,887 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-29 21:36:14,892 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:36:14" (1/1) ... [2023-08-29 21:36:14,924 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:36:14" (1/1) ... [2023-08-29 21:36:14,960 INFO L138 Inliner]: procedures = 172, calls = 43, calls flagged for inlining = 5, calls inlined = 6, statements flattened = 201 [2023-08-29 21:36:14,960 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-29 21:36:14,961 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-29 21:36:14,961 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-29 21:36:14,961 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-29 21:36:14,969 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,969 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,988 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,989 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,994 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:15,006 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:15,007 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:15,009 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:15,012 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-29 21:36:15,013 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-29 21:36:15,015 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-29 21:36:15,015 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-29 21:36:15,016 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:15,022 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 21:36:15,034 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:36:15,046 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:36:15,072 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:36:15,087 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-08-29 21:36:15,087 INFO L130 BoogieDeclarations]: Found specification of procedure t2_fun [2023-08-29 21:36:15,087 INFO L138 BoogieDeclarations]: Found implementation of procedure t2_fun [2023-08-29 21:36:15,087 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-29 21:36:15,088 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-08-29 21:36:15,088 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-29 21:36:15,088 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-29 21:36:15,088 INFO L130 BoogieDeclarations]: Found specification of procedure t1_fun [2023-08-29 21:36:15,089 INFO L138 BoogieDeclarations]: Found implementation of procedure t1_fun [2023-08-29 21:36:15,089 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-29 21:36:15,089 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-29 21:36:15,089 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-29 21:36:15,089 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-29 21:36:15,091 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:36:15,288 INFO L236 CfgBuilder]: Building ICFG [2023-08-29 21:36:15,290 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-29 21:36:15,646 INFO L277 CfgBuilder]: Performing block encoding [2023-08-29 21:36:15,653 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-29 21:36:15,654 INFO L302 CfgBuilder]: Removed 24 assume(true) statements. [2023-08-29 21:36:15,656 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 09:36:15 BoogieIcfgContainer [2023-08-29 21:36:15,656 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-29 21:36:15,657 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-29 21:36:15,657 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-08-29 21:36:15,660 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-08-29 21:36:15,660 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.08 09:36:14" (1/3) ... [2023-08-29 21:36:15,661 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3b8947af and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 09:36:15, skipping insertion in model container [2023-08-29 21:36:15,661 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (2/3) ... [2023-08-29 21:36:15,661 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3b8947af and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 09:36:15, skipping insertion in model container [2023-08-29 21:36:15,661 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 09:36:15" (3/3) ... [2023-08-29 21:36:15,662 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_03-munge_racing.i [2023-08-29 21:36:15,677 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-29 21:36:15,678 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 11 error locations. [2023-08-29 21:36:15,678 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-29 21:36:15,782 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-08-29 21:36:15,828 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 183 places, 210 transitions, 442 flow [2023-08-29 21:36:15,976 INFO L130 PetriNetUnfolder]: 58/397 cut-off events. [2023-08-29 21:36:15,976 INFO L131 PetriNetUnfolder]: For 8/8 co-relation queries the response was YES. [2023-08-29 21:36:16,001 INFO L83 FinitePrefix]: Finished finitePrefix Result has 417 conditions, 397 events. 58/397 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 1784 event pairs, 0 based on Foata normal form. 0/298 useless extension candidates. Maximal degree in co-relation 209. Up to 8 conditions per place. [2023-08-29 21:36:16,002 INFO L82 GeneralOperation]: Start removeDead. Operand has 183 places, 210 transitions, 442 flow [2023-08-29 21:36:16,015 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 183 places, 210 transitions, 442 flow [2023-08-29 21:36:16,019 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:36:16,038 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 183 places, 210 transitions, 442 flow [2023-08-29 21:36:16,042 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 183 places, 210 transitions, 442 flow [2023-08-29 21:36:16,042 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 183 places, 210 transitions, 442 flow [2023-08-29 21:36:16,111 INFO L130 PetriNetUnfolder]: 58/397 cut-off events. [2023-08-29 21:36:16,111 INFO L131 PetriNetUnfolder]: For 8/8 co-relation queries the response was YES. [2023-08-29 21:36:16,117 INFO L83 FinitePrefix]: Finished finitePrefix Result has 417 conditions, 397 events. 58/397 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 1784 event pairs, 0 based on Foata normal form. 0/298 useless extension candidates. Maximal degree in co-relation 209. Up to 8 conditions per place. [2023-08-29 21:36:16,130 INFO L119 LiptonReduction]: Number of co-enabled transitions 18036 [2023-08-29 21:36:20,056 INFO L134 LiptonReduction]: Checked pairs total: 32543 [2023-08-29 21:36:20,057 INFO L136 LiptonReduction]: Total number of compositions: 158 [2023-08-29 21:36:20,069 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:36:20,074 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;@6c518a2a, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:36:20,074 INFO L358 AbstractCegarLoop]: Starting to check reachability of 13 error locations. [2023-08-29 21:36:20,077 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 21:36:20,077 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:36:20,078 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:20,078 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:36:20,079 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 10 more)] === [2023-08-29 21:36:20,083 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:20,083 INFO L85 PathProgramCache]: Analyzing trace with hash 26924, now seen corresponding path program 1 times [2023-08-29 21:36:20,094 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:20,095 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [511336732] [2023-08-29 21:36:20,095 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:20,096 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:20,208 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:20,327 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:36:20,328 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:20,328 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [511336732] [2023-08-29 21:36:20,328 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [511336732] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:20,329 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:20,329 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:20,330 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1651319838] [2023-08-29 21:36:20,330 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:20,336 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:20,340 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:20,356 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:20,357 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:20,420 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 167 out of 368 [2023-08-29 21:36:20,423 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 69 places, 91 transitions, 204 flow. Second operand has 3 states, 3 states have (on average 167.66666666666666) internal successors, (503), 3 states have internal predecessors, (503), 0 states have call successors, (0), 0 states have 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:36:20,424 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:20,424 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 167 of 368 [2023-08-29 21:36:20,425 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:21,397 INFO L130 PetriNetUnfolder]: 5356/9260 cut-off events. [2023-08-29 21:36:21,398 INFO L131 PetriNetUnfolder]: For 106/106 co-relation queries the response was YES. [2023-08-29 21:36:21,409 INFO L83 FinitePrefix]: Finished finitePrefix Result has 17475 conditions, 9260 events. 5356/9260 cut-off events. For 106/106 co-relation queries the response was YES. Maximal size of possible extension queue 427. Compared 67435 event pairs, 4236 based on Foata normal form. 1454/7815 useless extension candidates. Maximal degree in co-relation 16401. Up to 6961 conditions per place. [2023-08-29 21:36:21,452 INFO L137 encePairwiseOnDemand]: 342/368 looper letters, 73 selfloop transitions, 3 changer transitions 0/92 dead transitions. [2023-08-29 21:36:21,452 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 68 places, 92 transitions, 358 flow [2023-08-29 21:36:21,454 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:36:21,456 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:36:21,466 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 621 transitions. [2023-08-29 21:36:21,471 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5625 [2023-08-29 21:36:21,471 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 621 transitions. [2023-08-29 21:36:21,472 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 621 transitions. [2023-08-29 21:36:21,475 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:21,478 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 621 transitions. [2023-08-29 21:36:21,483 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 207.0) internal successors, (621), 3 states have internal predecessors, (621), 0 states have call successors, (0), 0 states have 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:36:21,490 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 368.0) internal successors, (1472), 4 states have internal predecessors, (1472), 0 states have call successors, (0), 0 states have 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:36:21,491 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 368.0) internal successors, (1472), 4 states have internal predecessors, (1472), 0 states have call successors, (0), 0 states have 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:36:21,493 INFO L175 Difference]: Start difference. First operand has 69 places, 91 transitions, 204 flow. Second operand 3 states and 621 transitions. [2023-08-29 21:36:21,493 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 68 places, 92 transitions, 358 flow [2023-08-29 21:36:21,500 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 68 places, 92 transitions, 358 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:36:21,503 INFO L231 Difference]: Finished difference. Result has 68 places, 67 transitions, 162 flow [2023-08-29 21:36:21,504 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=368, PETRI_DIFFERENCE_MINUEND_FLOW=156, PETRI_DIFFERENCE_MINUEND_PLACES=66, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=67, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=64, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=162, PETRI_PLACES=68, PETRI_TRANSITIONS=67} [2023-08-29 21:36:21,508 INFO L281 CegarLoopForPetriNet]: 69 programPoint places, -1 predicate places. [2023-08-29 21:36:21,509 INFO L495 AbstractCegarLoop]: Abstraction has has 68 places, 67 transitions, 162 flow [2023-08-29 21:36:21,509 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 167.66666666666666) internal successors, (503), 3 states have internal predecessors, (503), 0 states have call successors, (0), 0 states have 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:36:21,509 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:21,509 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:36:21,510 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-08-29 21:36:21,510 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 10 more)] === [2023-08-29 21:36:21,518 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:21,519 INFO L85 PathProgramCache]: Analyzing trace with hash 26926, now seen corresponding path program 1 times [2023-08-29 21:36:21,520 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:21,520 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [832206264] [2023-08-29 21:36:21,522 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:21,523 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:21,546 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:21,648 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:36:21,649 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:21,649 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [832206264] [2023-08-29 21:36:21,649 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [832206264] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:21,649 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:21,650 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:21,650 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1167557282] [2023-08-29 21:36:21,650 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:21,651 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:21,651 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:21,651 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:21,652 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:21,689 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 171 out of 368 [2023-08-29 21:36:21,690 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 68 places, 67 transitions, 162 flow. Second operand has 3 states, 3 states have (on average 171.66666666666666) internal successors, (515), 3 states have internal predecessors, (515), 0 states have call successors, (0), 0 states have 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:36:21,691 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:21,691 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 171 of 368 [2023-08-29 21:36:21,691 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:22,442 INFO L130 PetriNetUnfolder]: 5359/9315 cut-off events. [2023-08-29 21:36:22,442 INFO L131 PetriNetUnfolder]: For 304/304 co-relation queries the response was YES. [2023-08-29 21:36:22,452 INFO L83 FinitePrefix]: Finished finitePrefix Result has 17922 conditions, 9315 events. 5359/9315 cut-off events. For 304/304 co-relation queries the response was YES. Maximal size of possible extension queue 429. Compared 68043 event pairs, 4257 based on Foata normal form. 0/6751 useless extension candidates. Maximal degree in co-relation 17151. Up to 8069 conditions per place. [2023-08-29 21:36:22,488 INFO L137 encePairwiseOnDemand]: 364/368 looper letters, 62 selfloop transitions, 2 changer transitions 0/80 dead transitions. [2023-08-29 21:36:22,489 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 70 places, 80 transitions, 316 flow [2023-08-29 21:36:22,489 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:36:22,489 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:36:22,490 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 579 transitions. [2023-08-29 21:36:22,491 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5244565217391305 [2023-08-29 21:36:22,491 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 579 transitions. [2023-08-29 21:36:22,491 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 579 transitions. [2023-08-29 21:36:22,492 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:22,492 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 579 transitions. [2023-08-29 21:36:22,493 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 193.0) internal successors, (579), 3 states have internal predecessors, (579), 0 states have call successors, (0), 0 states have 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:36:22,495 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 368.0) internal successors, (1472), 4 states have internal predecessors, (1472), 0 states have call successors, (0), 0 states have 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:36:22,496 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 368.0) internal successors, (1472), 4 states have internal predecessors, (1472), 0 states have call successors, (0), 0 states have 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:36:22,496 INFO L175 Difference]: Start difference. First operand has 68 places, 67 transitions, 162 flow. Second operand 3 states and 579 transitions. [2023-08-29 21:36:22,496 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 70 places, 80 transitions, 316 flow [2023-08-29 21:36:22,501 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 68 places, 80 transitions, 310 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:36:22,503 INFO L231 Difference]: Finished difference. Result has 69 places, 67 transitions, 166 flow [2023-08-29 21:36:22,503 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=368, PETRI_DIFFERENCE_MINUEND_FLOW=156, PETRI_DIFFERENCE_MINUEND_PLACES=66, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=67, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=65, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=166, PETRI_PLACES=69, PETRI_TRANSITIONS=67} [2023-08-29 21:36:22,504 INFO L281 CegarLoopForPetriNet]: 69 programPoint places, 0 predicate places. [2023-08-29 21:36:22,505 INFO L495 AbstractCegarLoop]: Abstraction has has 69 places, 67 transitions, 166 flow [2023-08-29 21:36:22,505 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 171.66666666666666) internal successors, (515), 3 states have internal predecessors, (515), 0 states have call successors, (0), 0 states have 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:36:22,505 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:22,505 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2023-08-29 21:36:22,506 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-08-29 21:36:22,506 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 10 more)] === [2023-08-29 21:36:22,506 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:22,506 INFO L85 PathProgramCache]: Analyzing trace with hash 802771957, now seen corresponding path program 1 times [2023-08-29 21:36:22,507 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:22,507 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [974595516] [2023-08-29 21:36:22,507 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:22,507 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:22,520 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:22,611 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:36:22,611 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:22,612 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [974595516] [2023-08-29 21:36:22,612 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [974595516] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:36:22,612 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [808965976] [2023-08-29 21:36:22,612 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:22,613 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:36:22,613 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:36:22,616 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:36:22,618 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:36:22,685 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:22,687 INFO L263 TraceCheckSpWp]: Trace formula consists of 118 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:36:22,691 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:36:22,743 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:36:22,795 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:36:22,796 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:36:22,841 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:36:22,841 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [808965976] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:36:22,841 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:36:22,841 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 6 [2023-08-29 21:36:22,842 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1293409313] [2023-08-29 21:36:22,842 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:36:22,842 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2023-08-29 21:36:22,842 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:22,843 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2023-08-29 21:36:22,843 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=36, Unknown=0, NotChecked=0, Total=56 [2023-08-29 21:36:23,013 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 166 out of 368 [2023-08-29 21:36:23,015 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 69 places, 67 transitions, 166 flow. Second operand has 8 states, 8 states have (on average 167.875) internal successors, (1343), 8 states have internal predecessors, (1343), 0 states have call successors, (0), 0 states have 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:36:23,015 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:23,015 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 166 of 368 [2023-08-29 21:36:23,015 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:23,147 INFO L130 PetriNetUnfolder]: 27/86 cut-off events. [2023-08-29 21:36:23,147 INFO L131 PetriNetUnfolder]: For 21/21 co-relation queries the response was YES. [2023-08-29 21:36:23,148 INFO L83 FinitePrefix]: Finished finitePrefix Result has 190 conditions, 86 events. 27/86 cut-off events. For 21/21 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 253 event pairs, 9 based on Foata normal form. 13/93 useless extension candidates. Maximal degree in co-relation 184. Up to 50 conditions per place. [2023-08-29 21:36:23,148 INFO L137 encePairwiseOnDemand]: 364/368 looper letters, 9 selfloop transitions, 2 changer transitions 24/37 dead transitions. [2023-08-29 21:36:23,148 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 33 places, 37 transitions, 143 flow [2023-08-29 21:36:23,149 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-08-29 21:36:23,149 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-08-29 21:36:23,150 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 695 transitions. [2023-08-29 21:36:23,151 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.47214673913043476 [2023-08-29 21:36:23,151 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 695 transitions. [2023-08-29 21:36:23,151 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 695 transitions. [2023-08-29 21:36:23,152 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:23,152 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 695 transitions. [2023-08-29 21:36:23,153 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 173.75) internal successors, (695), 4 states have internal predecessors, (695), 0 states have call successors, (0), 0 states have 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:36:23,156 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 368.0) internal successors, (1840), 5 states have internal predecessors, (1840), 0 states have call successors, (0), 0 states have 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:36:23,157 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 368.0) internal successors, (1840), 5 states have internal predecessors, (1840), 0 states have call successors, (0), 0 states have 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:36:23,157 INFO L175 Difference]: Start difference. First operand has 69 places, 67 transitions, 166 flow. Second operand 4 states and 695 transitions. [2023-08-29 21:36:23,157 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 33 places, 37 transitions, 143 flow [2023-08-29 21:36:23,158 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 30 places, 37 transitions, 137 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-08-29 21:36:23,159 INFO L231 Difference]: Finished difference. Result has 30 places, 9 transitions, 27 flow [2023-08-29 21:36:23,159 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=368, PETRI_DIFFERENCE_MINUEND_FLOW=53, PETRI_DIFFERENCE_MINUEND_PLACES=27, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=24, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=22, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=27, PETRI_PLACES=30, PETRI_TRANSITIONS=9} [2023-08-29 21:36:23,160 INFO L281 CegarLoopForPetriNet]: 69 programPoint places, -39 predicate places. [2023-08-29 21:36:23,160 INFO L495 AbstractCegarLoop]: Abstraction has has 30 places, 9 transitions, 27 flow [2023-08-29 21:36:23,161 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 167.875) internal successors, (1343), 8 states have internal predecessors, (1343), 0 states have call successors, (0), 0 states have 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:36:23,161 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:23,161 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1] [2023-08-29 21:36:23,171 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:36:23,368 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:36:23,368 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 10 more)] === [2023-08-29 21:36:23,369 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:23,369 INFO L85 PathProgramCache]: Analyzing trace with hash -1630002560, now seen corresponding path program 1 times [2023-08-29 21:36:23,369 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:23,369 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [223960829] [2023-08-29 21:36:23,369 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:23,370 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:23,388 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:23,465 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:36:23,465 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:23,466 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [223960829] [2023-08-29 21:36:23,466 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [223960829] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:23,467 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:23,469 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:23,470 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [478746721] [2023-08-29 21:36:23,470 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:23,470 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:23,471 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:23,472 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:23,472 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:23,486 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 171 out of 368 [2023-08-29 21:36:23,487 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 30 places, 9 transitions, 27 flow. Second operand has 3 states, 3 states have (on average 173.0) internal successors, (519), 3 states have internal predecessors, (519), 0 states have call successors, (0), 0 states have 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:36:23,487 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:23,487 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 171 of 368 [2023-08-29 21:36:23,487 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:23,500 INFO L130 PetriNetUnfolder]: 4/19 cut-off events. [2023-08-29 21:36:23,500 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-29 21:36:23,500 INFO L83 FinitePrefix]: Finished finitePrefix Result has 46 conditions, 19 events. 4/19 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 27 event pairs, 4 based on Foata normal form. 3/22 useless extension candidates. Maximal degree in co-relation 41. Up to 15 conditions per place. [2023-08-29 21:36:23,500 INFO L137 encePairwiseOnDemand]: 366/368 looper letters, 0 selfloop transitions, 0 changer transitions 8/8 dead transitions. [2023-08-29 21:36:23,501 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 17 places, 8 transitions, 37 flow [2023-08-29 21:36:23,501 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:36:23,501 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:36:23,502 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 520 transitions. [2023-08-29 21:36:23,502 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.47101449275362317 [2023-08-29 21:36:23,503 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 520 transitions. [2023-08-29 21:36:23,503 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 520 transitions. [2023-08-29 21:36:23,503 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:23,503 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 520 transitions. [2023-08-29 21:36:23,504 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 173.33333333333334) internal successors, (520), 3 states have internal predecessors, (520), 0 states have call successors, (0), 0 states have 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:36:23,506 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 368.0) internal successors, (1472), 4 states have internal predecessors, (1472), 0 states have call successors, (0), 0 states have 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:36:23,507 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 368.0) internal successors, (1472), 4 states have internal predecessors, (1472), 0 states have call successors, (0), 0 states have 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:36:23,507 INFO L175 Difference]: Start difference. First operand has 30 places, 9 transitions, 27 flow. Second operand 3 states and 520 transitions. [2023-08-29 21:36:23,507 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 17 places, 8 transitions, 37 flow [2023-08-29 21:36:23,508 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 15 places, 8 transitions, 34 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:36:23,508 INFO L231 Difference]: Finished difference. Result has 15 places, 0 transitions, 0 flow [2023-08-29 21:36:23,508 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=368, PETRI_DIFFERENCE_MINUEND_FLOW=22, PETRI_DIFFERENCE_MINUEND_PLACES=13, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=8, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=8, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=15, PETRI_TRANSITIONS=0} [2023-08-29 21:36:23,510 INFO L281 CegarLoopForPetriNet]: 69 programPoint places, -54 predicate places. [2023-08-29 21:36:23,510 INFO L495 AbstractCegarLoop]: Abstraction has has 15 places, 0 transitions, 0 flow [2023-08-29 21:36:23,510 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 173.0) internal successors, (519), 3 states have internal predecessors, (519), 0 states have call successors, (0), 0 states have 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:36:23,512 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE (12 of 13 remaining) [2023-08-29 21:36:23,513 INFO L805 garLoopResultBuilder]: Registering result SAFE for location t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK (11 of 13 remaining) [2023-08-29 21:36:23,513 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (10 of 13 remaining) [2023-08-29 21:36:23,513 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (9 of 13 remaining) [2023-08-29 21:36:23,513 INFO L805 garLoopResultBuilder]: Registering result SAFE for location t2_funErr0ASSERT_VIOLATIONMEMORY_LEAK (8 of 13 remaining) [2023-08-29 21:36:23,514 INFO L805 garLoopResultBuilder]: Registering result SAFE for location t2_funErr0ASSERT_VIOLATIONMEMORY_LEAK (7 of 13 remaining) [2023-08-29 21:36:23,514 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 13 remaining) [2023-08-29 21:36:23,514 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 13 remaining) [2023-08-29 21:36:23,514 INFO L805 garLoopResultBuilder]: Registering result SAFE for location t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK (4 of 13 remaining) [2023-08-29 21:36:23,514 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK (3 of 13 remaining) [2023-08-29 21:36:23,515 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 13 remaining) [2023-08-29 21:36:23,515 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 13 remaining) [2023-08-29 21:36:23,518 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 13 remaining) [2023-08-29 21:36:23,518 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-08-29 21:36:23,519 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2023-08-29 21:36:23,521 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:36:23,532 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 183 places, 210 transitions, 442 flow [2023-08-29 21:36:23,567 INFO L130 PetriNetUnfolder]: 58/397 cut-off events. [2023-08-29 21:36:23,567 INFO L131 PetriNetUnfolder]: For 8/8 co-relation queries the response was YES. [2023-08-29 21:36:23,570 INFO L83 FinitePrefix]: Finished finitePrefix Result has 417 conditions, 397 events. 58/397 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 1784 event pairs, 0 based on Foata normal form. 0/298 useless extension candidates. Maximal degree in co-relation 209. Up to 8 conditions per place. [2023-08-29 21:36:23,570 INFO L82 GeneralOperation]: Start removeDead. Operand has 183 places, 210 transitions, 442 flow [2023-08-29 21:36:23,573 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 183 places, 210 transitions, 442 flow [2023-08-29 21:36:23,573 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:36:23,573 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 183 places, 210 transitions, 442 flow [2023-08-29 21:36:23,573 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 183 places, 210 transitions, 442 flow [2023-08-29 21:36:23,574 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 183 places, 210 transitions, 442 flow [2023-08-29 21:36:23,605 INFO L130 PetriNetUnfolder]: 58/397 cut-off events. [2023-08-29 21:36:23,605 INFO L131 PetriNetUnfolder]: For 8/8 co-relation queries the response was YES. [2023-08-29 21:36:23,607 INFO L83 FinitePrefix]: Finished finitePrefix Result has 417 conditions, 397 events. 58/397 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 1784 event pairs, 0 based on Foata normal form. 0/298 useless extension candidates. Maximal degree in co-relation 209. Up to 8 conditions per place. [2023-08-29 21:36:23,618 INFO L119 LiptonReduction]: Number of co-enabled transitions 18036 [2023-08-29 21:36:27,424 INFO L134 LiptonReduction]: Checked pairs total: 32543 [2023-08-29 21:36:27,425 INFO L136 LiptonReduction]: Total number of compositions: 158 [2023-08-29 21:36:27,427 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:36:27,428 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;@6c518a2a, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:36:27,428 INFO L358 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2023-08-29 21:36:27,432 INFO L130 PetriNetUnfolder]: 1/32 cut-off events. [2023-08-29 21:36:27,433 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:36:27,433 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:27,433 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-08-29 21:36:27,433 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:36:27,434 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:27,434 INFO L85 PathProgramCache]: Analyzing trace with hash -505667629, now seen corresponding path program 1 times [2023-08-29 21:36:27,434 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:27,434 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1050478297] [2023-08-29 21:36:27,434 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:27,435 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:27,450 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:36:27,450 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:36:27,476 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:36:27,491 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:36:27,492 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:36:27,492 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 2 remaining) [2023-08-29 21:36:27,492 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 2 remaining) [2023-08-29 21:36:27,492 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-08-29 21:36:27,493 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:36:27,493 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE,UNKNOWN (2/2) [2023-08-29 21:36:27,494 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:36:27,494 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-08-29 21:36:27,527 INFO L144 ThreadInstanceAdder]: Constructed 8 joinOtherThreadTransitions. [2023-08-29 21:36:27,530 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 273 places, 324 transitions, 696 flow [2023-08-29 21:36:27,686 INFO L130 PetriNetUnfolder]: 197/1181 cut-off events. [2023-08-29 21:36:27,687 INFO L131 PetriNetUnfolder]: For 72/75 co-relation queries the response was YES. [2023-08-29 21:36:27,709 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1278 conditions, 1181 events. 197/1181 cut-off events. For 72/75 co-relation queries the response was YES. Maximal size of possible extension queue 34. Compared 7251 event pairs, 1 based on Foata normal form. 0/885 useless extension candidates. Maximal degree in co-relation 720. Up to 32 conditions per place. [2023-08-29 21:36:27,710 INFO L82 GeneralOperation]: Start removeDead. Operand has 273 places, 324 transitions, 696 flow [2023-08-29 21:36:27,722 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 273 places, 324 transitions, 696 flow [2023-08-29 21:36:27,723 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:36:27,723 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 273 places, 324 transitions, 696 flow [2023-08-29 21:36:27,723 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 273 places, 324 transitions, 696 flow [2023-08-29 21:36:27,724 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 273 places, 324 transitions, 696 flow [2023-08-29 21:36:27,875 INFO L130 PetriNetUnfolder]: 197/1181 cut-off events. [2023-08-29 21:36:27,875 INFO L131 PetriNetUnfolder]: For 72/75 co-relation queries the response was YES. [2023-08-29 21:36:27,898 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1278 conditions, 1181 events. 197/1181 cut-off events. For 72/75 co-relation queries the response was YES. Maximal size of possible extension queue 34. Compared 7251 event pairs, 1 based on Foata normal form. 0/885 useless extension candidates. Maximal degree in co-relation 720. Up to 32 conditions per place. [2023-08-29 21:36:27,951 INFO L119 LiptonReduction]: Number of co-enabled transitions 61560 [2023-08-29 21:36:32,137 INFO L134 LiptonReduction]: Checked pairs total: 145458 [2023-08-29 21:36:32,137 INFO L136 LiptonReduction]: Total number of compositions: 224 [2023-08-29 21:36:32,145 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:36:32,147 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;@6c518a2a, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:36:32,147 INFO L358 AbstractCegarLoop]: Starting to check reachability of 15 error locations. [2023-08-29 21:36:32,148 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 21:36:32,148 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:36:32,148 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:32,149 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:36:32,149 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [t2_funErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK (and 12 more)] === [2023-08-29 21:36:32,149 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:32,149 INFO L85 PathProgramCache]: Analyzing trace with hash 53082, now seen corresponding path program 1 times [2023-08-29 21:36:32,149 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:32,149 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [224370008] [2023-08-29 21:36:32,150 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:32,150 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:32,161 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:32,226 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:36:32,226 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:32,227 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [224370008] [2023-08-29 21:36:32,227 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [224370008] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:32,227 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:32,227 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:32,227 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1731751743] [2023-08-29 21:36:32,227 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:32,228 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:32,228 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:32,228 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:32,229 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:32,260 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 255 out of 548 [2023-08-29 21:36:32,262 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 113 places, 158 transitions, 364 flow. Second operand has 3 states, 3 states have (on average 255.66666666666666) internal successors, (767), 3 states have internal predecessors, (767), 0 states have call successors, (0), 0 states have 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:36:32,263 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:32,263 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 255 of 548 [2023-08-29 21:36:32,263 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand