./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/pthread-ext/18_read_write_lock-pthread.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 0e0057cc Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread-ext/18_read_write_lock-pthread.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 640f2537ee1134d51aea0c08ed10cc1d89c2a65b937ff07b07bc614e0b9289fc --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 21:46:12,721 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 21:46:12,790 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-24 21:46:12,796 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-24 21:46:12,797 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-24 21:46:12,823 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 21:46:12,824 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-24 21:46:12,825 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-24 21:46:12,825 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-24 21:46:12,826 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-24 21:46:12,826 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 21:46:12,827 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-24 21:46:12,828 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 21:46:12,829 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 21:46:12,829 INFO L153 SettingsManager]: * Use SBE=true [2023-11-24 21:46:12,830 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 21:46:12,830 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-24 21:46:12,831 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 21:46:12,831 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-24 21:46:12,832 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 21:46:12,833 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-24 21:46:12,833 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-24 21:46:12,834 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-24 21:46:12,834 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 21:46:12,835 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-24 21:46:12,836 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 21:46:12,836 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-24 21:46:12,837 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 21:46:12,838 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 21:46:12,838 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-24 21:46:12,839 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-24 21:46:12,839 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-24 21:46:12,840 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-24 21:46:12,840 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 21:46:12,841 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 21:46:12,841 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-24 21:46:12,842 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-24 21:46:12,842 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-24 21:46:12,843 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-24 21:46:12,843 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-24 21:46:12,844 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-24 21:46:12,844 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_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 640f2537ee1134d51aea0c08ed10cc1d89c2a65b937ff07b07bc614e0b9289fc [2023-11-24 21:46:13,099 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 21:46:13,121 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 21:46:13,124 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 21:46:13,125 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 21:46:13,126 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 21:46:13,127 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/../../sv-benchmarks/c/pthread-ext/18_read_write_lock-pthread.i [2023-11-24 21:46:16,300 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 21:46:16,629 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 21:46:16,631 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/sv-benchmarks/c/pthread-ext/18_read_write_lock-pthread.i [2023-11-24 21:46:16,655 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/data/bd1881132/3dc44317159541319d3c5248372a640a/FLAGbd988330d [2023-11-24 21:46:16,673 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/data/bd1881132/3dc44317159541319d3c5248372a640a [2023-11-24 21:46:16,680 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 21:46:16,682 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 21:46:16,684 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 21:46:16,685 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 21:46:16,690 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 21:46:16,693 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 09:46:16" (1/1) ... [2023-11-24 21:46:16,694 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@20b9fcbd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:46:16, skipping insertion in model container [2023-11-24 21:46:16,695 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 09:46:16" (1/1) ... [2023-11-24 21:46:16,756 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 21:46:17,177 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 21:46:17,192 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 21:46:17,231 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 21:46:17,267 WARN L675 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 21:46:17,267 WARN L675 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 21:46:17,276 INFO L206 MainTranslator]: Completed translation [2023-11-24 21:46:17,276 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:46:17 WrapperNode [2023-11-24 21:46:17,276 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 21:46:17,278 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 21:46:17,278 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 21:46:17,278 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 21:46:17,287 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:46:17" (1/1) ... [2023-11-24 21:46:17,325 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:46:17" (1/1) ... [2023-11-24 21:46:17,360 INFO L138 Inliner]: procedures = 166, calls = 37, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 66 [2023-11-24 21:46:17,360 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 21:46:17,361 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 21:46:17,361 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 21:46:17,362 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 21:46:17,375 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:46:17" (1/1) ... [2023-11-24 21:46:17,375 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:46:17" (1/1) ... [2023-11-24 21:46:17,378 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:46:17" (1/1) ... [2023-11-24 21:46:17,392 INFO L175 MemorySlicer]: Split 14 memory accesses to 3 slices as follows [2, 11, 1]. 79 percent of accesses are in the largest equivalence class. The 13 initializations are split as follows [2, 11, 0]. The 1 writes are split as follows [0, 0, 1]. [2023-11-24 21:46:17,392 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:46:17" (1/1) ... [2023-11-24 21:46:17,393 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:46:17" (1/1) ... [2023-11-24 21:46:17,398 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:46:17" (1/1) ... [2023-11-24 21:46:17,400 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:46:17" (1/1) ... [2023-11-24 21:46:17,402 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:46:17" (1/1) ... [2023-11-24 21:46:17,404 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:46:17" (1/1) ... [2023-11-24 21:46:17,408 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 21:46:17,409 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 21:46:17,409 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 21:46:17,409 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 21:46:17,410 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:46:17" (1/1) ... [2023-11-24 21:46:17,417 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-24 21:46:17,434 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/z3 [2023-11-24 21:46:17,454 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2023-11-24 21:46:17,482 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2023-11-24 21:46:17,503 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsRwLockUnlock [2023-11-24 21:46:17,504 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-11-24 21:46:17,504 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-11-24 21:46:17,504 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-24 21:46:17,504 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-24 21:46:17,504 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-24 21:46:17,505 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsRwLockReadLock [2023-11-24 21:46:17,505 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-11-24 21:46:17,505 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 21:46:17,505 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 21:46:17,507 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsRwLockWriteLock [2023-11-24 21:46:17,508 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 21:46:17,508 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-24 21:46:17,508 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-24 21:46:17,509 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2023-11-24 21:46:17,509 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-11-24 21:46:17,509 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 21:46:17,509 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 21:46:17,511 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-24 21:46:17,794 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 21:46:17,797 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 21:46:17,985 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 21:46:18,152 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 21:46:18,153 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-24 21:46:18,153 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 09:46:18 BoogieIcfgContainer [2023-11-24 21:46:18,153 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 21:46:18,156 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-24 21:46:18,156 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-24 21:46:18,160 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-24 21:46:18,160 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 24.11 09:46:16" (1/3) ... [2023-11-24 21:46:18,162 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6b058650 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.11 09:46:18, skipping insertion in model container [2023-11-24 21:46:18,162 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:46:17" (2/3) ... [2023-11-24 21:46:18,163 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6b058650 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.11 09:46:18, skipping insertion in model container [2023-11-24 21:46:18,164 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 09:46:18" (3/3) ... [2023-11-24 21:46:18,166 INFO L112 eAbstractionObserver]: Analyzing ICFG 18_read_write_lock-pthread.i [2023-11-24 21:46:18,189 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-24 21:46:18,190 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 4 error locations. [2023-11-24 21:46:18,190 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-24 21:46:18,233 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-24 21:46:18,277 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 31 places, 29 transitions, 62 flow [2023-11-24 21:46:18,303 INFO L124 PetriNetUnfolderBase]: 2/28 cut-off events. [2023-11-24 21:46:18,304 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 21:46:18,307 INFO L83 FinitePrefix]: Finished finitePrefix Result has 32 conditions, 28 events. 2/28 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 27 event pairs, 0 based on Foata normal form. 0/22 useless extension candidates. Maximal degree in co-relation 23. Up to 2 conditions per place. [2023-11-24 21:46:18,307 INFO L82 GeneralOperation]: Start removeDead. Operand has 31 places, 29 transitions, 62 flow [2023-11-24 21:46:18,311 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 29 places, 27 transitions, 57 flow [2023-11-24 21:46:18,322 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-24 21:46:18,329 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;@701ed5a3, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-24 21:46:18,329 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-11-24 21:46:18,339 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-24 21:46:18,340 INFO L124 PetriNetUnfolderBase]: 0/2 cut-off events. [2023-11-24 21:46:18,340 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 21:46:18,340 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 21:46:18,341 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-11-24 21:46:18,342 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 2 more)] === [2023-11-24 21:46:18,347 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 21:46:18,348 INFO L85 PathProgramCache]: Analyzing trace with hash 6644, now seen corresponding path program 1 times [2023-11-24 21:46:18,362 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 21:46:18,363 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1141260114] [2023-11-24 21:46:18,363 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 21:46:18,364 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 21:46:18,514 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 21:46:18,712 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 21:46:18,713 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 21:46:18,713 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1141260114] [2023-11-24 21:46:18,714 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1141260114] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 21:46:18,714 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 21:46:18,715 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 21:46:18,717 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1700844728] [2023-11-24 21:46:18,718 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 21:46:18,730 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 21:46:18,739 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 21:46:18,770 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 21:46:18,771 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 21:46:18,794 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 12 out of 29 [2023-11-24 21:46:18,800 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 29 places, 27 transitions, 57 flow. Second operand has 3 states, 3 states have (on average 12.666666666666666) internal successors, (38), 3 states have internal predecessors, (38), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:18,801 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 21:46:18,801 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 12 of 29 [2023-11-24 21:46:18,802 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 21:46:18,924 INFO L124 PetriNetUnfolderBase]: 20/75 cut-off events. [2023-11-24 21:46:18,924 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 21:46:18,926 INFO L83 FinitePrefix]: Finished finitePrefix Result has 132 conditions, 75 events. 20/75 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 217 event pairs, 16 based on Foata normal form. 9/77 useless extension candidates. Maximal degree in co-relation 120. Up to 43 conditions per place. [2023-11-24 21:46:18,930 INFO L140 encePairwiseOnDemand]: 24/29 looper letters, 14 selfloop transitions, 2 changer transitions 0/27 dead transitions. [2023-11-24 21:46:18,930 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 29 places, 27 transitions, 89 flow [2023-11-24 21:46:18,932 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 21:46:18,935 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 21:46:18,943 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 55 transitions. [2023-11-24 21:46:18,944 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.632183908045977 [2023-11-24 21:46:18,945 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 55 transitions. [2023-11-24 21:46:18,946 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 55 transitions. [2023-11-24 21:46:18,950 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 21:46:18,955 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 55 transitions. [2023-11-24 21:46:18,972 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 18.333333333333332) internal successors, (55), 3 states have internal predecessors, (55), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:18,976 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 29.0) internal successors, (116), 4 states have internal predecessors, (116), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:18,976 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 29.0) internal successors, (116), 4 states have internal predecessors, (116), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:18,978 INFO L175 Difference]: Start difference. First operand has 29 places, 27 transitions, 57 flow. Second operand 3 states and 55 transitions. [2023-11-24 21:46:18,979 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 29 places, 27 transitions, 89 flow [2023-11-24 21:46:18,981 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 28 places, 27 transitions, 88 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-24 21:46:18,983 INFO L231 Difference]: Finished difference. Result has 28 places, 23 transitions, 52 flow [2023-11-24 21:46:18,985 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=29, PETRI_DIFFERENCE_MINUEND_FLOW=48, PETRI_DIFFERENCE_MINUEND_PLACES=26, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=23, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=21, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=52, PETRI_PLACES=28, PETRI_TRANSITIONS=23} [2023-11-24 21:46:18,990 INFO L281 CegarLoopForPetriNet]: 29 programPoint places, -1 predicate places. [2023-11-24 21:46:18,990 INFO L495 AbstractCegarLoop]: Abstraction has has 28 places, 23 transitions, 52 flow [2023-11-24 21:46:18,991 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 12.666666666666666) internal successors, (38), 3 states have internal predecessors, (38), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:18,991 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 21:46:18,991 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-11-24 21:46:18,992 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-24 21:46:18,992 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 2 more)] === [2023-11-24 21:46:18,993 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 21:46:18,993 INFO L85 PathProgramCache]: Analyzing trace with hash 6645, now seen corresponding path program 1 times [2023-11-24 21:46:18,993 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 21:46:18,994 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [278936372] [2023-11-24 21:46:18,994 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 21:46:18,997 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 21:46:19,049 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 21:46:19,225 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 21:46:19,225 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 21:46:19,225 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [278936372] [2023-11-24 21:46:19,226 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [278936372] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 21:46:19,226 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 21:46:19,226 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 21:46:19,226 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1068818613] [2023-11-24 21:46:19,227 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 21:46:19,228 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 21:46:19,228 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 21:46:19,229 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 21:46:19,229 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 21:46:19,237 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 13 out of 29 [2023-11-24 21:46:19,237 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 28 places, 23 transitions, 52 flow. Second operand has 3 states, 3 states have (on average 13.666666666666666) internal successors, (41), 3 states have internal predecessors, (41), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:19,237 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 21:46:19,237 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 13 of 29 [2023-11-24 21:46:19,238 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 21:46:19,292 INFO L124 PetriNetUnfolderBase]: 20/74 cut-off events. [2023-11-24 21:46:19,292 INFO L125 PetriNetUnfolderBase]: For 3/3 co-relation queries the response was YES. [2023-11-24 21:46:19,293 INFO L83 FinitePrefix]: Finished finitePrefix Result has 136 conditions, 74 events. 20/74 cut-off events. For 3/3 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 214 event pairs, 16 based on Foata normal form. 1/68 useless extension candidates. Maximal degree in co-relation 125. Up to 42 conditions per place. [2023-11-24 21:46:19,294 INFO L140 encePairwiseOnDemand]: 26/29 looper letters, 13 selfloop transitions, 2 changer transitions 0/26 dead transitions. [2023-11-24 21:46:19,294 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 29 places, 26 transitions, 88 flow [2023-11-24 21:46:19,294 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 21:46:19,295 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 21:46:19,296 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 55 transitions. [2023-11-24 21:46:19,296 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.632183908045977 [2023-11-24 21:46:19,296 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 55 transitions. [2023-11-24 21:46:19,297 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 55 transitions. [2023-11-24 21:46:19,297 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 21:46:19,297 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 55 transitions. [2023-11-24 21:46:19,298 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 18.333333333333332) internal successors, (55), 3 states have internal predecessors, (55), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:19,301 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 29.0) internal successors, (116), 4 states have internal predecessors, (116), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:19,301 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 29.0) internal successors, (116), 4 states have internal predecessors, (116), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:19,303 INFO L175 Difference]: Start difference. First operand has 28 places, 23 transitions, 52 flow. Second operand 3 states and 55 transitions. [2023-11-24 21:46:19,303 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 29 places, 26 transitions, 88 flow [2023-11-24 21:46:19,304 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 27 places, 26 transitions, 84 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-24 21:46:19,306 INFO L231 Difference]: Finished difference. Result has 27 places, 22 transitions, 50 flow [2023-11-24 21:46:19,308 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=29, PETRI_DIFFERENCE_MINUEND_FLOW=46, PETRI_DIFFERENCE_MINUEND_PLACES=25, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=22, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=20, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=50, PETRI_PLACES=27, PETRI_TRANSITIONS=22} [2023-11-24 21:46:19,309 INFO L281 CegarLoopForPetriNet]: 29 programPoint places, -2 predicate places. [2023-11-24 21:46:19,310 INFO L495 AbstractCegarLoop]: Abstraction has has 27 places, 22 transitions, 50 flow [2023-11-24 21:46:19,310 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 13.666666666666666) internal successors, (41), 3 states have internal predecessors, (41), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:19,311 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 21:46:19,312 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-24 21:46:19,312 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-24 21:46:19,312 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 2 more)] === [2023-11-24 21:46:19,313 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 21:46:19,313 INFO L85 PathProgramCache]: Analyzing trace with hash 2112609504, now seen corresponding path program 1 times [2023-11-24 21:46:19,314 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 21:46:19,314 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [111331611] [2023-11-24 21:46:19,314 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 21:46:19,315 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 21:46:19,335 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 21:46:19,454 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 21:46:19,454 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 21:46:19,454 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [111331611] [2023-11-24 21:46:19,455 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [111331611] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 21:46:19,455 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 21:46:19,455 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2023-11-24 21:46:19,455 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [47025975] [2023-11-24 21:46:19,455 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 21:46:19,456 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 6 states [2023-11-24 21:46:19,456 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 21:46:19,457 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2023-11-24 21:46:19,457 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=21, Unknown=0, NotChecked=0, Total=30 [2023-11-24 21:46:19,477 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 9 out of 29 [2023-11-24 21:46:19,477 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 27 places, 22 transitions, 50 flow. Second operand has 6 states, 6 states have (on average 10.5) internal successors, (63), 6 states have internal predecessors, (63), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:19,477 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 21:46:19,478 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 9 of 29 [2023-11-24 21:46:19,478 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 21:46:19,757 INFO L124 PetriNetUnfolderBase]: 51/144 cut-off events. [2023-11-24 21:46:19,757 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-24 21:46:19,760 INFO L83 FinitePrefix]: Finished finitePrefix Result has 287 conditions, 144 events. 51/144 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 515 event pairs, 7 based on Foata normal form. 0/140 useless extension candidates. Maximal degree in co-relation 276. Up to 47 conditions per place. [2023-11-24 21:46:19,763 INFO L140 encePairwiseOnDemand]: 20/29 looper letters, 32 selfloop transitions, 13 changer transitions 0/51 dead transitions. [2023-11-24 21:46:19,763 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 34 places, 51 transitions, 200 flow [2023-11-24 21:46:19,763 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2023-11-24 21:46:19,763 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 8 states. [2023-11-24 21:46:19,768 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 8 states to 8 states and 119 transitions. [2023-11-24 21:46:19,770 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5129310344827587 [2023-11-24 21:46:19,770 INFO L72 ComplementDD]: Start complementDD. Operand 8 states and 119 transitions. [2023-11-24 21:46:19,770 INFO L73 IsDeterministic]: Start isDeterministic. Operand 8 states and 119 transitions. [2023-11-24 21:46:19,772 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 21:46:19,773 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 8 states and 119 transitions. [2023-11-24 21:46:19,775 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 9 states, 8 states have (on average 14.875) internal successors, (119), 8 states have internal predecessors, (119), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:19,777 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 9 states, 9 states have (on average 29.0) internal successors, (261), 9 states have internal predecessors, (261), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:19,778 INFO L81 ComplementDD]: Finished complementDD. Result has 9 states, 9 states have (on average 29.0) internal successors, (261), 9 states have internal predecessors, (261), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:19,778 INFO L175 Difference]: Start difference. First operand has 27 places, 22 transitions, 50 flow. Second operand 8 states and 119 transitions. [2023-11-24 21:46:19,778 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 34 places, 51 transitions, 200 flow [2023-11-24 21:46:19,782 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 32 places, 51 transitions, 194 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-24 21:46:19,785 INFO L231 Difference]: Finished difference. Result has 38 places, 31 transitions, 124 flow [2023-11-24 21:46:19,785 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=29, PETRI_DIFFERENCE_MINUEND_FLOW=46, PETRI_DIFFERENCE_MINUEND_PLACES=25, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=22, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=14, PETRI_DIFFERENCE_SUBTRAHEND_STATES=8, PETRI_FLOW=124, PETRI_PLACES=38, PETRI_TRANSITIONS=31} [2023-11-24 21:46:19,787 INFO L281 CegarLoopForPetriNet]: 29 programPoint places, 9 predicate places. [2023-11-24 21:46:19,787 INFO L495 AbstractCegarLoop]: Abstraction has has 38 places, 31 transitions, 124 flow [2023-11-24 21:46:19,787 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 6 states, 6 states have (on average 10.5) internal successors, (63), 6 states have internal predecessors, (63), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:19,787 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 21:46:19,788 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-24 21:46:19,788 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-24 21:46:19,788 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 2 more)] === [2023-11-24 21:46:19,789 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 21:46:19,789 INFO L85 PathProgramCache]: Analyzing trace with hash 1066342424, now seen corresponding path program 1 times [2023-11-24 21:46:19,789 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 21:46:19,790 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [355167318] [2023-11-24 21:46:19,790 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 21:46:19,790 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 21:46:19,834 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 21:46:20,025 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 21:46:20,025 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 21:46:20,026 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [355167318] [2023-11-24 21:46:20,031 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [355167318] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 21:46:20,032 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 21:46:20,034 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2023-11-24 21:46:20,034 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [632882694] [2023-11-24 21:46:20,034 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 21:46:20,035 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 21:46:20,036 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 21:46:20,037 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 21:46:20,039 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 21:46:20,040 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 14 out of 29 [2023-11-24 21:46:20,040 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 38 places, 31 transitions, 124 flow. Second operand has 3 states, 3 states have (on average 16.0) internal successors, (48), 3 states have internal predecessors, (48), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:20,040 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 21:46:20,040 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 14 of 29 [2023-11-24 21:46:20,040 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 21:46:20,112 INFO L124 PetriNetUnfolderBase]: 7/63 cut-off events. [2023-11-24 21:46:20,112 INFO L125 PetriNetUnfolderBase]: For 27/27 co-relation queries the response was YES. [2023-11-24 21:46:20,113 INFO L83 FinitePrefix]: Finished finitePrefix Result has 157 conditions, 63 events. 7/63 cut-off events. For 27/27 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 197 event pairs, 4 based on Foata normal form. 13/75 useless extension candidates. Maximal degree in co-relation 140. Up to 16 conditions per place. [2023-11-24 21:46:20,113 INFO L140 encePairwiseOnDemand]: 25/29 looper letters, 7 selfloop transitions, 1 changer transitions 11/29 dead transitions. [2023-11-24 21:46:20,113 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 37 places, 29 transitions, 144 flow [2023-11-24 21:46:20,114 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 21:46:20,115 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 21:46:20,117 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 56 transitions. [2023-11-24 21:46:20,118 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.6436781609195402 [2023-11-24 21:46:20,118 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 56 transitions. [2023-11-24 21:46:20,118 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 56 transitions. [2023-11-24 21:46:20,119 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 21:46:20,119 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 56 transitions. [2023-11-24 21:46:20,121 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 18.666666666666668) internal successors, (56), 3 states have internal predecessors, (56), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:20,121 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 29.0) internal successors, (116), 4 states have internal predecessors, (116), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:20,122 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 29.0) internal successors, (116), 4 states have internal predecessors, (116), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:20,122 INFO L175 Difference]: Start difference. First operand has 38 places, 31 transitions, 124 flow. Second operand 3 states and 56 transitions. [2023-11-24 21:46:20,122 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 37 places, 29 transitions, 144 flow [2023-11-24 21:46:20,128 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 37 places, 29 transitions, 144 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-24 21:46:20,129 INFO L231 Difference]: Finished difference. Result has 38 places, 18 transitions, 71 flow [2023-11-24 21:46:20,129 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=29, PETRI_DIFFERENCE_MINUEND_FLOW=109, PETRI_DIFFERENCE_MINUEND_PLACES=35, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=27, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=26, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=71, PETRI_PLACES=38, PETRI_TRANSITIONS=18} [2023-11-24 21:46:20,131 INFO L281 CegarLoopForPetriNet]: 29 programPoint places, 9 predicate places. [2023-11-24 21:46:20,131 INFO L495 AbstractCegarLoop]: Abstraction has has 38 places, 18 transitions, 71 flow [2023-11-24 21:46:20,132 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 16.0) internal successors, (48), 3 states have internal predecessors, (48), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:20,132 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 21:46:20,132 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-24 21:46:20,132 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-11-24 21:46:20,133 INFO L420 AbstractCegarLoop]: === Iteration 5 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 2 more)] === [2023-11-24 21:46:20,134 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 21:46:20,134 INFO L85 PathProgramCache]: Analyzing trace with hash 288299701, now seen corresponding path program 1 times [2023-11-24 21:46:20,134 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 21:46:20,135 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [960458440] [2023-11-24 21:46:20,136 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 21:46:20,136 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 21:46:20,155 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 21:46:20,245 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 21:46:20,246 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 21:46:20,246 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [960458440] [2023-11-24 21:46:20,246 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [960458440] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 21:46:20,246 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 21:46:20,246 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2023-11-24 21:46:20,247 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [225254953] [2023-11-24 21:46:20,247 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 21:46:20,251 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 21:46:20,251 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 21:46:20,252 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 21:46:20,252 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 21:46:20,253 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 14 out of 29 [2023-11-24 21:46:20,253 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 38 places, 18 transitions, 71 flow. Second operand has 3 states, 3 states have (on average 16.333333333333332) internal successors, (49), 3 states have internal predecessors, (49), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:20,253 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 21:46:20,253 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 14 of 29 [2023-11-24 21:46:20,254 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 21:46:20,274 INFO L124 PetriNetUnfolderBase]: 1/13 cut-off events. [2023-11-24 21:46:20,274 INFO L125 PetriNetUnfolderBase]: For 6/6 co-relation queries the response was YES. [2023-11-24 21:46:20,274 INFO L83 FinitePrefix]: Finished finitePrefix Result has 41 conditions, 13 events. 1/13 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 8 event pairs, 0 based on Foata normal form. 1/13 useless extension candidates. Maximal degree in co-relation 31. Up to 5 conditions per place. [2023-11-24 21:46:20,275 INFO L140 encePairwiseOnDemand]: 27/29 looper letters, 0 selfloop transitions, 0 changer transitions 12/12 dead transitions. [2023-11-24 21:46:20,275 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 29 places, 12 transitions, 55 flow [2023-11-24 21:46:20,275 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 21:46:20,275 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 21:46:20,276 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 49 transitions. [2023-11-24 21:46:20,276 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5632183908045977 [2023-11-24 21:46:20,276 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 49 transitions. [2023-11-24 21:46:20,276 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 49 transitions. [2023-11-24 21:46:20,276 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 21:46:20,276 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 49 transitions. [2023-11-24 21:46:20,277 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 16.333333333333332) internal successors, (49), 3 states have internal predecessors, (49), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:20,279 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 29.0) internal successors, (116), 4 states have internal predecessors, (116), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:20,279 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 29.0) internal successors, (116), 4 states have internal predecessors, (116), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:20,279 INFO L175 Difference]: Start difference. First operand has 38 places, 18 transitions, 71 flow. Second operand 3 states and 49 transitions. [2023-11-24 21:46:20,280 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 29 places, 12 transitions, 55 flow [2023-11-24 21:46:20,281 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 22 places, 12 transitions, 44 flow, removed 1 selfloop flow, removed 7 redundant places. [2023-11-24 21:46:20,281 INFO L231 Difference]: Finished difference. Result has 22 places, 0 transitions, 0 flow [2023-11-24 21:46:20,281 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=29, PETRI_DIFFERENCE_MINUEND_FLOW=30, PETRI_DIFFERENCE_MINUEND_PLACES=20, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=11, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=11, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=22, PETRI_TRANSITIONS=0} [2023-11-24 21:46:20,284 INFO L281 CegarLoopForPetriNet]: 29 programPoint places, -7 predicate places. [2023-11-24 21:46:20,288 INFO L495 AbstractCegarLoop]: Abstraction has has 22 places, 0 transitions, 0 flow [2023-11-24 21:46:20,289 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 16.333333333333332) internal successors, (49), 3 states have internal predecessors, (49), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-24 21:46:20,292 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 5 remaining) [2023-11-24 21:46:20,292 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 5 remaining) [2023-11-24 21:46:20,293 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (2 of 5 remaining) [2023-11-24 21:46:20,293 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (1 of 5 remaining) [2023-11-24 21:46:20,293 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 5 remaining) [2023-11-24 21:46:20,293 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-11-24 21:46:20,294 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1, 1] [2023-11-24 21:46:20,301 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-11-24 21:46:20,302 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-11-24 21:46:20,315 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 24.11 09:46:20 BasicIcfg [2023-11-24 21:46:20,315 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-11-24 21:46:20,315 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-24 21:46:20,315 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-24 21:46:20,316 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-24 21:46:20,316 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 09:46:18" (3/4) ... [2023-11-24 21:46:20,318 INFO L137 WitnessPrinter]: Generating witness for correct program [2023-11-24 21:46:20,322 INFO L361 RCFGBacktranslator]: Ignoring RootEdge to procedure thr1 [2023-11-24 21:46:20,330 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 33 nodes and edges [2023-11-24 21:46:20,330 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 7 nodes and edges [2023-11-24 21:46:20,330 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 4 nodes and edges [2023-11-24 21:46:20,330 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 2 nodes and edges [2023-11-24 21:46:20,407 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/witness.graphml [2023-11-24 21:46:20,408 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/witness.yml [2023-11-24 21:46:20,408 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-24 21:46:20,409 INFO L158 Benchmark]: Toolchain (without parser) took 3726.49ms. Allocated memory was 140.5MB in the beginning and 174.1MB in the end (delta: 33.6MB). Free memory was 95.0MB in the beginning and 54.7MB in the end (delta: 40.3MB). Peak memory consumption was 75.8MB. Max. memory is 16.1GB. [2023-11-24 21:46:20,409 INFO L158 Benchmark]: CDTParser took 0.31ms. Allocated memory is still 102.8MB. Free memory is still 54.0MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-24 21:46:20,409 INFO L158 Benchmark]: CACSL2BoogieTranslator took 592.67ms. Allocated memory is still 140.5MB. Free memory was 95.0MB in the beginning and 74.9MB in the end (delta: 20.1MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2023-11-24 21:46:20,410 INFO L158 Benchmark]: Boogie Procedure Inliner took 82.78ms. Allocated memory is still 140.5MB. Free memory was 74.9MB in the beginning and 72.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 21:46:20,410 INFO L158 Benchmark]: Boogie Preprocessor took 46.85ms. Allocated memory is still 140.5MB. Free memory was 72.8MB in the beginning and 70.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-24 21:46:20,411 INFO L158 Benchmark]: RCFGBuilder took 744.62ms. Allocated memory is still 140.5MB. Free memory was 70.3MB in the beginning and 88.6MB in the end (delta: -18.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2023-11-24 21:46:20,412 INFO L158 Benchmark]: TraceAbstraction took 2158.70ms. Allocated memory was 140.5MB in the beginning and 174.1MB in the end (delta: 33.6MB). Free memory was 87.8MB in the beginning and 58.9MB in the end (delta: 28.8MB). Peak memory consumption was 64.1MB. Max. memory is 16.1GB. [2023-11-24 21:46:20,412 INFO L158 Benchmark]: Witness Printer took 92.59ms. Allocated memory is still 174.1MB. Free memory was 58.9MB in the beginning and 54.7MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-24 21:46:20,414 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.31ms. Allocated memory is still 102.8MB. Free memory is still 54.0MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 592.67ms. Allocated memory is still 140.5MB. Free memory was 95.0MB in the beginning and 74.9MB in the end (delta: 20.1MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 82.78ms. Allocated memory is still 140.5MB. Free memory was 74.9MB in the beginning and 72.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 46.85ms. Allocated memory is still 140.5MB. Free memory was 72.8MB in the beginning and 70.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 744.62ms. Allocated memory is still 140.5MB. Free memory was 70.3MB in the beginning and 88.6MB in the end (delta: -18.3MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * TraceAbstraction took 2158.70ms. Allocated memory was 140.5MB in the beginning and 174.1MB in the end (delta: 33.6MB). Free memory was 87.8MB in the beginning and 58.9MB in the end (delta: 28.8MB). Peak memory consumption was 64.1MB. Max. memory is 16.1GB. * Witness Printer took 92.59ms. Allocated memory is still 174.1MB. Free memory was 58.9MB in the beginning and 54.7MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 12]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - PositiveResult [Line: 713]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 3 procedures, 35 locations, 5 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 2.0s, OverallIterations: 5, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.8s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 76 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 61 mSDsluCounter, 8 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 4 mSDsCounter, 5 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 203 IncrementalHoareTripleChecker+Invalid, 208 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 5 mSolverCounterUnsat, 4 mSDtfsCounter, 203 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 17 GetRequests, 6 SyntacticMatches, 0 SemanticMatches, 11 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=124occurred in iteration=3, InterpolantAutomatonStates: 20, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.8s InterpolantComputationTime, 47 NumberOfCodeBlocks, 47 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 42 ConstructedInterpolants, 0 QuantifiedInterpolants, 120 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 5 InterpolantComputations, 5 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available - AllSpecificationsHoldResult: All specifications hold 4 specifications checked. All of them hold RESULT: Ultimate proved your program to be correct! [2023-11-24 21:46:20,437 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_19369bbb-be87-4561-9e76-1c34fd415d79/bin/uautomizer-verify-NlZe1sFDwI/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE