Towards Memory-Efficient Validation of Large XMI Models

Sorour Jahanbin*, Dimitris Kolovos, Simos Gerasimou

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Model validation is a common activity in model-driven engineering, where a model is checked against a set of consistency rules (also referred to as constraints) to assess whether it has desirable properties further to those that can be expressed by the metamodel that it conforms to (e.g. to check that all states in a state machine are reachable or that no classes in an object-oriented model are involved in circular inheritance relationships). Such constraints can be written in general-purpose (e.g. Java) or in task-specific validation languages such as the Object Constraint Language (OCL) or the Epsilon Validation Language (EVL). To check a model that is serialised in the OMG-standard XMI format against a set of constraints, the current state of practice requires loading the entire model into memory first. This can be problematic in cases where loading the model into memory requires more memory (heap space) than is available in the host machine, and is sub-optimal when carrying out distributed model validation over a number of machines. In this paper, we present an approach that uses static analysis to split sets of model validation constraints into sub-groups that operate on smaller subsets of the model. Combined with existing XMI partial loading capabilities, the proposed approach makes it possible to check larger XMI - based models on a single machine and to potentially improve efficiency when checking models in a distributed setting.

Original languageEnglish
Title of host publicationProceedings - 2023 ACM/IEEE International Conference on Model Driven Engineering Languages and Systems Companion, MODELS-C 2023
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages241-250
Number of pages10
ISBN (Electronic)9798350324983
DOIs
Publication statusPublished - 22 Dec 2023
Event2023 ACM/IEEE International Conference on Model Driven Engineering Languages and Systems, MODELS-C 2023 - Vasteras, Sweden
Duration: 1 Oct 20236 Oct 2023

Publication series

NameProceedings - 2023 ACM/IEEE International Conference on Model Driven Engineering Languages and Systems Companion, MODELS-C 2023

Conference

Conference2023 ACM/IEEE International Conference on Model Driven Engineering Languages and Systems, MODELS-C 2023
Country/TerritorySweden
CityVasteras
Period1/10/236/10/23

Bibliographical note

Funding Information:
ACKNOWLEDGMENT This research is supported by the Lowcomote Training Network, which has received funding from the European Union’s Horizon 2020 Research and InnovationProgram under the Marie Skłodowska-Curiegrant agreement no 813884.

© 2023 IEEE. This is an author-produced version of the published paper. Uploaded in accordance with the University’s Research Publications and Open Access policy.

Keywords

  • file-based model
  • memory management
  • model validation
  • model-driven engineering
  • partial loading
  • XMI model

Cite this