./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_28-funptr_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_28-funptr_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 5b90ecb07ae966182b79ce4444e238e18068c02297f514a326dfeeed6dbb5499 --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:43:11,225 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-29 21:43:11,227 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-29 21:43:11,267 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-29 21:43:11,267 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-29 21:43:11,270 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-29 21:43:11,272 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-29 21:43:11,275 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-29 21:43:11,277 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-29 21:43:11,281 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-29 21:43:11,282 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-29 21:43:11,284 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-29 21:43:11,284 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-29 21:43:11,286 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-29 21:43:11,287 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-29 21:43:11,292 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-29 21:43:11,293 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-29 21:43:11,295 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-29 21:43:11,296 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-29 21:43:11,301 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-29 21:43:11,310 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-29 21:43:11,311 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-29 21:43:11,312 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-29 21:43:11,313 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-29 21:43:11,319 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-29 21:43:11,319 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-29 21:43:11,320 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-29 21:43:11,322 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-29 21:43:11,322 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-29 21:43:11,323 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-29 21:43:11,323 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-29 21:43:11,325 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-29 21:43:11,326 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-29 21:43:11,327 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-29 21:43:11,328 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-29 21:43:11,328 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-29 21:43:11,328 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-29 21:43:11,329 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-29 21:43:11,329 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-29 21:43:11,329 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-29 21:43:11,330 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-29 21:43:11,332 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:43:11,366 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-29 21:43:11,366 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-29 21:43:11,367 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-29 21:43:11,368 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-29 21:43:11,369 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-29 21:43:11,369 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-29 21:43:11,369 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-29 21:43:11,369 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-29 21:43:11,370 INFO L138 SettingsManager]: * Use SBE=true [2023-08-29 21:43:11,370 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-29 21:43:11,371 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-29 21:43:11,371 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-08-29 21:43:11,371 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-29 21:43:11,371 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-29 21:43:11,372 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-29 21:43:11,372 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-08-29 21:43:11,372 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-08-29 21:43:11,372 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-08-29 21:43:11,372 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-29 21:43:11,373 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-08-29 21:43:11,373 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-29 21:43:11,373 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-29 21:43:11,373 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-29 21:43:11,373 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-29 21:43:11,373 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-29 21:43:11,374 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 21:43:11,374 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-29 21:43:11,374 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-29 21:43:11,374 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-29 21:43:11,375 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-29 21:43:11,375 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-29 21:43:11,375 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-29 21:43:11,375 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-29 21:43:11,376 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-29 21:43:11,376 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 -> 5b90ecb07ae966182b79ce4444e238e18068c02297f514a326dfeeed6dbb5499 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:43:11,676 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-29 21:43:11,692 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-29 21:43:11,695 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-29 21:43:11,696 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-29 21:43:11,697 INFO L275 PluginConnector]: CDTParser initialized [2023-08-29 21:43:11,698 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/goblint-regression/28-race_reach_28-funptr_racefree.i [2023-08-29 21:43:12,944 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-29 21:43:13,202 INFO L351 CDTParser]: Found 1 translation units. [2023-08-29 21:43:13,203 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_28-funptr_racefree.i [2023-08-29 21:43:13,223 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/76072902c/8326215a08b047c89028288141f3e578/FLAG81d4decc7 [2023-08-29 21:43:13,522 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/76072902c/8326215a08b047c89028288141f3e578 [2023-08-29 21:43:13,524 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-29 21:43:13,524 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-29 21:43:13,525 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-29 21:43:13,526 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-29 21:43:13,528 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-29 21:43:13,528 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 09:43:13" (1/1) ... [2023-08-29 21:43:13,530 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@35055fd0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:43:13, skipping insertion in model container [2023-08-29 21:43:13,530 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 09:43:13" (1/1) ... [2023-08-29 21:43:13,534 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-29 21:43:13,575 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-29 21:43:13,981 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_28-funptr_racefree.i[41323,41336] [2023-08-29 21:43:14,005 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 21:43:14,026 INFO L203 MainTranslator]: Completed pre-run [2023-08-29 21:43:14,070 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_28-funptr_racefree.i[41323,41336] [2023-08-29 21:43:14,079 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 21:43:14,123 WARN L667 CHandler]: The function g is called, but not defined or handled by StandardFunctionHandler. [2023-08-29 21:43:14,129 INFO L208 MainTranslator]: Completed translation [2023-08-29 21:43:14,130 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:43:14 WrapperNode [2023-08-29 21:43:14,130 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-29 21:43:14,131 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-29 21:43:14,131 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-29 21:43:14,131 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-29 21:43:14,137 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:43:14" (1/1) ... [2023-08-29 21:43:14,168 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:43:14" (1/1) ... [2023-08-29 21:43:14,198 INFO L138 Inliner]: procedures = 273, calls = 42, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 122 [2023-08-29 21:43:14,199 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-29 21:43:14,200 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-29 21:43:14,200 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-29 21:43:14,200 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-29 21:43:14,208 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:43:14" (1/1) ... [2023-08-29 21:43:14,209 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:43:14" (1/1) ... [2023-08-29 21:43:14,225 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:43:14" (1/1) ... [2023-08-29 21:43:14,226 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:43:14" (1/1) ... [2023-08-29 21:43:14,230 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:43:14" (1/1) ... [2023-08-29 21:43:14,241 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:43:14" (1/1) ... [2023-08-29 21:43:14,244 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:43:14" (1/1) ... [2023-08-29 21:43:14,251 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:43:14" (1/1) ... [2023-08-29 21:43:14,254 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-29 21:43:14,254 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-29 21:43:14,260 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-29 21:43:14,260 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-29 21:43:14,261 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:43:14" (1/1) ... [2023-08-29 21:43:14,265 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 21:43:14,276 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:43:14,290 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:43:14,306 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:43:14,331 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-29 21:43:14,332 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-29 21:43:14,332 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-08-29 21:43:14,332 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-29 21:43:14,332 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-08-29 21:43:14,332 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-29 21:43:14,332 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2023-08-29 21:43:14,333 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2023-08-29 21:43:14,333 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-29 21:43:14,333 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-29 21:43:14,333 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-29 21:43:14,334 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:43:14,477 INFO L236 CfgBuilder]: Building ICFG [2023-08-29 21:43:14,494 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-29 21:43:14,754 INFO L277 CfgBuilder]: Performing block encoding [2023-08-29 21:43:14,760 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-29 21:43:14,761 INFO L302 CfgBuilder]: Removed 10 assume(true) statements. [2023-08-29 21:43:14,762 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 09:43:14 BoogieIcfgContainer [2023-08-29 21:43:14,763 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-29 21:43:14,764 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-29 21:43:14,764 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-08-29 21:43:14,767 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-08-29 21:43:14,767 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.08 09:43:13" (1/3) ... [2023-08-29 21:43:14,768 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@97523f2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 09:43:14, skipping insertion in model container [2023-08-29 21:43:14,768 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:43:14" (2/3) ... [2023-08-29 21:43:14,768 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@97523f2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 09:43:14, skipping insertion in model container [2023-08-29 21:43:14,768 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 09:43:14" (3/3) ... [2023-08-29 21:43:14,769 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_28-funptr_racefree.i [2023-08-29 21:43:14,784 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-29 21:43:14,784 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2023-08-29 21:43:14,784 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-29 21:43:14,871 INFO L144 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2023-08-29 21:43:14,929 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 118 places, 127 transitions, 262 flow [2023-08-29 21:43:15,026 INFO L130 PetriNetUnfolder]: 17/171 cut-off events. [2023-08-29 21:43:15,027 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:43:15,032 INFO L83 FinitePrefix]: Finished finitePrefix Result has 177 conditions, 171 events. 17/171 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 420 event pairs, 0 based on Foata normal form. 0/139 useless extension candidates. Maximal degree in co-relation 85. Up to 4 conditions per place. [2023-08-29 21:43:15,033 INFO L82 GeneralOperation]: Start removeDead. Operand has 118 places, 127 transitions, 262 flow [2023-08-29 21:43:15,040 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 118 places, 127 transitions, 262 flow [2023-08-29 21:43:15,044 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:43:15,064 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 118 places, 127 transitions, 262 flow [2023-08-29 21:43:15,071 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 118 places, 127 transitions, 262 flow [2023-08-29 21:43:15,072 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 118 places, 127 transitions, 262 flow [2023-08-29 21:43:15,117 INFO L130 PetriNetUnfolder]: 17/171 cut-off events. [2023-08-29 21:43:15,118 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:43:15,119 INFO L83 FinitePrefix]: Finished finitePrefix Result has 177 conditions, 171 events. 17/171 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 420 event pairs, 0 based on Foata normal form. 0/139 useless extension candidates. Maximal degree in co-relation 85. Up to 4 conditions per place. [2023-08-29 21:43:15,122 INFO L119 LiptonReduction]: Number of co-enabled transitions 3600 [2023-08-29 21:43:18,302 INFO L134 LiptonReduction]: Checked pairs total: 7389 [2023-08-29 21:43:18,302 INFO L136 LiptonReduction]: Total number of compositions: 105 [2023-08-29 21:43:18,314 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:43:18,319 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;@30b9b728, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:43:18,319 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:43:18,322 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 21:43:18,322 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:43:18,322 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:43:18,323 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:43:18,323 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:43:18,327 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:43:18,328 INFO L85 PathProgramCache]: Analyzing trace with hash 15367, now seen corresponding path program 1 times [2023-08-29 21:43:18,335 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:43:18,336 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1256826747] [2023-08-29 21:43:18,336 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:18,336 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:43:18,491 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:43:18,673 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:43:18,676 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:43:18,677 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1256826747] [2023-08-29 21:43:18,677 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1256826747] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:43:18,677 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:43:18,678 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:43:18,679 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1138061716] [2023-08-29 21:43:18,679 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:43:18,686 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:43:18,690 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:43:18,713 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:43:18,714 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:43:18,763 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 108 out of 232 [2023-08-29 21:43:18,766 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 37 places, 43 transitions, 94 flow. Second operand has 3 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:43:18,766 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:43:18,766 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 108 of 232 [2023-08-29 21:43:18,767 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:43:18,862 INFO L130 PetriNetUnfolder]: 170/402 cut-off events. [2023-08-29 21:43:18,862 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:43:18,863 INFO L83 FinitePrefix]: Finished finitePrefix Result has 797 conditions, 402 events. 170/402 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 25. Compared 1925 event pairs, 0 based on Foata normal form. 18/327 useless extension candidates. Maximal degree in co-relation 747. Up to 365 conditions per place. [2023-08-29 21:43:18,866 INFO L137 encePairwiseOnDemand]: 220/232 looper letters, 39 selfloop transitions, 2 changer transitions 3/47 dead transitions. [2023-08-29 21:43:18,866 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 39 places, 47 transitions, 188 flow [2023-08-29 21:43:18,868 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:43:18,869 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:43:18,881 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 383 transitions. [2023-08-29 21:43:18,885 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5502873563218391 [2023-08-29 21:43:18,886 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 383 transitions. [2023-08-29 21:43:18,886 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 383 transitions. [2023-08-29 21:43:18,889 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:43:18,891 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 383 transitions. [2023-08-29 21:43:18,895 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 127.66666666666667) internal successors, (383), 3 states have internal predecessors, (383), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:18,900 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 232.0) internal successors, (928), 4 states have internal predecessors, (928), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:18,900 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 232.0) internal successors, (928), 4 states have internal predecessors, (928), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:18,902 INFO L175 Difference]: Start difference. First operand has 37 places, 43 transitions, 94 flow. Second operand 3 states and 383 transitions. [2023-08-29 21:43:18,903 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 39 places, 47 transitions, 188 flow [2023-08-29 21:43:18,906 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 39 places, 47 transitions, 188 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:43:18,907 INFO L231 Difference]: Finished difference. Result has 40 places, 33 transitions, 82 flow [2023-08-29 21:43:18,909 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=232, PETRI_DIFFERENCE_MINUEND_FLOW=78, PETRI_DIFFERENCE_MINUEND_PLACES=37, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=35, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=33, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=82, PETRI_PLACES=40, PETRI_TRANSITIONS=33} [2023-08-29 21:43:18,914 INFO L281 CegarLoopForPetriNet]: 37 programPoint places, 3 predicate places. [2023-08-29 21:43:18,915 INFO L495 AbstractCegarLoop]: Abstraction has has 40 places, 33 transitions, 82 flow [2023-08-29 21:43:18,915 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 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:43:18,915 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:43:18,916 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:43:18,916 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-08-29 21:43:18,916 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:43:18,923 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:43:18,924 INFO L85 PathProgramCache]: Analyzing trace with hash 15368, now seen corresponding path program 1 times [2023-08-29 21:43:18,925 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:43:18,926 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [327805327] [2023-08-29 21:43:18,927 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:18,929 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:43:18,959 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:43:19,027 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:43:19,027 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:43:19,027 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [327805327] [2023-08-29 21:43:19,028 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [327805327] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:43:19,028 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:43:19,028 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:43:19,028 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1380375054] [2023-08-29 21:43:19,028 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:43:19,029 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:43:19,029 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:43:19,030 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:43:19,030 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:43:19,063 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 105 out of 232 [2023-08-29 21:43:19,066 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 40 places, 33 transitions, 82 flow. Second operand has 3 states, 3 states have (on average 105.66666666666667) internal successors, (317), 3 states have internal predecessors, (317), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:19,066 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:43:19,067 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 105 of 232 [2023-08-29 21:43:19,067 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:43:19,150 INFO L130 PetriNetUnfolder]: 140/325 cut-off events. [2023-08-29 21:43:19,151 INFO L131 PetriNetUnfolder]: For 21/21 co-relation queries the response was YES. [2023-08-29 21:43:19,153 INFO L83 FinitePrefix]: Finished finitePrefix Result has 690 conditions, 325 events. 140/325 cut-off events. For 21/21 co-relation queries the response was YES. Maximal size of possible extension queue 19. Compared 1232 event pairs, 130 based on Foata normal form. 0/277 useless extension candidates. Maximal degree in co-relation 665. Up to 290 conditions per place. [2023-08-29 21:43:19,157 INFO L137 encePairwiseOnDemand]: 228/232 looper letters, 36 selfloop transitions, 2 changer transitions 0/41 dead transitions. [2023-08-29 21:43:19,158 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 38 places, 41 transitions, 174 flow [2023-08-29 21:43:19,158 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:43:19,158 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:43:19,159 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 355 transitions. [2023-08-29 21:43:19,160 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5100574712643678 [2023-08-29 21:43:19,160 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 355 transitions. [2023-08-29 21:43:19,160 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 355 transitions. [2023-08-29 21:43:19,160 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:43:19,160 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 355 transitions. [2023-08-29 21:43:19,162 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 118.33333333333333) internal successors, (355), 3 states have internal predecessors, (355), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:19,166 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 232.0) internal successors, (928), 4 states have internal predecessors, (928), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:19,167 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 232.0) internal successors, (928), 4 states have internal predecessors, (928), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:19,167 INFO L175 Difference]: Start difference. First operand has 40 places, 33 transitions, 82 flow. Second operand 3 states and 355 transitions. [2023-08-29 21:43:19,167 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 38 places, 41 transitions, 174 flow [2023-08-29 21:43:19,168 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 35 places, 41 transitions, 168 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-08-29 21:43:19,169 INFO L231 Difference]: Finished difference. Result has 35 places, 31 transitions, 76 flow [2023-08-29 21:43:19,169 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=232, PETRI_DIFFERENCE_MINUEND_FLOW=72, PETRI_DIFFERENCE_MINUEND_PLACES=33, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=31, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=29, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=76, PETRI_PLACES=35, PETRI_TRANSITIONS=31} [2023-08-29 21:43:19,170 INFO L281 CegarLoopForPetriNet]: 37 programPoint places, -2 predicate places. [2023-08-29 21:43:19,170 INFO L495 AbstractCegarLoop]: Abstraction has has 35 places, 31 transitions, 76 flow [2023-08-29 21:43:19,170 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 105.66666666666667) internal successors, (317), 3 states have internal predecessors, (317), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:19,170 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:43:19,171 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2023-08-29 21:43:19,172 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-08-29 21:43:19,173 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:43:19,173 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:43:19,173 INFO L85 PathProgramCache]: Analyzing trace with hash 458113868, now seen corresponding path program 1 times [2023-08-29 21:43:19,174 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:43:19,174 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1511872239] [2023-08-29 21:43:19,174 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:19,174 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:43:19,188 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:43:19,312 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:43:19,313 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:43:19,313 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1511872239] [2023-08-29 21:43:19,313 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1511872239] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:43:19,314 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1680367947] [2023-08-29 21:43:19,314 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:19,315 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:43:19,315 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:43:19,321 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:43:19,351 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:43:19,397 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:43:19,399 INFO L263 TraceCheckSpWp]: Trace formula consists of 122 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:43:19,403 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:43:19,480 INFO L350 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 5 [2023-08-29 21:43:19,514 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:43:19,514 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:43:19,572 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:43:19,573 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1680367947] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:43:19,573 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:43:19,573 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 5 [2023-08-29 21:43:19,573 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1273468421] [2023-08-29 21:43:19,573 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:43:19,574 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2023-08-29 21:43:19,574 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:43:19,574 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2023-08-29 21:43:19,575 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=18, Invalid=24, Unknown=0, NotChecked=0, Total=42 [2023-08-29 21:43:19,717 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 105 out of 232 [2023-08-29 21:43:19,718 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 35 places, 31 transitions, 76 flow. Second operand has 7 states, 7 states have (on average 106.71428571428571) internal successors, (747), 7 states have internal predecessors, (747), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:19,718 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:43:19,718 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 105 of 232 [2023-08-29 21:43:19,718 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:43:19,763 INFO L130 PetriNetUnfolder]: 20/59 cut-off events. [2023-08-29 21:43:19,764 INFO L131 PetriNetUnfolder]: For 9/9 co-relation queries the response was YES. [2023-08-29 21:43:19,764 INFO L83 FinitePrefix]: Finished finitePrefix Result has 132 conditions, 59 events. 20/59 cut-off events. For 9/9 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 88 event pairs, 9 based on Foata normal form. 11/70 useless extension candidates. Maximal degree in co-relation 124. Up to 42 conditions per place. [2023-08-29 21:43:19,764 INFO L137 encePairwiseOnDemand]: 228/232 looper letters, 0 selfloop transitions, 0 changer transitions 27/27 dead transitions. [2023-08-29 21:43:19,765 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 24 places, 27 transitions, 110 flow [2023-08-29 21:43:19,765 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-08-29 21:43:19,765 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-08-29 21:43:19,766 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 447 transitions. [2023-08-29 21:43:19,766 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4816810344827586 [2023-08-29 21:43:19,767 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 447 transitions. [2023-08-29 21:43:19,767 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 447 transitions. [2023-08-29 21:43:19,767 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:43:19,767 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 447 transitions. [2023-08-29 21:43:19,769 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 111.75) internal successors, (447), 4 states have internal predecessors, (447), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:19,770 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 232.0) internal successors, (1160), 5 states have internal predecessors, (1160), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:19,771 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 232.0) internal successors, (1160), 5 states have internal predecessors, (1160), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:19,771 INFO L175 Difference]: Start difference. First operand has 35 places, 31 transitions, 76 flow. Second operand 4 states and 447 transitions. [2023-08-29 21:43:19,771 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 24 places, 27 transitions, 110 flow [2023-08-29 21:43:19,772 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 22 places, 27 transitions, 107 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:43:19,772 INFO L231 Difference]: Finished difference. Result has 22 places, 0 transitions, 0 flow [2023-08-29 21:43:19,773 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=232, PETRI_DIFFERENCE_MINUEND_FLOW=35, PETRI_DIFFERENCE_MINUEND_PLACES=19, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=16, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=16, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=0, PETRI_PLACES=22, PETRI_TRANSITIONS=0} [2023-08-29 21:43:19,774 INFO L281 CegarLoopForPetriNet]: 37 programPoint places, -15 predicate places. [2023-08-29 21:43:19,774 INFO L495 AbstractCegarLoop]: Abstraction has has 22 places, 0 transitions, 0 flow [2023-08-29 21:43:19,775 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 106.71428571428571) internal successors, (747), 7 states have internal predecessors, (747), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:19,778 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2023-08-29 21:43:19,779 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-08-29 21:43:19,779 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 21:43:19,779 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-08-29 21:43:19,779 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 6 remaining) [2023-08-29 21:43:19,779 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 21:43:19,787 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2023-08-29 21:43:19,984 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:43:19,985 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 21:43:19,988 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:43:19,992 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 118 places, 127 transitions, 262 flow [2023-08-29 21:43:20,009 INFO L130 PetriNetUnfolder]: 17/171 cut-off events. [2023-08-29 21:43:20,009 INFO L131 PetriNetUnfolder]: For 1/1 co-relation queries the response was YES. [2023-08-29 21:43:20,010 INFO L83 FinitePrefix]: Finished finitePrefix Result has 177 conditions, 171 events. 17/171 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 420 event pairs, 0 based on Foata normal form. 0/139 useless extension candidates. Maximal degree in co-relation 85. Up to 4 conditions per place. [2023-08-29 21:43:20,010 INFO L82 GeneralOperation]: Start removeDead. Operand has 118 places, 127 transitions, 262 flow [2023-08-29 21:43:20,011 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 114 places, 122 transitions, 249 flow [2023-08-29 21:43:20,011 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:43:20,011 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 114 places, 122 transitions, 249 flow [2023-08-29 21:43:20,012 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 114 places, 122 transitions, 249 flow [2023-08-29 21:43:20,012 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 114 places, 122 transitions, 249 flow [2023-08-29 21:43:20,023 INFO L130 PetriNetUnfolder]: 16/166 cut-off events. [2023-08-29 21:43:20,023 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:43:20,024 INFO L83 FinitePrefix]: Finished finitePrefix Result has 171 conditions, 166 events. 16/166 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 404 event pairs, 0 based on Foata normal form. 0/134 useless extension candidates. Maximal degree in co-relation 85. Up to 4 conditions per place. [2023-08-29 21:43:20,026 INFO L119 LiptonReduction]: Number of co-enabled transitions 3600 [2023-08-29 21:43:22,976 INFO L134 LiptonReduction]: Checked pairs total: 7873 [2023-08-29 21:43:22,976 INFO L136 LiptonReduction]: Total number of compositions: 102 [2023-08-29 21:43:22,982 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:43:22,983 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;@30b9b728, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:43:22,983 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:43:22,986 INFO L130 PetriNetUnfolder]: 0/21 cut-off events. [2023-08-29 21:43:22,986 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:43:22,986 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:43:22,987 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-08-29 21:43:22,987 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:43:22,987 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:43:22,987 INFO L85 PathProgramCache]: Analyzing trace with hash 39830895, now seen corresponding path program 1 times [2023-08-29 21:43:22,988 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:43:22,988 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [558999152] [2023-08-29 21:43:22,988 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:22,988 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:43:23,002 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:43:23,002 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:43:23,010 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:43:23,034 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:43:23,034 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:43:23,035 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:43:23,035 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-08-29 21:43:23,035 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:43:23,036 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:43:23,038 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:43:23,038 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-08-29 21:43:23,065 INFO L144 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2023-08-29 21:43:23,067 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 151 places, 165 transitions, 348 flow [2023-08-29 21:43:23,090 INFO L130 PetriNetUnfolder]: 31/282 cut-off events. [2023-08-29 21:43:23,091 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:43:23,092 INFO L83 FinitePrefix]: Finished finitePrefix Result has 296 conditions, 282 events. 31/282 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 898 event pairs, 0 based on Foata normal form. 0/226 useless extension candidates. Maximal degree in co-relation 173. Up to 8 conditions per place. [2023-08-29 21:43:23,093 INFO L82 GeneralOperation]: Start removeDead. Operand has 151 places, 165 transitions, 348 flow [2023-08-29 21:43:23,095 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 151 places, 165 transitions, 348 flow [2023-08-29 21:43:23,095 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:43:23,095 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 151 places, 165 transitions, 348 flow [2023-08-29 21:43:23,095 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 151 places, 165 transitions, 348 flow [2023-08-29 21:43:23,095 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 151 places, 165 transitions, 348 flow [2023-08-29 21:43:23,123 INFO L130 PetriNetUnfolder]: 31/282 cut-off events. [2023-08-29 21:43:23,124 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:43:23,125 INFO L83 FinitePrefix]: Finished finitePrefix Result has 296 conditions, 282 events. 31/282 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 898 event pairs, 0 based on Foata normal form. 0/226 useless extension candidates. Maximal degree in co-relation 173. Up to 8 conditions per place. [2023-08-29 21:43:23,131 INFO L119 LiptonReduction]: Number of co-enabled transitions 10584 [2023-08-29 21:43:25,953 INFO L134 LiptonReduction]: Checked pairs total: 26332 [2023-08-29 21:43:25,953 INFO L136 LiptonReduction]: Total number of compositions: 121 [2023-08-29 21:43:25,954 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:43:25,955 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;@30b9b728, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:43:25,955 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:43:25,957 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 21:43:25,957 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:43:25,957 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:43:25,957 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:43:25,958 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:43:25,958 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:43:25,958 INFO L85 PathProgramCache]: Analyzing trace with hash 29003, now seen corresponding path program 1 times [2023-08-29 21:43:25,958 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:43:25,958 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1037523431] [2023-08-29 21:43:25,959 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:25,959 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:43:25,971 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:43:26,004 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:43:26,005 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:43:26,005 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1037523431] [2023-08-29 21:43:26,005 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1037523431] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:43:26,005 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:43:26,005 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:43:26,006 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1706717771] [2023-08-29 21:43:26,007 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:43:26,007 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:43:26,008 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:43:26,009 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:43:26,010 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:43:26,034 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 135 out of 286 [2023-08-29 21:43:26,035 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 59 places, 71 transitions, 160 flow. Second operand has 3 states, 3 states have (on average 135.66666666666666) internal successors, (407), 3 states have internal predecessors, (407), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:26,035 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:43:26,036 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 135 of 286 [2023-08-29 21:43:26,036 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:43:26,706 INFO L130 PetriNetUnfolder]: 3986/6973 cut-off events. [2023-08-29 21:43:26,706 INFO L131 PetriNetUnfolder]: For 69/69 co-relation queries the response was YES. [2023-08-29 21:43:26,714 INFO L83 FinitePrefix]: Finished finitePrefix Result has 13432 conditions, 6973 events. 3986/6973 cut-off events. For 69/69 co-relation queries the response was YES. Maximal size of possible extension queue 192. Compared 44844 event pairs, 3448 based on Foata normal form. 782/6767 useless extension candidates. Maximal degree in co-relation 9294. Up to 5548 conditions per place. [2023-08-29 21:43:26,744 INFO L137 encePairwiseOnDemand]: 266/286 looper letters, 60 selfloop transitions, 2 changer transitions 2/74 dead transitions. [2023-08-29 21:43:26,744 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 58 places, 74 transitions, 292 flow [2023-08-29 21:43:26,745 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:43:26,745 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:43:26,746 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 497 transitions. [2023-08-29 21:43:26,746 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5792540792540792 [2023-08-29 21:43:26,746 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 497 transitions. [2023-08-29 21:43:26,747 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 497 transitions. [2023-08-29 21:43:26,747 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:43:26,747 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 497 transitions. [2023-08-29 21:43:26,748 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 165.66666666666666) internal successors, (497), 3 states have internal predecessors, (497), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:26,750 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 286.0) internal successors, (1144), 4 states have internal predecessors, (1144), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:26,751 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 286.0) internal successors, (1144), 4 states have internal predecessors, (1144), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:26,751 INFO L175 Difference]: Start difference. First operand has 59 places, 71 transitions, 160 flow. Second operand 3 states and 497 transitions. [2023-08-29 21:43:26,751 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 58 places, 74 transitions, 292 flow [2023-08-29 21:43:26,754 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 58 places, 74 transitions, 292 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:43:26,756 INFO L231 Difference]: Finished difference. Result has 58 places, 51 transitions, 120 flow [2023-08-29 21:43:26,756 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=286, PETRI_DIFFERENCE_MINUEND_FLOW=124, PETRI_DIFFERENCE_MINUEND_PLACES=56, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=53, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=51, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=120, PETRI_PLACES=58, PETRI_TRANSITIONS=51} [2023-08-29 21:43:26,758 INFO L281 CegarLoopForPetriNet]: 59 programPoint places, -1 predicate places. [2023-08-29 21:43:26,759 INFO L495 AbstractCegarLoop]: Abstraction has has 58 places, 51 transitions, 120 flow [2023-08-29 21:43:26,759 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 135.66666666666666) internal successors, (407), 3 states have internal predecessors, (407), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:26,759 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:43:26,759 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:43:26,760 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-08-29 21:43:26,760 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:43:26,760 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:43:26,760 INFO L85 PathProgramCache]: Analyzing trace with hash 29005, now seen corresponding path program 1 times [2023-08-29 21:43:26,760 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:43:26,761 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1655556112] [2023-08-29 21:43:26,761 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:26,761 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:43:26,767 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:43:26,833 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:43:26,833 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:43:26,833 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1655556112] [2023-08-29 21:43:26,833 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1655556112] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:43:26,834 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:43:26,834 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:43:26,834 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1657357904] [2023-08-29 21:43:26,834 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:43:26,834 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:43:26,835 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:43:26,836 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:43:26,839 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:43:26,870 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 138 out of 286 [2023-08-29 21:43:26,871 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 58 places, 51 transitions, 120 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:43:26,871 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:43:26,871 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 138 of 286 [2023-08-29 21:43:26,872 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:43:27,478 INFO L130 PetriNetUnfolder]: 3723/6405 cut-off events. [2023-08-29 21:43:27,479 INFO L131 PetriNetUnfolder]: For 79/79 co-relation queries the response was YES. [2023-08-29 21:43:27,488 INFO L83 FinitePrefix]: Finished finitePrefix Result has 12587 conditions, 6405 events. 3723/6405 cut-off events. For 79/79 co-relation queries the response was YES. Maximal size of possible extension queue 188. Compared 40757 event pairs, 1730 based on Foata normal form. 0/5721 useless extension candidates. Maximal degree in co-relation 11587. Up to 5944 conditions per place. [2023-08-29 21:43:27,516 INFO L137 encePairwiseOnDemand]: 282/286 looper letters, 52 selfloop transitions, 2 changer transitions 0/64 dead transitions. [2023-08-29 21:43:27,517 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 58 places, 64 transitions, 254 flow [2023-08-29 21:43:27,521 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:43:27,521 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:43:27,522 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 470 transitions. [2023-08-29 21:43:27,523 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5477855477855478 [2023-08-29 21:43:27,523 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 470 transitions. [2023-08-29 21:43:27,523 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 470 transitions. [2023-08-29 21:43:27,523 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:43:27,523 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 470 transitions. [2023-08-29 21:43:27,525 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 156.66666666666666) internal successors, (470), 3 states have internal predecessors, (470), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:27,526 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 286.0) internal successors, (1144), 4 states have internal predecessors, (1144), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:27,527 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 286.0) internal successors, (1144), 4 states have internal predecessors, (1144), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:27,527 INFO L175 Difference]: Start difference. First operand has 58 places, 51 transitions, 120 flow. Second operand 3 states and 470 transitions. [2023-08-29 21:43:27,527 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 58 places, 64 transitions, 254 flow [2023-08-29 21:43:27,537 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 55 places, 64 transitions, 248 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-08-29 21:43:27,538 INFO L231 Difference]: Finished difference. Result has 56 places, 52 transitions, 128 flow [2023-08-29 21:43:27,539 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=286, PETRI_DIFFERENCE_MINUEND_FLOW=114, PETRI_DIFFERENCE_MINUEND_PLACES=53, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=51, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=49, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=128, PETRI_PLACES=56, PETRI_TRANSITIONS=52} [2023-08-29 21:43:27,541 INFO L281 CegarLoopForPetriNet]: 59 programPoint places, -3 predicate places. [2023-08-29 21:43:27,541 INFO L495 AbstractCegarLoop]: Abstraction has has 56 places, 52 transitions, 128 flow [2023-08-29 21:43:27,541 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:43:27,541 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:43:27,542 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-08-29 21:43:27,542 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-08-29 21:43:27,542 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:43:27,542 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:43:27,542 INFO L85 PathProgramCache]: Analyzing trace with hash 1039100838, now seen corresponding path program 1 times [2023-08-29 21:43:27,543 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:43:27,545 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [284209127] [2023-08-29 21:43:27,545 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:27,545 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:43:27,554 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:43:27,635 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:43:27,635 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:43:27,637 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [284209127] [2023-08-29 21:43:27,638 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [284209127] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:43:27,638 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [732162978] [2023-08-29 21:43:27,638 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:27,638 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:43:27,638 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:43:27,645 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:43:27,673 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:43:27,713 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:43:27,714 INFO L263 TraceCheckSpWp]: Trace formula consists of 123 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:43:27,716 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:43:27,731 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:43:27,786 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:43:27,786 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:43:27,862 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:43:27,862 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [732162978] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:43:27,863 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:43:27,863 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 6 [2023-08-29 21:43:27,863 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1450079887] [2023-08-29 21:43:27,863 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:43:27,863 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2023-08-29 21:43:27,864 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:43:27,864 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2023-08-29 21:43:27,864 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=36, Unknown=0, NotChecked=0, Total=56 [2023-08-29 21:43:27,957 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 134 out of 286 [2023-08-29 21:43:27,959 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 56 places, 52 transitions, 128 flow. Second operand has 8 states, 8 states have (on average 135.875) internal successors, (1087), 8 states have internal predecessors, (1087), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:27,959 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:43:27,959 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 134 of 286 [2023-08-29 21:43:27,959 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:43:28,138 INFO L130 PetriNetUnfolder]: 625/1123 cut-off events. [2023-08-29 21:43:28,139 INFO L131 PetriNetUnfolder]: For 156/156 co-relation queries the response was YES. [2023-08-29 21:43:28,141 INFO L83 FinitePrefix]: Finished finitePrefix Result has 2371 conditions, 1123 events. 625/1123 cut-off events. For 156/156 co-relation queries the response was YES. Maximal size of possible extension queue 45. Compared 5401 event pairs, 0 based on Foata normal form. 144/1267 useless extension candidates. Maximal degree in co-relation 197. Up to 746 conditions per place. [2023-08-29 21:43:28,142 INFO L137 encePairwiseOnDemand]: 282/286 looper letters, 0 selfloop transitions, 0 changer transitions 69/69 dead transitions. [2023-08-29 21:43:28,142 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 45 places, 69 transitions, 275 flow [2023-08-29 21:43:28,142 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2023-08-29 21:43:28,143 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2023-08-29 21:43:28,144 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 735 transitions. [2023-08-29 21:43:28,144 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.513986013986014 [2023-08-29 21:43:28,145 INFO L72 ComplementDD]: Start complementDD. Operand 5 states and 735 transitions. [2023-08-29 21:43:28,145 INFO L73 IsDeterministic]: Start isDeterministic. Operand 5 states and 735 transitions. [2023-08-29 21:43:28,145 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:43:28,145 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 5 states and 735 transitions. [2023-08-29 21:43:28,148 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 6 states, 5 states have (on average 147.0) internal successors, (735), 5 states have internal predecessors, (735), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:28,150 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 6 states, 6 states have (on average 286.0) internal successors, (1716), 6 states have internal predecessors, (1716), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:28,151 INFO L81 ComplementDD]: Finished complementDD. Result has 6 states, 6 states have (on average 286.0) internal successors, (1716), 6 states have internal predecessors, (1716), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:28,151 INFO L175 Difference]: Start difference. First operand has 56 places, 52 transitions, 128 flow. Second operand 5 states and 735 transitions. [2023-08-29 21:43:28,151 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 45 places, 69 transitions, 275 flow [2023-08-29 21:43:28,152 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 44 places, 69 transitions, 273 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 21:43:28,152 INFO L231 Difference]: Finished difference. Result has 44 places, 0 transitions, 0 flow [2023-08-29 21:43:28,153 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=286, PETRI_DIFFERENCE_MINUEND_FLOW=83, PETRI_DIFFERENCE_MINUEND_PLACES=40, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=35, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=35, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=0, PETRI_PLACES=44, PETRI_TRANSITIONS=0} [2023-08-29 21:43:28,154 INFO L281 CegarLoopForPetriNet]: 59 programPoint places, -15 predicate places. [2023-08-29 21:43:28,154 INFO L495 AbstractCegarLoop]: Abstraction has has 44 places, 0 transitions, 0 flow [2023-08-29 21:43:28,155 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 135.875) internal successors, (1087), 8 states have internal predecessors, (1087), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:28,155 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2023-08-29 21:43:28,155 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-08-29 21:43:28,156 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 21:43:28,156 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-08-29 21:43:28,156 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 6 remaining) [2023-08-29 21:43:28,156 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 21:43:28,161 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:43:28,361 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:43:28,361 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 21:43:28,362 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:43:28,364 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 151 places, 165 transitions, 348 flow [2023-08-29 21:43:28,385 INFO L130 PetriNetUnfolder]: 31/282 cut-off events. [2023-08-29 21:43:28,386 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:43:28,388 INFO L83 FinitePrefix]: Finished finitePrefix Result has 296 conditions, 282 events. 31/282 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 898 event pairs, 0 based on Foata normal form. 0/226 useless extension candidates. Maximal degree in co-relation 173. Up to 8 conditions per place. [2023-08-29 21:43:28,388 INFO L82 GeneralOperation]: Start removeDead. Operand has 151 places, 165 transitions, 348 flow [2023-08-29 21:43:28,389 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 151 places, 165 transitions, 348 flow [2023-08-29 21:43:28,389 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:43:28,390 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 151 places, 165 transitions, 348 flow [2023-08-29 21:43:28,390 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 151 places, 165 transitions, 348 flow [2023-08-29 21:43:28,390 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 151 places, 165 transitions, 348 flow [2023-08-29 21:43:28,413 INFO L130 PetriNetUnfolder]: 31/282 cut-off events. [2023-08-29 21:43:28,414 INFO L131 PetriNetUnfolder]: For 6/6 co-relation queries the response was YES. [2023-08-29 21:43:28,415 INFO L83 FinitePrefix]: Finished finitePrefix Result has 296 conditions, 282 events. 31/282 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 898 event pairs, 0 based on Foata normal form. 0/226 useless extension candidates. Maximal degree in co-relation 173. Up to 8 conditions per place. [2023-08-29 21:43:28,421 INFO L119 LiptonReduction]: Number of co-enabled transitions 10584 [2023-08-29 21:43:31,326 INFO L134 LiptonReduction]: Checked pairs total: 26332 [2023-08-29 21:43:31,327 INFO L136 LiptonReduction]: Total number of compositions: 121 [2023-08-29 21:43:31,328 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:43:31,328 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;@30b9b728, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:43:31,329 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:43:31,333 INFO L130 PetriNetUnfolder]: 8/70 cut-off events. [2023-08-29 21:43:31,334 INFO L131 PetriNetUnfolder]: For 3/3 co-relation queries the response was YES. [2023-08-29 21:43:31,334 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:43:31,334 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1] [2023-08-29 21:43:31,334 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:43:31,334 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:43:31,334 INFO L85 PathProgramCache]: Analyzing trace with hash -1008382316, now seen corresponding path program 1 times [2023-08-29 21:43:31,335 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:43:31,335 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [571657836] [2023-08-29 21:43:31,335 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:31,335 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:43:31,353 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:43:31,354 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:43:31,368 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:43:31,377 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:43:31,378 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:43:31,378 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:43:31,378 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-08-29 21:43:31,378 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:43:31,379 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:43:31,379 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:43:31,379 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-08-29 21:43:31,406 INFO L144 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2023-08-29 21:43:31,409 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 184 places, 203 transitions, 436 flow [2023-08-29 21:43:31,448 INFO L130 PetriNetUnfolder]: 50/434 cut-off events. [2023-08-29 21:43:31,449 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:43:31,453 INFO L83 FinitePrefix]: Finished finitePrefix Result has 462 conditions, 434 events. 50/434 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 1597 event pairs, 1 based on Foata normal form. 0/344 useless extension candidates. Maximal degree in co-relation 290. Up to 16 conditions per place. [2023-08-29 21:43:31,453 INFO L82 GeneralOperation]: Start removeDead. Operand has 184 places, 203 transitions, 436 flow [2023-08-29 21:43:31,459 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 184 places, 203 transitions, 436 flow [2023-08-29 21:43:31,459 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:43:31,460 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 184 places, 203 transitions, 436 flow [2023-08-29 21:43:31,460 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 184 places, 203 transitions, 436 flow [2023-08-29 21:43:31,460 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 184 places, 203 transitions, 436 flow [2023-08-29 21:43:31,499 INFO L130 PetriNetUnfolder]: 50/434 cut-off events. [2023-08-29 21:43:31,500 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:43:31,504 INFO L83 FinitePrefix]: Finished finitePrefix Result has 462 conditions, 434 events. 50/434 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 1597 event pairs, 1 based on Foata normal form. 0/344 useless extension candidates. Maximal degree in co-relation 290. Up to 16 conditions per place. [2023-08-29 21:43:31,518 INFO L119 LiptonReduction]: Number of co-enabled transitions 20088 [2023-08-29 21:43:34,467 INFO L134 LiptonReduction]: Checked pairs total: 58952 [2023-08-29 21:43:34,467 INFO L136 LiptonReduction]: Total number of compositions: 143 [2023-08-29 21:43:34,469 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:43:34,469 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;@30b9b728, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:43:34,469 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:43:34,470 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 21:43:34,470 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:43:34,470 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:43:34,470 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:43:34,470 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:43:34,471 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:43:34,471 INFO L85 PathProgramCache]: Analyzing trace with hash 45160, now seen corresponding path program 1 times [2023-08-29 21:43:34,471 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:43:34,471 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [493923049] [2023-08-29 21:43:34,471 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:34,472 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:43:34,484 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:43:34,516 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:43:34,516 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:43:34,516 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [493923049] [2023-08-29 21:43:34,516 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [493923049] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:43:34,516 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:43:34,517 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:43:34,517 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1730994857] [2023-08-29 21:43:34,517 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:43:34,517 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:43:34,517 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:43:34,518 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:43:34,518 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:43:34,543 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 168 out of 346 [2023-08-29 21:43:34,544 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 75 places, 91 transitions, 212 flow. Second operand has 3 states, 3 states have (on average 168.66666666666666) internal successors, (506), 3 states have internal predecessors, (506), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:34,544 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:43:34,544 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 168 of 346 [2023-08-29 21:43:34,544 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:43:41,385 INFO L130 PetriNetUnfolder]: 64910/100469 cut-off events. [2023-08-29 21:43:41,385 INFO L131 PetriNetUnfolder]: For 1407/1407 co-relation queries the response was YES. [2023-08-29 21:43:41,521 INFO L83 FinitePrefix]: Finished finitePrefix Result has 192215 conditions, 100469 events. 64910/100469 cut-off events. For 1407/1407 co-relation queries the response was YES. Maximal size of possible extension queue 2271. Compared 816813 event pairs, 41896 based on Foata normal form. 15653/103432 useless extension candidates. Maximal degree in co-relation 13949. Up to 90694 conditions per place. [2023-08-29 21:43:41,850 INFO L137 encePairwiseOnDemand]: 322/346 looper letters, 65 selfloop transitions, 2 changer transitions 2/85 dead transitions. [2023-08-29 21:43:41,850 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 77 places, 85 transitions, 336 flow [2023-08-29 21:43:41,850 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:43:41,850 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:43:41,852 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 600 transitions. [2023-08-29 21:43:41,852 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5780346820809249 [2023-08-29 21:43:41,852 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 600 transitions. [2023-08-29 21:43:41,852 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 600 transitions. [2023-08-29 21:43:41,853 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:43:41,853 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 600 transitions. [2023-08-29 21:43:41,854 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 200.0) internal successors, (600), 3 states have internal predecessors, (600), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:41,856 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 346.0) internal successors, (1384), 4 states have internal predecessors, (1384), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:41,856 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 346.0) internal successors, (1384), 4 states have internal predecessors, (1384), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:41,856 INFO L175 Difference]: Start difference. First operand has 75 places, 91 transitions, 212 flow. Second operand 3 states and 600 transitions. [2023-08-29 21:43:41,856 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 77 places, 85 transitions, 336 flow [2023-08-29 21:43:41,859 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 77 places, 85 transitions, 336 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:43:41,860 INFO L231 Difference]: Finished difference. Result has 78 places, 70 transitions, 176 flow [2023-08-29 21:43:41,861 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=346, PETRI_DIFFERENCE_MINUEND_FLOW=172, PETRI_DIFFERENCE_MINUEND_PLACES=75, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=71, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=69, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=176, PETRI_PLACES=78, PETRI_TRANSITIONS=70} [2023-08-29 21:43:41,861 INFO L281 CegarLoopForPetriNet]: 75 programPoint places, 3 predicate places. [2023-08-29 21:43:41,861 INFO L495 AbstractCegarLoop]: Abstraction has has 78 places, 70 transitions, 176 flow [2023-08-29 21:43:41,862 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 168.66666666666666) internal successors, (506), 3 states have internal predecessors, (506), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:41,862 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:43:41,862 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:43:41,862 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-08-29 21:43:41,862 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:43:41,863 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:43:41,863 INFO L85 PathProgramCache]: Analyzing trace with hash 45161, now seen corresponding path program 1 times [2023-08-29 21:43:41,863 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:43:41,863 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1659980839] [2023-08-29 21:43:41,863 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:41,863 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:43:41,869 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:43:41,888 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:43:41,888 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:43:41,889 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1659980839] [2023-08-29 21:43:41,889 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1659980839] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:43:41,889 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:43:41,889 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:43:41,889 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1470393201] [2023-08-29 21:43:41,889 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:43:41,890 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:43:41,890 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:43:41,890 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:43:41,890 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:43:41,913 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 165 out of 346 [2023-08-29 21:43:41,914 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 78 places, 70 transitions, 176 flow. Second operand has 3 states, 3 states have (on average 165.66666666666666) internal successors, (497), 3 states have internal predecessors, (497), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:41,914 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:43:41,914 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 165 of 346 [2023-08-29 21:43:41,914 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:43:46,869 INFO L130 PetriNetUnfolder]: 53611/81654 cut-off events. [2023-08-29 21:43:46,869 INFO L131 PetriNetUnfolder]: For 3922/3922 co-relation queries the response was YES. [2023-08-29 21:43:46,989 INFO L83 FinitePrefix]: Finished finitePrefix Result has 161525 conditions, 81654 events. 53611/81654 cut-off events. For 3922/3922 co-relation queries the response was YES. Maximal size of possible extension queue 1863. Compared 635760 event pairs, 49550 based on Foata normal form. 0/74744 useless extension candidates. Maximal degree in co-relation 161435. Up to 69452 conditions per place. [2023-08-29 21:43:47,253 INFO L137 encePairwiseOnDemand]: 342/346 looper letters, 79 selfloop transitions, 2 changer transitions 0/97 dead transitions. [2023-08-29 21:43:47,253 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 76 places, 97 transitions, 392 flow [2023-08-29 21:43:47,257 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:43:47,257 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:43:47,258 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 577 transitions. [2023-08-29 21:43:47,258 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5558766859344894 [2023-08-29 21:43:47,258 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 577 transitions. [2023-08-29 21:43:47,258 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 577 transitions. [2023-08-29 21:43:47,259 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:43:47,259 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 577 transitions. [2023-08-29 21:43:47,260 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 192.33333333333334) internal successors, (577), 3 states have internal predecessors, (577), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:47,262 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 346.0) internal successors, (1384), 4 states have internal predecessors, (1384), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:47,262 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 346.0) internal successors, (1384), 4 states have internal predecessors, (1384), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:47,262 INFO L175 Difference]: Start difference. First operand has 78 places, 70 transitions, 176 flow. Second operand 3 states and 577 transitions. [2023-08-29 21:43:47,262 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 76 places, 97 transitions, 392 flow [2023-08-29 21:43:47,287 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 74 places, 97 transitions, 388 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:43:47,289 INFO L231 Difference]: Finished difference. Result has 74 places, 68 transitions, 172 flow [2023-08-29 21:43:47,289 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=346, PETRI_DIFFERENCE_MINUEND_FLOW=168, PETRI_DIFFERENCE_MINUEND_PLACES=72, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=68, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=66, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=172, PETRI_PLACES=74, PETRI_TRANSITIONS=68} [2023-08-29 21:43:47,291 INFO L281 CegarLoopForPetriNet]: 75 programPoint places, -1 predicate places. [2023-08-29 21:43:47,291 INFO L495 AbstractCegarLoop]: Abstraction has has 74 places, 68 transitions, 172 flow [2023-08-29 21:43:47,291 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 165.66666666666666) internal successors, (497), 3 states have internal predecessors, (497), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:47,291 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:43:47,291 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-08-29 21:43:47,292 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2023-08-29 21:43:47,292 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:43:47,292 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:43:47,292 INFO L85 PathProgramCache]: Analyzing trace with hash -1206513103, now seen corresponding path program 1 times [2023-08-29 21:43:47,292 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:43:47,292 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [41274042] [2023-08-29 21:43:47,293 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:47,293 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:43:47,301 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:43:47,378 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:43:47,379 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:43:47,379 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [41274042] [2023-08-29 21:43:47,379 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [41274042] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:43:47,379 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1567500049] [2023-08-29 21:43:47,379 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:47,379 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:43:47,380 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:43:47,381 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:43:47,383 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:43:47,453 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:43:47,454 INFO L263 TraceCheckSpWp]: Trace formula consists of 123 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:43:47,455 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:43:47,470 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:43:47,509 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:43:47,509 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:43:47,545 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:43:47,546 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1567500049] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:43:47,546 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:43:47,546 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 6 [2023-08-29 21:43:47,546 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1310058919] [2023-08-29 21:43:47,546 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:43:47,547 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2023-08-29 21:43:47,547 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:43:47,547 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2023-08-29 21:43:47,547 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=36, Unknown=0, NotChecked=0, Total=56 [2023-08-29 21:43:47,637 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 164 out of 346 [2023-08-29 21:43:47,639 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 74 places, 68 transitions, 172 flow. Second operand has 8 states, 8 states have (on average 165.875) internal successors, (1327), 8 states have internal predecessors, (1327), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:47,640 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:43:47,640 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 164 of 346 [2023-08-29 21:43:47,640 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:43:48,631 INFO L130 PetriNetUnfolder]: 9268/14038 cut-off events. [2023-08-29 21:43:48,631 INFO L131 PetriNetUnfolder]: For 1723/1723 co-relation queries the response was YES. [2023-08-29 21:43:48,650 INFO L83 FinitePrefix]: Finished finitePrefix Result has 29043 conditions, 14038 events. 9268/14038 cut-off events. For 1723/1723 co-relation queries the response was YES. Maximal size of possible extension queue 375. Compared 89477 event pairs, 77 based on Foata normal form. 1332/15366 useless extension candidates. Maximal degree in co-relation 29032. Up to 8920 conditions per place. [2023-08-29 21:43:48,660 INFO L137 encePairwiseOnDemand]: 342/346 looper letters, 0 selfloop transitions, 0 changer transitions 114/114 dead transitions. [2023-08-29 21:43:48,661 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 64 places, 114 transitions, 452 flow [2023-08-29 21:43:48,661 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-08-29 21:43:48,661 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2023-08-29 21:43:48,667 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 1090 transitions. [2023-08-29 21:43:48,668 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5250481695568401 [2023-08-29 21:43:48,668 INFO L72 ComplementDD]: Start complementDD. Operand 6 states and 1090 transitions. [2023-08-29 21:43:48,669 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6 states and 1090 transitions. [2023-08-29 21:43:48,671 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:43:48,671 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 6 states and 1090 transitions. [2023-08-29 21:43:48,674 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 7 states, 6 states have (on average 181.66666666666666) internal successors, (1090), 6 states have internal predecessors, (1090), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:48,677 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 7 states, 7 states have (on average 346.0) internal successors, (2422), 7 states have internal predecessors, (2422), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:48,678 INFO L81 ComplementDD]: Finished complementDD. Result has 7 states, 7 states have (on average 346.0) internal successors, (2422), 7 states have internal predecessors, (2422), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:48,678 INFO L175 Difference]: Start difference. First operand has 74 places, 68 transitions, 172 flow. Second operand 6 states and 1090 transitions. [2023-08-29 21:43:48,678 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 64 places, 114 transitions, 452 flow [2023-08-29 21:43:48,679 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 63 places, 114 transitions, 449 flow, removed 1 selfloop flow, removed 1 redundant places. [2023-08-29 21:43:48,680 INFO L231 Difference]: Finished difference. Result has 63 places, 0 transitions, 0 flow [2023-08-29 21:43:48,680 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=346, PETRI_DIFFERENCE_MINUEND_FLOW=119, PETRI_DIFFERENCE_MINUEND_PLACES=58, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=50, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=50, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=0, PETRI_PLACES=63, PETRI_TRANSITIONS=0} [2023-08-29 21:43:48,681 INFO L281 CegarLoopForPetriNet]: 75 programPoint places, -12 predicate places. [2023-08-29 21:43:48,681 INFO L495 AbstractCegarLoop]: Abstraction has has 63 places, 0 transitions, 0 flow [2023-08-29 21:43:48,682 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 165.875) internal successors, (1327), 8 states have internal predecessors, (1327), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:48,682 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (5 of 6 remaining) [2023-08-29 21:43:48,682 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-08-29 21:43:48,682 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 6 remaining) [2023-08-29 21:43:48,683 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-08-29 21:43:48,683 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 6 remaining) [2023-08-29 21:43:48,683 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 6 remaining) [2023-08-29 21:43:48,691 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:43:48,888 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:43:48,888 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-08-29 21:43:48,888 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:43:48,890 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 184 places, 203 transitions, 436 flow [2023-08-29 21:43:48,927 INFO L130 PetriNetUnfolder]: 50/434 cut-off events. [2023-08-29 21:43:48,927 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:43:48,931 INFO L83 FinitePrefix]: Finished finitePrefix Result has 462 conditions, 434 events. 50/434 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 1597 event pairs, 1 based on Foata normal form. 0/344 useless extension candidates. Maximal degree in co-relation 290. Up to 16 conditions per place. [2023-08-29 21:43:48,931 INFO L82 GeneralOperation]: Start removeDead. Operand has 184 places, 203 transitions, 436 flow [2023-08-29 21:43:48,933 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 184 places, 203 transitions, 436 flow [2023-08-29 21:43:48,934 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:43:48,934 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 184 places, 203 transitions, 436 flow [2023-08-29 21:43:48,934 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 184 places, 203 transitions, 436 flow [2023-08-29 21:43:48,934 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 184 places, 203 transitions, 436 flow [2023-08-29 21:43:48,967 INFO L130 PetriNetUnfolder]: 50/434 cut-off events. [2023-08-29 21:43:48,967 INFO L131 PetriNetUnfolder]: For 19/19 co-relation queries the response was YES. [2023-08-29 21:43:48,971 INFO L83 FinitePrefix]: Finished finitePrefix Result has 462 conditions, 434 events. 50/434 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 1597 event pairs, 1 based on Foata normal form. 0/344 useless extension candidates. Maximal degree in co-relation 290. Up to 16 conditions per place. [2023-08-29 21:43:48,979 INFO L119 LiptonReduction]: Number of co-enabled transitions 20088 [2023-08-29 21:43:51,871 INFO L134 LiptonReduction]: Checked pairs total: 58830 [2023-08-29 21:43:51,871 INFO L136 LiptonReduction]: Total number of compositions: 143 [2023-08-29 21:43:51,872 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:43:51,873 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;@30b9b728, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:43:51,873 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-08-29 21:43:51,881 INFO L130 PetriNetUnfolder]: 13/106 cut-off events. [2023-08-29 21:43:51,882 INFO L131 PetriNetUnfolder]: For 10/10 co-relation queries the response was YES. [2023-08-29 21:43:51,882 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:43:51,882 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 3, 1, 1, 1, 1, 1] [2023-08-29 21:43:51,882 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:43:51,883 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:43:51,883 INFO L85 PathProgramCache]: Analyzing trace with hash -1828469282, now seen corresponding path program 1 times [2023-08-29 21:43:51,883 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:43:51,883 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [338583144] [2023-08-29 21:43:51,883 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:51,883 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:43:51,910 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:43:51,910 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:43:51,919 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:43:51,935 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:43:51,936 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:43:51,936 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-08-29 21:43:51,936 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2023-08-29 21:43:51,936 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:43:51,938 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE (2/2) [2023-08-29 21:43:51,938 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:43:51,938 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-08-29 21:43:51,973 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-08-29 21:43:51,976 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 217 places, 241 transitions, 526 flow [2023-08-29 21:43:52,061 INFO L130 PetriNetUnfolder]: 81/670 cut-off events. [2023-08-29 21:43:52,061 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:43:52,069 INFO L83 FinitePrefix]: Finished finitePrefix Result has 725 conditions, 670 events. 81/670 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 2872 event pairs, 6 based on Foata normal form. 0/526 useless extension candidates. Maximal degree in co-relation 454. Up to 32 conditions per place. [2023-08-29 21:43:52,069 INFO L82 GeneralOperation]: Start removeDead. Operand has 217 places, 241 transitions, 526 flow [2023-08-29 21:43:52,074 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 217 places, 241 transitions, 526 flow [2023-08-29 21:43:52,074 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:43:52,075 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 217 places, 241 transitions, 526 flow [2023-08-29 21:43:52,075 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 217 places, 241 transitions, 526 flow [2023-08-29 21:43:52,075 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 217 places, 241 transitions, 526 flow [2023-08-29 21:43:52,152 INFO L130 PetriNetUnfolder]: 81/670 cut-off events. [2023-08-29 21:43:52,153 INFO L131 PetriNetUnfolder]: For 48/48 co-relation queries the response was YES. [2023-08-29 21:43:52,161 INFO L83 FinitePrefix]: Finished finitePrefix Result has 725 conditions, 670 events. 81/670 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 2872 event pairs, 6 based on Foata normal form. 0/526 useless extension candidates. Maximal degree in co-relation 454. Up to 32 conditions per place. [2023-08-29 21:43:52,180 INFO L119 LiptonReduction]: Number of co-enabled transitions 32400 [2023-08-29 21:43:55,609 INFO L134 LiptonReduction]: Checked pairs total: 100516 [2023-08-29 21:43:55,609 INFO L136 LiptonReduction]: Total number of compositions: 164 [2023-08-29 21:43:55,611 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:43:55,612 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;@30b9b728, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:43:55,612 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-08-29 21:43:55,614 INFO L130 PetriNetUnfolder]: 0/2 cut-off events. [2023-08-29 21:43:55,614 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:43:55,614 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:43:55,614 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:43:55,614 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:43:55,614 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:43:55,615 INFO L85 PathProgramCache]: Analyzing trace with hash 63908, now seen corresponding path program 1 times [2023-08-29 21:43:55,615 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:43:55,615 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1861002843] [2023-08-29 21:43:55,615 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:43:55,615 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:43:55,624 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:43:55,646 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:43:55,646 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:43:55,646 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1861002843] [2023-08-29 21:43:55,646 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1861002843] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:43:55,647 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:43:55,647 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:43:55,648 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [197004284] [2023-08-29 21:43:55,649 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:43:55,649 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:43:55,649 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:43:55,649 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:43:55,650 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:43:55,673 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 195 out of 405 [2023-08-29 21:43:55,674 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 93 places, 115 transitions, 274 flow. Second operand has 3 states, 3 states have (on average 195.66666666666666) internal successors, (587), 3 states have internal predecessors, (587), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:43:55,675 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:43:55,675 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 195 of 405 [2023-08-29 21:43:55,675 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:45:36,939 INFO L130 PetriNetUnfolder]: 885029/1223375 cut-off events. [2023-08-29 21:45:36,952 INFO L131 PetriNetUnfolder]: For 25426/25426 co-relation queries the response was YES. [2023-08-29 21:45:40,142 INFO L83 FinitePrefix]: Finished finitePrefix Result has 2383829 conditions, 1223375 events. 885029/1223375 cut-off events. For 25426/25426 co-relation queries the response was YES. Maximal size of possible extension queue 20602. Compared 10444939 event pairs, 757989 based on Foata normal form. 229742/1335903 useless extension candidates. Maximal degree in co-relation 305626. Up to 983203 conditions per place. [2023-08-29 21:45:45,298 INFO L137 encePairwiseOnDemand]: 373/405 looper letters, 100 selfloop transitions, 2 changer transitions 2/124 dead transitions. [2023-08-29 21:45:45,299 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 92 places, 124 transitions, 498 flow [2023-08-29 21:45:45,299 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:45:45,299 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:45:45,301 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 741 transitions. [2023-08-29 21:45:45,302 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.6098765432098765 [2023-08-29 21:45:45,302 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 741 transitions. [2023-08-29 21:45:45,302 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 741 transitions. [2023-08-29 21:45:45,303 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:45:45,303 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 741 transitions. [2023-08-29 21:45:45,304 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 247.0) internal successors, (741), 3 states have internal predecessors, (741), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:45:45,306 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 405.0) internal successors, (1620), 4 states have internal predecessors, (1620), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:45:45,307 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 405.0) internal successors, (1620), 4 states have internal predecessors, (1620), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:45:45,307 INFO L175 Difference]: Start difference. First operand has 93 places, 115 transitions, 274 flow. Second operand 3 states and 741 transitions. [2023-08-29 21:45:45,307 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 92 places, 124 transitions, 498 flow [2023-08-29 21:45:45,319 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 92 places, 124 transitions, 498 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:45:45,321 INFO L231 Difference]: Finished difference. Result has 92 places, 83 transitions, 206 flow [2023-08-29 21:45:45,321 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=405, PETRI_DIFFERENCE_MINUEND_FLOW=214, PETRI_DIFFERENCE_MINUEND_PLACES=90, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=85, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=83, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=206, PETRI_PLACES=92, PETRI_TRANSITIONS=83} [2023-08-29 21:45:45,322 INFO L281 CegarLoopForPetriNet]: 93 programPoint places, -1 predicate places. [2023-08-29 21:45:45,322 INFO L495 AbstractCegarLoop]: Abstraction has has 92 places, 83 transitions, 206 flow [2023-08-29 21:45:45,322 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 195.66666666666666) internal successors, (587), 3 states have internal predecessors, (587), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:45:45,322 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:45:45,323 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:45:45,323 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable12 [2023-08-29 21:45:45,323 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:45:45,323 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:45:45,323 INFO L85 PathProgramCache]: Analyzing trace with hash 63909, now seen corresponding path program 1 times [2023-08-29 21:45:45,324 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:45:45,324 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1408180822] [2023-08-29 21:45:45,324 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:45:45,324 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:45:45,356 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:45:45,393 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:45:45,393 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:45:45,393 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1408180822] [2023-08-29 21:45:45,393 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1408180822] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:45:45,394 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:45:45,394 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:45:45,394 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1799302750] [2023-08-29 21:45:45,394 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:45:45,395 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:45:45,395 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:45:45,395 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:45:45,395 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:45:45,425 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 198 out of 405 [2023-08-29 21:45:45,425 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 92 places, 83 transitions, 206 flow. Second operand has 3 states, 3 states have (on average 198.66666666666666) internal successors, (596), 3 states have internal predecessors, (596), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:45:45,426 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:45:45,426 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 198 of 405 [2023-08-29 21:45:45,426 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand