./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_b23a61a7-ec63-46da-ab39-1978e402bef6/bin/uautomizer-verify-BQ2R08f2Ya/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23a61a7-ec63-46da-ab39-1978e402bef6/bin/uautomizer-verify-BQ2R08f2Ya/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23a61a7-ec63-46da-ab39-1978e402bef6/bin/uautomizer-verify-BQ2R08f2Ya/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23a61a7-ec63-46da-ab39-1978e402bef6/bin/uautomizer-verify-BQ2R08f2Ya/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread-ext/03_incdec-pthread.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23a61a7-ec63-46da-ab39-1978e402bef6/bin/uautomizer-verify-BQ2R08f2Ya/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23a61a7-ec63-46da-ab39-1978e402bef6/bin/uautomizer-verify-BQ2R08f2Ya --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-29 03:41:10,160 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-29 03:41:10,242 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23a61a7-ec63-46da-ab39-1978e402bef6/bin/uautomizer-verify-BQ2R08f2Ya/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-29 03:41:10,248 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-29 03:41:10,249 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-29 03:41:10,281 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-29 03:41:10,282 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-29 03:41:10,283 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-29 03:41:10,283 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-29 03:41:10,284 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-29 03:41:10,285 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-29 03:41:10,286 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-29 03:41:10,287 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-29 03:41:10,287 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-29 03:41:10,288 INFO L153 SettingsManager]: * Use SBE=true [2023-11-29 03:41:10,289 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-29 03:41:10,289 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-29 03:41:10,290 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-29 03:41:10,291 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-29 03:41:10,291 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-29 03:41:10,292 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-29 03:41:10,295 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-29 03:41:10,296 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-29 03:41:10,297 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-29 03:41:10,297 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-29 03:41:10,298 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-29 03:41:10,298 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-29 03:41:10,298 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-29 03:41:10,299 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-29 03:41:10,300 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-29 03:41:10,300 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-29 03:41:10,301 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-29 03:41:10,301 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-29 03:41:10,301 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-29 03:41:10,302 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-29 03:41:10,302 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-29 03:41:10,302 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-29 03:41:10,303 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-29 03:41:10,303 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-29 03:41:10,303 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-29 03:41:10,303 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-29 03:41:10,304 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_b23a61a7-ec63-46da-ab39-1978e402bef6/bin/uautomizer-verify-BQ2R08f2Ya/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_b23a61a7-ec63-46da-ab39-1978e402bef6/bin/uautomizer-verify-BQ2R08f2Ya 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-29 03:41:10,588 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-29 03:41:10,615 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-29 03:41:10,618 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-29 03:41:10,619 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-29 03:41:10,620 INFO L274 PluginConnector]: CDTParser initialized [2023-11-29 03:41:10,622 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23a61a7-ec63-46da-ab39-1978e402bef6/bin/uautomizer-verify-BQ2R08f2Ya/../../sv-benchmarks/c/pthread-ext/03_incdec-pthread.i [2023-11-29 03:41:13,864 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-29 03:41:14,094 INFO L384 CDTParser]: Found 1 translation units. [2023-11-29 03:41:14,095 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23a61a7-ec63-46da-ab39-1978e402bef6/sv-benchmarks/c/pthread-ext/03_incdec-pthread.i [2023-11-29 03:41:14,111 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23a61a7-ec63-46da-ab39-1978e402bef6/bin/uautomizer-verify-BQ2R08f2Ya/data/db7d6d7ef/9f11f353e3554ed0959c6ed837598a2c/FLAG4d4468136 [2023-11-29 03:41:14,124 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23a61a7-ec63-46da-ab39-1978e402bef6/bin/uautomizer-verify-BQ2R08f2Ya/data/db7d6d7ef/9f11f353e3554ed0959c6ed837598a2c [2023-11-29 03:41:14,127 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-29 03:41:14,129 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-29 03:41:14,130 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-29 03:41:14,130 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-29 03:41:14,135 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-29 03:41:14,136 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.11 03:41:14" (1/1) ... [2023-11-29 03:41:14,137 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2ddae3cf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 03:41:14, skipping insertion in model container [2023-11-29 03:41:14,138 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.11 03:41:14" (1/1) ... [2023-11-29 03:41:14,187 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-29 03:41:14,529 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-29 03:41:14,543 INFO L202 MainTranslator]: Completed pre-run [2023-11-29 03:41:14,590 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-29 03:41:14,631 INFO L206 MainTranslator]: Completed translation [2023-11-29 03:41:14,632 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 03:41:14 WrapperNode [2023-11-29 03:41:14,632 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-29 03:41:14,633 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-29 03:41:14,633 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-29 03:41:14,633 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-29 03:41:14,640 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 03:41:14" (1/1) ... [2023-11-29 03:41:14,656 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 03:41:14" (1/1) ... [2023-11-29 03:41:14,684 INFO L138 Inliner]: procedures = 165, calls = 30, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 105 [2023-11-29 03:41:14,685 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-29 03:41:14,685 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-29 03:41:14,686 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-29 03:41:14,686 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-29 03:41:14,697 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 03:41:14" (1/1) ... [2023-11-29 03:41:14,698 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 03:41:14" (1/1) ... [2023-11-29 03:41:14,700 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 03:41:14" (1/1) ... [2023-11-29 03:41:14,719 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-29 03:41:14,719 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 03:41:14" (1/1) ... [2023-11-29 03:41:14,719 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 03:41:14" (1/1) ... [2023-11-29 03:41:14,725 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 03:41:14" (1/1) ... [2023-11-29 03:41:14,730 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 03:41:14" (1/1) ... [2023-11-29 03:41:14,732 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 03:41:14" (1/1) ... [2023-11-29 03:41:14,734 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 03:41:14" (1/1) ... [2023-11-29 03:41:14,738 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-29 03:41:14,739 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-29 03:41:14,740 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-29 03:41:14,740 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-29 03:41:14,741 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 03:41:14" (1/1) ... [2023-11-29 03:41:14,747 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-29 03:41:14,757 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23a61a7-ec63-46da-ab39-1978e402bef6/bin/uautomizer-verify-BQ2R08f2Ya/z3 [2023-11-29 03:41:14,771 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23a61a7-ec63-46da-ab39-1978e402bef6/bin/uautomizer-verify-BQ2R08f2Ya/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2023-11-29 03:41:14,787 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23a61a7-ec63-46da-ab39-1978e402bef6/bin/uautomizer-verify-BQ2R08f2Ya/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2023-11-29 03:41:14,822 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-11-29 03:41:14,823 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-11-29 03:41:14,823 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-29 03:41:14,823 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-29 03:41:14,823 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-29 03:41:14,823 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-29 03:41:14,823 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-29 03:41:14,823 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-29 03:41:14,824 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-29 03:41:14,824 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-29 03:41:14,824 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-29 03:41:14,824 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2023-11-29 03:41:14,824 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-29 03:41:14,824 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-29 03:41:14,825 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-29 03:41:14,826 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-29 03:41:14,962 INFO L241 CfgBuilder]: Building ICFG [2023-11-29 03:41:14,965 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-29 03:41:15,222 INFO L282 CfgBuilder]: Performing block encoding [2023-11-29 03:41:15,362 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-29 03:41:15,362 INFO L309 CfgBuilder]: Removed 1 assume(true) statements. [2023-11-29 03:41:15,363 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 03:41:15 BoogieIcfgContainer [2023-11-29 03:41:15,363 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-29 03:41:15,367 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-29 03:41:15,368 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-29 03:41:15,372 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-29 03:41:15,372 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.11 03:41:14" (1/3) ... [2023-11-29 03:41:15,373 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@e425702 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.11 03:41:15, skipping insertion in model container [2023-11-29 03:41:15,373 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 03:41:14" (2/3) ... [2023-11-29 03:41:15,374 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@e425702 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.11 03:41:15, skipping insertion in model container [2023-11-29 03:41:15,374 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 03:41:15" (3/3) ... [2023-11-29 03:41:15,376 INFO L112 eAbstractionObserver]: Analyzing ICFG 03_incdec-pthread.i [2023-11-29 03:41:15,400 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-29 03:41:15,400 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 5 error locations. [2023-11-29 03:41:15,401 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-29 03:41:15,472 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-29 03:41:15,526 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 51 places, 55 transitions, 114 flow [2023-11-29 03:41:15,567 INFO L124 PetriNetUnfolderBase]: 7/62 cut-off events. [2023-11-29 03:41:15,567 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-29 03:41:15,571 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-29 03:41:15,571 INFO L82 GeneralOperation]: Start removeDead. Operand has 51 places, 55 transitions, 114 flow [2023-11-29 03:41:15,577 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 51 places, 55 transitions, 114 flow [2023-11-29 03:41:15,591 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-29 03:41:15,600 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;@77b6b031, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-29 03:41:15,600 INFO L358 AbstractCegarLoop]: Starting to check reachability of 8 error locations. [2023-11-29 03:41:15,605 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-29 03:41:15,605 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-29 03:41:15,605 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-29 03:41:15,606 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 03:41:15,606 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-29 03:41:15,607 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-29 03:41:15,614 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 03:41:15,614 INFO L85 PathProgramCache]: Analyzing trace with hash 329220, now seen corresponding path program 1 times [2023-11-29 03:41:15,626 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 03:41:15,627 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1509012217] [2023-11-29 03:41:15,627 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 03:41:15,628 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 03:41:15,768 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 03:41:15,912 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-29 03:41:15,913 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 03:41:15,913 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1509012217] [2023-11-29 03:41:15,914 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1509012217] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 03:41:15,914 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 03:41:15,914 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-29 03:41:15,916 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [455899520] [2023-11-29 03:41:15,916 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 03:41:15,926 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-29 03:41:15,932 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 03:41:15,962 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-29 03:41:15,963 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-29 03:41:15,977 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 17 out of 55 [2023-11-29 03:41:15,980 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-29 03:41:15,980 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 03:41:15,980 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 17 of 55 [2023-11-29 03:41:15,981 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-29 03:41:16,118 INFO L124 PetriNetUnfolderBase]: 75/225 cut-off events. [2023-11-29 03:41:16,118 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-29 03:41:16,120 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-29 03:41:16,124 INFO L140 encePairwiseOnDemand]: 48/55 looper letters, 28 selfloop transitions, 1 changer transitions 0/45 dead transitions. [2023-11-29 03:41:16,125 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 47 places, 45 transitions, 152 flow [2023-11-29 03:41:16,126 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-29 03:41:16,129 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-29 03:41:16,139 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 86 transitions. [2023-11-29 03:41:16,141 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5212121212121212 [2023-11-29 03:41:16,142 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 86 transitions. [2023-11-29 03:41:16,143 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 86 transitions. [2023-11-29 03:41:16,144 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-29 03:41:16,148 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 86 transitions. [2023-11-29 03:41:16,151 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-29 03:41:16,156 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-29 03:41:16,157 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-29 03:41:16,159 INFO L175 Difference]: Start difference. First operand has 51 places, 55 transitions, 114 flow. Second operand 3 states and 86 transitions. [2023-11-29 03:41:16,160 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 47 places, 45 transitions, 152 flow [2023-11-29 03:41:16,164 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 47 places, 45 transitions, 152 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-29 03:41:16,167 INFO L231 Difference]: Finished difference. Result has 47 places, 45 transitions, 96 flow [2023-11-29 03:41:16,170 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-29 03:41:16,175 INFO L281 CegarLoopForPetriNet]: 51 programPoint places, -4 predicate places. [2023-11-29 03:41:16,175 INFO L495 AbstractCegarLoop]: Abstraction has has 47 places, 45 transitions, 96 flow [2023-11-29 03:41:16,176 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-29 03:41:16,176 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 03:41:16,176 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-29 03:41:16,176 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-29 03:41:16,177 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-29 03:41:16,178 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 03:41:16,178 INFO L85 PathProgramCache]: Analyzing trace with hash 329221, now seen corresponding path program 1 times [2023-11-29 03:41:16,178 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 03:41:16,179 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [383515240] [2023-11-29 03:41:16,179 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 03:41:16,179 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 03:41:16,207 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 03:41:16,322 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-29 03:41:16,322 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 03:41:16,323 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [383515240] [2023-11-29 03:41:16,323 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [383515240] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 03:41:16,323 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 03:41:16,323 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-29 03:41:16,324 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [616706359] [2023-11-29 03:41:16,324 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 03:41:16,325 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-29 03:41:16,325 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 03:41:16,326 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-29 03:41:16,326 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-29 03:41:16,335 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 18 out of 55 [2023-11-29 03:41:16,335 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-29 03:41:16,335 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 03:41:16,336 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 18 of 55 [2023-11-29 03:41:16,336 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-29 03:41:16,435 INFO L124 PetriNetUnfolderBase]: 51/164 cut-off events. [2023-11-29 03:41:16,435 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-29 03:41:16,437 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-29 03:41:16,438 INFO L140 encePairwiseOnDemand]: 53/55 looper letters, 27 selfloop transitions, 1 changer transitions 0/44 dead transitions. [2023-11-29 03:41:16,439 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 48 places, 44 transitions, 150 flow [2023-11-29 03:41:16,439 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-29 03:41:16,440 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-29 03:41:16,441 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 83 transitions. [2023-11-29 03:41:16,441 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.503030303030303 [2023-11-29 03:41:16,442 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 83 transitions. [2023-11-29 03:41:16,442 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 83 transitions. [2023-11-29 03:41:16,442 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-29 03:41:16,443 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 83 transitions. [2023-11-29 03:41:16,444 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-29 03:41:16,445 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-29 03:41:16,446 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-29 03:41:16,446 INFO L175 Difference]: Start difference. First operand has 47 places, 45 transitions, 96 flow. Second operand 3 states and 83 transitions. [2023-11-29 03:41:16,446 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 48 places, 44 transitions, 150 flow [2023-11-29 03:41:16,447 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 47 places, 44 transitions, 149 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-29 03:41:16,449 INFO L231 Difference]: Finished difference. Result has 47 places, 44 transitions, 95 flow [2023-11-29 03:41:16,450 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-29 03:41:16,451 INFO L281 CegarLoopForPetriNet]: 51 programPoint places, -4 predicate places. [2023-11-29 03:41:16,451 INFO L495 AbstractCegarLoop]: Abstraction has has 47 places, 44 transitions, 95 flow [2023-11-29 03:41:16,452 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-29 03:41:16,452 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 03:41:16,452 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2023-11-29 03:41:16,452 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-29 03:41:16,453 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-29 03:41:16,453 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 03:41:16,454 INFO L85 PathProgramCache]: Analyzing trace with hash -1856602178, now seen corresponding path program 1 times [2023-11-29 03:41:16,454 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 03:41:16,454 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1561066147] [2023-11-29 03:41:16,455 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 03:41:16,455 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 03:41:16,482 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 03:41:16,482 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-29 03:41:16,498 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 03:41:16,526 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-29 03:41:16,526 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-29 03:41:16,528 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (7 of 8 remaining) [2023-11-29 03:41:16,530 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (6 of 8 remaining) [2023-11-29 03:41:16,531 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (5 of 8 remaining) [2023-11-29 03:41:16,531 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 8 remaining) [2023-11-29 03:41:16,531 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 8 remaining) [2023-11-29 03:41:16,532 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (2 of 8 remaining) [2023-11-29 03:41:16,532 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (1 of 8 remaining) [2023-11-29 03:41:16,532 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 8 remaining) [2023-11-29 03:41:16,533 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-29 03:41:16,533 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-29 03:41:16,536 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-29 03:41:16,536 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-29 03:41:16,587 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-29 03:41:16,592 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 91 places, 100 transitions, 210 flow [2023-11-29 03:41:16,615 INFO L124 PetriNetUnfolderBase]: 14/115 cut-off events. [2023-11-29 03:41:16,615 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2023-11-29 03:41:16,618 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-29 03:41:16,618 INFO L82 GeneralOperation]: Start removeDead. Operand has 91 places, 100 transitions, 210 flow [2023-11-29 03:41:16,621 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 91 places, 100 transitions, 210 flow [2023-11-29 03:41:16,622 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-29 03:41:16,624 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;@77b6b031, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-29 03:41:16,624 INFO L358 AbstractCegarLoop]: Starting to check reachability of 10 error locations. [2023-11-29 03:41:16,626 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-29 03:41:16,627 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-29 03:41:16,627 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-29 03:41:16,627 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 03:41:16,627 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-29 03:41:16,628 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-29 03:41:16,628 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 03:41:16,628 INFO L85 PathProgramCache]: Analyzing trace with hash 428520, now seen corresponding path program 1 times [2023-11-29 03:41:16,628 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 03:41:16,629 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2111170115] [2023-11-29 03:41:16,629 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 03:41:16,629 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 03:41:16,641 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 03:41:16,677 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-29 03:41:16,678 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 03:41:16,678 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2111170115] [2023-11-29 03:41:16,678 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2111170115] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 03:41:16,679 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 03:41:16,679 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-29 03:41:16,679 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1554502022] [2023-11-29 03:41:16,679 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 03:41:16,680 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-29 03:41:16,680 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 03:41:16,680 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-29 03:41:16,681 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-29 03:41:16,689 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 31 out of 100 [2023-11-29 03:41:16,690 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-29 03:41:16,690 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 03:41:16,690 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 31 of 100 [2023-11-29 03:41:16,690 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-29 03:41:17,756 INFO L124 PetriNetUnfolderBase]: 3837/7271 cut-off events. [2023-11-29 03:41:17,757 INFO L125 PetriNetUnfolderBase]: For 72/72 co-relation queries the response was YES. [2023-11-29 03:41:17,769 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-29 03:41:17,805 INFO L140 encePairwiseOnDemand]: 89/100 looper letters, 53 selfloop transitions, 1 changer transitions 0/84 dead transitions. [2023-11-29 03:41:17,806 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 85 places, 84 transitions, 286 flow [2023-11-29 03:41:17,806 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-29 03:41:17,806 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-29 03:41:17,808 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 157 transitions. [2023-11-29 03:41:17,808 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5233333333333333 [2023-11-29 03:41:17,809 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 157 transitions. [2023-11-29 03:41:17,809 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 157 transitions. [2023-11-29 03:41:17,809 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-29 03:41:17,810 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 157 transitions. [2023-11-29 03:41:17,811 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-29 03:41:17,813 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-29 03:41:17,813 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-29 03:41:17,814 INFO L175 Difference]: Start difference. First operand has 91 places, 100 transitions, 210 flow. Second operand 3 states and 157 transitions. [2023-11-29 03:41:17,814 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 85 places, 84 transitions, 286 flow [2023-11-29 03:41:17,815 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 85 places, 84 transitions, 286 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-29 03:41:17,817 INFO L231 Difference]: Finished difference. Result has 85 places, 84 transitions, 180 flow [2023-11-29 03:41:17,817 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-29 03:41:17,819 INFO L281 CegarLoopForPetriNet]: 91 programPoint places, -6 predicate places. [2023-11-29 03:41:17,819 INFO L495 AbstractCegarLoop]: Abstraction has has 85 places, 84 transitions, 180 flow [2023-11-29 03:41:17,819 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-29 03:41:17,819 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 03:41:17,819 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-29 03:41:17,820 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-11-29 03:41:17,820 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-29 03:41:17,820 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 03:41:17,820 INFO L85 PathProgramCache]: Analyzing trace with hash 428521, now seen corresponding path program 1 times [2023-11-29 03:41:17,821 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 03:41:17,821 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1710866145] [2023-11-29 03:41:17,821 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 03:41:17,821 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 03:41:17,832 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 03:41:17,885 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-29 03:41:17,885 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 03:41:17,885 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1710866145] [2023-11-29 03:41:17,886 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1710866145] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 03:41:17,886 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 03:41:17,886 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-29 03:41:17,886 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1674604600] [2023-11-29 03:41:17,886 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 03:41:17,887 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-29 03:41:17,887 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 03:41:17,887 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-29 03:41:17,888 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-29 03:41:17,895 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 32 out of 100 [2023-11-29 03:41:17,895 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-29 03:41:17,896 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 03:41:17,896 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 32 of 100 [2023-11-29 03:41:17,896 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-29 03:41:18,510 INFO L124 PetriNetUnfolderBase]: 2757/5334 cut-off events. [2023-11-29 03:41:18,510 INFO L125 PetriNetUnfolderBase]: For 69/69 co-relation queries the response was YES. [2023-11-29 03:41:18,520 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-29 03:41:18,557 INFO L140 encePairwiseOnDemand]: 98/100 looper letters, 52 selfloop transitions, 1 changer transitions 0/83 dead transitions. [2023-11-29 03:41:18,557 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 86 places, 83 transitions, 284 flow [2023-11-29 03:41:18,558 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-29 03:41:18,558 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-29 03:41:18,559 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 150 transitions. [2023-11-29 03:41:18,560 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5 [2023-11-29 03:41:18,560 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 150 transitions. [2023-11-29 03:41:18,560 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 150 transitions. [2023-11-29 03:41:18,560 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-29 03:41:18,561 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 150 transitions. [2023-11-29 03:41:18,562 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-29 03:41:18,564 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-29 03:41:18,564 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-29 03:41:18,564 INFO L175 Difference]: Start difference. First operand has 85 places, 84 transitions, 180 flow. Second operand 3 states and 150 transitions. [2023-11-29 03:41:18,565 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 86 places, 83 transitions, 284 flow [2023-11-29 03:41:18,566 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 85 places, 83 transitions, 283 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-29 03:41:18,569 INFO L231 Difference]: Finished difference. Result has 85 places, 83 transitions, 179 flow [2023-11-29 03:41:18,569 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-29 03:41:18,570 INFO L281 CegarLoopForPetriNet]: 91 programPoint places, -6 predicate places. [2023-11-29 03:41:18,570 INFO L495 AbstractCegarLoop]: Abstraction has has 85 places, 83 transitions, 179 flow [2023-11-29 03:41:18,571 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-29 03:41:18,571 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 03:41:18,571 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 3, 2, 1, 1, 1, 1] [2023-11-29 03:41:18,571 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-11-29 03:41:18,571 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-29 03:41:18,572 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 03:41:18,572 INFO L85 PathProgramCache]: Analyzing trace with hash -307501885, now seen corresponding path program 1 times [2023-11-29 03:41:18,572 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 03:41:18,572 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1780463670] [2023-11-29 03:41:18,573 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 03:41:18,573 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 03:41:18,596 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 03:41:18,596 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-29 03:41:18,607 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 03:41:18,616 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-29 03:41:18,616 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-29 03:41:18,617 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (9 of 10 remaining) [2023-11-29 03:41:18,617 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (8 of 10 remaining) [2023-11-29 03:41:18,617 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (7 of 10 remaining) [2023-11-29 03:41:18,617 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 10 remaining) [2023-11-29 03:41:18,618 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 10 remaining) [2023-11-29 03:41:18,618 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (4 of 10 remaining) [2023-11-29 03:41:18,618 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (3 of 10 remaining) [2023-11-29 03:41:18,619 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 10 remaining) [2023-11-29 03:41:18,619 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (1 of 10 remaining) [2023-11-29 03:41:18,619 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 10 remaining) [2023-11-29 03:41:18,619 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-11-29 03:41:18,620 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-29 03:41:18,620 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-29 03:41:18,621 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-11-29 03:41:18,684 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-29 03:41:18,688 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 131 places, 145 transitions, 308 flow [2023-11-29 03:41:18,719 INFO L124 PetriNetUnfolderBase]: 21/168 cut-off events. [2023-11-29 03:41:18,719 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-11-29 03:41:18,721 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-29 03:41:18,721 INFO L82 GeneralOperation]: Start removeDead. Operand has 131 places, 145 transitions, 308 flow [2023-11-29 03:41:18,725 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 131 places, 145 transitions, 308 flow [2023-11-29 03:41:18,727 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-29 03:41:18,728 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;@77b6b031, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-29 03:41:18,728 INFO L358 AbstractCegarLoop]: Starting to check reachability of 12 error locations. [2023-11-29 03:41:18,730 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-29 03:41:18,730 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-29 03:41:18,731 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-29 03:41:18,731 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 03:41:18,731 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-29 03:41:18,731 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-29 03:41:18,732 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 03:41:18,732 INFO L85 PathProgramCache]: Analyzing trace with hash 572505, now seen corresponding path program 1 times [2023-11-29 03:41:18,732 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 03:41:18,732 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [655499306] [2023-11-29 03:41:18,733 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 03:41:18,733 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 03:41:18,744 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 03:41:18,779 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-29 03:41:18,779 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 03:41:18,780 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [655499306] [2023-11-29 03:41:18,780 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [655499306] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 03:41:18,780 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 03:41:18,780 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-29 03:41:18,781 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [719286435] [2023-11-29 03:41:18,781 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 03:41:18,781 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-29 03:41:18,781 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 03:41:18,782 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-29 03:41:18,782 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-29 03:41:18,790 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 45 out of 145 [2023-11-29 03:41:18,790 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-29 03:41:18,791 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 03:41:18,791 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 45 of 145 [2023-11-29 03:41:18,791 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-29 03:41:35,231 INFO L124 PetriNetUnfolderBase]: 133065/208696 cut-off events. [2023-11-29 03:41:35,231 INFO L125 PetriNetUnfolderBase]: For 3538/3538 co-relation queries the response was YES. [2023-11-29 03:41:35,508 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-29 03:41:36,467 INFO L140 encePairwiseOnDemand]: 130/145 looper letters, 78 selfloop transitions, 1 changer transitions 0/123 dead transitions. [2023-11-29 03:41:36,467 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 123 places, 123 transitions, 422 flow [2023-11-29 03:41:36,468 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-29 03:41:36,468 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-29 03:41:36,469 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 228 transitions. [2023-11-29 03:41:36,469 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5241379310344828 [2023-11-29 03:41:36,469 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 228 transitions. [2023-11-29 03:41:36,469 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 228 transitions. [2023-11-29 03:41:36,469 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-29 03:41:36,470 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 228 transitions. [2023-11-29 03:41:36,470 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-29 03:41:36,472 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-29 03:41:36,472 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-29 03:41:36,472 INFO L175 Difference]: Start difference. First operand has 131 places, 145 transitions, 308 flow. Second operand 3 states and 228 transitions. [2023-11-29 03:41:36,473 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 123 places, 123 transitions, 422 flow [2023-11-29 03:41:36,477 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 123 places, 123 transitions, 420 flow, removed 1 selfloop flow, removed 0 redundant places. [2023-11-29 03:41:36,479 INFO L231 Difference]: Finished difference. Result has 123 places, 123 transitions, 264 flow [2023-11-29 03:41:36,479 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-29 03:41:36,480 INFO L281 CegarLoopForPetriNet]: 131 programPoint places, -8 predicate places. [2023-11-29 03:41:36,480 INFO L495 AbstractCegarLoop]: Abstraction has has 123 places, 123 transitions, 264 flow [2023-11-29 03:41:36,480 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-29 03:41:36,480 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 03:41:36,481 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-29 03:41:36,481 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2023-11-29 03:41:36,481 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-29 03:41:36,481 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 03:41:36,481 INFO L85 PathProgramCache]: Analyzing trace with hash 572506, now seen corresponding path program 1 times [2023-11-29 03:41:36,481 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 03:41:36,482 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1574104871] [2023-11-29 03:41:36,482 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 03:41:36,482 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 03:41:36,492 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 03:41:36,536 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-29 03:41:36,536 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 03:41:36,536 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1574104871] [2023-11-29 03:41:36,536 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1574104871] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 03:41:36,537 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 03:41:36,537 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-29 03:41:36,537 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1794698347] [2023-11-29 03:41:36,537 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 03:41:36,537 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-29 03:41:36,538 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 03:41:36,538 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-29 03:41:36,538 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-29 03:41:36,543 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 46 out of 145 [2023-11-29 03:41:36,544 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-29 03:41:36,544 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 03:41:36,544 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 46 of 145 [2023-11-29 03:41:36,544 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-29 03:41:47,987 INFO L124 PetriNetUnfolderBase]: 97137/153916 cut-off events. [2023-11-29 03:41:47,988 INFO L125 PetriNetUnfolderBase]: For 1522/1522 co-relation queries the response was YES. [2023-11-29 03:41:48,247 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-29 03:41:48,792 INFO L140 encePairwiseOnDemand]: 143/145 looper letters, 77 selfloop transitions, 1 changer transitions 0/122 dead transitions. [2023-11-29 03:41:48,792 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 124 places, 122 transitions, 418 flow [2023-11-29 03:41:48,793 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-29 03:41:48,793 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-29 03:41:48,794 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 217 transitions. [2023-11-29 03:41:48,794 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.49885057471264366 [2023-11-29 03:41:48,794 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 217 transitions. [2023-11-29 03:41:48,794 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 217 transitions. [2023-11-29 03:41:48,795 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-29 03:41:48,795 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 217 transitions. [2023-11-29 03:41:48,796 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-29 03:41:48,797 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-29 03:41:48,797 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-29 03:41:48,798 INFO L175 Difference]: Start difference. First operand has 123 places, 123 transitions, 264 flow. Second operand 3 states and 217 transitions. [2023-11-29 03:41:48,798 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 124 places, 122 transitions, 418 flow [2023-11-29 03:41:48,799 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 123 places, 122 transitions, 417 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-29 03:41:48,802 INFO L231 Difference]: Finished difference. Result has 123 places, 122 transitions, 263 flow [2023-11-29 03:41:48,802 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-29 03:41:48,803 INFO L281 CegarLoopForPetriNet]: 131 programPoint places, -8 predicate places. [2023-11-29 03:41:48,804 INFO L495 AbstractCegarLoop]: Abstraction has has 123 places, 122 transitions, 263 flow [2023-11-29 03:41:48,804 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-29 03:41:48,804 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 03:41:48,804 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 4, 3, 1, 1, 1, 1, 1] [2023-11-29 03:41:48,805 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-11-29 03:41:48,805 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-29 03:41:48,805 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 03:41:48,806 INFO L85 PathProgramCache]: Analyzing trace with hash -1152404447, now seen corresponding path program 1 times [2023-11-29 03:41:48,806 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 03:41:48,806 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1173200586] [2023-11-29 03:41:48,806 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 03:41:48,806 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 03:41:48,828 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 03:41:48,828 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-29 03:41:48,840 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-29 03:41:48,850 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-29 03:41:48,850 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-29 03:41:48,850 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (11 of 12 remaining) [2023-11-29 03:41:48,850 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (10 of 12 remaining) [2023-11-29 03:41:48,851 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (9 of 12 remaining) [2023-11-29 03:41:48,851 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 12 remaining) [2023-11-29 03:41:48,851 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 12 remaining) [2023-11-29 03:41:48,851 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (6 of 12 remaining) [2023-11-29 03:41:48,851 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (5 of 12 remaining) [2023-11-29 03:41:48,852 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 12 remaining) [2023-11-29 03:41:48,852 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (3 of 12 remaining) [2023-11-29 03:41:48,852 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 12 remaining) [2023-11-29 03:41:48,853 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONMEMORY_LEAK (1 of 12 remaining) [2023-11-29 03:41:48,853 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 12 remaining) [2023-11-29 03:41:48,853 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-11-29 03:41:48,853 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-29 03:41:48,854 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-29 03:41:48,855 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-11-29 03:41:48,921 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-29 03:41:48,926 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 171 places, 190 transitions, 408 flow [2023-11-29 03:41:48,966 INFO L124 PetriNetUnfolderBase]: 28/221 cut-off events. [2023-11-29 03:41:48,966 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2023-11-29 03:41:48,968 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-29 03:41:48,968 INFO L82 GeneralOperation]: Start removeDead. Operand has 171 places, 190 transitions, 408 flow [2023-11-29 03:41:48,973 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 171 places, 190 transitions, 408 flow [2023-11-29 03:41:48,974 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-29 03:41:48,975 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;@77b6b031, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-29 03:41:48,975 INFO L358 AbstractCegarLoop]: Starting to check reachability of 14 error locations. [2023-11-29 03:41:48,977 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-29 03:41:48,977 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-29 03:41:48,977 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-29 03:41:48,977 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 03:41:48,977 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-29 03:41:48,978 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-29 03:41:48,978 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 03:41:48,978 INFO L85 PathProgramCache]: Analyzing trace with hash 761175, now seen corresponding path program 1 times [2023-11-29 03:41:48,978 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 03:41:48,978 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [988677666] [2023-11-29 03:41:48,979 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 03:41:48,979 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 03:41:48,988 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 03:41:49,014 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-29 03:41:49,014 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 03:41:49,014 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [988677666] [2023-11-29 03:41:49,015 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [988677666] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 03:41:49,015 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 03:41:49,015 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-29 03:41:49,015 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [457411144] [2023-11-29 03:41:49,015 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 03:41:49,016 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-29 03:41:49,016 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 03:41:49,016 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-29 03:41:49,017 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-29 03:41:49,023 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 59 out of 190 [2023-11-29 03:41:49,024 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-29 03:41:49,024 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 03:41:49,024 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 59 of 190 [2023-11-29 03:41:49,024 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand