./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/pthread-ext/03_incdec-pthread.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 0e0057cc Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/bin/uautomizer-verify-NlZe1sFDwI/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/bin/uautomizer-verify-NlZe1sFDwI/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/bin/uautomizer-verify-NlZe1sFDwI/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/bin/uautomizer-verify-NlZe1sFDwI/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread-ext/03_incdec-pthread.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/bin/uautomizer-verify-NlZe1sFDwI/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/bin/uautomizer-verify-NlZe1sFDwI --witnessprinter.witness.filename witness --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 7f19dc7b6c5c71a67d9914faaf2a1157355ecf0e14b05edf8c2541b2f25a5ffb --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 22:05:47,170 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 22:05:47,240 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/bin/uautomizer-verify-NlZe1sFDwI/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-24 22:05:47,246 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-24 22:05:47,246 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-24 22:05:47,274 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 22:05:47,275 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-24 22:05:47,275 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-24 22:05:47,276 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-24 22:05:47,277 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-24 22:05:47,277 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 22:05:47,278 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-24 22:05:47,279 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 22:05:47,280 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 22:05:47,280 INFO L153 SettingsManager]: * Use SBE=true [2023-11-24 22:05:47,281 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 22:05:47,281 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-24 22:05:47,282 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 22:05:47,283 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-24 22:05:47,283 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 22:05:47,284 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-24 22:05:47,284 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-24 22:05:47,285 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-24 22:05:47,286 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 22:05:47,286 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-24 22:05:47,287 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 22:05:47,287 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-24 22:05:47,288 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 22:05:47,288 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 22:05:47,289 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-24 22:05:47,289 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-24 22:05:47,290 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-24 22:05:47,291 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-24 22:05:47,291 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 22:05:47,292 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 22:05:47,292 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-24 22:05:47,293 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-24 22:05:47,293 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-24 22:05:47,293 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-24 22:05:47,294 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-24 22:05:47,294 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-24 22:05:47,295 INFO L153 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:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/bin/uautomizer-verify-NlZe1sFDwI/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 -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/bin/uautomizer-verify-NlZe1sFDwI Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness 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 -> 7f19dc7b6c5c71a67d9914faaf2a1157355ecf0e14b05edf8c2541b2f25a5ffb [2023-11-24 22:05:47,592 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 22:05:47,633 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 22:05:47,636 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 22:05:47,638 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 22:05:47,639 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 22:05:47,640 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/bin/uautomizer-verify-NlZe1sFDwI/../../sv-benchmarks/c/pthread-ext/03_incdec-pthread.i [2023-11-24 22:05:50,952 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 22:05:51,230 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 22:05:51,231 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/sv-benchmarks/c/pthread-ext/03_incdec-pthread.i [2023-11-24 22:05:51,251 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/bin/uautomizer-verify-NlZe1sFDwI/data/c8f677464/52c67130a1fc419ab4b55d10dd61a5ce/FLAGe7da87a63 [2023-11-24 22:05:51,266 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/bin/uautomizer-verify-NlZe1sFDwI/data/c8f677464/52c67130a1fc419ab4b55d10dd61a5ce [2023-11-24 22:05:51,269 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 22:05:51,271 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 22:05:51,272 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 22:05:51,273 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 22:05:51,279 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 22:05:51,280 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:05:51" (1/1) ... [2023-11-24 22:05:51,281 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@745bda64 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:05:51, skipping insertion in model container [2023-11-24 22:05:51,281 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:05:51" (1/1) ... [2023-11-24 22:05:51,365 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 22:05:51,871 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:05:51,890 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 22:05:51,962 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:05:52,022 INFO L206 MainTranslator]: Completed translation [2023-11-24 22:05:52,022 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:05:52 WrapperNode [2023-11-24 22:05:52,023 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 22:05:52,024 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 22:05:52,024 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 22:05:52,024 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 22:05:52,033 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:05:52" (1/1) ... [2023-11-24 22:05:52,063 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:05:52" (1/1) ... [2023-11-24 22:05:52,101 INFO L138 Inliner]: procedures = 165, calls = 30, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 105 [2023-11-24 22:05:52,101 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 22:05:52,102 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 22:05:52,103 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 22:05:52,104 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 22:05:52,116 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:05:52" (1/1) ... [2023-11-24 22:05:52,117 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:05:52" (1/1) ... [2023-11-24 22:05:52,132 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:05:52" (1/1) ... [2023-11-24 22:05:52,148 INFO L175 MemorySlicer]: Split 8 memory accesses to 3 slices as follows [2, 5, 1]. 63 percent of accesses are in the largest equivalence class. The 7 initializations are split as follows [2, 5, 0]. The 1 writes are split as follows [0, 0, 1]. [2023-11-24 22:05:52,148 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:05:52" (1/1) ... [2023-11-24 22:05:52,148 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:05:52" (1/1) ... [2023-11-24 22:05:52,154 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:05:52" (1/1) ... [2023-11-24 22:05:52,158 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:05:52" (1/1) ... [2023-11-24 22:05:52,160 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:05:52" (1/1) ... [2023-11-24 22:05:52,162 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:05:52" (1/1) ... [2023-11-24 22:05:52,166 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 22:05:52,167 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 22:05:52,167 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 22:05:52,167 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 22:05:52,168 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:05:52" (1/1) ... [2023-11-24 22:05:52,174 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-24 22:05:52,190 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/bin/uautomizer-verify-NlZe1sFDwI/z3 [2023-11-24 22:05:52,204 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/bin/uautomizer-verify-NlZe1sFDwI/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2023-11-24 22:05:52,303 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_171c4c45-0cb6-465f-b928-aa61eae81eb6/bin/uautomizer-verify-NlZe1sFDwI/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2023-11-24 22:05:52,326 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-11-24 22:05:52,327 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-11-24 22:05:52,327 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-24 22:05:52,327 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-24 22:05:52,327 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-24 22:05:52,328 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-24 22:05:52,328 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 22:05:52,328 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 22:05:52,328 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 22:05:52,328 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-24 22:05:52,329 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-24 22:05:52,329 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2023-11-24 22:05:52,331 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-24 22:05:52,331 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 22:05:52,332 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 22:05:52,334 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-24 22:05:52,478 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 22:05:52,481 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 22:05:52,744 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 22:05:52,926 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 22:05:52,926 INFO L309 CfgBuilder]: Removed 1 assume(true) statements. [2023-11-24 22:05:52,927 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:05:52 BoogieIcfgContainer [2023-11-24 22:05:52,927 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 22:05:52,930 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-24 22:05:52,930 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-24 22:05:52,934 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-24 22:05:52,934 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 24.11 10:05:51" (1/3) ... [2023-11-24 22:05:52,935 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5fccc4f0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.11 10:05:52, skipping insertion in model container [2023-11-24 22:05:52,935 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:05:52" (2/3) ... [2023-11-24 22:05:52,936 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5fccc4f0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.11 10:05:52, skipping insertion in model container [2023-11-24 22:05:52,936 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:05:52" (3/3) ... [2023-11-24 22:05:52,937 INFO L112 eAbstractionObserver]: Analyzing ICFG 03_incdec-pthread.i [2023-11-24 22:05:52,960 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-24 22:05:52,960 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 5 error locations. [2023-11-24 22:05:52,960 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-24 22:05:53,048 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-24 22:05:53,092 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 51 places, 55 transitions, 114 flow [2023-11-24 22:05:53,137 INFO L124 PetriNetUnfolderBase]: 7/62 cut-off events. [2023-11-24 22:05:53,139 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 22:05:53,142 INFO L83 FinitePrefix]: Finished finitePrefix Result has 66 conditions, 62 events. 7/62 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 154 event pairs, 0 based on Foata normal form. 0/45 useless extension candidates. Maximal degree in co-relation 52. Up to 2 conditions per place. [2023-11-24 22:05:53,142 INFO L82 GeneralOperation]: Start removeDead. Operand has 51 places, 55 transitions, 114 flow [2023-11-24 22:05:53,147 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 51 places, 55 transitions, 114 flow [2023-11-24 22:05:53,176 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-24 22:05:53,187 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;@7cb5b89b, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-24 22:05:53,187 INFO L358 AbstractCegarLoop]: Starting to check reachability of 8 error locations. [2023-11-24 22:05:53,195 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-24 22:05:53,195 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-24 22:05:53,195 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 22:05:53,196 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:05:53,196 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 22:05:53,197 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 5 more)] === [2023-11-24 22:05:53,205 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:05:53,205 INFO L85 PathProgramCache]: Analyzing trace with hash 329220, now seen corresponding path program 1 times [2023-11-24 22:05:53,218 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:05:53,218 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [723674462] [2023-11-24 22:05:53,219 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:05:53,219 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:05:53,355 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:05:53,545 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:05:53,545 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:05:53,546 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [723674462] [2023-11-24 22:05:53,546 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [723674462] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 22:05:53,547 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 22:05:53,547 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 22:05:53,549 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1057370822] [2023-11-24 22:05:53,550 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 22:05:53,559 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 22:05:53,572 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:05:53,613 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 22:05:53,614 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 22:05:53,641 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 17 out of 55 [2023-11-24 22:05:53,644 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 51 places, 55 transitions, 114 flow. Second operand has 3 states, 3 states have (on average 18.0) internal successors, (54), 3 states have internal predecessors, (54), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:53,644 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:05:53,644 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 17 of 55 [2023-11-24 22:05:53,646 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 22:05:53,847 INFO L124 PetriNetUnfolderBase]: 75/225 cut-off events. [2023-11-24 22:05:53,847 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 22:05:53,849 INFO L83 FinitePrefix]: Finished finitePrefix Result has 396 conditions, 225 events. 75/225 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 949 event pairs, 63 based on Foata normal form. 16/237 useless extension candidates. Maximal degree in co-relation 381. Up to 166 conditions per place. [2023-11-24 22:05:53,853 INFO L140 encePairwiseOnDemand]: 48/55 looper letters, 28 selfloop transitions, 1 changer transitions 0/45 dead transitions. [2023-11-24 22:05:53,853 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 47 places, 45 transitions, 152 flow [2023-11-24 22:05:53,855 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 22:05:53,858 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 22:05:53,867 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 86 transitions. [2023-11-24 22:05:53,870 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5212121212121212 [2023-11-24 22:05:53,871 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 86 transitions. [2023-11-24 22:05:53,872 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 86 transitions. [2023-11-24 22:05:53,874 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 22:05:53,877 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 86 transitions. [2023-11-24 22:05:53,881 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 28.666666666666668) internal successors, (86), 3 states have internal predecessors, (86), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:53,892 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 55.0) internal successors, (220), 4 states have internal predecessors, (220), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:53,892 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 55.0) internal successors, (220), 4 states have internal predecessors, (220), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:53,894 INFO L175 Difference]: Start difference. First operand has 51 places, 55 transitions, 114 flow. Second operand 3 states and 86 transitions. [2023-11-24 22:05:53,896 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 47 places, 45 transitions, 152 flow [2023-11-24 22:05:53,899 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 47 places, 45 transitions, 152 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-24 22:05:53,902 INFO L231 Difference]: Finished difference. Result has 47 places, 45 transitions, 96 flow [2023-11-24 22:05:53,904 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=55, PETRI_DIFFERENCE_MINUEND_FLOW=94, PETRI_DIFFERENCE_MINUEND_PLACES=45, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=45, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=44, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=96, PETRI_PLACES=47, PETRI_TRANSITIONS=45} [2023-11-24 22:05:53,909 INFO L281 CegarLoopForPetriNet]: 51 programPoint places, -4 predicate places. [2023-11-24 22:05:53,909 INFO L495 AbstractCegarLoop]: Abstraction has has 47 places, 45 transitions, 96 flow [2023-11-24 22:05:53,909 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 18.0) internal successors, (54), 3 states have internal predecessors, (54), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:53,910 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:05:53,910 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 22:05:53,910 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-24 22:05:53,910 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 5 more)] === [2023-11-24 22:05:53,911 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:05:53,911 INFO L85 PathProgramCache]: Analyzing trace with hash 329221, now seen corresponding path program 1 times [2023-11-24 22:05:53,911 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:05:53,912 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1263565899] [2023-11-24 22:05:53,912 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:05:53,912 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:05:53,936 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:05:54,063 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:05:54,063 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:05:54,063 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1263565899] [2023-11-24 22:05:54,064 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1263565899] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 22:05:54,064 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 22:05:54,064 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 22:05:54,065 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1835944994] [2023-11-24 22:05:54,065 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 22:05:54,066 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 22:05:54,066 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:05:54,067 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 22:05:54,067 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 22:05:54,074 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 18 out of 55 [2023-11-24 22:05:54,075 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 47 places, 45 transitions, 96 flow. Second operand has 3 states, 3 states have (on average 19.0) internal successors, (57), 3 states have internal predecessors, (57), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:54,075 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:05:54,075 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 18 of 55 [2023-11-24 22:05:54,075 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 22:05:54,216 INFO L124 PetriNetUnfolderBase]: 51/164 cut-off events. [2023-11-24 22:05:54,216 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-24 22:05:54,218 INFO L83 FinitePrefix]: Finished finitePrefix Result has 290 conditions, 164 events. 51/164 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 634 event pairs, 42 based on Foata normal form. 23/184 useless extension candidates. Maximal degree in co-relation 283. Up to 119 conditions per place. [2023-11-24 22:05:54,221 INFO L140 encePairwiseOnDemand]: 53/55 looper letters, 27 selfloop transitions, 1 changer transitions 0/44 dead transitions. [2023-11-24 22:05:54,221 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 48 places, 44 transitions, 150 flow [2023-11-24 22:05:54,222 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 22:05:54,223 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 22:05:54,227 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 83 transitions. [2023-11-24 22:05:54,229 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.503030303030303 [2023-11-24 22:05:54,229 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 83 transitions. [2023-11-24 22:05:54,229 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 83 transitions. [2023-11-24 22:05:54,232 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 22:05:54,233 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 83 transitions. [2023-11-24 22:05:54,235 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 27.666666666666668) internal successors, (83), 3 states have internal predecessors, (83), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:54,237 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 55.0) internal successors, (220), 4 states have internal predecessors, (220), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:54,238 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 55.0) internal successors, (220), 4 states have internal predecessors, (220), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:54,238 INFO L175 Difference]: Start difference. First operand has 47 places, 45 transitions, 96 flow. Second operand 3 states and 83 transitions. [2023-11-24 22:05:54,238 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 48 places, 44 transitions, 150 flow [2023-11-24 22:05:54,240 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 47 places, 44 transitions, 149 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-24 22:05:54,243 INFO L231 Difference]: Finished difference. Result has 47 places, 44 transitions, 95 flow [2023-11-24 22:05:54,244 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=55, PETRI_DIFFERENCE_MINUEND_FLOW=93, PETRI_DIFFERENCE_MINUEND_PLACES=45, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=44, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=43, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=95, PETRI_PLACES=47, PETRI_TRANSITIONS=44} [2023-11-24 22:05:54,245 INFO L281 CegarLoopForPetriNet]: 51 programPoint places, -4 predicate places. [2023-11-24 22:05:54,246 INFO L495 AbstractCegarLoop]: Abstraction has has 47 places, 44 transitions, 95 flow [2023-11-24 22:05:54,247 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 19.0) internal successors, (57), 3 states have internal predecessors, (57), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:54,251 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:05:54,252 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2023-11-24 22:05:54,252 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-24 22:05:54,253 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 5 more)] === [2023-11-24 22:05:54,254 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:05:54,255 INFO L85 PathProgramCache]: Analyzing trace with hash -1856602178, now seen corresponding path program 1 times [2023-11-24 22:05:54,256 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:05:54,257 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1483499647] [2023-11-24 22:05:54,257 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:05:54,265 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:05:54,316 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:05:54,316 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:05:54,343 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:05:54,369 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-24 22:05:54,370 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-24 22:05:54,371 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (7 of 8 remaining) [2023-11-24 22:05:54,374 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (6 of 8 remaining) [2023-11-24 22:05:54,375 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (5 of 8 remaining) [2023-11-24 22:05:54,376 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 8 remaining) [2023-11-24 22:05:54,376 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 8 remaining) [2023-11-24 22:05:54,377 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (2 of 8 remaining) [2023-11-24 22:05:54,377 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (1 of 8 remaining) [2023-11-24 22:05:54,377 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 8 remaining) [2023-11-24 22:05:54,378 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-24 22:05:54,378 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-24 22:05:54,384 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-24 22:05:54,384 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-24 22:05:54,471 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-24 22:05:54,478 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 91 places, 100 transitions, 210 flow [2023-11-24 22:05:54,507 INFO L124 PetriNetUnfolderBase]: 14/115 cut-off events. [2023-11-24 22:05:54,507 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2023-11-24 22:05:54,514 INFO L83 FinitePrefix]: Finished finitePrefix Result has 123 conditions, 115 events. 14/115 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 419 event pairs, 0 based on Foata normal form. 0/85 useless extension candidates. Maximal degree in co-relation 96. Up to 3 conditions per place. [2023-11-24 22:05:54,514 INFO L82 GeneralOperation]: Start removeDead. Operand has 91 places, 100 transitions, 210 flow [2023-11-24 22:05:54,517 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 91 places, 100 transitions, 210 flow [2023-11-24 22:05:54,519 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-24 22:05:54,528 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;@7cb5b89b, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-24 22:05:54,528 INFO L358 AbstractCegarLoop]: Starting to check reachability of 10 error locations. [2023-11-24 22:05:54,532 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-24 22:05:54,533 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-24 22:05:54,533 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 22:05:54,533 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:05:54,533 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 22:05:54,537 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 7 more)] === [2023-11-24 22:05:54,538 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:05:54,538 INFO L85 PathProgramCache]: Analyzing trace with hash 428520, now seen corresponding path program 1 times [2023-11-24 22:05:54,538 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:05:54,538 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [8730146] [2023-11-24 22:05:54,539 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:05:54,540 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:05:54,570 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:05:54,621 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:05:54,622 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:05:54,622 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [8730146] [2023-11-24 22:05:54,623 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [8730146] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 22:05:54,623 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 22:05:54,623 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 22:05:54,623 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1681660358] [2023-11-24 22:05:54,624 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 22:05:54,624 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 22:05:54,624 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:05:54,625 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 22:05:54,626 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 22:05:54,635 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 31 out of 100 [2023-11-24 22:05:54,636 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 91 places, 100 transitions, 210 flow. Second operand has 3 states, 3 states have (on average 32.0) internal successors, (96), 3 states have internal predecessors, (96), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:54,636 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:05:54,637 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 31 of 100 [2023-11-24 22:05:54,637 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 22:05:55,925 INFO L124 PetriNetUnfolderBase]: 3837/7271 cut-off events. [2023-11-24 22:05:55,925 INFO L125 PetriNetUnfolderBase]: For 72/72 co-relation queries the response was YES. [2023-11-24 22:05:55,944 INFO L83 FinitePrefix]: Finished finitePrefix Result has 13207 conditions, 7271 events. 3837/7271 cut-off events. For 72/72 co-relation queries the response was YES. Maximal size of possible extension queue 393. Compared 56422 event pairs, 3297 based on Foata normal form. 704/7699 useless extension candidates. Maximal degree in co-relation 2861. Up to 5864 conditions per place. [2023-11-24 22:05:55,998 INFO L140 encePairwiseOnDemand]: 89/100 looper letters, 53 selfloop transitions, 1 changer transitions 0/84 dead transitions. [2023-11-24 22:05:55,999 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 85 places, 84 transitions, 286 flow [2023-11-24 22:05:55,999 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 22:05:55,999 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 22:05:56,003 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 157 transitions. [2023-11-24 22:05:56,004 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5233333333333333 [2023-11-24 22:05:56,005 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 157 transitions. [2023-11-24 22:05:56,005 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 157 transitions. [2023-11-24 22:05:56,006 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 22:05:56,006 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 157 transitions. [2023-11-24 22:05:56,008 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 52.333333333333336) internal successors, (157), 3 states have internal predecessors, (157), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:56,009 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 100.0) internal successors, (400), 4 states have internal predecessors, (400), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:56,010 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 100.0) internal successors, (400), 4 states have internal predecessors, (400), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:56,010 INFO L175 Difference]: Start difference. First operand has 91 places, 100 transitions, 210 flow. Second operand 3 states and 157 transitions. [2023-11-24 22:05:56,010 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 85 places, 84 transitions, 286 flow [2023-11-24 22:05:56,012 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 85 places, 84 transitions, 286 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-24 22:05:56,016 INFO L231 Difference]: Finished difference. Result has 85 places, 84 transitions, 180 flow [2023-11-24 22:05:56,016 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=100, PETRI_DIFFERENCE_MINUEND_FLOW=178, PETRI_DIFFERENCE_MINUEND_PLACES=83, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=84, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=83, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=180, PETRI_PLACES=85, PETRI_TRANSITIONS=84} [2023-11-24 22:05:56,019 INFO L281 CegarLoopForPetriNet]: 91 programPoint places, -6 predicate places. [2023-11-24 22:05:56,019 INFO L495 AbstractCegarLoop]: Abstraction has has 85 places, 84 transitions, 180 flow [2023-11-24 22:05:56,019 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 32.0) internal successors, (96), 3 states have internal predecessors, (96), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:56,020 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:05:56,020 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 22:05:56,020 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-11-24 22:05:56,020 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 7 more)] === [2023-11-24 22:05:56,021 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:05:56,021 INFO L85 PathProgramCache]: Analyzing trace with hash 428521, now seen corresponding path program 1 times [2023-11-24 22:05:56,021 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:05:56,021 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1642058520] [2023-11-24 22:05:56,021 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:05:56,022 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:05:56,038 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:05:56,122 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:05:56,122 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:05:56,122 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1642058520] [2023-11-24 22:05:56,123 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1642058520] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 22:05:56,123 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 22:05:56,123 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 22:05:56,123 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [898526029] [2023-11-24 22:05:56,123 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 22:05:56,124 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 22:05:56,124 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:05:56,125 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 22:05:56,125 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 22:05:56,133 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 32 out of 100 [2023-11-24 22:05:56,133 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 85 places, 84 transitions, 180 flow. Second operand has 3 states, 3 states have (on average 33.0) internal successors, (99), 3 states have internal predecessors, (99), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:56,134 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:05:56,134 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 32 of 100 [2023-11-24 22:05:56,134 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 22:05:56,938 INFO L124 PetriNetUnfolderBase]: 2757/5334 cut-off events. [2023-11-24 22:05:56,938 INFO L125 PetriNetUnfolderBase]: For 69/69 co-relation queries the response was YES. [2023-11-24 22:05:56,952 INFO L83 FinitePrefix]: Finished finitePrefix Result has 9685 conditions, 5334 events. 2757/5334 cut-off events. For 69/69 co-relation queries the response was YES. Maximal size of possible extension queue 305. Compared 40038 event pairs, 2352 based on Foata normal form. 507/5634 useless extension candidates. Maximal degree in co-relation 9677. Up to 4277 conditions per place. [2023-11-24 22:05:56,991 INFO L140 encePairwiseOnDemand]: 98/100 looper letters, 52 selfloop transitions, 1 changer transitions 0/83 dead transitions. [2023-11-24 22:05:56,991 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 86 places, 83 transitions, 284 flow [2023-11-24 22:05:56,992 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 22:05:56,992 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 22:05:56,995 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 150 transitions. [2023-11-24 22:05:56,999 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5 [2023-11-24 22:05:56,999 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 150 transitions. [2023-11-24 22:05:56,999 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 150 transitions. [2023-11-24 22:05:57,000 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 22:05:57,000 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 150 transitions. [2023-11-24 22:05:57,001 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 50.0) internal successors, (150), 3 states have internal predecessors, (150), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:57,004 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 100.0) internal successors, (400), 4 states have internal predecessors, (400), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:57,005 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 100.0) internal successors, (400), 4 states have internal predecessors, (400), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:57,005 INFO L175 Difference]: Start difference. First operand has 85 places, 84 transitions, 180 flow. Second operand 3 states and 150 transitions. [2023-11-24 22:05:57,005 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 86 places, 83 transitions, 284 flow [2023-11-24 22:05:57,010 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 85 places, 83 transitions, 283 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-24 22:05:57,013 INFO L231 Difference]: Finished difference. Result has 85 places, 83 transitions, 179 flow [2023-11-24 22:05:57,014 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=100, PETRI_DIFFERENCE_MINUEND_FLOW=177, PETRI_DIFFERENCE_MINUEND_PLACES=83, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=83, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=82, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=179, PETRI_PLACES=85, PETRI_TRANSITIONS=83} [2023-11-24 22:05:57,016 INFO L281 CegarLoopForPetriNet]: 91 programPoint places, -6 predicate places. [2023-11-24 22:05:57,016 INFO L495 AbstractCegarLoop]: Abstraction has has 85 places, 83 transitions, 179 flow [2023-11-24 22:05:57,016 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 33.0) internal successors, (99), 3 states have internal predecessors, (99), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:57,016 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:05:57,017 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 3, 2, 1, 1, 1, 1] [2023-11-24 22:05:57,017 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-11-24 22:05:57,017 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 7 more)] === [2023-11-24 22:05:57,018 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:05:57,018 INFO L85 PathProgramCache]: Analyzing trace with hash -307501885, now seen corresponding path program 1 times [2023-11-24 22:05:57,018 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:05:57,018 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1953242609] [2023-11-24 22:05:57,019 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:05:57,019 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:05:57,058 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:05:57,058 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:05:57,082 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:05:57,094 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-24 22:05:57,095 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-24 22:05:57,095 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (9 of 10 remaining) [2023-11-24 22:05:57,095 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (8 of 10 remaining) [2023-11-24 22:05:57,096 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (7 of 10 remaining) [2023-11-24 22:05:57,096 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 10 remaining) [2023-11-24 22:05:57,096 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 10 remaining) [2023-11-24 22:05:57,096 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (4 of 10 remaining) [2023-11-24 22:05:57,097 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (3 of 10 remaining) [2023-11-24 22:05:57,097 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 10 remaining) [2023-11-24 22:05:57,097 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (1 of 10 remaining) [2023-11-24 22:05:57,098 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 10 remaining) [2023-11-24 22:05:57,098 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-11-24 22:05:57,098 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-24 22:05:57,099 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-24 22:05:57,099 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-11-24 22:05:57,181 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-24 22:05:57,189 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 131 places, 145 transitions, 308 flow [2023-11-24 22:05:57,220 INFO L124 PetriNetUnfolderBase]: 21/168 cut-off events. [2023-11-24 22:05:57,220 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-11-24 22:05:57,222 INFO L83 FinitePrefix]: Finished finitePrefix Result has 181 conditions, 168 events. 21/168 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 17. Compared 725 event pairs, 0 based on Foata normal form. 0/125 useless extension candidates. Maximal degree in co-relation 140. Up to 4 conditions per place. [2023-11-24 22:05:57,222 INFO L82 GeneralOperation]: Start removeDead. Operand has 131 places, 145 transitions, 308 flow [2023-11-24 22:05:57,226 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 131 places, 145 transitions, 308 flow [2023-11-24 22:05:57,228 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-24 22:05:57,229 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;@7cb5b89b, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-24 22:05:57,229 INFO L358 AbstractCegarLoop]: Starting to check reachability of 12 error locations. [2023-11-24 22:05:57,231 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-24 22:05:57,231 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-24 22:05:57,231 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 22:05:57,231 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:05:57,231 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 22:05:57,232 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 9 more)] === [2023-11-24 22:05:57,232 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:05:57,232 INFO L85 PathProgramCache]: Analyzing trace with hash 572505, now seen corresponding path program 1 times [2023-11-24 22:05:57,232 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:05:57,233 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [526863425] [2023-11-24 22:05:57,233 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:05:57,233 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:05:57,246 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:05:57,385 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:05:57,385 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:05:57,385 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [526863425] [2023-11-24 22:05:57,385 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [526863425] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 22:05:57,385 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 22:05:57,386 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 22:05:57,386 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [544739693] [2023-11-24 22:05:57,386 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 22:05:57,386 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 22:05:57,386 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:05:57,387 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 22:05:57,387 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 22:05:57,394 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 45 out of 145 [2023-11-24 22:05:57,395 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 131 places, 145 transitions, 308 flow. Second operand has 3 states, 3 states have (on average 46.0) internal successors, (138), 3 states have internal predecessors, (138), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:05:57,395 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:05:57,395 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 45 of 145 [2023-11-24 22:05:57,395 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 22:06:20,322 INFO L124 PetriNetUnfolderBase]: 133065/208696 cut-off events. [2023-11-24 22:06:20,323 INFO L125 PetriNetUnfolderBase]: For 3538/3538 co-relation queries the response was YES. [2023-11-24 22:06:20,625 INFO L83 FinitePrefix]: Finished finitePrefix Result has 388389 conditions, 208696 events. 133065/208696 cut-off events. For 3538/3538 co-relation queries the response was YES. Maximal size of possible extension queue 8336. Compared 2001110 event pairs, 115101 based on Foata normal form. 23576/224068 useless extension candidates. Maximal degree in co-relation 13225. Up to 177684 conditions per place. [2023-11-24 22:06:21,784 INFO L140 encePairwiseOnDemand]: 130/145 looper letters, 78 selfloop transitions, 1 changer transitions 0/123 dead transitions. [2023-11-24 22:06:21,784 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 123 places, 123 transitions, 422 flow [2023-11-24 22:06:21,785 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 22:06:21,785 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 22:06:21,786 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 228 transitions. [2023-11-24 22:06:21,786 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5241379310344828 [2023-11-24 22:06:21,787 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 228 transitions. [2023-11-24 22:06:21,787 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 228 transitions. [2023-11-24 22:06:21,787 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 22:06:21,787 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 228 transitions. [2023-11-24 22:06:21,788 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 76.0) internal successors, (228), 3 states have internal predecessors, (228), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:06:21,790 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 145.0) internal successors, (580), 4 states have internal predecessors, (580), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:06:21,791 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 145.0) internal successors, (580), 4 states have internal predecessors, (580), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:06:21,791 INFO L175 Difference]: Start difference. First operand has 131 places, 145 transitions, 308 flow. Second operand 3 states and 228 transitions. [2023-11-24 22:06:21,791 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 123 places, 123 transitions, 422 flow [2023-11-24 22:06:21,799 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 123 places, 123 transitions, 420 flow, removed 1 selfloop flow, removed 0 redundant places. [2023-11-24 22:06:21,802 INFO L231 Difference]: Finished difference. Result has 123 places, 123 transitions, 264 flow [2023-11-24 22:06:21,802 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=145, PETRI_DIFFERENCE_MINUEND_FLOW=262, PETRI_DIFFERENCE_MINUEND_PLACES=121, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=123, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=122, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=264, PETRI_PLACES=123, PETRI_TRANSITIONS=123} [2023-11-24 22:06:21,805 INFO L281 CegarLoopForPetriNet]: 131 programPoint places, -8 predicate places. [2023-11-24 22:06:21,805 INFO L495 AbstractCegarLoop]: Abstraction has has 123 places, 123 transitions, 264 flow [2023-11-24 22:06:21,806 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 46.0) internal successors, (138), 3 states have internal predecessors, (138), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:06:21,806 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:06:21,806 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 22:06:21,806 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2023-11-24 22:06:21,807 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 9 more)] === [2023-11-24 22:06:21,807 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:06:21,807 INFO L85 PathProgramCache]: Analyzing trace with hash 572506, now seen corresponding path program 1 times [2023-11-24 22:06:21,808 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:06:21,810 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1469415176] [2023-11-24 22:06:21,810 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:06:21,811 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:06:21,822 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:06:21,891 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:06:21,891 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:06:21,891 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1469415176] [2023-11-24 22:06:21,891 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1469415176] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 22:06:21,892 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 22:06:21,892 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 22:06:21,892 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1621167066] [2023-11-24 22:06:21,892 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 22:06:21,893 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 22:06:21,893 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:06:21,893 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 22:06:21,894 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 22:06:21,903 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 46 out of 145 [2023-11-24 22:06:21,904 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 123 places, 123 transitions, 264 flow. Second operand has 3 states, 3 states have (on average 47.0) internal successors, (141), 3 states have internal predecessors, (141), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:06:21,904 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:06:21,904 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 46 of 145 [2023-11-24 22:06:21,904 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 22:06:35,044 INFO L124 PetriNetUnfolderBase]: 97137/153916 cut-off events. [2023-11-24 22:06:35,044 INFO L125 PetriNetUnfolderBase]: For 1522/1522 co-relation queries the response was YES. [2023-11-24 22:06:35,334 INFO L83 FinitePrefix]: Finished finitePrefix Result has 286044 conditions, 153916 events. 97137/153916 cut-off events. For 1522/1522 co-relation queries the response was YES. Maximal size of possible extension queue 6274. Compared 1454805 event pairs, 83664 based on Foata normal form. 11155/158750 useless extension candidates. Maximal degree in co-relation 286035. Up to 130601 conditions per place. [2023-11-24 22:06:36,103 INFO L140 encePairwiseOnDemand]: 143/145 looper letters, 77 selfloop transitions, 1 changer transitions 0/122 dead transitions. [2023-11-24 22:06:36,103 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 124 places, 122 transitions, 418 flow [2023-11-24 22:06:36,104 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 22:06:36,104 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 22:06:36,105 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 217 transitions. [2023-11-24 22:06:36,106 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.49885057471264366 [2023-11-24 22:06:36,106 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 217 transitions. [2023-11-24 22:06:36,106 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 217 transitions. [2023-11-24 22:06:36,107 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 22:06:36,107 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 217 transitions. [2023-11-24 22:06:36,108 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 72.33333333333333) internal successors, (217), 3 states have internal predecessors, (217), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:06:36,110 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 145.0) internal successors, (580), 4 states have internal predecessors, (580), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:06:36,110 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 145.0) internal successors, (580), 4 states have internal predecessors, (580), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:06:36,111 INFO L175 Difference]: Start difference. First operand has 123 places, 123 transitions, 264 flow. Second operand 3 states and 217 transitions. [2023-11-24 22:06:36,111 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 124 places, 122 transitions, 418 flow [2023-11-24 22:06:36,114 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 123 places, 122 transitions, 417 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-24 22:06:36,121 INFO L231 Difference]: Finished difference. Result has 123 places, 122 transitions, 263 flow [2023-11-24 22:06:36,122 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=145, PETRI_DIFFERENCE_MINUEND_FLOW=261, PETRI_DIFFERENCE_MINUEND_PLACES=121, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=122, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=121, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=263, PETRI_PLACES=123, PETRI_TRANSITIONS=122} [2023-11-24 22:06:36,124 INFO L281 CegarLoopForPetriNet]: 131 programPoint places, -8 predicate places. [2023-11-24 22:06:36,124 INFO L495 AbstractCegarLoop]: Abstraction has has 123 places, 122 transitions, 263 flow [2023-11-24 22:06:36,125 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 47.0) internal successors, (141), 3 states have internal predecessors, (141), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:06:36,125 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:06:36,125 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 4, 3, 1, 1, 1, 1, 1] [2023-11-24 22:06:36,125 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-11-24 22:06:36,126 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 9 more)] === [2023-11-24 22:06:36,126 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:06:36,126 INFO L85 PathProgramCache]: Analyzing trace with hash -1152404447, now seen corresponding path program 1 times [2023-11-24 22:06:36,127 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:06:36,127 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [475447132] [2023-11-24 22:06:36,127 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:06:36,127 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:06:36,152 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:06:36,152 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:06:36,169 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:06:36,190 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-24 22:06:36,190 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-24 22:06:36,190 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (11 of 12 remaining) [2023-11-24 22:06:36,191 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (10 of 12 remaining) [2023-11-24 22:06:36,191 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (9 of 12 remaining) [2023-11-24 22:06:36,191 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 12 remaining) [2023-11-24 22:06:36,192 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 12 remaining) [2023-11-24 22:06:36,192 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (6 of 12 remaining) [2023-11-24 22:06:36,192 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (5 of 12 remaining) [2023-11-24 22:06:36,192 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 12 remaining) [2023-11-24 22:06:36,193 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (3 of 12 remaining) [2023-11-24 22:06:36,193 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 12 remaining) [2023-11-24 22:06:36,193 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (1 of 12 remaining) [2023-11-24 22:06:36,193 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 12 remaining) [2023-11-24 22:06:36,194 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-11-24 22:06:36,194 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-24 22:06:36,195 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-24 22:06:36,195 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-11-24 22:06:36,265 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-24 22:06:36,271 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 171 places, 190 transitions, 408 flow [2023-11-24 22:06:36,313 INFO L124 PetriNetUnfolderBase]: 28/221 cut-off events. [2023-11-24 22:06:36,314 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2023-11-24 22:06:36,316 INFO L83 FinitePrefix]: Finished finitePrefix Result has 240 conditions, 221 events. 28/221 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 17. Compared 1007 event pairs, 0 based on Foata normal form. 0/165 useless extension candidates. Maximal degree in co-relation 184. Up to 5 conditions per place. [2023-11-24 22:06:36,316 INFO L82 GeneralOperation]: Start removeDead. Operand has 171 places, 190 transitions, 408 flow [2023-11-24 22:06:36,322 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 171 places, 190 transitions, 408 flow [2023-11-24 22:06:36,323 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-24 22:06:36,325 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;@7cb5b89b, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-24 22:06:36,325 INFO L358 AbstractCegarLoop]: Starting to check reachability of 14 error locations. [2023-11-24 22:06:36,327 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-24 22:06:36,327 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-24 22:06:36,327 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 22:06:36,327 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:06:36,327 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 22:06:36,328 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err1ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 11 more)] === [2023-11-24 22:06:36,328 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:06:36,328 INFO L85 PathProgramCache]: Analyzing trace with hash 761175, now seen corresponding path program 1 times [2023-11-24 22:06:36,329 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:06:36,329 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1660169499] [2023-11-24 22:06:36,329 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:06:36,329 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:06:36,338 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:06:36,391 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:06:36,391 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:06:36,391 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1660169499] [2023-11-24 22:06:36,392 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1660169499] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 22:06:36,392 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 22:06:36,392 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 22:06:36,392 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [472963601] [2023-11-24 22:06:36,393 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 22:06:36,393 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 22:06:36,393 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:06:36,394 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 22:06:36,394 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 22:06:36,401 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 59 out of 190 [2023-11-24 22:06:36,401 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 171 places, 190 transitions, 408 flow. Second operand has 3 states, 3 states have (on average 60.0) internal successors, (180), 3 states have internal predecessors, (180), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 22:06:36,402 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:06:36,402 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 59 of 190 [2023-11-24 22:06:36,402 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand