Analyzing Inconsistencies in UML/OCL Models

Nils Przigoda, Robert Wille, Rolf Drechsler

In: Journal of Circuits, Systems and Computers 25 3 Seite 1640021 World Scientific Publishing 2015.


Modeling languages such as the unified modeling language (UML) or the systems modeling language (SysML) in combination with constraint languages such as the object constraint language (OCL) allows for an abstract description of a system prior to its implementation. But the resulting system models can be highly non-trivial and, hence, errors in the descriptions can easily arise. In particular, too strong restrictions leading to an inconsistent model are common. Motivated by this, researchers and engineers developed methods for the validation and verification of given formal models. However, while these methods are efficient to detect the existence of an inconsistency, the designer is usually left alone to identify the reasons for it. In this contribution, we propose an automatic method which efficiently determines reasons explaining the contradiction in an inconsistent UML/OCL model. For this purpose, all constraints causing the contradiction are comprehensibly analyzed. By this, the designer is aided during the debugging of his/her model.

Deutsches Forschungszentrum für Künstliche Intelligenz
German Research Center for Artificial Intelligence