Experiences of Applying UML/MARTE on Three Industrial Projects

Muhammad Zohaib Z. Iqbal, Shaukat Ali, Tao Yue, Lionel C. BriandMoDELS 2012 · DOI

TL;DR

This paper shares practical experiences applying the UML/MARTE modeling standard to three real-world industrial projects involving complex real-time embedded systems. The authors propose a framework to guide practitioners in effectively using UML/MARTE, bridging the gap between the standard's capabilities and industrial needs.

What Problem Does This Paper Address?

Developing complex Real-Time and Embedded Systems (RTES) presents significant challenges due to their inherent characteristics like resource constraints, timeliness requirements, and schedulability. While the Unified Modeling Language (UML) and its specialized profile, MARTE (Modeling and Analysis of Real-Time and Embedded Systems), offer powerful modeling capabilities for RTES, their practical application in industry is often hindered by a lack of clear methodologies and guidelines. This paper addresses this gap by detailing the authors' experiences applying UML/MARTE across diverse industrial projects and deriving a practical framework to help other practitioners navigate these challenges.

Methods

The authors applied UML/MARTE to three distinct industrial problems:

  1. Architecture modeling and configuration of large-scale, highly configurable integrated control systems: This involved using UML class diagrams and MARTE stereotypes (like <<HwComputingResource>>, <<HwDevice>>, <<HwComponent>>, and <<Assign>>) to model both hardware and software components, their relationships, and variability. A custom profile, SimPL, was developed to facilitate automated configuration.
  2. Model-based robustness testing of a video conferencing system: Here, UML class diagrams and state machines were used to model functional behavior. To address robustness, they adopted Aspect-Oriented Modeling (AOM) with a custom profile, AspectSM, to model fault behaviors and recovery mechanisms, leveraging MARTE's Non-Functional Properties (NFP) package for environment properties.
  3. Environment model-based testing of RTES: This involved creating environment simulators for industrial systems. A UML & MARTE Real-time Embedded systems Modeling Profile (REMP) was developed, extending UML class diagrams and state machines with MARTE's Time and GQAM packages to model timing details and non-determinism.

Across these projects, the authors emphasized selecting minimal subsets of UML and MARTE, extending them with custom profiles (SimPL, AspectSM, REMP) when necessary, and defining clear modeling guidelines.

Datasets

Not discussed in the paper. The paper focuses on applying the methodology to real-world industrial case studies rather than using specific datasets for training or evaluation.

Key Insights and Ideas

  • UML/MARTE is powerful but requires a methodology: While UML and MARTE offer extensive capabilities, their successful industrial application hinges on a well-defined methodology, not just the notations themselves.
  • Minimal subset selection is crucial: Applying the full UML/MARTE standard is often overwhelming. Identifying and using a minimal, problem-specific subset is key to practical adoption.
  • Custom profiles are often necessary: For specific industrial needs (like product line configuration or robustness testing), extending UML/MARTE with custom profiles is often required.
  • Tool support is a major adoption factor: The availability and usability of modeling tools that support UML/MARTE and its extensions significantly impact industrial adoption. IBM RSA was found to be a viable, though expensive, option.
  • Bridging semantic gaps is important: UML is primarily for software, so explicitly modeling hardware and its relationship to software requires careful definition and guidelines to avoid ambiguity.
  • Training and mentoring are vital: Effective adoption requires training industry partners on the chosen methodology, tools, and notations, with ongoing mentoring.

Key Results

The paper reports on successful applications of UML/MARTE in four industrial case studies:

  • FMC Technologies: Developed a product line architecture modeling methodology (SimPL) for large-scale integrated control systems, enabling systematic and automated product configuration.
  • Cisco Systems: Applied model-based robustness testing to a video conferencing system, using AOM and a custom profile (AspectSM) to model fault behaviors and reduce the complexity of robustness testing.
  • WesternGeco AS & Tomra AS: Developed environment simulators for RTES using a custom modeling profile (REMP), facilitating black-box system-level testing and generating test cases with environment models.

These applications demonstrated the feasibility of using UML/MARTE for complex RTES problems and provided the basis for the proposed framework.

Limitations and Future Work

Limitations: * Tool limitations: The authors encountered usability issues with modeling tools like IBM RSA, particularly regarding direct linking of actions to state machine effects and support for specific language features (e.g., VSL editor). * Action language support: Limited action language support for MARTE concepts like time delays and atomic actions was noted, leading to the use of Java as an action language. * Generalizability of guidelines: While the framework aims to guide practitioners, the specific guidelines derived are somewhat context-dependent on the industrial applications studied.

Future Work: * Further investigation of MARTE extensions: The authors suggest that concepts for modeling faults and recovery mechanisms, developed for robustness testing, could be a valuable addition to MARTE itself, requiring further investigation. * Refinement of the framework: The proposed framework is a starting point and can be further refined and validated with more industrial applications. * Addressing tool limitations: Continued development of more integrated and user-friendly modeling tools that fully support UML/MARTE and its extensions is crucial for wider adoption.

Summary updated

BibTeX
@inproceedings{iqbal2012experiences,
  author = {Muhammad Zohaib Z. Iqbal and Shaukat Ali and Tao Yue and Lionel C. Briand},
  title = {{Experiences of Applying UML/MARTE on Three Industrial Projects}},
  booktitle = {MoDELS},
  year = {2012},
  doi = {10.1007/978-3-642-33666-9\_41},
}
Figure