./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_02-simple_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_02-simple_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 b3e7d0a2f10d1449a9a354d4032bafdd0ae7a7fd76aceb835acbee3134ec74e4 --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:07,956 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-29 21:36:07,959 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-29 21:36:07,993 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-29 21:36:07,994 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-29 21:36:07,996 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-29 21:36:07,999 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-29 21:36:08,001 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-29 21:36:08,003 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-29 21:36:08,007 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-29 21:36:08,008 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-29 21:36:08,012 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-29 21:36:08,013 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-29 21:36:08,015 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-29 21:36:08,016 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-29 21:36:08,017 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-29 21:36:08,018 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-29 21:36:08,018 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-29 21:36:08,020 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-29 21:36:08,022 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-29 21:36:08,023 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-29 21:36:08,024 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-29 21:36:08,025 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-29 21:36:08,026 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-29 21:36:08,034 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-29 21:36:08,035 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-29 21:36:08,035 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-29 21:36:08,037 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-29 21:36:08,038 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-29 21:36:08,038 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-29 21:36:08,039 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-29 21:36:08,040 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-29 21:36:08,042 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-29 21:36:08,043 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-29 21:36:08,044 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-29 21:36:08,044 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-29 21:36:08,044 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-29 21:36:08,045 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-29 21:36:08,045 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-29 21:36:08,046 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-29 21:36:08,046 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-29 21:36:08,048 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:08,095 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-29 21:36:08,096 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-29 21:36:08,097 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-29 21:36:08,097 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-29 21:36:08,098 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-29 21:36:08,098 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-29 21:36:08,099 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-29 21:36:08,099 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-29 21:36:08,099 INFO L138 SettingsManager]: * Use SBE=true [2023-08-29 21:36:08,099 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-29 21:36:08,100 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-29 21:36:08,100 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-08-29 21:36:08,100 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-29 21:36:08,101 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-29 21:36:08,101 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-29 21:36:08,101 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-08-29 21:36:08,101 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-08-29 21:36:08,101 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-08-29 21:36:08,101 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-29 21:36:08,102 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-08-29 21:36:08,102 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-29 21:36:08,102 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-29 21:36:08,102 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-29 21:36:08,102 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-29 21:36:08,102 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-29 21:36:08,103 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 21:36:08,103 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-29 21:36:08,103 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-29 21:36:08,103 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-29 21:36:08,103 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-29 21:36:08,104 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-29 21:36:08,104 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-29 21:36:08,104 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-29 21:36:08,104 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-29 21:36:08,104 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 -> b3e7d0a2f10d1449a9a354d4032bafdd0ae7a7fd76aceb835acbee3134ec74e4 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:08,379 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-29 21:36:08,397 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-29 21:36:08,399 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-29 21:36:08,400 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-29 21:36:08,400 INFO L275 PluginConnector]: CDTParser initialized [2023-08-29 21:36:08,401 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/goblint-regression/28-race_reach_02-simple_racefree.i [2023-08-29 21:36:09,517 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-29 21:36:09,751 INFO L351 CDTParser]: Found 1 translation units. [2023-08-29 21:36:09,751 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_02-simple_racefree.i [2023-08-29 21:36:09,764 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/556c0e499/c0dca6e3c57148a1816dc1aab6dc008e/FLAGa9f6ada32 [2023-08-29 21:36:09,780 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/556c0e499/c0dca6e3c57148a1816dc1aab6dc008e [2023-08-29 21:36:09,782 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-29 21:36:09,784 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-29 21:36:09,785 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-29 21:36:09,785 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-29 21:36:09,787 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-29 21:36:09,788 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 09:36:09" (1/1) ... [2023-08-29 21:36:09,789 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6386ea55 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:09, skipping insertion in model container [2023-08-29 21:36:09,789 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 09:36:09" (1/1) ... [2023-08-29 21:36:09,795 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-29 21:36:09,830 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-29 21:36:10,125 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_02-simple_racefree.i[30176,30189] [2023-08-29 21:36:10,144 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 21:36:10,158 INFO L203 MainTranslator]: Completed pre-run [2023-08-29 21:36:10,183 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_02-simple_racefree.i[30176,30189] [2023-08-29 21:36:10,189 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 21:36:10,225 INFO L208 MainTranslator]: Completed translation [2023-08-29 21:36:10,226 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:10 WrapperNode [2023-08-29 21:36:10,226 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-29 21:36:10,227 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-29 21:36:10,227 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-29 21:36:10,227 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-29 21:36:10,233 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:10" (1/1) ... [2023-08-29 21:36:10,244 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:10" (1/1) ... [2023-08-29 21:36:10,271 INFO L138 Inliner]: procedures = 170, calls = 30, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 80 [2023-08-29 21:36:10,271 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-29 21:36:10,272 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-29 21:36:10,273 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-29 21:36:10,273 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-29 21:36:10,279 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:10" (1/1) ... [2023-08-29 21:36:10,279 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:10" (1/1) ... [2023-08-29 21:36:10,285 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:10" (1/1) ... [2023-08-29 21:36:10,286 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:10" (1/1) ... [2023-08-29 21:36:10,291 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:10" (1/1) ... [2023-08-29 21:36:10,300 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:10" (1/1) ... [2023-08-29 21:36:10,301 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:10" (1/1) ... [2023-08-29 21:36:10,303 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:10" (1/1) ... [2023-08-29 21:36:10,306 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-29 21:36:10,307 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-29 21:36:10,307 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-29 21:36:10,307 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-29 21:36:10,308 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:10" (1/1) ... [2023-08-29 21:36:10,317 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 21:36:10,328 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:36:10,339 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:10,349 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:10,372 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-08-29 21:36:10,372 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-29 21:36:10,372 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-08-29 21:36:10,372 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-29 21:36:10,372 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-29 21:36:10,373 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2023-08-29 21:36:10,373 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2023-08-29 21:36:10,373 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-29 21:36:10,373 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-29 21:36:10,373 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-29 21:36:10,373 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-29 21:36:10,375 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:10,485 INFO L236 CfgBuilder]: Building ICFG [2023-08-29 21:36:10,489 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-29 21:36:10,704 INFO L277 CfgBuilder]: Performing block encoding [2023-08-29 21:36:10,711 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-29 21:36:10,711 INFO L302 CfgBuilder]: Removed 10 assume(true) statements. [2023-08-29 21:36:10,713 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 09:36:10 BoogieIcfgContainer [2023-08-29 21:36:10,713 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-29 21:36:10,715 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-29 21:36:10,715 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-08-29 21:36:10,718 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-08-29 21:36:10,718 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.08 09:36:09" (1/3) ... [2023-08-29 21:36:10,718 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@447305d2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 09:36:10, skipping insertion in model container [2023-08-29 21:36:10,719 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:10" (2/3) ... [2023-08-29 21:36:10,719 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@447305d2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 09:36:10, skipping insertion in model container [2023-08-29 21:36:10,719 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 09:36:10" (3/3) ... [2023-08-29 21:36:10,720 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_02-simple_racefree.i [2023-08-29 21:36:10,736 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-29 21:36:10,736 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2023-08-29 21:36:10,736 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-29 21:36:10,787 INFO L144 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2023-08-29 21:36:10,819 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 107 places, 116 transitions, 240 flow [2023-08-29 21:36:10,906 INFO L130 PetriNetUnfolder]: 17/156 cut-off events. [2023-08-29 21:36:10,908 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:36:10,914 INFO L83 FinitePrefix]: Finished finitePrefix Result has 162 conditions, 156 events. 17/156 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 376 event pairs, 0 based on Foata normal form. 0/124 useless extension candidates. Maximal degree in co-relation 76. Up to 4 conditions per place. [2023-08-29 21:36:10,914 INFO L82 GeneralOperation]: Start removeDead. Operand has 107 places, 116 transitions, 240 flow [2023-08-29 21:36:10,921 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 107 places, 116 transitions, 240 flow [2023-08-29 21:36:10,925 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:36:10,937 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 107 places, 116 transitions, 240 flow [2023-08-29 21:36:10,945 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 107 places, 116 transitions, 240 flow [2023-08-29 21:36:10,945 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 107 places, 116 transitions, 240 flow [2023-08-29 21:36:10,999 INFO L130 PetriNetUnfolder]: 17/156 cut-off events. [2023-08-29 21:36:11,001 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:36:11,004 INFO L83 FinitePrefix]: Finished finitePrefix Result has 162 conditions, 156 events. 17/156 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 376 event pairs, 0 based on Foata normal form. 0/124 useless extension candidates. Maximal degree in co-relation 76. Up to 4 conditions per place. [2023-08-29 21:36:11,007 INFO L119 LiptonReduction]: Number of co-enabled transitions 2576 [2023-08-29 21:36:14,016 INFO L134 LiptonReduction]: Checked pairs total: 4703 [2023-08-29 21:36:14,017 INFO L136 LiptonReduction]: Total number of compositions: 100 [2023-08-29 21:36:14,029 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:36:14,035 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;@6bb4256b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:36:14,035 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:36:14,037 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 21:36:14,037 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:36:14,038 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:14,038 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:36:14,039 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:36:14,043 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:14,043 INFO L85 PathProgramCache]: Analyzing trace with hash 14182, now seen corresponding path program 1 times [2023-08-29 21:36:14,055 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:14,055 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1654340074] [2023-08-29 21:36:14,056 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:14,056 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:14,169 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:14,316 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:14,317 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:14,317 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1654340074] [2023-08-29 21:36:14,318 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1654340074] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:14,318 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:14,318 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:14,319 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [751290651] [2023-08-29 21:36:14,320 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:14,326 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:14,331 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:14,347 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:14,348 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:14,382 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 94 out of 216 [2023-08-29 21:36:14,385 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 32 places, 39 transitions, 86 flow. Second operand has 3 states, 3 states have (on average 94.66666666666667) internal successors, (284), 3 states have internal predecessors, (284), 0 states have call successors, (0), 0 states have 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:14,385 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:14,385 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 94 of 216 [2023-08-29 21:36:14,386 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:14,468 INFO L130 PetriNetUnfolder]: 113/273 cut-off events. [2023-08-29 21:36:14,468 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:36:14,469 INFO L83 FinitePrefix]: Finished finitePrefix Result has 543 conditions, 273 events. 113/273 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 19. Compared 1080 event pairs, 96 based on Foata normal form. 25/227 useless extension candidates. Maximal degree in co-relation 501. Up to 227 conditions per place. [2023-08-29 21:36:14,471 INFO L137 encePairwiseOnDemand]: 202/216 looper letters, 30 selfloop transitions, 2 changer transitions 3/36 dead transitions. [2023-08-29 21:36:14,471 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 32 places, 36 transitions, 148 flow [2023-08-29 21:36:14,472 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:36:14,474 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:36:14,481 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 333 transitions. [2023-08-29 21:36:14,484 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5138888888888888 [2023-08-29 21:36:14,484 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 333 transitions. [2023-08-29 21:36:14,485 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 333 transitions. [2023-08-29 21:36:14,486 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:14,488 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 333 transitions. [2023-08-29 21:36:14,492 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 111.0) internal successors, (333), 3 states have internal predecessors, (333), 0 states have call successors, (0), 0 states have 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:14,496 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 216.0) internal successors, (864), 4 states have internal predecessors, (864), 0 states have call successors, (0), 0 states have 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:14,496 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 216.0) internal successors, (864), 4 states have internal predecessors, (864), 0 states have call successors, (0), 0 states have 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:14,498 INFO L175 Difference]: Start difference. First operand has 32 places, 39 transitions, 86 flow. Second operand 3 states and 333 transitions. [2023-08-29 21:36:14,499 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 32 places, 36 transitions, 148 flow [2023-08-29 21:36:14,501 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 32 places, 36 transitions, 148 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:36:14,502 INFO L231 Difference]: Finished difference. Result has 32 places, 25 transitions, 60 flow [2023-08-29 21:36:14,503 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=216, PETRI_DIFFERENCE_MINUEND_FLOW=64, PETRI_DIFFERENCE_MINUEND_PLACES=30, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=28, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=26, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=60, PETRI_PLACES=32, PETRI_TRANSITIONS=25} [2023-08-29 21:36:14,507 INFO L281 CegarLoopForPetriNet]: 32 programPoint places, 0 predicate places. [2023-08-29 21:36:14,507 INFO L495 AbstractCegarLoop]: Abstraction has has 32 places, 25 transitions, 60 flow [2023-08-29 21:36:14,507 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 94.66666666666667) internal successors, (284), 3 states have internal predecessors, (284), 0 states have call successors, (0), 0 states have 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:14,508 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:14,508 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:36:14,508 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-08-29 21:36:14,508 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:36:14,509 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:14,509 INFO L85 PathProgramCache]: Analyzing trace with hash 14183, now seen corresponding path program 1 times [2023-08-29 21:36:14,509 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:14,509 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1288902865] [2023-08-29 21:36:14,510 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:14,510 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:14,525 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:14,672 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:14,673 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:14,673 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1288902865] [2023-08-29 21:36:14,674 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1288902865] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:14,674 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:14,674 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:14,675 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1527608105] [2023-08-29 21:36:14,675 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:14,676 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:14,680 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:14,681 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:14,681 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:14,731 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 97 out of 216 [2023-08-29 21:36:14,731 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 32 places, 25 transitions, 60 flow. Second operand has 3 states, 3 states have (on average 97.66666666666667) internal successors, (293), 3 states have internal predecessors, (293), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:14,732 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:14,732 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 97 of 216 [2023-08-29 21:36:14,732 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:14,801 INFO L130 PetriNetUnfolder]: 96/221 cut-off events. [2023-08-29 21:36:14,801 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:36:14,804 INFO L83 FinitePrefix]: Finished finitePrefix Result has 459 conditions, 221 events. 96/221 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 919 event pairs, 0 based on Foata normal form. 0/184 useless extension candidates. Maximal degree in co-relation 434. Up to 210 conditions per place. [2023-08-29 21:36:14,805 INFO L137 encePairwiseOnDemand]: 212/216 looper letters, 30 selfloop transitions, 2 changer transitions 1/34 dead transitions. [2023-08-29 21:36:14,806 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 31 places, 34 transitions, 144 flow [2023-08-29 21:36:14,806 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:36:14,806 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:36:14,809 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 326 transitions. [2023-08-29 21:36:14,811 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5030864197530864 [2023-08-29 21:36:14,811 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 326 transitions. [2023-08-29 21:36:14,811 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 326 transitions. [2023-08-29 21:36:14,811 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:14,812 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 326 transitions. [2023-08-29 21:36:14,813 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 108.66666666666667) internal successors, (326), 3 states have internal predecessors, (326), 0 states have call successors, (0), 0 states have 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:14,816 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 216.0) internal successors, (864), 4 states have internal predecessors, (864), 0 states have call successors, (0), 0 states have 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:14,817 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 216.0) internal successors, (864), 4 states have internal predecessors, (864), 0 states have call successors, (0), 0 states have 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:14,817 INFO L175 Difference]: Start difference. First operand has 32 places, 25 transitions, 60 flow. Second operand 3 states and 326 transitions. [2023-08-29 21:36:14,817 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 31 places, 34 transitions, 144 flow [2023-08-29 21:36:14,818 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 28 places, 34 transitions, 138 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-08-29 21:36:14,819 INFO L231 Difference]: Finished difference. Result has 29 places, 25 transitions, 64 flow [2023-08-29 21:36:14,820 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=216, PETRI_DIFFERENCE_MINUEND_FLOW=54, PETRI_DIFFERENCE_MINUEND_PLACES=26, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=25, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=23, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=64, PETRI_PLACES=29, PETRI_TRANSITIONS=25} [2023-08-29 21:36:14,820 INFO L281 CegarLoopForPetriNet]: 32 programPoint places, -3 predicate places. [2023-08-29 21:36:14,821 INFO L495 AbstractCegarLoop]: Abstraction has has 29 places, 25 transitions, 64 flow [2023-08-29 21:36:14,821 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 97.66666666666667) internal successors, (293), 3 states have internal predecessors, (293), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:14,821 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:14,821 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2023-08-29 21:36:14,821 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-08-29 21:36:14,822 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:36:14,824 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:14,824 INFO L85 PathProgramCache]: Analyzing trace with hash 422779783, now seen corresponding path program 1 times [2023-08-29 21:36:14,824 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:14,825 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1190917618] [2023-08-29 21:36:14,825 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:14,825 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:14,855 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:14,956 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:14,956 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:14,956 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1190917618] [2023-08-29 21:36:14,956 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1190917618] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:36:14,957 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1164144345] [2023-08-29 21:36:14,957 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:14,957 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:36:14,957 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:36:14,961 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:14,976 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:15,031 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:15,033 INFO L263 TraceCheckSpWp]: Trace formula consists of 111 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:36:15,037 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:36:15,113 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:15,184 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:36:15,184 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:36:15,252 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:15,253 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1164144345] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:36:15,253 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:36:15,253 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 5 [2023-08-29 21:36:15,253 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1859348447] [2023-08-29 21:36:15,253 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:36:15,254 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2023-08-29 21:36:15,254 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:15,255 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2023-08-29 21:36:15,255 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=18, Invalid=24, Unknown=0, NotChecked=0, Total=42 [2023-08-29 21:36:15,349 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 94 out of 216 [2023-08-29 21:36:15,350 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 29 places, 25 transitions, 64 flow. Second operand has 7 states, 7 states have (on average 95.71428571428571) internal successors, (670), 7 states have internal predecessors, (670), 0 states have call successors, (0), 0 states have 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:15,350 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:15,351 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 94 of 216 [2023-08-29 21:36:15,351 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:15,387 INFO L130 PetriNetUnfolder]: 16/46 cut-off events. [2023-08-29 21:36:15,388 INFO L131 PetriNetUnfolder]: For 15/15 co-relation queries the response was YES. [2023-08-29 21:36:15,388 INFO L83 FinitePrefix]: Finished finitePrefix Result has 116 conditions, 46 events. 16/46 cut-off events. For 15/15 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 65 event pairs, 7 based on Foata normal form. 9/55 useless extension candidates. Maximal degree in co-relation 45. Up to 34 conditions per place. [2023-08-29 21:36:15,388 INFO L137 encePairwiseOnDemand]: 212/216 looper letters, 0 selfloop transitions, 0 changer transitions 22/22 dead transitions. [2023-08-29 21:36:15,389 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 21 places, 22 transitions, 94 flow [2023-08-29 21:36:15,389 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-08-29 21:36:15,389 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-08-29 21:36:15,390 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 399 transitions. [2023-08-29 21:36:15,390 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4618055555555556 [2023-08-29 21:36:15,390 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 399 transitions. [2023-08-29 21:36:15,391 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 399 transitions. [2023-08-29 21:36:15,391 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:15,391 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 399 transitions. [2023-08-29 21:36:15,392 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 99.75) internal successors, (399), 4 states have internal predecessors, (399), 0 states have call successors, (0), 0 states have 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:15,394 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 216.0) internal successors, (1080), 5 states have internal predecessors, (1080), 0 states have call successors, (0), 0 states have 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:15,395 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 216.0) internal successors, (1080), 5 states have internal predecessors, (1080), 0 states have call successors, (0), 0 states have 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:15,395 INFO L175 Difference]: Start difference. First operand has 29 places, 25 transitions, 64 flow. Second operand 4 states and 399 transitions. [2023-08-29 21:36:15,395 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 21 places, 22 transitions, 94 flow [2023-08-29 21:36:15,395 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 18 places, 22 transitions, 88 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-08-29 21:36:15,396 INFO L231 Difference]: Finished difference. Result has 18 places, 0 transitions, 0 flow [2023-08-29 21:36:15,396 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=216, PETRI_DIFFERENCE_MINUEND_FLOW=28, PETRI_DIFFERENCE_MINUEND_PLACES=15, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=13, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=13, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=0, PETRI_PLACES=18, PETRI_TRANSITIONS=0} [2023-08-29 21:36:15,397 INFO L281 CegarLoopForPetriNet]: 32 programPoint places, -14 predicate places. [2023-08-29 21:36:15,397 INFO L495 AbstractCegarLoop]: Abstraction has has 18 places, 0 transitions, 0 flow [2023-08-29 21:36:15,398 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 95.71428571428571) internal successors, (670), 7 states have internal predecessors, (670), 0 states have call successors, (0), 0 states have 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:15,400 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2023-08-29 21:36:15,401 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-08-29 21:36:15,402 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 21:36:15,402 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-08-29 21:36:15,402 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 6 remaining) [2023-08-29 21:36:15,402 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 21:36:15,412 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:15,612 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:15,612 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 21:36:15,614 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:36:15,618 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 107 places, 116 transitions, 240 flow [2023-08-29 21:36:15,630 INFO L130 PetriNetUnfolder]: 17/156 cut-off events. [2023-08-29 21:36:15,631 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:36:15,631 INFO L83 FinitePrefix]: Finished finitePrefix Result has 162 conditions, 156 events. 17/156 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 376 event pairs, 0 based on Foata normal form. 0/124 useless extension candidates. Maximal degree in co-relation 76. Up to 4 conditions per place. [2023-08-29 21:36:15,631 INFO L82 GeneralOperation]: Start removeDead. Operand has 107 places, 116 transitions, 240 flow [2023-08-29 21:36:15,632 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 103 places, 111 transitions, 227 flow [2023-08-29 21:36:15,632 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:36:15,633 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 103 places, 111 transitions, 227 flow [2023-08-29 21:36:15,633 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 103 places, 111 transitions, 227 flow [2023-08-29 21:36:15,633 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 103 places, 111 transitions, 227 flow [2023-08-29 21:36:15,644 INFO L130 PetriNetUnfolder]: 16/151 cut-off events. [2023-08-29 21:36:15,644 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:36:15,644 INFO L83 FinitePrefix]: Finished finitePrefix Result has 156 conditions, 151 events. 16/151 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 361 event pairs, 0 based on Foata normal form. 0/119 useless extension candidates. Maximal degree in co-relation 76. Up to 4 conditions per place. [2023-08-29 21:36:15,646 INFO L119 LiptonReduction]: Number of co-enabled transitions 2576 [2023-08-29 21:36:18,233 INFO L134 LiptonReduction]: Checked pairs total: 4360 [2023-08-29 21:36:18,234 INFO L136 LiptonReduction]: Total number of compositions: 99 [2023-08-29 21:36:18,235 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:36:18,236 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;@6bb4256b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:36:18,236 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:36:18,240 INFO L130 PetriNetUnfolder]: 2/30 cut-off events. [2023-08-29 21:36:18,240 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:36:18,240 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:18,240 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-08-29 21:36:18,240 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:36:18,241 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:18,241 INFO L85 PathProgramCache]: Analyzing trace with hash -1142343535, now seen corresponding path program 1 times [2023-08-29 21:36:18,241 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:18,241 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [114744774] [2023-08-29 21:36:18,241 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:18,242 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:18,257 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:36:18,257 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:36:18,265 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:36:18,278 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:36:18,279 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:36:18,279 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:36:18,279 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-08-29 21:36:18,279 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:36:18,280 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:36:18,281 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:36:18,281 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-08-29 21:36:18,296 INFO L144 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2023-08-29 21:36:18,298 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 132 places, 146 transitions, 310 flow [2023-08-29 21:36:18,323 INFO L130 PetriNetUnfolder]: 31/255 cut-off events. [2023-08-29 21:36:18,323 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:36:18,325 INFO L83 FinitePrefix]: Finished finitePrefix Result has 269 conditions, 255 events. 31/255 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 735 event pairs, 0 based on Foata normal form. 0/199 useless extension candidates. Maximal degree in co-relation 158. Up to 8 conditions per place. [2023-08-29 21:36:18,325 INFO L82 GeneralOperation]: Start removeDead. Operand has 132 places, 146 transitions, 310 flow [2023-08-29 21:36:18,327 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 132 places, 146 transitions, 310 flow [2023-08-29 21:36:18,327 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:36:18,327 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 132 places, 146 transitions, 310 flow [2023-08-29 21:36:18,327 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 132 places, 146 transitions, 310 flow [2023-08-29 21:36:18,328 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 132 places, 146 transitions, 310 flow [2023-08-29 21:36:18,347 INFO L130 PetriNetUnfolder]: 31/255 cut-off events. [2023-08-29 21:36:18,348 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:36:18,349 INFO L83 FinitePrefix]: Finished finitePrefix Result has 269 conditions, 255 events. 31/255 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 735 event pairs, 0 based on Foata normal form. 0/199 useless extension candidates. Maximal degree in co-relation 158. Up to 8 conditions per place. [2023-08-29 21:36:18,353 INFO L119 LiptonReduction]: Number of co-enabled transitions 7336 [2023-08-29 21:36:21,008 INFO L134 LiptonReduction]: Checked pairs total: 18827 [2023-08-29 21:36:21,009 INFO L136 LiptonReduction]: Total number of compositions: 112 [2023-08-29 21:36:21,010 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:36:21,011 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;@6bb4256b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:36:21,011 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:36:21,012 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 21:36:21,013 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:36:21,013 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:21,013 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:36:21,013 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:36:21,013 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:21,014 INFO L85 PathProgramCache]: Analyzing trace with hash 26563, now seen corresponding path program 1 times [2023-08-29 21:36:21,014 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:21,014 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [633125674] [2023-08-29 21:36:21,014 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:21,014 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:21,027 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:21,055 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,055 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:21,055 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [633125674] [2023-08-29 21:36:21,056 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [633125674] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:21,057 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:21,057 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:21,058 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1522543837] [2023-08-29 21:36:21,058 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:21,058 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:21,058 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:21,059 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:21,059 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:21,082 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 116 out of 258 [2023-08-29 21:36:21,083 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 49 places, 60 transitions, 138 flow. Second operand has 3 states, 3 states have (on average 116.66666666666667) internal successors, (350), 3 states have internal predecessors, (350), 0 states have call successors, (0), 0 states have 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,083 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:21,083 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 116 of 258 [2023-08-29 21:36:21,083 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:21,378 INFO L130 PetriNetUnfolder]: 1625/2994 cut-off events. [2023-08-29 21:36:21,379 INFO L131 PetriNetUnfolder]: For 47/47 co-relation queries the response was YES. [2023-08-29 21:36:21,382 INFO L83 FinitePrefix]: Finished finitePrefix Result has 5727 conditions, 2994 events. 1625/2994 cut-off events. For 47/47 co-relation queries the response was YES. Maximal size of possible extension queue 126. Compared 18815 event pairs, 1368 based on Foata normal form. 589/3082 useless extension candidates. Maximal degree in co-relation 2943. Up to 2272 conditions per place. [2023-08-29 21:36:21,393 INFO L137 encePairwiseOnDemand]: 239/258 looper letters, 44 selfloop transitions, 2 changer transitions 2/58 dead transitions. [2023-08-29 21:36:21,393 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 49 places, 58 transitions, 228 flow [2023-08-29 21:36:21,393 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:36:21,394 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:36:21,395 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 423 transitions. [2023-08-29 21:36:21,395 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5465116279069767 [2023-08-29 21:36:21,395 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 423 transitions. [2023-08-29 21:36:21,395 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 423 transitions. [2023-08-29 21:36:21,396 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:21,396 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 423 transitions. [2023-08-29 21:36:21,397 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 141.0) internal successors, (423), 3 states have internal predecessors, (423), 0 states have call successors, (0), 0 states have 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,398 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 258.0) internal successors, (1032), 4 states have internal predecessors, (1032), 0 states have call successors, (0), 0 states have 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,402 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 258.0) internal successors, (1032), 4 states have internal predecessors, (1032), 0 states have call successors, (0), 0 states have 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,402 INFO L175 Difference]: Start difference. First operand has 49 places, 60 transitions, 138 flow. Second operand 3 states and 423 transitions. [2023-08-29 21:36:21,402 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 49 places, 58 transitions, 228 flow [2023-08-29 21:36:21,405 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 49 places, 58 transitions, 228 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:36:21,406 INFO L231 Difference]: Finished difference. Result has 49 places, 42 transitions, 102 flow [2023-08-29 21:36:21,407 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=258, PETRI_DIFFERENCE_MINUEND_FLOW=106, PETRI_DIFFERENCE_MINUEND_PLACES=47, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=44, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=42, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=102, PETRI_PLACES=49, PETRI_TRANSITIONS=42} [2023-08-29 21:36:21,410 INFO L281 CegarLoopForPetriNet]: 49 programPoint places, 0 predicate places. [2023-08-29 21:36:21,410 INFO L495 AbstractCegarLoop]: Abstraction has has 49 places, 42 transitions, 102 flow [2023-08-29 21:36:21,410 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 116.66666666666667) internal successors, (350), 3 states have internal predecessors, (350), 0 states have call successors, (0), 0 states have 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,411 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:21,411 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:36:21,411 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-08-29 21:36:21,411 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:36:21,411 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:21,412 INFO L85 PathProgramCache]: Analyzing trace with hash 26564, now seen corresponding path program 1 times [2023-08-29 21:36:21,412 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:21,412 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1259252632] [2023-08-29 21:36:21,412 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:21,412 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:21,418 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:21,462 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,463 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:21,463 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1259252632] [2023-08-29 21:36:21,463 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1259252632] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:21,463 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:21,463 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:21,464 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [372034387] [2023-08-29 21:36:21,464 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:21,464 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:21,464 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:21,465 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:21,466 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:21,492 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 119 out of 258 [2023-08-29 21:36:21,494 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 49 places, 42 transitions, 102 flow. Second operand has 3 states, 3 states have (on average 119.66666666666667) internal successors, (359), 3 states have internal predecessors, (359), 0 states have call successors, (0), 0 states have 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,494 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:21,494 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 119 of 258 [2023-08-29 21:36:21,495 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:21,742 INFO L130 PetriNetUnfolder]: 1500/2741 cut-off events. [2023-08-29 21:36:21,742 INFO L131 PetriNetUnfolder]: For 91/91 co-relation queries the response was YES. [2023-08-29 21:36:21,745 INFO L83 FinitePrefix]: Finished finitePrefix Result has 5337 conditions, 2741 events. 1500/2741 cut-off events. For 91/91 co-relation queries the response was YES. Maximal size of possible extension queue 117. Compared 16745 event pairs, 1357 based on Foata normal form. 0/2417 useless extension candidates. Maximal degree in co-relation 4827. Up to 2461 conditions per place. [2023-08-29 21:36:21,754 INFO L137 encePairwiseOnDemand]: 254/258 looper letters, 38 selfloop transitions, 2 changer transitions 0/50 dead transitions. [2023-08-29 21:36:21,754 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 49 places, 50 transitions, 198 flow [2023-08-29 21:36:21,755 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:36:21,756 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:36:21,757 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 399 transitions. [2023-08-29 21:36:21,757 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5155038759689923 [2023-08-29 21:36:21,757 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 399 transitions. [2023-08-29 21:36:21,757 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 399 transitions. [2023-08-29 21:36:21,757 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:21,758 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 399 transitions. [2023-08-29 21:36:21,758 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 133.0) internal successors, (399), 3 states have internal predecessors, (399), 0 states have call successors, (0), 0 states have 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,760 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 258.0) internal successors, (1032), 4 states have internal predecessors, (1032), 0 states have call successors, (0), 0 states have 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,761 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 258.0) internal successors, (1032), 4 states have internal predecessors, (1032), 0 states have call successors, (0), 0 states have 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,761 INFO L175 Difference]: Start difference. First operand has 49 places, 42 transitions, 102 flow. Second operand 3 states and 399 transitions. [2023-08-29 21:36:21,761 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 49 places, 50 transitions, 198 flow [2023-08-29 21:36:21,764 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 46 places, 50 transitions, 192 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-08-29 21:36:21,765 INFO L231 Difference]: Finished difference. Result has 47 places, 43 transitions, 110 flow [2023-08-29 21:36:21,766 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=258, PETRI_DIFFERENCE_MINUEND_FLOW=96, PETRI_DIFFERENCE_MINUEND_PLACES=44, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=42, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=40, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=110, PETRI_PLACES=47, PETRI_TRANSITIONS=43} [2023-08-29 21:36:21,767 INFO L281 CegarLoopForPetriNet]: 49 programPoint places, -2 predicate places. [2023-08-29 21:36:21,767 INFO L495 AbstractCegarLoop]: Abstraction has has 47 places, 43 transitions, 110 flow [2023-08-29 21:36:21,768 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 119.66666666666667) internal successors, (359), 3 states have internal predecessors, (359), 0 states have call successors, (0), 0 states have 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,768 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:21,768 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-08-29 21:36:21,768 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-08-29 21:36:21,769 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:36:21,770 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:21,770 INFO L85 PathProgramCache]: Analyzing trace with hash -1218213413, now seen corresponding path program 1 times [2023-08-29 21:36:21,770 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:21,772 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1363436427] [2023-08-29 21:36:21,772 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:21,773 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:21,782 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:21,863 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:21,863 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:21,864 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1363436427] [2023-08-29 21:36:21,864 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1363436427] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:36:21,864 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [554789733] [2023-08-29 21:36:21,865 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:21,865 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:36:21,865 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:36:21,869 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:36:21,880 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:36:21,934 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:21,935 INFO L263 TraceCheckSpWp]: Trace formula consists of 112 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:36:21,937 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:36:21,956 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,005 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,006 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:36:22,051 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,051 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [554789733] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:36:22,052 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:36:22,052 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 6 [2023-08-29 21:36:22,052 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [493221141] [2023-08-29 21:36:22,052 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:36:22,052 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2023-08-29 21:36:22,053 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:22,053 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2023-08-29 21:36:22,053 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=36, Unknown=0, NotChecked=0, Total=56 [2023-08-29 21:36:22,143 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 115 out of 258 [2023-08-29 21:36:22,144 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 47 places, 43 transitions, 110 flow. Second operand has 8 states, 8 states have (on average 116.875) internal successors, (935), 8 states have internal predecessors, (935), 0 states have call successors, (0), 0 states have 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,145 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:22,145 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 115 of 258 [2023-08-29 21:36:22,145 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:22,298 INFO L130 PetriNetUnfolder]: 286/532 cut-off events. [2023-08-29 21:36:22,299 INFO L131 PetriNetUnfolder]: For 77/77 co-relation queries the response was YES. [2023-08-29 21:36:22,300 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1130 conditions, 532 events. 286/532 cut-off events. For 77/77 co-relation queries the response was YES. Maximal size of possible extension queue 32. Compared 2471 event pairs, 0 based on Foata normal form. 70/601 useless extension candidates. Maximal degree in co-relation 163. Up to 346 conditions per place. [2023-08-29 21:36:22,300 INFO L137 encePairwiseOnDemand]: 254/258 looper letters, 0 selfloop transitions, 0 changer transitions 51/51 dead transitions. [2023-08-29 21:36:22,300 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 39 places, 51 transitions, 201 flow [2023-08-29 21:36:22,301 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2023-08-29 21:36:22,301 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2023-08-29 21:36:22,302 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 621 transitions. [2023-08-29 21:36:22,302 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4813953488372093 [2023-08-29 21:36:22,303 INFO L72 ComplementDD]: Start complementDD. Operand 5 states and 621 transitions. [2023-08-29 21:36:22,303 INFO L73 IsDeterministic]: Start isDeterministic. Operand 5 states and 621 transitions. [2023-08-29 21:36:22,303 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:22,303 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 5 states and 621 transitions. [2023-08-29 21:36:22,305 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 6 states, 5 states have (on average 124.2) internal successors, (621), 5 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:22,307 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 6 states, 6 states have (on average 258.0) internal successors, (1548), 6 states have internal predecessors, (1548), 0 states have call successors, (0), 0 states have 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,307 INFO L81 ComplementDD]: Finished complementDD. Result has 6 states, 6 states have (on average 258.0) internal successors, (1548), 6 states have internal predecessors, (1548), 0 states have call successors, (0), 0 states have 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,307 INFO L175 Difference]: Start difference. First operand has 47 places, 43 transitions, 110 flow. Second operand 5 states and 621 transitions. [2023-08-29 21:36:22,307 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 39 places, 51 transitions, 201 flow [2023-08-29 21:36:22,309 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 38 places, 51 transitions, 199 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 21:36:22,309 INFO L231 Difference]: Finished difference. Result has 38 places, 0 transitions, 0 flow [2023-08-29 21:36:22,309 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=258, PETRI_DIFFERENCE_MINUEND_FLOW=71, PETRI_DIFFERENCE_MINUEND_PLACES=34, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=29, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=29, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=0, PETRI_PLACES=38, PETRI_TRANSITIONS=0} [2023-08-29 21:36:22,311 INFO L281 CegarLoopForPetriNet]: 49 programPoint places, -11 predicate places. [2023-08-29 21:36:22,311 INFO L495 AbstractCegarLoop]: Abstraction has has 38 places, 0 transitions, 0 flow [2023-08-29 21:36:22,312 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 116.875) internal successors, (935), 8 states have internal predecessors, (935), 0 states have call successors, (0), 0 states have 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,312 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2023-08-29 21:36:22,312 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-08-29 21:36:22,312 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 21:36:22,312 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-08-29 21:36:22,313 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 6 remaining) [2023-08-29 21:36:22,313 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 21:36:22,321 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Forceful destruction successful, exit code 0 [2023-08-29 21:36:22,518 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:36:22,518 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 21:36:22,519 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:36:22,520 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 132 places, 146 transitions, 310 flow [2023-08-29 21:36:22,539 INFO L130 PetriNetUnfolder]: 31/255 cut-off events. [2023-08-29 21:36:22,539 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:36:22,540 INFO L83 FinitePrefix]: Finished finitePrefix Result has 269 conditions, 255 events. 31/255 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 735 event pairs, 0 based on Foata normal form. 0/199 useless extension candidates. Maximal degree in co-relation 158. Up to 8 conditions per place. [2023-08-29 21:36:22,540 INFO L82 GeneralOperation]: Start removeDead. Operand has 132 places, 146 transitions, 310 flow [2023-08-29 21:36:22,541 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 132 places, 146 transitions, 310 flow [2023-08-29 21:36:22,541 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:36:22,542 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 132 places, 146 transitions, 310 flow [2023-08-29 21:36:22,542 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 132 places, 146 transitions, 310 flow [2023-08-29 21:36:22,542 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 132 places, 146 transitions, 310 flow [2023-08-29 21:36:22,559 INFO L130 PetriNetUnfolder]: 31/255 cut-off events. [2023-08-29 21:36:22,560 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:36:22,561 INFO L83 FinitePrefix]: Finished finitePrefix Result has 269 conditions, 255 events. 31/255 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 735 event pairs, 0 based on Foata normal form. 0/199 useless extension candidates. Maximal degree in co-relation 158. Up to 8 conditions per place. [2023-08-29 21:36:22,565 INFO L119 LiptonReduction]: Number of co-enabled transitions 7336 [2023-08-29 21:36:25,165 INFO L134 LiptonReduction]: Checked pairs total: 18947 [2023-08-29 21:36:25,165 INFO L136 LiptonReduction]: Total number of compositions: 112 [2023-08-29 21:36:25,167 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:36:25,167 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;@6bb4256b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:36:25,168 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:36:25,172 INFO L130 PetriNetUnfolder]: 10/66 cut-off events. [2023-08-29 21:36:25,173 INFO L131 PetriNetUnfolder]: For 3/3 co-relation queries the response was YES. [2023-08-29 21:36:25,173 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:25,173 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1] [2023-08-29 21:36:25,173 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:36:25,173 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:25,173 INFO L85 PathProgramCache]: Analyzing trace with hash 802542929, now seen corresponding path program 1 times [2023-08-29 21:36:25,174 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:25,174 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [975706611] [2023-08-29 21:36:25,174 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:25,174 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:25,188 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:36:25,189 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:36:25,196 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:36:25,201 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:36:25,201 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:36:25,201 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:36:25,202 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-08-29 21:36:25,202 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:36:25,202 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:36:25,202 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:36:25,202 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-08-29 21:36:25,218 INFO L144 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2023-08-29 21:36:25,219 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 157 places, 176 transitions, 382 flow [2023-08-29 21:36:25,253 INFO L130 PetriNetUnfolder]: 50/395 cut-off events. [2023-08-29 21:36:25,254 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:36:25,255 INFO L83 FinitePrefix]: Finished finitePrefix Result has 423 conditions, 395 events. 50/395 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 1331 event pairs, 1 based on Foata normal form. 0/305 useless extension candidates. Maximal degree in co-relation 263. Up to 16 conditions per place. [2023-08-29 21:36:25,255 INFO L82 GeneralOperation]: Start removeDead. Operand has 157 places, 176 transitions, 382 flow [2023-08-29 21:36:25,258 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 157 places, 176 transitions, 382 flow [2023-08-29 21:36:25,258 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:36:25,258 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 157 places, 176 transitions, 382 flow [2023-08-29 21:36:25,258 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 157 places, 176 transitions, 382 flow [2023-08-29 21:36:25,259 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 157 places, 176 transitions, 382 flow [2023-08-29 21:36:25,286 INFO L130 PetriNetUnfolder]: 50/395 cut-off events. [2023-08-29 21:36:25,286 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:36:25,288 INFO L83 FinitePrefix]: Finished finitePrefix Result has 423 conditions, 395 events. 50/395 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 1331 event pairs, 1 based on Foata normal form. 0/305 useless extension candidates. Maximal degree in co-relation 263. Up to 16 conditions per place. [2023-08-29 21:36:25,299 INFO L119 LiptonReduction]: Number of co-enabled transitions 13608 [2023-08-29 21:36:27,853 INFO L134 LiptonReduction]: Checked pairs total: 39910 [2023-08-29 21:36:27,853 INFO L136 LiptonReduction]: Total number of compositions: 124 [2023-08-29 21:36:27,855 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:36:27,855 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;@6bb4256b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:36:27,855 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:36:27,856 INFO L130 PetriNetUnfolder]: 0/3 cut-off events. [2023-08-29 21:36:27,856 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:36:27,856 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:27,856 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:36:27,856 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:36:27,857 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:27,857 INFO L85 PathProgramCache]: Analyzing trace with hash 40711, now seen corresponding path program 1 times [2023-08-29 21:36:27,857 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:27,857 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1292816486] [2023-08-29 21:36:27,857 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:27,857 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:27,873 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:27,890 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:27,891 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:27,891 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1292816486] [2023-08-29 21:36:27,891 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1292816486] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:27,891 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:27,891 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:27,891 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2047736073] [2023-08-29 21:36:27,892 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:27,892 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:27,892 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:27,892 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:27,893 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:27,914 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 138 out of 300 [2023-08-29 21:36:27,914 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 64 places, 81 transitions, 192 flow. Second operand has 3 states, 3 states have (on average 138.66666666666666) internal successors, (416), 3 states have internal predecessors, (416), 0 states have call successors, (0), 0 states have 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:27,915 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:27,915 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 138 of 300 [2023-08-29 21:36:27,915 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:31,288 INFO L130 PetriNetUnfolder]: 32808/48563 cut-off events. [2023-08-29 21:36:31,289 INFO L131 PetriNetUnfolder]: For 1039/1039 co-relation queries the response was YES. [2023-08-29 21:36:31,336 INFO L83 FinitePrefix]: Finished finitePrefix Result has 95562 conditions, 48563 events. 32808/48563 cut-off events. For 1039/1039 co-relation queries the response was YES. Maximal size of possible extension queue 1312. Compared 344066 event pairs, 27897 based on Foata normal form. 10576/52270 useless extension candidates. Maximal degree in co-relation 22579. Up to 39478 conditions per place. [2023-08-29 21:36:31,503 INFO L137 encePairwiseOnDemand]: 274/300 looper letters, 66 selfloop transitions, 2 changer transitions 3/82 dead transitions. [2023-08-29 21:36:31,504 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 64 places, 82 transitions, 334 flow [2023-08-29 21:36:31,504 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:36:31,504 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:36:31,505 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 525 transitions. [2023-08-29 21:36:31,506 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5833333333333334 [2023-08-29 21:36:31,506 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 525 transitions. [2023-08-29 21:36:31,506 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 525 transitions. [2023-08-29 21:36:31,507 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:31,507 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 525 transitions. [2023-08-29 21:36:31,508 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:36:31,509 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 300.0) internal successors, (1200), 4 states have internal predecessors, (1200), 0 states have call successors, (0), 0 states have 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:31,510 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 300.0) internal successors, (1200), 4 states have internal predecessors, (1200), 0 states have call successors, (0), 0 states have 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:31,510 INFO L175 Difference]: Start difference. First operand has 64 places, 81 transitions, 192 flow. Second operand 3 states and 525 transitions. [2023-08-29 21:36:31,510 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 64 places, 82 transitions, 334 flow [2023-08-29 21:36:31,513 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 64 places, 82 transitions, 334 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:36:31,514 INFO L231 Difference]: Finished difference. Result has 64 places, 55 transitions, 138 flow [2023-08-29 21:36:31,515 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=300, PETRI_DIFFERENCE_MINUEND_FLOW=146, PETRI_DIFFERENCE_MINUEND_PLACES=62, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=58, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=56, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=138, PETRI_PLACES=64, PETRI_TRANSITIONS=55} [2023-08-29 21:36:31,515 INFO L281 CegarLoopForPetriNet]: 64 programPoint places, 0 predicate places. [2023-08-29 21:36:31,515 INFO L495 AbstractCegarLoop]: Abstraction has has 64 places, 55 transitions, 138 flow [2023-08-29 21:36:31,516 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 138.66666666666666) internal successors, (416), 3 states have internal predecessors, (416), 0 states have call successors, (0), 0 states have 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:31,516 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:31,516 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:36:31,516 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-08-29 21:36:31,517 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:36:31,517 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:31,517 INFO L85 PathProgramCache]: Analyzing trace with hash 40713, now seen corresponding path program 1 times [2023-08-29 21:36:31,517 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:31,517 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1609257025] [2023-08-29 21:36:31,518 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:31,518 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:31,525 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:31,563 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:31,563 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:31,563 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1609257025] [2023-08-29 21:36:31,563 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1609257025] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:31,563 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:31,564 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:31,564 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1829136549] [2023-08-29 21:36:31,564 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:31,564 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:31,565 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:31,565 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:31,565 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:31,594 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 141 out of 300 [2023-08-29 21:36:31,595 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 64 places, 55 transitions, 138 flow. Second operand has 3 states, 3 states have (on average 141.66666666666666) internal successors, (425), 3 states have internal predecessors, (425), 0 states have call successors, (0), 0 states have 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:31,595 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:31,596 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 141 of 300 [2023-08-29 21:36:31,596 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:33,747 INFO L130 PetriNetUnfolder]: 28311/42206 cut-off events. [2023-08-29 21:36:33,748 INFO L131 PetriNetUnfolder]: For 1760/1760 co-relation queries the response was YES. [2023-08-29 21:36:33,790 INFO L83 FinitePrefix]: Finished finitePrefix Result has 83821 conditions, 42206 events. 28311/42206 cut-off events. For 1760/1760 co-relation queries the response was YES. Maximal size of possible extension queue 1134. Compared 292342 event pairs, 26957 based on Foata normal form. 0/38392 useless extension candidates. Maximal degree in co-relation 75865. Up to 39945 conditions per place. [2023-08-29 21:36:34,227 INFO L137 encePairwiseOnDemand]: 296/300 looper letters, 52 selfloop transitions, 2 changer transitions 0/65 dead transitions. [2023-08-29 21:36:34,227 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 63 places, 65 transitions, 266 flow [2023-08-29 21:36:34,228 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:36:34,228 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:36:34,230 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 479 transitions. [2023-08-29 21:36:34,230 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5322222222222223 [2023-08-29 21:36:34,230 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 479 transitions. [2023-08-29 21:36:34,231 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 479 transitions. [2023-08-29 21:36:34,233 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:34,233 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 479 transitions. [2023-08-29 21:36:34,234 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 159.66666666666666) internal successors, (479), 3 states have internal predecessors, (479), 0 states have call successors, (0), 0 states have 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:34,238 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 300.0) internal successors, (1200), 4 states have internal predecessors, (1200), 0 states have call successors, (0), 0 states have 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:34,239 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 300.0) internal successors, (1200), 4 states have internal predecessors, (1200), 0 states have call successors, (0), 0 states have 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:34,239 INFO L175 Difference]: Start difference. First operand has 64 places, 55 transitions, 138 flow. Second operand 3 states and 479 transitions. [2023-08-29 21:36:34,239 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 63 places, 65 transitions, 266 flow [2023-08-29 21:36:34,302 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 60 places, 65 transitions, 260 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-08-29 21:36:34,305 INFO L231 Difference]: Finished difference. Result has 61 places, 56 transitions, 146 flow [2023-08-29 21:36:34,305 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=300, PETRI_DIFFERENCE_MINUEND_FLOW=132, PETRI_DIFFERENCE_MINUEND_PLACES=58, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=55, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=53, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=146, PETRI_PLACES=61, PETRI_TRANSITIONS=56} [2023-08-29 21:36:34,306 INFO L281 CegarLoopForPetriNet]: 64 programPoint places, -3 predicate places. [2023-08-29 21:36:34,306 INFO L495 AbstractCegarLoop]: Abstraction has has 61 places, 56 transitions, 146 flow [2023-08-29 21:36:34,307 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 141.66666666666666) internal successors, (425), 3 states have internal predecessors, (425), 0 states have call successors, (0), 0 states have 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:34,307 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:34,307 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-08-29 21:36:34,307 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2023-08-29 21:36:34,307 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:36:34,308 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:34,308 INFO L85 PathProgramCache]: Analyzing trace with hash -1022143775, now seen corresponding path program 1 times [2023-08-29 21:36:34,308 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:34,308 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [265864104] [2023-08-29 21:36:34,308 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:34,309 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:34,317 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:34,394 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:34,394 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:34,394 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [265864104] [2023-08-29 21:36:34,395 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [265864104] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:36:34,395 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [763948381] [2023-08-29 21:36:34,395 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:34,395 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:36:34,395 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:36:34,396 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:36:34,399 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:36:34,465 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:34,466 INFO L263 TraceCheckSpWp]: Trace formula consists of 112 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:36:34,467 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:36:34,486 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:34,517 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:34,517 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:36:34,551 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:34,551 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [763948381] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:36:34,551 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:36:34,551 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 5 [2023-08-29 21:36:34,551 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1184808873] [2023-08-29 21:36:34,551 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:36:34,552 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2023-08-29 21:36:34,552 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:34,552 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2023-08-29 21:36:34,552 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=18, Invalid=24, Unknown=0, NotChecked=0, Total=42 [2023-08-29 21:36:34,628 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 138 out of 300 [2023-08-29 21:36:34,630 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 61 places, 56 transitions, 146 flow. Second operand has 7 states, 7 states have (on average 139.71428571428572) internal successors, (978), 7 states have internal predecessors, (978), 0 states have call successors, (0), 0 states have 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:34,630 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:34,630 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 138 of 300 [2023-08-29 21:36:34,630 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:36,668 INFO L130 PetriNetUnfolder]: 26682/38354 cut-off events. [2023-08-29 21:36:36,669 INFO L131 PetriNetUnfolder]: For 1522/1522 co-relation queries the response was YES. [2023-08-29 21:36:36,707 INFO L83 FinitePrefix]: Finished finitePrefix Result has 78373 conditions, 38354 events. 26682/38354 cut-off events. For 1522/1522 co-relation queries the response was YES. Maximal size of possible extension queue 1025. Compared 259227 event pairs, 1192 based on Foata normal form. 9/35334 useless extension candidates. Maximal degree in co-relation 9325. Up to 29667 conditions per place. [2023-08-29 21:36:36,819 INFO L137 encePairwiseOnDemand]: 295/300 looper letters, 125 selfloop transitions, 6 changer transitions 1/143 dead transitions. [2023-08-29 21:36:36,819 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 65 places, 143 transitions, 592 flow [2023-08-29 21:36:36,820 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-08-29 21:36:36,820 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2023-08-29 21:36:36,822 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 964 transitions. [2023-08-29 21:36:36,825 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5355555555555556 [2023-08-29 21:36:36,825 INFO L72 ComplementDD]: Start complementDD. Operand 6 states and 964 transitions. [2023-08-29 21:36:36,825 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6 states and 964 transitions. [2023-08-29 21:36:36,826 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:36,826 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 6 states and 964 transitions. [2023-08-29 21:36:36,829 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 7 states, 6 states have (on average 160.66666666666666) internal successors, (964), 6 states have internal predecessors, (964), 0 states have call successors, (0), 0 states have 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:36,832 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 7 states, 7 states have (on average 300.0) internal successors, (2100), 7 states have internal predecessors, (2100), 0 states have call successors, (0), 0 states have 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:36,832 INFO L81 ComplementDD]: Finished complementDD. Result has 7 states, 7 states have (on average 300.0) internal successors, (2100), 7 states have internal predecessors, (2100), 0 states have call successors, (0), 0 states have 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:36,832 INFO L175 Difference]: Start difference. First operand has 61 places, 56 transitions, 146 flow. Second operand 6 states and 964 transitions. [2023-08-29 21:36:36,832 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 65 places, 143 transitions, 592 flow [2023-08-29 21:36:36,838 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 64 places, 143 transitions, 590 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 21:36:36,840 INFO L231 Difference]: Finished difference. Result has 65 places, 57 transitions, 162 flow [2023-08-29 21:36:36,840 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=300, PETRI_DIFFERENCE_MINUEND_FLOW=140, PETRI_DIFFERENCE_MINUEND_PLACES=59, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=55, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=51, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=162, PETRI_PLACES=65, PETRI_TRANSITIONS=57} [2023-08-29 21:36:36,841 INFO L281 CegarLoopForPetriNet]: 64 programPoint places, 1 predicate places. [2023-08-29 21:36:36,841 INFO L495 AbstractCegarLoop]: Abstraction has has 65 places, 57 transitions, 162 flow [2023-08-29 21:36:36,842 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 139.71428571428572) internal successors, (978), 7 states have internal predecessors, (978), 0 states have call successors, (0), 0 states have 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:36,842 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:36,842 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 2, 1, 1, 1, 1, 1, 1] [2023-08-29 21:36:36,850 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:36:37,050 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:36:37,050 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:36:37,051 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:37,051 INFO L85 PathProgramCache]: Analyzing trace with hash -1736303789, now seen corresponding path program 1 times [2023-08-29 21:36:37,051 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:37,051 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1079811385] [2023-08-29 21:36:37,051 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:37,051 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:37,062 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:37,119 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 6 trivial. 0 not checked. [2023-08-29 21:36:37,119 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:37,119 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1079811385] [2023-08-29 21:36:37,119 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1079811385] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:37,119 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:37,119 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:37,120 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1093248514] [2023-08-29 21:36:37,120 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:37,120 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:37,121 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:37,121 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:37,121 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:37,137 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 139 out of 300 [2023-08-29 21:36:37,138 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 65 places, 57 transitions, 162 flow. Second operand has 3 states, 3 states have (on average 141.66666666666666) internal successors, (425), 3 states have internal predecessors, (425), 0 states have call successors, (0), 0 states have 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:37,138 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:37,138 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 139 of 300 [2023-08-29 21:36:37,138 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:39,371 INFO L130 PetriNetUnfolder]: 26592/39599 cut-off events. [2023-08-29 21:36:39,372 INFO L131 PetriNetUnfolder]: For 6638/6638 co-relation queries the response was YES. [2023-08-29 21:36:39,404 INFO L83 FinitePrefix]: Finished finitePrefix Result has 82304 conditions, 39599 events. 26592/39599 cut-off events. For 6638/6638 co-relation queries the response was YES. Maximal size of possible extension queue 1048. Compared 270863 event pairs, 11377 based on Foata normal form. 0/37675 useless extension candidates. Maximal degree in co-relation 43707. Up to 36552 conditions per place. [2023-08-29 21:36:39,487 INFO L137 encePairwiseOnDemand]: 295/300 looper letters, 66 selfloop transitions, 4 changer transitions 0/81 dead transitions. [2023-08-29 21:36:39,487 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 67 places, 81 transitions, 383 flow [2023-08-29 21:36:39,487 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:36:39,487 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:36:39,488 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 482 transitions. [2023-08-29 21:36:39,489 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5355555555555556 [2023-08-29 21:36:39,489 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 482 transitions. [2023-08-29 21:36:39,489 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 482 transitions. [2023-08-29 21:36:39,489 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:39,489 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 482 transitions. [2023-08-29 21:36:39,490 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 160.66666666666666) internal successors, (482), 3 states have internal predecessors, (482), 0 states have call successors, (0), 0 states have 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:39,491 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 300.0) internal successors, (1200), 4 states have internal predecessors, (1200), 0 states have call successors, (0), 0 states have 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:39,491 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 300.0) internal successors, (1200), 4 states have internal predecessors, (1200), 0 states have call successors, (0), 0 states have 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:39,491 INFO L175 Difference]: Start difference. First operand has 65 places, 57 transitions, 162 flow. Second operand 3 states and 482 transitions. [2023-08-29 21:36:39,492 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 67 places, 81 transitions, 383 flow [2023-08-29 21:36:39,495 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 65 places, 81 transitions, 371 flow, removed 2 selfloop flow, removed 2 redundant places. [2023-08-29 21:36:39,496 INFO L231 Difference]: Finished difference. Result has 66 places, 60 transitions, 181 flow [2023-08-29 21:36:39,497 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=300, PETRI_DIFFERENCE_MINUEND_FLOW=155, PETRI_DIFFERENCE_MINUEND_PLACES=63, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=57, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=53, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=181, PETRI_PLACES=66, PETRI_TRANSITIONS=60} [2023-08-29 21:36:39,497 INFO L281 CegarLoopForPetriNet]: 64 programPoint places, 2 predicate places. [2023-08-29 21:36:39,497 INFO L495 AbstractCegarLoop]: Abstraction has has 66 places, 60 transitions, 181 flow [2023-08-29 21:36:39,498 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 141.66666666666666) internal successors, (425), 3 states have internal predecessors, (425), 0 states have call successors, (0), 0 states have 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:39,498 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:39,498 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-29 21:36:39,498 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2023-08-29 21:36:39,498 INFO L420 AbstractCegarLoop]: === Iteration 5 === Targeting ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:36:39,498 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:39,499 INFO L85 PathProgramCache]: Analyzing trace with hash -1937262986, now seen corresponding path program 1 times [2023-08-29 21:36:39,499 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:39,499 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2017743051] [2023-08-29 21:36:39,499 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:39,499 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:39,515 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:39,579 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 6 trivial. 0 not checked. [2023-08-29 21:36:39,580 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:39,580 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2017743051] [2023-08-29 21:36:39,580 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2017743051] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:39,580 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:39,580 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-08-29 21:36:39,580 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1413944697] [2023-08-29 21:36:39,580 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:39,581 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-08-29 21:36:39,581 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:39,581 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-08-29 21:36:39,581 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2023-08-29 21:36:39,622 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 139 out of 300 [2023-08-29 21:36:39,623 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 66 places, 60 transitions, 181 flow. Second operand has 4 states, 4 states have (on average 141.75) internal successors, (567), 4 states have internal predecessors, (567), 0 states have call successors, (0), 0 states have 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:39,623 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:39,623 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 139 of 300 [2023-08-29 21:36:39,623 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:41,676 INFO L130 PetriNetUnfolder]: 22470/33324 cut-off events. [2023-08-29 21:36:41,676 INFO L131 PetriNetUnfolder]: For 8720/8753 co-relation queries the response was YES. [2023-08-29 21:36:41,708 INFO L83 FinitePrefix]: Finished finitePrefix Result has 73126 conditions, 33324 events. 22470/33324 cut-off events. For 8720/8753 co-relation queries the response was YES. Maximal size of possible extension queue 880. Compared 224834 event pairs, 16504 based on Foata normal form. 810/33680 useless extension candidates. Maximal degree in co-relation 35213. Up to 24743 conditions per place. [2023-08-29 21:36:41,808 INFO L137 encePairwiseOnDemand]: 295/300 looper letters, 100 selfloop transitions, 5 changer transitions 0/116 dead transitions. [2023-08-29 21:36:41,808 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 69 places, 116 transitions, 532 flow [2023-08-29 21:36:41,808 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-08-29 21:36:41,809 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-08-29 21:36:41,810 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 654 transitions. [2023-08-29 21:36:41,810 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.545 [2023-08-29 21:36:41,811 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 654 transitions. [2023-08-29 21:36:41,811 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 654 transitions. [2023-08-29 21:36:41,811 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:41,811 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 654 transitions. [2023-08-29 21:36:41,813 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 163.5) internal successors, (654), 4 states have internal predecessors, (654), 0 states have call successors, (0), 0 states have 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:41,814 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 300.0) internal successors, (1500), 5 states have internal predecessors, (1500), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:41,815 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 300.0) internal successors, (1500), 5 states have internal predecessors, (1500), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:41,815 INFO L175 Difference]: Start difference. First operand has 66 places, 60 transitions, 181 flow. Second operand 4 states and 654 transitions. [2023-08-29 21:36:41,815 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 69 places, 116 transitions, 532 flow [2023-08-29 21:36:41,821 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 68 places, 116 transitions, 525 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 21:36:41,823 INFO L231 Difference]: Finished difference. Result has 69 places, 61 transitions, 195 flow [2023-08-29 21:36:41,823 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=300, PETRI_DIFFERENCE_MINUEND_FLOW=177, PETRI_DIFFERENCE_MINUEND_PLACES=65, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=60, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=55, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=195, PETRI_PLACES=69, PETRI_TRANSITIONS=61} [2023-08-29 21:36:41,824 INFO L281 CegarLoopForPetriNet]: 64 programPoint places, 5 predicate places. [2023-08-29 21:36:41,824 INFO L495 AbstractCegarLoop]: Abstraction has has 69 places, 61 transitions, 195 flow [2023-08-29 21:36:41,824 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 141.75) internal successors, (567), 4 states have internal predecessors, (567), 0 states have call successors, (0), 0 states have 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:41,824 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:41,824 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-29 21:36:41,825 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable12 [2023-08-29 21:36:41,825 INFO L420 AbstractCegarLoop]: === Iteration 6 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:36:41,825 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:41,825 INFO L85 PathProgramCache]: Analyzing trace with hash -217130623, now seen corresponding path program 1 times [2023-08-29 21:36:41,825 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:41,825 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1632569865] [2023-08-29 21:36:41,826 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:41,826 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:41,835 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:41,867 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:36:41,867 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:41,867 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1632569865] [2023-08-29 21:36:41,867 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1632569865] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:36:41,867 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1084127429] [2023-08-29 21:36:41,868 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:41,868 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:36:41,868 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:36:41,869 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-08-29 21:36:41,895 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Waiting until timeout for monitored process [2023-08-29 21:36:41,948 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:41,950 INFO L263 TraceCheckSpWp]: Trace formula consists of 170 conjuncts, 4 conjunts are in the unsatisfiable core [2023-08-29 21:36:41,951 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:36:41,978 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:36:41,978 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:36:42,011 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:36:42,011 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1084127429] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:36:42,012 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:36:42,012 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [4, 4, 4] total 8 [2023-08-29 21:36:42,012 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [100853978] [2023-08-29 21:36:42,012 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:36:42,012 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2023-08-29 21:36:42,013 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:42,013 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2023-08-29 21:36:42,014 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=36, Invalid=36, Unknown=0, NotChecked=0, Total=72 [2023-08-29 21:36:42,038 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 141 out of 300 [2023-08-29 21:36:42,039 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 69 places, 61 transitions, 195 flow. Second operand has 9 states, 9 states have (on average 144.11111111111111) internal successors, (1297), 9 states have internal predecessors, (1297), 0 states have call successors, (0), 0 states have 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:42,040 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:42,040 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 141 of 300 [2023-08-29 21:36:42,040 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:42,487 INFO L130 PetriNetUnfolder]: 5560/8226 cut-off events. [2023-08-29 21:36:42,487 INFO L131 PetriNetUnfolder]: For 3658/3664 co-relation queries the response was YES. [2023-08-29 21:36:42,501 INFO L83 FinitePrefix]: Finished finitePrefix Result has 18954 conditions, 8226 events. 5560/8226 cut-off events. For 3658/3664 co-relation queries the response was YES. Maximal size of possible extension queue 273. Compared 46921 event pairs, 676 based on Foata normal form. 810/9034 useless extension candidates. Maximal degree in co-relation 18944. Up to 5346 conditions per place. [2023-08-29 21:36:42,508 INFO L137 encePairwiseOnDemand]: 297/300 looper letters, 0 selfloop transitions, 0 changer transitions 101/101 dead transitions. [2023-08-29 21:36:42,508 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 62 places, 101 transitions, 449 flow [2023-08-29 21:36:42,508 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-08-29 21:36:42,508 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2023-08-29 21:36:42,510 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 931 transitions. [2023-08-29 21:36:42,511 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5172222222222222 [2023-08-29 21:36:42,511 INFO L72 ComplementDD]: Start complementDD. Operand 6 states and 931 transitions. [2023-08-29 21:36:42,511 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6 states and 931 transitions. [2023-08-29 21:36:42,512 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:42,512 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 6 states and 931 transitions. [2023-08-29 21:36:42,514 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 7 states, 6 states have (on average 155.16666666666666) internal successors, (931), 6 states have internal predecessors, (931), 0 states have call successors, (0), 0 states have 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:42,516 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 7 states, 7 states have (on average 300.0) internal successors, (2100), 7 states have internal predecessors, (2100), 0 states have call successors, (0), 0 states have 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:42,517 INFO L81 ComplementDD]: Finished complementDD. Result has 7 states, 7 states have (on average 300.0) internal successors, (2100), 7 states have internal predecessors, (2100), 0 states have call successors, (0), 0 states have 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:42,517 INFO L175 Difference]: Start difference. First operand has 69 places, 61 transitions, 195 flow. Second operand 6 states and 931 transitions. [2023-08-29 21:36:42,517 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 62 places, 101 transitions, 449 flow [2023-08-29 21:36:42,522 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 59 places, 101 transitions, 440 flow, removed 2 selfloop flow, removed 3 redundant places. [2023-08-29 21:36:42,523 INFO L231 Difference]: Finished difference. Result has 59 places, 0 transitions, 0 flow [2023-08-29 21:36:42,523 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=300, PETRI_DIFFERENCE_MINUEND_FLOW=124, PETRI_DIFFERENCE_MINUEND_PLACES=54, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=45, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=45, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=0, PETRI_PLACES=59, PETRI_TRANSITIONS=0} [2023-08-29 21:36:42,523 INFO L281 CegarLoopForPetriNet]: 64 programPoint places, -5 predicate places. [2023-08-29 21:36:42,524 INFO L495 AbstractCegarLoop]: Abstraction has has 59 places, 0 transitions, 0 flow [2023-08-29 21:36:42,524 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 144.11111111111111) internal successors, (1297), 9 states have internal predecessors, (1297), 0 states have call successors, (0), 0 states have 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:42,524 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2023-08-29 21:36:42,525 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-08-29 21:36:42,525 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 21:36:42,525 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-08-29 21:36:42,525 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 6 remaining) [2023-08-29 21:36:42,525 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 21:36:42,541 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Forceful destruction successful, exit code 0 [2023-08-29 21:36:42,730 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable13,5 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:36:42,730 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1, 1, 1] [2023-08-29 21:36:42,731 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:36:42,732 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 157 places, 176 transitions, 382 flow [2023-08-29 21:36:42,761 INFO L130 PetriNetUnfolder]: 50/395 cut-off events. [2023-08-29 21:36:42,761 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:36:42,763 INFO L83 FinitePrefix]: Finished finitePrefix Result has 423 conditions, 395 events. 50/395 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 1331 event pairs, 1 based on Foata normal form. 0/305 useless extension candidates. Maximal degree in co-relation 263. Up to 16 conditions per place. [2023-08-29 21:36:42,763 INFO L82 GeneralOperation]: Start removeDead. Operand has 157 places, 176 transitions, 382 flow [2023-08-29 21:36:42,765 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 157 places, 176 transitions, 382 flow [2023-08-29 21:36:42,765 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:36:42,765 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 157 places, 176 transitions, 382 flow [2023-08-29 21:36:42,765 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 157 places, 176 transitions, 382 flow [2023-08-29 21:36:42,766 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 157 places, 176 transitions, 382 flow [2023-08-29 21:36:42,793 INFO L130 PetriNetUnfolder]: 50/395 cut-off events. [2023-08-29 21:36:42,793 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:36:42,795 INFO L83 FinitePrefix]: Finished finitePrefix Result has 423 conditions, 395 events. 50/395 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 1331 event pairs, 1 based on Foata normal form. 0/305 useless extension candidates. Maximal degree in co-relation 263. Up to 16 conditions per place. [2023-08-29 21:36:42,803 INFO L119 LiptonReduction]: Number of co-enabled transitions 13608 [2023-08-29 21:36:45,362 INFO L134 LiptonReduction]: Checked pairs total: 39232 [2023-08-29 21:36:45,362 INFO L136 LiptonReduction]: Total number of compositions: 127 [2023-08-29 21:36:45,364 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:36:45,364 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;@6bb4256b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:36:45,364 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:36:45,371 INFO L130 PetriNetUnfolder]: 19/106 cut-off events. [2023-08-29 21:36:45,372 INFO L131 PetriNetUnfolder]: For 10/10 co-relation queries the response was YES. [2023-08-29 21:36:45,372 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:45,372 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 3, 1, 1, 1, 1, 1] [2023-08-29 21:36:45,372 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:36:45,372 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:45,373 INFO L85 PathProgramCache]: Analyzing trace with hash 1358427036, now seen corresponding path program 1 times [2023-08-29 21:36:45,373 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:45,373 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1059668206] [2023-08-29 21:36:45,373 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:45,373 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:45,384 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:36:45,384 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:36:45,390 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:36:45,395 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:36:45,396 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:36:45,396 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:36:45,396 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable14 [2023-08-29 21:36:45,396 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:36:45,397 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:36:45,397 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:36:45,397 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-08-29 21:36:45,413 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-08-29 21:36:45,415 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 182 places, 206 transitions, 456 flow [2023-08-29 21:36:45,470 INFO L130 PetriNetUnfolder]: 81/619 cut-off events. [2023-08-29 21:36:45,470 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:36:45,475 INFO L83 FinitePrefix]: Finished finitePrefix Result has 674 conditions, 619 events. 81/619 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 15. Compared 2497 event pairs, 6 based on Foata normal form. 0/475 useless extension candidates. Maximal degree in co-relation 415. Up to 32 conditions per place. [2023-08-29 21:36:45,475 INFO L82 GeneralOperation]: Start removeDead. Operand has 182 places, 206 transitions, 456 flow [2023-08-29 21:36:45,478 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 182 places, 206 transitions, 456 flow [2023-08-29 21:36:45,478 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:36:45,479 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 182 places, 206 transitions, 456 flow [2023-08-29 21:36:45,479 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 182 places, 206 transitions, 456 flow [2023-08-29 21:36:45,479 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 182 places, 206 transitions, 456 flow [2023-08-29 21:36:45,533 INFO L130 PetriNetUnfolder]: 81/619 cut-off events. [2023-08-29 21:36:45,533 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:36:45,538 INFO L83 FinitePrefix]: Finished finitePrefix Result has 674 conditions, 619 events. 81/619 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 15. Compared 2497 event pairs, 6 based on Foata normal form. 0/475 useless extension candidates. Maximal degree in co-relation 415. Up to 32 conditions per place. [2023-08-29 21:36:45,551 INFO L119 LiptonReduction]: Number of co-enabled transitions 21616 [2023-08-29 21:36:48,305 INFO L134 LiptonReduction]: Checked pairs total: 59725 [2023-08-29 21:36:48,305 INFO L136 LiptonReduction]: Total number of compositions: 139 [2023-08-29 21:36:48,306 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:36:48,306 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;@6bb4256b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:36:48,307 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:36:48,308 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 21:36:48,308 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:36:48,308 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:48,308 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:36:48,308 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:36:48,308 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:48,308 INFO L85 PathProgramCache]: Analyzing trace with hash 56763, now seen corresponding path program 1 times [2023-08-29 21:36:48,308 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:48,308 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [117265615] [2023-08-29 21:36:48,308 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:48,308 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:48,317 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:48,342 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:48,343 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:48,343 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [117265615] [2023-08-29 21:36:48,343 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [117265615] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:48,343 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:48,343 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:48,343 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [106292349] [2023-08-29 21:36:48,344 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:48,344 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:48,344 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:48,345 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:48,345 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:48,369 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 163 out of 345 [2023-08-29 21:36:48,370 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 78 places, 100 transitions, 244 flow. Second operand has 3 states, 3 states have (on average 163.66666666666666) internal successors, (491), 3 states have internal predecessors, (491), 0 states have call successors, (0), 0 states have 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:48,370 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:48,370 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 163 of 345 [2023-08-29 21:36:48,370 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:37:18,491 INFO L130 PetriNetUnfolder]: 334361/463465 cut-off events. [2023-08-29 21:37:18,492 INFO L131 PetriNetUnfolder]: For 11952/11952 co-relation queries the response was YES. [2023-08-29 21:37:19,131 INFO L83 FinitePrefix]: Finished finitePrefix Result has 908042 conditions, 463465 events. 334361/463465 cut-off events. For 11952/11952 co-relation queries the response was YES. Maximal size of possible extension queue 10409. Compared 3727257 event pairs, 272380 based on Foata normal form. 84257/488828 useless extension candidates. Maximal degree in co-relation 87215. Up to 437888 conditions per place. [2023-08-29 21:37:20,447 INFO L137 encePairwiseOnDemand]: 314/345 looper letters, 61 selfloop transitions, 2 changer transitions 3/83 dead transitions. [2023-08-29 21:37:20,447 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 80 places, 83 transitions, 340 flow [2023-08-29 21:37:20,453 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:37:20,453 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:37:20,454 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 589 transitions. [2023-08-29 21:37:20,455 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5690821256038647 [2023-08-29 21:37:20,455 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 589 transitions. [2023-08-29 21:37:20,455 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 589 transitions. [2023-08-29 21:37:20,456 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:37:20,456 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 589 transitions. [2023-08-29 21:37:20,457 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 196.33333333333334) internal successors, (589), 3 states have internal predecessors, (589), 0 states have call successors, (0), 0 states have 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:37:20,458 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:37:20,459 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:37:20,459 INFO L175 Difference]: Start difference. First operand has 78 places, 100 transitions, 244 flow. Second operand 3 states and 589 transitions. [2023-08-29 21:37:20,459 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 80 places, 83 transitions, 340 flow [2023-08-29 21:37:20,462 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 80 places, 83 transitions, 340 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:37:20,463 INFO L231 Difference]: Finished difference. Result has 81 places, 71 transitions, 190 flow [2023-08-29 21:37:20,463 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=345, PETRI_DIFFERENCE_MINUEND_FLOW=190, PETRI_DIFFERENCE_MINUEND_PLACES=78, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=73, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=71, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=190, PETRI_PLACES=81, PETRI_TRANSITIONS=71} [2023-08-29 21:37:20,464 INFO L281 CegarLoopForPetriNet]: 78 programPoint places, 3 predicate places. [2023-08-29 21:37:20,464 INFO L495 AbstractCegarLoop]: Abstraction has has 81 places, 71 transitions, 190 flow [2023-08-29 21:37:20,464 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 163.66666666666666) internal successors, (491), 3 states have internal predecessors, (491), 0 states have call successors, (0), 0 states have 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:37:20,464 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:37:20,464 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:37:20,465 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable15 [2023-08-29 21:37:20,465 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:37:20,465 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:37:20,465 INFO L85 PathProgramCache]: Analyzing trace with hash 56761, now seen corresponding path program 1 times [2023-08-29 21:37:20,465 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:37:20,465 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1645550707] [2023-08-29 21:37:20,466 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:37:20,466 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:37:20,471 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:37:20,488 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:37:20,488 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:37:20,488 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1645550707] [2023-08-29 21:37:20,488 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1645550707] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:37:20,488 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:37:20,489 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:37:20,489 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1316790724] [2023-08-29 21:37:20,489 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:37:20,489 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:37:20,489 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:37:20,490 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:37:20,490 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:37:20,513 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 160 out of 345 [2023-08-29 21:37:20,514 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 81 places, 71 transitions, 190 flow. Second operand has 3 states, 3 states have (on average 160.66666666666666) internal successors, (482), 3 states have internal predecessors, (482), 0 states have call successors, (0), 0 states have 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:37:20,514 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:37:20,514 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 160 of 345 [2023-08-29 21:37:20,514 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:37:42,794 INFO L130 PetriNetUnfolder]: 253367/351284 cut-off events. [2023-08-29 21:37:42,794 INFO L131 PetriNetUnfolder]: For 21220/21220 co-relation queries the response was YES. [2023-08-29 21:37:43,339 INFO L83 FinitePrefix]: Finished finitePrefix Result has 704817 conditions, 351284 events. 253367/351284 cut-off events. For 21220/21220 co-relation queries the response was YES. Maximal size of possible extension queue 7918. Compared 2756000 event pairs, 229706 based on Foata normal form. 0/323563 useless extension candidates. Maximal degree in co-relation 704749. Up to 301807 conditions per place. [2023-08-29 21:37:44,390 INFO L137 encePairwiseOnDemand]: 341/345 looper letters, 79 selfloop transitions, 2 changer transitions 0/98 dead transitions. [2023-08-29 21:37:44,391 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 78 places, 98 transitions, 406 flow [2023-08-29 21:37:44,391 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:37:44,391 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:37:44,392 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 562 transitions. [2023-08-29 21:37:44,392 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5429951690821256 [2023-08-29 21:37:44,392 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 562 transitions. [2023-08-29 21:37:44,392 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 562 transitions. [2023-08-29 21:37:44,393 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:37:44,393 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 562 transitions. [2023-08-29 21:37:44,394 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 187.33333333333334) internal successors, (562), 3 states have internal predecessors, (562), 0 states have call successors, (0), 0 states have 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:37:44,395 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:37:44,396 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:37:44,396 INFO L175 Difference]: Start difference. First operand has 81 places, 71 transitions, 190 flow. Second operand 3 states and 562 transitions. [2023-08-29 21:37:44,396 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 78 places, 98 transitions, 406 flow [2023-08-29 21:37:44,434 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 76 places, 98 transitions, 402 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:37:44,435 INFO L231 Difference]: Finished difference. Result has 76 places, 69 transitions, 186 flow [2023-08-29 21:37:44,435 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=345, PETRI_DIFFERENCE_MINUEND_FLOW=182, PETRI_DIFFERENCE_MINUEND_PLACES=74, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=69, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=67, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=186, PETRI_PLACES=76, PETRI_TRANSITIONS=69} [2023-08-29 21:37:44,436 INFO L281 CegarLoopForPetriNet]: 78 programPoint places, -2 predicate places. [2023-08-29 21:37:44,436 INFO L495 AbstractCegarLoop]: Abstraction has has 76 places, 69 transitions, 186 flow [2023-08-29 21:37:44,436 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 160.66666666666666) internal successors, (482), 3 states have internal predecessors, (482), 0 states have call successors, (0), 0 states have 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:37:44,436 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:37:44,436 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-08-29 21:37:44,437 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable16 [2023-08-29 21:37:44,437 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:37:44,437 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:37:44,437 INFO L85 PathProgramCache]: Analyzing trace with hash 930369660, now seen corresponding path program 1 times [2023-08-29 21:37:44,437 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:37:44,437 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [610158242] [2023-08-29 21:37:44,438 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:37:44,438 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:37:44,450 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:37:44,495 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:37:44,495 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:37:44,495 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [610158242] [2023-08-29 21:37:44,495 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [610158242] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:37:44,496 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1899297797] [2023-08-29 21:37:44,496 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:37:44,496 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:37:44,496 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:37:44,498 INFO L229 MonitoredProcess]: Starting monitored process 6 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-08-29 21:37:44,499 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Waiting until timeout for monitored process [2023-08-29 21:37:44,559 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:37:44,559 INFO L263 TraceCheckSpWp]: Trace formula consists of 112 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:37:44,560 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:37:44,576 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:37:44,602 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:37:44,602 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:37:44,630 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:37:44,630 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1899297797] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:37:44,630 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:37:44,630 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 5 [2023-08-29 21:37:44,631 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1530015110] [2023-08-29 21:37:44,631 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:37:44,631 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2023-08-29 21:37:44,631 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:37:44,632 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2023-08-29 21:37:44,632 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=18, Invalid=24, Unknown=0, NotChecked=0, Total=42 [2023-08-29 21:37:44,735 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 160 out of 345 [2023-08-29 21:37:44,736 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 76 places, 69 transitions, 186 flow. Second operand has 7 states, 7 states have (on average 161.71428571428572) internal successors, (1132), 7 states have internal predecessors, (1132), 0 states have call successors, (0), 0 states have 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:37:44,736 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:37:44,736 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 160 of 345 [2023-08-29 21:37:44,736 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:38:06,328 INFO L130 PetriNetUnfolder]: 257974/349094 cut-off events. [2023-08-29 21:38:06,328 INFO L131 PetriNetUnfolder]: For 18935/18935 co-relation queries the response was YES. [2023-08-29 21:38:06,851 INFO L83 FinitePrefix]: Finished finitePrefix Result has 716524 conditions, 349094 events. 257974/349094 cut-off events. For 18935/18935 co-relation queries the response was YES. Maximal size of possible extension queue 7811. Compared 2600613 event pairs, 48061 based on Foata normal form. 8/331081 useless extension candidates. Maximal degree in co-relation 646528. Up to 276748 conditions per place. [2023-08-29 21:38:08,075 INFO L137 encePairwiseOnDemand]: 339/345 looper letters, 146 selfloop transitions, 7 changer transitions 1/171 dead transitions. [2023-08-29 21:38:08,075 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 81 places, 171 transitions, 725 flow [2023-08-29 21:38:08,076 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-08-29 21:38:08,076 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2023-08-29 21:38:08,077 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 1118 transitions. [2023-08-29 21:38:08,078 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5400966183574879 [2023-08-29 21:38:08,078 INFO L72 ComplementDD]: Start complementDD. Operand 6 states and 1118 transitions. [2023-08-29 21:38:08,078 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6 states and 1118 transitions. [2023-08-29 21:38:08,079 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:38:08,079 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 6 states and 1118 transitions. [2023-08-29 21:38:08,081 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 7 states, 6 states have (on average 186.33333333333334) internal successors, (1118), 6 states have internal predecessors, (1118), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:08,084 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 7 states, 7 states have (on average 345.0) internal successors, (2415), 7 states have internal predecessors, (2415), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:08,085 INFO L81 ComplementDD]: Finished complementDD. Result has 7 states, 7 states have (on average 345.0) internal successors, (2415), 7 states have internal predecessors, (2415), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:08,085 INFO L175 Difference]: Start difference. First operand has 76 places, 69 transitions, 186 flow. Second operand 6 states and 1118 transitions. [2023-08-29 21:38:08,085 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 81 places, 171 transitions, 725 flow [2023-08-29 21:38:18,541 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 79 places, 171 transitions, 717 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:38:18,543 INFO L231 Difference]: Finished difference. Result has 83 places, 73 transitions, 232 flow [2023-08-29 21:38:18,543 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=345, PETRI_DIFFERENCE_MINUEND_FLOW=182, PETRI_DIFFERENCE_MINUEND_PLACES=74, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=69, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=65, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=232, PETRI_PLACES=83, PETRI_TRANSITIONS=73} [2023-08-29 21:38:18,543 INFO L281 CegarLoopForPetriNet]: 78 programPoint places, 5 predicate places. [2023-08-29 21:38:18,543 INFO L495 AbstractCegarLoop]: Abstraction has has 83 places, 73 transitions, 232 flow [2023-08-29 21:38:18,544 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 161.71428571428572) internal successors, (1132), 7 states have internal predecessors, (1132), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:18,544 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:18,544 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 2, 1, 1, 1, 1, 1, 1] [2023-08-29 21:38:18,548 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Ended with exit code 0 [2023-08-29 21:38:18,744 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 6 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable17 [2023-08-29 21:38:18,745 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:38:18,745 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:18,745 INFO L85 PathProgramCache]: Analyzing trace with hash 713079948, now seen corresponding path program 1 times [2023-08-29 21:38:18,745 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:18,745 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2137527370] [2023-08-29 21:38:18,745 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:18,746 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:18,753 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:18,791 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 6 trivial. 0 not checked. [2023-08-29 21:38:18,791 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:38:18,791 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2137527370] [2023-08-29 21:38:18,791 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2137527370] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:38:18,791 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:38:18,792 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:38:18,792 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [575399625] [2023-08-29 21:38:18,792 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:38:18,792 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:38:18,792 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:38:18,793 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:38:18,793 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:38:18,810 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 159 out of 345 [2023-08-29 21:38:18,811 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 83 places, 73 transitions, 232 flow. Second operand has 3 states, 3 states have (on average 161.66666666666666) internal successors, (485), 3 states have internal predecessors, (485), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:18,811 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:38:18,811 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 159 of 345 [2023-08-29 21:38:18,811 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:38:47,686 INFO L130 PetriNetUnfolder]: 342947/467694 cut-off events. [2023-08-29 21:38:47,686 INFO L131 PetriNetUnfolder]: For 156643/156643 co-relation queries the response was YES. [2023-08-29 21:38:48,545 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1000326 conditions, 467694 events. 342947/467694 cut-off events. For 156643/156643 co-relation queries the response was YES. Maximal size of possible extension queue 9376. Compared 3544028 event pairs, 170334 based on Foata normal form. 0/449072 useless extension candidates. Maximal degree in co-relation 550769. Up to 444567 conditions per place. [2023-08-29 21:38:50,191 INFO L137 encePairwiseOnDemand]: 339/345 looper letters, 85 selfloop transitions, 5 changer transitions 0/104 dead transitions. [2023-08-29 21:38:50,191 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 85 places, 104 transitions, 541 flow [2023-08-29 21:38:50,191 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:38:50,191 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:38:50,192 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 558 transitions. [2023-08-29 21:38:50,192 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5391304347826087 [2023-08-29 21:38:50,192 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 558 transitions. [2023-08-29 21:38:50,192 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 558 transitions. [2023-08-29 21:38:50,193 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:38:50,193 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 558 transitions. [2023-08-29 21:38:50,194 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 186.0) internal successors, (558), 3 states have internal predecessors, (558), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:50,196 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:38:50,196 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:38:50,196 INFO L175 Difference]: Start difference. First operand has 83 places, 73 transitions, 232 flow. Second operand 3 states and 558 transitions. [2023-08-29 21:38:50,196 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 85 places, 104 transitions, 541 flow [2023-08-29 21:38:50,248 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 83 places, 104 transitions, 531 flow, removed 2 selfloop flow, removed 2 redundant places. [2023-08-29 21:38:50,249 INFO L231 Difference]: Finished difference. Result has 84 places, 77 transitions, 259 flow [2023-08-29 21:38:50,249 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=345, PETRI_DIFFERENCE_MINUEND_FLOW=226, PETRI_DIFFERENCE_MINUEND_PLACES=81, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=73, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=68, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=259, PETRI_PLACES=84, PETRI_TRANSITIONS=77} [2023-08-29 21:38:50,250 INFO L281 CegarLoopForPetriNet]: 78 programPoint places, 6 predicate places. [2023-08-29 21:38:50,250 INFO L495 AbstractCegarLoop]: Abstraction has has 84 places, 77 transitions, 259 flow [2023-08-29 21:38:50,250 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 161.66666666666666) internal successors, (485), 3 states have internal predecessors, (485), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:50,250 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:50,250 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-08-29 21:38:50,250 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable18 [2023-08-29 21:38:50,251 INFO L420 AbstractCegarLoop]: === Iteration 5 === Targeting ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:38:50,251 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:50,251 INFO L85 PathProgramCache]: Analyzing trace with hash 454387226, now seen corresponding path program 1 times [2023-08-29 21:38:50,251 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:50,251 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1090799707] [2023-08-29 21:38:50,251 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:50,251 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:50,260 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:50,322 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 5 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-08-29 21:38:50,323 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:38:50,323 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1090799707] [2023-08-29 21:38:50,323 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1090799707] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:38:50,323 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1678394882] [2023-08-29 21:38:50,323 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:50,324 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:38:50,324 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:38:50,325 INFO L229 MonitoredProcess]: Starting monitored process 7 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-08-29 21:38:50,339 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (7)] Waiting until timeout for monitored process [2023-08-29 21:38:50,409 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:50,410 INFO L263 TraceCheckSpWp]: Trace formula consists of 158 conjuncts, 4 conjunts are in the unsatisfiable core [2023-08-29 21:38:50,411 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:38:50,436 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:50,437 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:38:50,470 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:50,470 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1678394882] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:38:50,471 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:38:50,471 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [4, 4, 4] total 11 [2023-08-29 21:38:50,471 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [575206799] [2023-08-29 21:38:50,472 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:38:50,472 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 12 states [2023-08-29 21:38:50,472 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:38:50,473 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 12 interpolants. [2023-08-29 21:38:50,473 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=51, Invalid=81, Unknown=0, NotChecked=0, Total=132 [2023-08-29 21:38:50,571 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 154 out of 345 [2023-08-29 21:38:50,572 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 84 places, 77 transitions, 259 flow. Second operand has 12 states, 12 states have (on average 156.83333333333334) internal successors, (1882), 12 states have internal predecessors, (1882), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:50,572 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:38:50,572 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 154 of 345 [2023-08-29 21:38:50,572 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:38:55,206 INFO L130 PetriNetUnfolder]: 53669/74513 cut-off events. [2023-08-29 21:38:55,206 INFO L131 PetriNetUnfolder]: For 92848/92848 co-relation queries the response was YES. [2023-08-29 21:38:55,340 INFO L83 FinitePrefix]: Finished finitePrefix Result has 193129 conditions, 74513 events. 53669/74513 cut-off events. For 92848/92848 co-relation queries the response was YES. Maximal size of possible extension queue 2051. Compared 510124 event pairs, 5622 based on Foata normal form. 5753/79929 useless extension candidates. Maximal degree in co-relation 113747. Up to 46151 conditions per place. [2023-08-29 21:38:55,564 INFO L137 encePairwiseOnDemand]: 342/345 looper letters, 118 selfloop transitions, 5 changer transitions 0/140 dead transitions. [2023-08-29 21:38:55,564 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 79 places, 140 transitions, 644 flow [2023-08-29 21:38:55,564 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-08-29 21:38:55,564 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2023-08-29 21:38:55,566 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 1195 transitions. [2023-08-29 21:38:55,567 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.494824016563147 [2023-08-29 21:38:55,567 INFO L72 ComplementDD]: Start complementDD. Operand 7 states and 1195 transitions. [2023-08-29 21:38:55,567 INFO L73 IsDeterministic]: Start isDeterministic. Operand 7 states and 1195 transitions. [2023-08-29 21:38:55,568 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:38:55,568 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 7 states and 1195 transitions. [2023-08-29 21:38:55,570 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 8 states, 7 states have (on average 170.71428571428572) internal successors, (1195), 7 states have internal predecessors, (1195), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:55,572 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 8 states, 8 states have (on average 345.0) internal successors, (2760), 8 states have internal predecessors, (2760), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:55,573 INFO L81 ComplementDD]: Finished complementDD. Result has 8 states, 8 states have (on average 345.0) internal successors, (2760), 8 states have internal predecessors, (2760), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:55,573 INFO L175 Difference]: Start difference. First operand has 84 places, 77 transitions, 259 flow. Second operand 7 states and 1195 transitions. [2023-08-29 21:38:55,573 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 79 places, 140 transitions, 644 flow [2023-08-29 21:38:55,588 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 77 places, 140 transitions, 620 flow, removed 5 selfloop flow, removed 2 redundant places. [2023-08-29 21:38:55,589 INFO L231 Difference]: Finished difference. Result has 77 places, 60 transitions, 192 flow [2023-08-29 21:38:55,589 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=345, PETRI_DIFFERENCE_MINUEND_FLOW=182, PETRI_DIFFERENCE_MINUEND_PLACES=71, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=60, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=5, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=55, PETRI_DIFFERENCE_SUBTRAHEND_STATES=7, PETRI_FLOW=192, PETRI_PLACES=77, PETRI_TRANSITIONS=60} [2023-08-29 21:38:55,590 INFO L281 CegarLoopForPetriNet]: 78 programPoint places, -1 predicate places. [2023-08-29 21:38:55,590 INFO L495 AbstractCegarLoop]: Abstraction has has 77 places, 60 transitions, 192 flow [2023-08-29 21:38:55,590 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 12 states, 12 states have (on average 156.83333333333334) internal successors, (1882), 12 states have internal predecessors, (1882), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:55,591 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:38:55,591 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 4, 4, 1, 1, 1, 1, 1, 1] [2023-08-29 21:38:55,597 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (7)] Forceful destruction successful, exit code 0 [2023-08-29 21:38:55,796 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable19,7 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:38:55,796 INFO L420 AbstractCegarLoop]: === Iteration 6 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:38:55,798 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:38:55,798 INFO L85 PathProgramCache]: Analyzing trace with hash -938651143, now seen corresponding path program 1 times [2023-08-29 21:38:55,798 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:38:55,798 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [670047666] [2023-08-29 21:38:55,798 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:55,798 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:38:55,809 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:55,924 INFO L134 CoverageAnalysis]: Checked inductivity of 28 backedges. 0 proven. 28 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:55,924 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:38:55,924 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [670047666] [2023-08-29 21:38:55,924 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [670047666] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:38:55,924 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1678029026] [2023-08-29 21:38:55,925 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:38:55,925 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:38:55,925 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:38:55,926 INFO L229 MonitoredProcess]: Starting monitored process 8 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-08-29 21:38:55,928 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (8)] Waiting until timeout for monitored process [2023-08-29 21:38:56,008 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:38:56,010 INFO L263 TraceCheckSpWp]: Trace formula consists of 178 conjuncts, 15 conjunts are in the unsatisfiable core [2023-08-29 21:38:56,011 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:38:56,021 INFO L350 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 5 [2023-08-29 21:38:56,137 INFO L134 CoverageAnalysis]: Checked inductivity of 28 backedges. 0 proven. 28 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:56,137 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:38:56,275 INFO L134 CoverageAnalysis]: Checked inductivity of 28 backedges. 0 proven. 28 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:38:56,275 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1678029026] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:38:56,275 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:38:56,275 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 5, 5] total 14 [2023-08-29 21:38:56,275 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [342970144] [2023-08-29 21:38:56,276 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:38:56,276 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 16 states [2023-08-29 21:38:56,276 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:38:56,277 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 16 interpolants. [2023-08-29 21:38:56,277 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=78, Invalid=162, Unknown=0, NotChecked=0, Total=240 [2023-08-29 21:38:56,548 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 160 out of 345 [2023-08-29 21:38:56,550 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 77 places, 60 transitions, 192 flow. Second operand has 16 states, 16 states have (on average 162.4375) internal successors, (2599), 16 states have internal predecessors, (2599), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:56,551 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:38:56,551 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 160 of 345 [2023-08-29 21:38:56,551 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:38:59,708 INFO L130 PetriNetUnfolder]: 35772/50422 cut-off events. [2023-08-29 21:38:59,708 INFO L131 PetriNetUnfolder]: For 55535/55535 co-relation queries the response was YES. [2023-08-29 21:38:59,804 INFO L83 FinitePrefix]: Finished finitePrefix Result has 117004 conditions, 50422 events. 35772/50422 cut-off events. For 55535/55535 co-relation queries the response was YES. Maximal size of possible extension queue 1410. Compared 338443 event pairs, 1655 based on Foata normal form. 5157/55317 useless extension candidates. Maximal degree in co-relation 18635. Up to 23225 conditions per place. [2023-08-29 21:38:59,834 INFO L137 encePairwiseOnDemand]: 342/345 looper letters, 0 selfloop transitions, 0 changer transitions 139/139 dead transitions. [2023-08-29 21:38:59,834 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 82 places, 139 transitions, 618 flow [2023-08-29 21:38:59,835 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-08-29 21:38:59,835 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2023-08-29 21:38:59,837 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 1234 transitions. [2023-08-29 21:38:59,837 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5109730848861284 [2023-08-29 21:38:59,837 INFO L72 ComplementDD]: Start complementDD. Operand 7 states and 1234 transitions. [2023-08-29 21:38:59,837 INFO L73 IsDeterministic]: Start isDeterministic. Operand 7 states and 1234 transitions. [2023-08-29 21:38:59,838 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:38:59,838 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 7 states and 1234 transitions. [2023-08-29 21:38:59,840 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 8 states, 7 states have (on average 176.28571428571428) internal successors, (1234), 7 states have internal predecessors, (1234), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:59,843 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 8 states, 8 states have (on average 345.0) internal successors, (2760), 8 states have internal predecessors, (2760), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:59,843 INFO L81 ComplementDD]: Finished complementDD. Result has 8 states, 8 states have (on average 345.0) internal successors, (2760), 8 states have internal predecessors, (2760), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:59,843 INFO L175 Difference]: Start difference. First operand has 77 places, 60 transitions, 192 flow. Second operand 7 states and 1234 transitions. [2023-08-29 21:38:59,844 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 82 places, 139 transitions, 618 flow [2023-08-29 21:38:59,858 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 139 transitions, 601 flow, removed 0 selfloop flow, removed 9 redundant places. [2023-08-29 21:38:59,859 INFO L231 Difference]: Finished difference. Result has 73 places, 0 transitions, 0 flow [2023-08-29 21:38:59,859 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=345, PETRI_DIFFERENCE_MINUEND_FLOW=165, PETRI_DIFFERENCE_MINUEND_PLACES=67, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=59, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=59, PETRI_DIFFERENCE_SUBTRAHEND_STATES=7, PETRI_FLOW=0, PETRI_PLACES=73, PETRI_TRANSITIONS=0} [2023-08-29 21:38:59,859 INFO L281 CegarLoopForPetriNet]: 78 programPoint places, -5 predicate places. [2023-08-29 21:38:59,859 INFO L495 AbstractCegarLoop]: Abstraction has has 73 places, 0 transitions, 0 flow [2023-08-29 21:38:59,860 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 16 states, 16 states have (on average 162.4375) internal successors, (2599), 16 states have internal predecessors, (2599), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:38:59,860 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2023-08-29 21:38:59,860 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-08-29 21:38:59,861 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 21:38:59,861 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-08-29 21:38:59,861 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 6 remaining) [2023-08-29 21:38:59,861 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 21:38:59,869 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (8)] Ended with exit code 0 [2023-08-29 21:39:00,066 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable20,8 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:39:00,067 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1, 1, 1] [2023-08-29 21:39:00,067 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:39:00,069 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 182 places, 206 transitions, 456 flow [2023-08-29 21:39:00,105 INFO L130 PetriNetUnfolder]: 81/619 cut-off events. [2023-08-29 21:39:00,105 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:39:00,108 INFO L83 FinitePrefix]: Finished finitePrefix Result has 674 conditions, 619 events. 81/619 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 15. Compared 2497 event pairs, 6 based on Foata normal form. 0/475 useless extension candidates. Maximal degree in co-relation 415. Up to 32 conditions per place. [2023-08-29 21:39:00,108 INFO L82 GeneralOperation]: Start removeDead. Operand has 182 places, 206 transitions, 456 flow [2023-08-29 21:39:00,110 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 182 places, 206 transitions, 456 flow [2023-08-29 21:39:00,110 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:39:00,110 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 182 places, 206 transitions, 456 flow [2023-08-29 21:39:00,110 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 182 places, 206 transitions, 456 flow [2023-08-29 21:39:00,110 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 182 places, 206 transitions, 456 flow [2023-08-29 21:39:00,145 INFO L130 PetriNetUnfolder]: 81/619 cut-off events. [2023-08-29 21:39:00,145 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:39:00,148 INFO L83 FinitePrefix]: Finished finitePrefix Result has 674 conditions, 619 events. 81/619 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 15. Compared 2497 event pairs, 6 based on Foata normal form. 0/475 useless extension candidates. Maximal degree in co-relation 415. Up to 32 conditions per place. [2023-08-29 21:39:00,159 INFO L119 LiptonReduction]: Number of co-enabled transitions 21616 [2023-08-29 21:39:02,959 INFO L134 LiptonReduction]: Checked pairs total: 65977 [2023-08-29 21:39:02,959 INFO L136 LiptonReduction]: Total number of compositions: 142 [2023-08-29 21:39:02,960 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:39:02,960 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;@6bb4256b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:39:02,960 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:39:02,967 INFO L130 PetriNetUnfolder]: 29/157 cut-off events. [2023-08-29 21:39:02,967 INFO L131 PetriNetUnfolder]: For 23/23 co-relation queries the response was YES. [2023-08-29 21:39:02,967 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:39:02,967 INFO L208 CegarLoopForPetriNet]: trace histogram [5, 4, 4, 1, 1, 1, 1, 1, 1] [2023-08-29 21:39:02,967 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:39:02,967 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:39:02,967 INFO L85 PathProgramCache]: Analyzing trace with hash 1863987491, now seen corresponding path program 1 times [2023-08-29 21:39:02,968 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:39:02,968 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1490985028] [2023-08-29 21:39:02,968 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:39:02,968 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:39:02,987 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:39:02,987 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:39:03,001 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:39:03,014 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:39:03,014 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:39:03,014 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:39:03,014 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable21 [2023-08-29 21:39:03,015 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:39:03,015 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:39:03,016 WARN L233 ceAbstractionStarter]: 4 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:39:03,016 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 5 thread instances. [2023-08-29 21:39:03,044 INFO L144 ThreadInstanceAdder]: Constructed 5 joinOtherThreadTransitions. [2023-08-29 21:39:03,046 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 207 places, 236 transitions, 532 flow [2023-08-29 21:39:03,146 INFO L130 PetriNetUnfolder]: 140/1015 cut-off events. [2023-08-29 21:39:03,146 INFO L131 PetriNetUnfolder]: For 110/110 co-relation queries the response was YES. [2023-08-29 21:39:03,153 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1126 conditions, 1015 events. 140/1015 cut-off events. For 110/110 co-relation queries the response was YES. Maximal size of possible extension queue 26. Compared 5038 event pairs, 23 based on Foata normal form. 0/777 useless extension candidates. Maximal degree in co-relation 664. Up to 80 conditions per place. [2023-08-29 21:39:03,153 INFO L82 GeneralOperation]: Start removeDead. Operand has 207 places, 236 transitions, 532 flow [2023-08-29 21:39:03,157 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 207 places, 236 transitions, 532 flow [2023-08-29 21:39:03,157 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:39:03,157 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 207 places, 236 transitions, 532 flow [2023-08-29 21:39:03,157 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 207 places, 236 transitions, 532 flow [2023-08-29 21:39:03,157 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 207 places, 236 transitions, 532 flow [2023-08-29 21:39:03,230 INFO L130 PetriNetUnfolder]: 140/1015 cut-off events. [2023-08-29 21:39:03,230 INFO L131 PetriNetUnfolder]: For 110/110 co-relation queries the response was YES. [2023-08-29 21:39:03,237 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1126 conditions, 1015 events. 140/1015 cut-off events. For 110/110 co-relation queries the response was YES. Maximal size of possible extension queue 26. Compared 5038 event pairs, 23 based on Foata normal form. 0/777 useless extension candidates. Maximal degree in co-relation 664. Up to 80 conditions per place. [2023-08-29 21:39:03,263 INFO L119 LiptonReduction]: Number of co-enabled transitions 31360 [2023-08-29 21:39:05,859 INFO L134 LiptonReduction]: Checked pairs total: 96934 [2023-08-29 21:39:05,859 INFO L136 LiptonReduction]: Total number of compositions: 157 [2023-08-29 21:39:05,860 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:39:05,860 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;@6bb4256b, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:39:05,860 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:39:05,861 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 21:39:05,861 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:39:05,862 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:39:05,862 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:39:05,862 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 3 more)] === [2023-08-29 21:39:05,862 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:39:05,862 INFO L85 PathProgramCache]: Analyzing trace with hash 74858, now seen corresponding path program 1 times [2023-08-29 21:39:05,862 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:39:05,863 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1640384088] [2023-08-29 21:39:05,863 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:39:05,863 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:39:05,875 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:39:05,900 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:39:05,900 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:39:05,901 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1640384088] [2023-08-29 21:39:05,901 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1640384088] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:39:05,901 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:39:05,901 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:39:05,901 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2102616587] [2023-08-29 21:39:05,901 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:39:05,902 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:39:05,902 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:39:05,902 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:39:05,902 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:39:05,927 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 185 out of 393 [2023-08-29 21:39:05,928 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 91 places, 117 transitions, 294 flow. Second operand has 3 states, 3 states have (on average 185.66666666666666) internal successors, (557), 3 states have internal predecessors, (557), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:39:05,928 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:39:05,928 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 185 of 393 [2023-08-29 21:39:05,928 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand