./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/goblint-regression/04-mutex_54-pt_rwlock_ww.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_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/goblint-regression/04-mutex_54-pt_rwlock_ww.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme --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 a0d4dc1bad36ea6a944d96610a1da4f49d6f4e54f23122f87b052f14d480b584 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-26 11:56:56,570 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-26 11:56:56,638 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-26 11:56:56,644 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-26 11:56:56,645 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-26 11:56:56,671 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-26 11:56:56,672 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-26 11:56:56,673 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-26 11:56:56,674 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-26 11:56:56,674 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-26 11:56:56,675 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-26 11:56:56,675 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-26 11:56:56,676 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-26 11:56:56,677 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-26 11:56:56,678 INFO L153 SettingsManager]: * Use SBE=true [2023-11-26 11:56:56,678 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-26 11:56:56,679 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-26 11:56:56,680 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-26 11:56:56,680 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-26 11:56:56,681 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-26 11:56:56,682 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-26 11:56:56,682 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-26 11:56:56,683 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-26 11:56:56,684 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-26 11:56:56,685 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-26 11:56:56,685 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-26 11:56:56,686 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-26 11:56:56,686 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-26 11:56:56,687 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-26 11:56:56,688 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-26 11:56:56,688 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-26 11:56:56,689 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-26 11:56:56,689 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-26 11:56:56,690 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-26 11:56:56,691 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-26 11:56:56,691 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-26 11:56:56,691 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-26 11:56:56,692 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-26 11:56:56,692 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-26 11:56:56,693 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-26 11:56:56,693 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-26 11:56:56,694 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_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/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_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme 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 -> a0d4dc1bad36ea6a944d96610a1da4f49d6f4e54f23122f87b052f14d480b584 [2023-11-26 11:56:56,970 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-26 11:56:57,024 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-26 11:56:57,027 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-26 11:56:57,028 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-26 11:56:57,028 INFO L274 PluginConnector]: CDTParser initialized [2023-11-26 11:56:57,029 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/../../sv-benchmarks/c/goblint-regression/04-mutex_54-pt_rwlock_ww.i [2023-11-26 11:57:00,150 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-26 11:57:00,453 INFO L384 CDTParser]: Found 1 translation units. [2023-11-26 11:57:00,454 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/sv-benchmarks/c/goblint-regression/04-mutex_54-pt_rwlock_ww.i [2023-11-26 11:57:00,482 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/data/a494b0f86/f8596e0e7dc94d7e9d5950f59a7ea75f/FLAGbe469bb5e [2023-11-26 11:57:00,498 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/data/a494b0f86/f8596e0e7dc94d7e9d5950f59a7ea75f [2023-11-26 11:57:00,504 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-26 11:57:00,506 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-26 11:57:00,509 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-26 11:57:00,509 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-26 11:57:00,515 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-26 11:57:00,517 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.11 11:57:00" (1/1) ... [2023-11-26 11:57:00,519 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@461f6f20 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:57:00, skipping insertion in model container [2023-11-26 11:57:00,519 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.11 11:57:00" (1/1) ... [2023-11-26 11:57:00,590 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-26 11:57:01,152 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-26 11:57:01,173 INFO L202 MainTranslator]: Completed pre-run [2023-11-26 11:57:01,242 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-26 11:57:01,313 INFO L206 MainTranslator]: Completed translation [2023-11-26 11:57:01,313 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:57:01 WrapperNode [2023-11-26 11:57:01,313 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-26 11:57:01,314 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-26 11:57:01,315 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-26 11:57:01,315 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-26 11:57:01,322 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:57:01" (1/1) ... [2023-11-26 11:57:01,341 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:57:01" (1/1) ... [2023-11-26 11:57:01,368 INFO L138 Inliner]: procedures = 263, calls = 24, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 45 [2023-11-26 11:57:01,370 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-26 11:57:01,371 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-26 11:57:01,372 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-26 11:57:01,373 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-26 11:57:01,387 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:57:01" (1/1) ... [2023-11-26 11:57:01,387 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:57:01" (1/1) ... [2023-11-26 11:57:01,395 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:57:01" (1/1) ... [2023-11-26 11:57:01,410 INFO L175 MemorySlicer]: Split 13 memory accesses to 2 slices as follows [11, 2]. 85 percent of accesses are in the largest equivalence class. The 11 initializations are split as follows [11, 0]. The 1 writes are split as follows [0, 1]. [2023-11-26 11:57:01,411 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:57:01" (1/1) ... [2023-11-26 11:57:01,411 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:57:01" (1/1) ... [2023-11-26 11:57:01,417 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:57:01" (1/1) ... [2023-11-26 11:57:01,419 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:57:01" (1/1) ... [2023-11-26 11:57:01,421 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:57:01" (1/1) ... [2023-11-26 11:57:01,423 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:57:01" (1/1) ... [2023-11-26 11:57:01,426 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-26 11:57:01,427 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-26 11:57:01,428 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-26 11:57:01,428 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-26 11:57:01,429 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:57:01" (1/1) ... [2023-11-26 11:57:01,450 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-26 11:57:01,463 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/z3 [2023-11-26 11:57:01,474 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2023-11-26 11:57:01,497 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2023-11-26 11:57:01,511 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-26 11:57:01,511 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsRwLockWriteLock [2023-11-26 11:57:01,511 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-26 11:57:01,512 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsRwLockUnlock [2023-11-26 11:57:01,512 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2023-11-26 11:57:01,512 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2023-11-26 11:57:01,512 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-26 11:57:01,512 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-26 11:57:01,512 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-26 11:57:01,513 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2023-11-26 11:57:01,513 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2023-11-26 11:57:01,513 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-26 11:57:01,513 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-26 11:57:01,513 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-26 11:57:01,513 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-26 11:57:01,515 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-26 11:57:01,716 INFO L241 CfgBuilder]: Building ICFG [2023-11-26 11:57:01,721 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-26 11:57:01,900 INFO L282 CfgBuilder]: Performing block encoding [2023-11-26 11:57:02,102 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-26 11:57:02,102 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-26 11:57:02,103 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.11 11:57:02 BoogieIcfgContainer [2023-11-26 11:57:02,103 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-26 11:57:02,106 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-26 11:57:02,106 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-26 11:57:02,119 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-26 11:57:02,119 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 26.11 11:57:00" (1/3) ... [2023-11-26 11:57:02,120 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@28cbe8f8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 26.11 11:57:02, skipping insertion in model container [2023-11-26 11:57:02,120 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.11 11:57:01" (2/3) ... [2023-11-26 11:57:02,120 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@28cbe8f8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 26.11 11:57:02, skipping insertion in model container [2023-11-26 11:57:02,121 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.11 11:57:02" (3/3) ... [2023-11-26 11:57:02,122 INFO L112 eAbstractionObserver]: Analyzing ICFG 04-mutex_54-pt_rwlock_ww.i [2023-11-26 11:57:02,140 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-26 11:57:02,140 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 5 error locations. [2023-11-26 11:57:02,140 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-26 11:57:02,177 INFO L144 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2023-11-26 11:57:02,217 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 27 places, 23 transitions, 53 flow [2023-11-26 11:57:02,247 INFO L124 PetriNetUnfolderBase]: 0/22 cut-off events. [2023-11-26 11:57:02,248 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-26 11:57:02,257 INFO L83 FinitePrefix]: Finished finitePrefix Result has 27 conditions, 22 events. 0/22 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 20 event pairs, 0 based on Foata normal form. 0/17 useless extension candidates. Maximal degree in co-relation 0. Up to 2 conditions per place. [2023-11-26 11:57:02,257 INFO L82 GeneralOperation]: Start removeDead. Operand has 27 places, 23 transitions, 53 flow [2023-11-26 11:57:02,261 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 25 places, 21 transitions, 48 flow [2023-11-26 11:57:02,281 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-26 11:57:02,288 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;@f6e5a26, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-26 11:57:02,289 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-11-26 11:57:02,304 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-26 11:57:02,304 INFO L124 PetriNetUnfolderBase]: 0/2 cut-off events. [2023-11-26 11:57:02,304 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-26 11:57:02,304 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-26 11:57:02,305 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-11-26 11:57:02,310 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 3 more)] === [2023-11-26 11:57:02,354 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-26 11:57:02,355 INFO L85 PathProgramCache]: Analyzing trace with hash 5253, now seen corresponding path program 1 times [2023-11-26 11:57:02,365 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-26 11:57:02,379 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2064893991] [2023-11-26 11:57:02,379 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:57:02,380 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-26 11:57:02,506 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-26 11:57:02,647 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-26 11:57:02,647 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-26 11:57:02,648 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2064893991] [2023-11-26 11:57:02,648 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2064893991] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-26 11:57:02,648 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-26 11:57:02,649 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-26 11:57:02,651 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [5332951] [2023-11-26 11:57:02,652 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-26 11:57:02,662 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-26 11:57:02,670 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-26 11:57:02,702 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-26 11:57:02,703 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-26 11:57:02,731 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 6 out of 23 [2023-11-26 11:57:02,733 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 25 places, 21 transitions, 48 flow. Second operand has 3 states, 3 states have (on average 6.666666666666667) internal successors, (20), 3 states have internal predecessors, (20), 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-26 11:57:02,734 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-26 11:57:02,734 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 6 of 23 [2023-11-26 11:57:02,735 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-26 11:57:02,814 INFO L124 PetriNetUnfolderBase]: 20/63 cut-off events. [2023-11-26 11:57:02,814 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-26 11:57:02,815 INFO L83 FinitePrefix]: Finished finitePrefix Result has 123 conditions, 63 events. 20/63 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 160 event pairs, 20 based on Foata normal form. 0/61 useless extension candidates. Maximal degree in co-relation 105. Up to 53 conditions per place. [2023-11-26 11:57:02,818 INFO L140 encePairwiseOnDemand]: 19/23 looper letters, 12 selfloop transitions, 2 changer transitions 0/19 dead transitions. [2023-11-26 11:57:02,818 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 25 places, 19 transitions, 72 flow [2023-11-26 11:57:02,819 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-26 11:57:02,822 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-26 11:57:02,829 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 34 transitions. [2023-11-26 11:57:02,831 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4927536231884058 [2023-11-26 11:57:02,832 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 34 transitions. [2023-11-26 11:57:02,833 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 34 transitions. [2023-11-26 11:57:02,834 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-26 11:57:02,837 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 34 transitions. [2023-11-26 11:57:02,839 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 11.333333333333334) internal successors, (34), 3 states have internal predecessors, (34), 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-26 11:57:02,843 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 23.0) internal successors, (92), 4 states have internal predecessors, (92), 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-26 11:57:02,844 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 23.0) internal successors, (92), 4 states have internal predecessors, (92), 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-26 11:57:02,846 INFO L175 Difference]: Start difference. First operand has 25 places, 21 transitions, 48 flow. Second operand 3 states and 34 transitions. [2023-11-26 11:57:02,847 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 25 places, 19 transitions, 72 flow [2023-11-26 11:57:02,851 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 23 places, 19 transitions, 68 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-26 11:57:02,853 INFO L231 Difference]: Finished difference. Result has 23 places, 19 transitions, 44 flow [2023-11-26 11:57:02,855 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=23, PETRI_DIFFERENCE_MINUEND_FLOW=40, PETRI_DIFFERENCE_MINUEND_PLACES=21, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=19, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=17, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=44, PETRI_PLACES=23, PETRI_TRANSITIONS=19} [2023-11-26 11:57:02,860 INFO L281 CegarLoopForPetriNet]: 25 programPoint places, -2 predicate places. [2023-11-26 11:57:02,860 INFO L495 AbstractCegarLoop]: Abstraction has has 23 places, 19 transitions, 44 flow [2023-11-26 11:57:02,861 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 6.666666666666667) internal successors, (20), 3 states have internal predecessors, (20), 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-26 11:57:02,861 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-26 11:57:02,861 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-11-26 11:57:02,861 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-26 11:57:02,861 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 3 more)] === [2023-11-26 11:57:02,863 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-26 11:57:02,863 INFO L85 PathProgramCache]: Analyzing trace with hash 5254, now seen corresponding path program 1 times [2023-11-26 11:57:02,863 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-26 11:57:02,864 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [401778801] [2023-11-26 11:57:02,864 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:57:02,865 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-26 11:57:02,895 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-26 11:57:03,004 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-26 11:57:03,004 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-26 11:57:03,004 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [401778801] [2023-11-26 11:57:03,005 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [401778801] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-26 11:57:03,005 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-26 11:57:03,005 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-26 11:57:03,005 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [770224010] [2023-11-26 11:57:03,006 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-26 11:57:03,007 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-26 11:57:03,007 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-26 11:57:03,008 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-26 11:57:03,008 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-26 11:57:03,023 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 8 out of 23 [2023-11-26 11:57:03,023 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 23 places, 19 transitions, 44 flow. Second operand has 3 states, 3 states have (on average 8.666666666666666) internal successors, (26), 3 states have internal predecessors, (26), 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-26 11:57:03,024 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-26 11:57:03,024 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 8 of 23 [2023-11-26 11:57:03,024 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-26 11:57:03,066 INFO L124 PetriNetUnfolderBase]: 16/53 cut-off events. [2023-11-26 11:57:03,066 INFO L125 PetriNetUnfolderBase]: For 1/3 co-relation queries the response was YES. [2023-11-26 11:57:03,067 INFO L83 FinitePrefix]: Finished finitePrefix Result has 103 conditions, 53 events. 16/53 cut-off events. For 1/3 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 123 event pairs, 16 based on Foata normal form. 5/57 useless extension candidates. Maximal degree in co-relation 93. Up to 43 conditions per place. [2023-11-26 11:57:03,068 INFO L140 encePairwiseOnDemand]: 19/23 looper letters, 10 selfloop transitions, 2 changer transitions 0/17 dead transitions. [2023-11-26 11:57:03,068 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 23 places, 17 transitions, 64 flow [2023-11-26 11:57:03,069 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-26 11:57:03,069 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-26 11:57:03,070 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 38 transitions. [2023-11-26 11:57:03,070 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5507246376811594 [2023-11-26 11:57:03,070 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 38 transitions. [2023-11-26 11:57:03,070 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 38 transitions. [2023-11-26 11:57:03,071 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-26 11:57:03,071 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 38 transitions. [2023-11-26 11:57:03,072 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 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-26 11:57:03,073 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 23.0) internal successors, (92), 4 states have internal predecessors, (92), 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-26 11:57:03,073 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 23.0) internal successors, (92), 4 states have internal predecessors, (92), 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-26 11:57:03,073 INFO L175 Difference]: Start difference. First operand has 23 places, 19 transitions, 44 flow. Second operand 3 states and 38 transitions. [2023-11-26 11:57:03,074 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 23 places, 17 transitions, 64 flow [2023-11-26 11:57:03,074 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 21 places, 17 transitions, 60 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-26 11:57:03,075 INFO L231 Difference]: Finished difference. Result has 21 places, 17 transitions, 40 flow [2023-11-26 11:57:03,076 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=23, PETRI_DIFFERENCE_MINUEND_FLOW=36, PETRI_DIFFERENCE_MINUEND_PLACES=19, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=17, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=15, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=40, PETRI_PLACES=21, PETRI_TRANSITIONS=17} [2023-11-26 11:57:03,077 INFO L281 CegarLoopForPetriNet]: 25 programPoint places, -4 predicate places. [2023-11-26 11:57:03,077 INFO L495 AbstractCegarLoop]: Abstraction has has 21 places, 17 transitions, 40 flow [2023-11-26 11:57:03,078 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 8.666666666666666) internal successors, (26), 3 states have internal predecessors, (26), 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-26 11:57:03,078 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-26 11:57:03,078 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-26 11:57:03,078 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-26 11:57:03,079 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr4ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 3 more)] === [2023-11-26 11:57:03,079 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-26 11:57:03,079 INFO L85 PathProgramCache]: Analyzing trace with hash 1097401289, now seen corresponding path program 1 times [2023-11-26 11:57:03,080 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-26 11:57:03,080 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1187436261] [2023-11-26 11:57:03,080 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-26 11:57:03,081 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-26 11:57:03,106 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-26 11:57:03,304 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-26 11:57:03,304 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-26 11:57:03,305 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1187436261] [2023-11-26 11:57:03,306 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1187436261] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-26 11:57:03,306 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-26 11:57:03,307 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2023-11-26 11:57:03,307 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [331475520] [2023-11-26 11:57:03,307 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-26 11:57:03,308 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-26 11:57:03,308 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-26 11:57:03,309 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-26 11:57:03,309 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-26 11:57:03,309 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 10 out of 23 [2023-11-26 11:57:03,310 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 21 places, 17 transitions, 40 flow. Second operand has 3 states, 3 states have (on average 14.0) internal successors, (42), 3 states have internal predecessors, (42), 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-26 11:57:03,311 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-26 11:57:03,311 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 10 of 23 [2023-11-26 11:57:03,311 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-26 11:57:03,345 INFO L124 PetriNetUnfolderBase]: 2/13 cut-off events. [2023-11-26 11:57:03,345 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-26 11:57:03,346 INFO L83 FinitePrefix]: Finished finitePrefix Result has 29 conditions, 13 events. 2/13 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 3. Compared 13 event pairs, 0 based on Foata normal form. 7/19 useless extension candidates. Maximal degree in co-relation 23. Up to 8 conditions per place. [2023-11-26 11:57:03,346 INFO L140 encePairwiseOnDemand]: 19/23 looper letters, 0 selfloop transitions, 0 changer transitions 10/10 dead transitions. [2023-11-26 11:57:03,346 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 15 places, 10 transitions, 39 flow [2023-11-26 11:57:03,347 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-26 11:57:03,347 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-26 11:57:03,348 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 42 transitions. [2023-11-26 11:57:03,349 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.6086956521739131 [2023-11-26 11:57:03,349 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 42 transitions. [2023-11-26 11:57:03,349 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 42 transitions. [2023-11-26 11:57:03,350 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-26 11:57:03,350 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 42 transitions. [2023-11-26 11:57:03,351 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 14.0) internal successors, (42), 3 states have internal predecessors, (42), 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-26 11:57:03,352 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 23.0) internal successors, (92), 4 states have internal predecessors, (92), 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-26 11:57:03,352 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 23.0) internal successors, (92), 4 states have internal predecessors, (92), 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-26 11:57:03,353 INFO L175 Difference]: Start difference. First operand has 21 places, 17 transitions, 40 flow. Second operand 3 states and 42 transitions. [2023-11-26 11:57:03,353 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 15 places, 10 transitions, 39 flow [2023-11-26 11:57:03,353 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 14 places, 10 transitions, 38 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-26 11:57:03,354 INFO L231 Difference]: Finished difference. Result has 14 places, 0 transitions, 0 flow [2023-11-26 11:57:03,354 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=23, PETRI_DIFFERENCE_MINUEND_FLOW=20, PETRI_DIFFERENCE_MINUEND_PLACES=12, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=9, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=9, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=14, PETRI_TRANSITIONS=0} [2023-11-26 11:57:03,355 INFO L281 CegarLoopForPetriNet]: 25 programPoint places, -11 predicate places. [2023-11-26 11:57:03,355 INFO L495 AbstractCegarLoop]: Abstraction has has 14 places, 0 transitions, 0 flow [2023-11-26 11:57:03,355 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 14.0) internal successors, (42), 3 states have internal predecessors, (42), 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-26 11:57:03,357 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 6 remaining) [2023-11-26 11:57:03,358 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 6 remaining) [2023-11-26 11:57:03,358 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 6 remaining) [2023-11-26 11:57:03,358 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 6 remaining) [2023-11-26 11:57:03,358 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4ASSERT_VIOLATIONMEMORY_LEAK (1 of 6 remaining) [2023-11-26 11:57:03,359 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 6 remaining) [2023-11-26 11:57:03,359 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-26 11:57:03,359 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-26 11:57:03,364 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-11-26 11:57:03,364 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-11-26 11:57:03,379 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 26.11 11:57:03 BasicIcfg [2023-11-26 11:57:03,379 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-11-26 11:57:03,381 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-26 11:57:03,381 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-26 11:57:03,381 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-26 11:57:03,382 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.11 11:57:02" (3/4) ... [2023-11-26 11:57:03,384 INFO L137 WitnessPrinter]: Generating witness for correct program [2023-11-26 11:57:03,388 INFO L361 RCFGBacktranslator]: Ignoring RootEdge to procedure t_fun [2023-11-26 11:57:03,393 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 25 nodes and edges [2023-11-26 11:57:03,393 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 5 nodes and edges [2023-11-26 11:57:03,394 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 2 nodes and edges [2023-11-26 11:57:03,394 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 1 nodes and edges [2023-11-26 11:57:03,481 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/witness.graphml [2023-11-26 11:57:03,482 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/witness.yml [2023-11-26 11:57:03,483 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-26 11:57:03,485 INFO L158 Benchmark]: Toolchain (without parser) took 2978.21ms. Allocated memory was 134.2MB in the beginning and 180.4MB in the end (delta: 46.1MB). Free memory was 69.1MB in the beginning and 89.3MB in the end (delta: -20.2MB). Peak memory consumption was 25.7MB. Max. memory is 16.1GB. [2023-11-26 11:57:03,485 INFO L158 Benchmark]: CDTParser took 0.18ms. Allocated memory is still 134.2MB. Free memory is still 108.8MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-26 11:57:03,488 INFO L158 Benchmark]: CACSL2BoogieTranslator took 804.33ms. Allocated memory was 134.2MB in the beginning and 180.4MB in the end (delta: 46.1MB). Free memory was 68.9MB in the beginning and 129.3MB in the end (delta: -60.4MB). Peak memory consumption was 10.2MB. Max. memory is 16.1GB. [2023-11-26 11:57:03,489 INFO L158 Benchmark]: Boogie Procedure Inliner took 56.13ms. Allocated memory is still 180.4MB. Free memory was 129.3MB in the beginning and 127.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-26 11:57:03,489 INFO L158 Benchmark]: Boogie Preprocessor took 55.57ms. Allocated memory is still 180.4MB. Free memory was 127.2MB in the beginning and 124.9MB in the end (delta: 2.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-26 11:57:03,490 INFO L158 Benchmark]: RCFGBuilder took 675.67ms. Allocated memory is still 180.4MB. Free memory was 124.7MB in the beginning and 100.8MB in the end (delta: 23.9MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2023-11-26 11:57:03,490 INFO L158 Benchmark]: TraceAbstraction took 1272.63ms. Allocated memory is still 180.4MB. Free memory was 99.9MB in the beginning and 93.5MB in the end (delta: 6.4MB). Peak memory consumption was 5.0MB. Max. memory is 16.1GB. [2023-11-26 11:57:03,491 INFO L158 Benchmark]: Witness Printer took 102.44ms. Allocated memory is still 180.4MB. Free memory was 93.5MB in the beginning and 89.3MB in the end (delta: 4.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-26 11:57:03,496 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.18ms. Allocated memory is still 134.2MB. Free memory is still 108.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 804.33ms. Allocated memory was 134.2MB in the beginning and 180.4MB in the end (delta: 46.1MB). Free memory was 68.9MB in the beginning and 129.3MB in the end (delta: -60.4MB). Peak memory consumption was 10.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 56.13ms. Allocated memory is still 180.4MB. Free memory was 129.3MB in the beginning and 127.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 55.57ms. Allocated memory is still 180.4MB. Free memory was 127.2MB in the beginning and 124.9MB in the end (delta: 2.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 675.67ms. Allocated memory is still 180.4MB. Free memory was 124.7MB in the beginning and 100.8MB in the end (delta: 23.9MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * TraceAbstraction took 1272.63ms. Allocated memory is still 180.4MB. Free memory was 99.9MB in the beginning and 93.5MB in the end (delta: 6.4MB). Peak memory consumption was 5.0MB. Max. memory is 16.1GB. * Witness Printer took 102.44ms. Allocated memory is still 180.4MB. Free memory was 93.5MB in the beginning and 89.3MB 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: -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: 927]: 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, 31 locations, 6 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: 1.1s, OverallIterations: 3, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.3s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 52 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 31 mSDsluCounter, 6 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 8 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 57 IncrementalHoareTripleChecker+Invalid, 65 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 8 mSolverCounterUnsat, 6 mSDtfsCounter, 57 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 5 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=48occurred in iteration=0, InterpolantAutomatonStates: 9, 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.0s SatisfiabilityAnalysisTime, 0.4s InterpolantComputationTime, 21 NumberOfCodeBlocks, 21 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 18 ConstructedInterpolants, 0 QuantifiedInterpolants, 46 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 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 5 specifications checked. All of them hold RESULT: Ultimate proved your program to be correct! [2023-11-26 11:57:03,515 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_eb7fdfb4-6b1d-460d-ac05-5ddbe9e9b4e9/bin/uautomizer-verify-VRDe98Ueme/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