AMALTHEA meta model changes

Based on the changes in AMALTHEA meta model across various releases, below description contains the differences in detail which are considered for model migration:

Version ITEA 1.0.3 to ITEA 1.1.0

Below are the changes in the metamodel from ITEA 1.1.0 version to ITEA 1.1.1

AMALTHEA Namespace (version ITEA 1.0.3) AMALTHEA Namespace (verison ITEA 1.1.0)
http://www.amalthea.itea2.org/model/1.1.0/sw http://www.amalthea.itea2.org/model/1.2.0/sw
http://www.amalthea.itea2.org/model/1.1.0/stimuli http://www.amalthea.itea2.org/model/1.2.0/stimuli
http://www.amalthea.itea2.org/model/1.1.0/propertyconstraints http://www.amalthea.itea2.org/model/1.2.0/propertyconstraints
http://www.amalthea.itea2.org/model/1.1.0/os http://www.amalthea.itea2.org/model/1.2.0/os
http://www.amalthea.itea2.org/model/1.1.0/mapping http://www.amalthea.itea2.org/model/1.2.0/mapping
http://www.amalthea.itea2.org/model/1.1.0/hw http://www.amalthea.itea2.org/model/1.2.0/hw
http://www.amalthea.itea2.org/model/1.1.0/events http://www.amalthea.itea2.org/model/1.2.0/events
http://www.amalthea.itea2.org/model/1.1.0/constraints http://www.amalthea.itea2.org/model/1.2.0/constraints
http://www.amalthea.itea2.org/model/1.1.0/config http://www.amalthea.itea2.org/model/1.2.0/config
http://www.amalthea.itea2.org/model/1.1.0/common http://www.amalthea.itea2.org/model/1.2.0/common
http://www.amalthea.itea2.org/model/1.1.0/central http://www.amalthea.itea2.org/model/1.2.0/central
http://amalthea.itea2.org/model/1.1.0/components http://amalthea.itea2.org/model/1.2.0/components
Class name in 1.0.3 Changed Class name in 1.1.0 Amalthea sub-model
DeadlineMonotinic DeadlineMonotonic OS
Variable Name (version ITEA 1.0.3) Class containing Variable AMALTHEA sub model how migration is done from 1.0.3 models to 1.1.0
scheduler OSModel OS model
“scheduler” elements contained inside OSModel element are converted into TaskScheduler elements in the following way:
  • OperatingSystem element is created and associated to the OSModel element (Note: OperatingSystem class is newly introduced in 1.1.0)
  • All the Scheduler elements present inside the OSModel element are moved to the OperatingSystem element as TaskScheduler’s
  • All the places where Scheduler elements were referred earlier, are updated so as to refer corresponding TaskScheduler element
read, write LabelAccessStatistic Software model
“read” elements contained inside LabelAccessStatistic element are removed and “write” elements are replaced by tag name “value” based on the following criteria :
  • If the LabelAccess element containing LabelAccessStatistic ->contains the access as “write”, then all the “read” elements of LabelAccessStatistic are removed

“write” elements contained inside LabelAccessStatistic element are removed and “read” elements are replaced by tag name “value” based on the following criteria :
  • If the LabelAccess element containing LabelAccessStatistic ->contains the access as “read”, then all the “write” elements of LabelAccessStatistic are removed
Variable Name (version ITEA 1.0.3) Changed Variable Name (version ITEA 1.1.0) Class containing Variable AMALTHEA sub model how migration is done from 1.0.3 models to 1.1.0
readCacheMisses cacheMisses LabelAccessStatistic Software model “readCacheMisses” is changed to “cacheMisses” in all the places where LabelAccessStatistic definition is present
executableAllocation processAllocation, runnableAllocation MappingModel Mapping model
Based on the content of the “executableAllocation”, accordingly either “processAllocation” or “runnableAllocation” elements are created and the corresponding data of “exeuctableAllocation” is mapped.
Below are the criterions :
  • If “executableAllocation” consists of Task element and Scheduler mapping then - > “ProcessAllocation” of type “mapping:TaskAllocation” is created
  • If “executableAllocation” consists of ISR element and Scheduler mapping then - > “ProcessAllocation” of type “mapping:ISRAllocation” is created, and to it corresponding ISR element and “InterruptController” element are associated ( Note:If there is a mapping to “ISR” and “Scheduler” in “executableAllocation”, InterruptController element is created and referred in the “executableAllocation”. In this case previous mapping to the Scheduler element is lost)
  • If “executableAllocation” consists of Runnable element and Scheduler mapping then - > “RunnableAllocation” of type “mapping:RunnableAllocation” is created

Version ITEA 1.1.0 to ITEA 1.1.1

Below are the changes in the metamodel from ITEA 1.1.0 version to ITEA 1.1.1

AMALTHEA Namespace (version ITEA 1.1.0) AMALTHEA Namespace (version ITEA 1.1.1)
http://www.amalthea.itea2.org/model/1.2.0/sw http://www.amalthea.itea2.org/model/1.3.0/sw
http://www.amalthea.itea2.org/model/1.2.0/stimuli http://www.amalthea.itea2.org/model/1.3.0/stimuli
http://www.amalthea.itea2.org/model/1.2.0/propertyconstraints http://www.amalthea.itea2.org/model/1.3.0/propertyconstraints
http://www.amalthea.itea2.org/model/1.2.0/os http://www.amalthea.itea2.org/model/1.3.0/os
http://www.amalthea.itea2.org/model/1.2.0/mapping http://www.amalthea.itea2.org/model/1.3.0/mapping
http://www.amalthea.itea2.org/model/1.2.0/hw http://www.amalthea.itea2.org/model/1.3.0/hw
http://www.amalthea.itea2.org/model/1.2.0/events http://www.amalthea.itea2.org/model/1.3.0/events
http://www.amalthea.itea2.org/model/1.2.0/constraints http://www.amalthea.itea2.org/model/1.3.0/constraints
http://www.amalthea.itea2.org/model/1.2.0/config http://www.amalthea.itea2.org/model/1.3.0/config
http://www.amalthea.itea2.org/model/1.2.0/common http://www.amalthea.itea2.org/model/1.3.0/common
http://www.amalthea.itea2.org/model/1.2.0/central http://www.amalthea.itea2.org/model/1.3.0/central
http://amalthea.itea2.org/model/1.2.0/components http://amalthea.itea2.org/model/1.3.0/components
Variable Name (version ITEA 1.1.0) Changed Variable Name (version ITEA 1.1.1) Class containing Variable AMALTHEA sub model how migration is done from 1.1.0 models to 1.1.1
tagName name Tag Software model, Components model attribute “tagName” is changed to “name” in all the places where Tag definition is present
elements components, systems ComponentsModel Components model
  1. XML child elements of ComponentsModel having name as “elements” and attribute “xsi:type” as either “components:Component” or “components:Composite” are changed to "components"
  2. XML child elements of ComponentsModel having name as “elements” and attribute “xsi:type” as “components:System” are changed to “systems”
elements connectors, componentInstances System Components model
  1. XML child elements of System having name as “elements” and attribute “xsi:type” as “components:Connector” are changed to "components"
  2. XML child elements of ComponentsModel having name as “elements” and attribute “xsi:type” as “components:ComponentInstance” are changed to “componentInstances”
maximumCyle maximumCycle DataAgeCycle Constraints model attribute “maximumCyle” is changed to “maximumCycle” in all the places where DataAgeCycle definition is present
setLabelsList setModeValueList Stimulus Stimuli model XML node name is set as "setModeValueList"
enablingLabelsList enablingModeValueList Stimulus Stimuli model XML node name is set as "enablingModeValueList"
disablingLabelsList disablingModeValueList Stimulus Stimuli model XML node name is set as "disablingModeValueList"
Variable Name (version ITEA 1.1.0) Class containing Variable AMALTHEA sub model how migration is done from 1.1.0 models to 1.1.1
deadline Task, ISR, ProcessPrototype Software model
“deadline” specified at the Process, ProcessPrototype is converted into a constraint element in the following way:
  • with the name of corresponding Process/ProcessPrototype -> ProcessRequirement object is created and the object of Process/ProcessPrototype is linked to it
  • TimeRequirement object is created with the following properties and associated to the created ProcessRequirement:
    1. limitType as upperlimit
    2. metric as responsetime
    3. SignedTime elment is created with the following properties and associated to the TimeRequirement element : value and unit - > values for these elements are fetched from the “deadline” object available at Process/ProcessPrototype
  • once the required content from the “deadline” element of Process/ProcessPrototype is fetched, “deadline” is removed
initialValue Label Software model Initial value attribute is removed from all the Label objects
Enum Name Default value (version ITEA 1.1.0) Default value (version ITEA 1.1.1) AMALTHEA sub model Behaviour model migration to migrated 1.1.0 models to 1.1.1
TimeUnit ps _undefined_ Common model Attribute “unit” with value as “ps” is created (when it is missing in the input model) -> for all the XMI tags where TimeUnit defintion should be present
InterfaceKind PROVIDES _undefined_ Components model Attribute “kind” with value as “PROVIDES” is created (when it is missing in the input model) -> for all the XMI tags where InterfaceKind defintion should be present
RunnableOrderType successor _undefined_ Constraints model Attribute “orderType” with value as “successor” is created (when it is missing in the input model)-> for all the XMI tags where RunnableOrderType defintion should be present
RunnableGroupingType allOfThem _undefined_ Constraints model Attribute “groupingType” with value as “allOfThem” is created (when it is missing in the input model)-> for all the XMI tags where RunnableGroupingType defintion should be present
QType DYNAMIC _undefined_ Hardware model Attribute “type” with value as “DYNAMIC” is created (when it is missing in the input model)-> for all the XMI tags where QType defintion should be present
MemoryType RAM _undefined_ Hardware model Attribute “type” with value as “RAM” is created (when it is missing in the input model)-> for all the XMI tags where MemoryType defintion should be present
BusType CAN _undefined_ Hardware model Attribute “busType” with value as “CAN” is created (when it is missing in the input model)-> for all the XMI tags where BusType defintion should be present
RWType R _undefined_ Hardware model Attribute “direction” with value as “R” is created (when it is missing in the input model)-> for all the XMI tags where RWType defintion should be present
SchedType RROBIN _undefined_ Hardware model Attribute “schedPolicy” with value as “RROBIN” is created (when it is missing in the input model)-> for all the XMI tags where SchedType defintion should be present
PinType ANALOG _undefined_ Hardware model Attribute “type” with value as “ANALOG” is created (when it is missing in the input model)-> for all the XMI tags where PinType defintion should be present
FeatureType floatingPointUnit _undefined_ Hardware model Attribute “value” with value as “floatingPointUnit” is created (when it is missing in the input model)-> for all the XMI tags where FeatureType defintion should be present
MemoryAddressMappingType none _undefined_ Mapping model Attribute “addressMappingType” with value as “none” is created (when it is missing in the input model)-> for all the XMI tags where MemoryAddressMappingType defintion should be present
ComparatorType equal _undefined_ Property Constraints model Attribute “comparator” with value as “equal” is created (when it is missing in the input model)-> for all the XMI tags where ComparatorType defintion should be present
ConjunctionType and _undefined_ Property Constraints model Attribute “conjunction” with value as “and” is created (when it is missing in the input model)-> for all the XMI tags where ConjunctionType defintion should be present
WaitEventType AND _undefined_ Software model Attribute “maskType” with value as “AND” is created (when it is missing in the input model)-> for all the XMI tags where WaitEventType defintion should be present
WaitingBehaviour unspecified _undefined_ Software model In sw:WaitEvent/ sw:SynchronousServerCall / sw:SynchronousServerCall -> if attribute “waitingBehaviour” is with value as “unspecified”, then attribute “waitingBehaviour” and its value are removed in the XML, so that the default value for “waitingBehaviour” as per 1.1.1 : "_ unspecified _" is consisdered
AccessPrecedenceType ignoreWR _undefined_ Software model Attribute “orderType” with value as “ignoreWR” is created (when it is missing in the input model)-> for all the XMI tags where AccessPrecedenceType defintion should be present
OrderType order _undefined_ Software model Attribute “orderType” with value as “order” is created (when it is missing in the input model)-> for all the XMI tags where OrderType defintion should be present
LabelAccessEnum read _undefined_ Software model Attribute “access” with value as “read” is created (when it is missing in the input model)-> for all the XMI tags where LabelAccessEnum defintion should be present
SemaphoreAccessEnum request _undefined_ Software model Attribute “accessEnum” with value as “request” is created (when it is missing in the input model)-> for all the XMI tags where SemaphoreAccessEnum defintion should be present
Preemption cooperative _undefined_ Software model Attribute “preemption” with value as “cooperative” is created (when it is missing in the input model)-> for all the XMI tags where Preemption defintion should be present
Enum/Class Name Namespace (version ITEA 1.1.0) Namespace (version ITEA 1.1.1) Behaviour model migration to migrated 1.1.0 models to 1.1.1
SchedulingSWUnit sw os Attribute “xsi:type” of XML node of TaskScheduler/InterruptController is updated to "os:SchedulingSWUnit"
LabelSwitchEntry (present in Software model)
Class is removed in ITEA 1.1.1, and as replacement following Class is introduced: "ModeSwitchEntry"
LabelSwitch (present in Software model)
Class is removed in ITEA 1.1.1, and as replacement following Class’s are introduced: "ModeSwitch, ModeLabel"
LabelValueEntry (present in Stimuli model)
Class is removed in ITEA 1.1.1, and as replacement following Class is introduced: "ModeValueListEntry"

Version ITEA 1.1.1 to App4MC 0.7.0

Below are the changes in the metamodel from ITEA 1.1.1 version to APP4MC 0.7.0

Class name from 1.1.1 Changed Class name in 0.7.0
OSEvent OsEvent
MemType MemoryType
System HwSystem
Component HwComponent
Port HwPort
AbstractionTypeDescription AbstractionType
MemoryType MemoryTypeEnum
OSInstructions OsInstructions
Periodic PeriodicActivation
Variable Name (version ITEA 1.1.1) Changed Variable Name (version APP4MC 0.7.0) Class containing Variable AMALTHEA sub model
isMaster master ComplexPort Hardware model
mem memory Mapping Mapping model
memTypeDefinitions memoryTypeDefinitions PropertyConstraintsModel Property Constraints model
isDefault default ModeSwitchEntry Software model
isBuffered buffered Label Software model
isBuffered buffered LabelAccess Software model
accessEnum access SemaphoreAccess Software model
isBuffered buffered SenderReceiverCommunication Software model
isOrdered ordered Group Software model

Version APP4MC 0.7.0 to App4MC 0.7.1

Below are the changes in the meta model from APP4MC 0.7.0 to APP4MC 0.7.1

Change in the namespace:

AMALTHEA Namespace (version App4MC 0.7.0) AMALTHEA Namespace (version App4MC 0.7.1)
http://app4mc.eclipse.org/amalthea/0.7.0 http://app4mc.eclipse.org/amalthea/0.7.1

Root Tag in AMALTHEA model amxmi file: It is recommended to have “Amalthea” as a root tag in amxmi file.

Based on the above statement, if the AMALTHEA model file is having sub-model tag as root element (e.g: SWModel or HWModel etc.,), as a part of model migration -> root element is changed as “Amalthea” tag and the content of sub-model is copied inside it.

Input model (containing SWModel as the root tag):
 "<am:SWModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:am="http://app4mc.eclipse.org/amalthea/0.7.0">
  <labels/>
</am:SWModel>"
Output model (after model migration):
<am:Amalthea xmlns:am="http://app4mc.eclipse.org/amalthea/0.7.0" xmlns:xmi="http://www.omg.org/XMI">
  <swModel>
    <labels />
  </swModel>
</am:Amalthea> 

Below are the changes in the reference names:

Variable Name (version APP4MC 0.7.0) Changed Variable Name (version APP4MC 0.7.1) Class containing Variable AMALTHEA sub model Model Migration behavior
graphEntries items ModeSwitchEntry SW Model xml tag “graphEntries” present inside “ModeSwitchEntry” object is changed to “items” in amxmi file
value values ModeSwitchEntry SW Model xml tag “value” present inside “ModeSwitchEntry” object is changed to “values” in amxmi file

Below are the changes in the reference Types:

Variable Name Variable Type (version APP4MC 0.7.0) Variable Type (version APP4MC 0.7.1) Class containing Variable AMALTHEA sub model Model Migration behavior
size Long DataSize MemoryType HW Model, PropertyConstraintsModel Attribute “size” is migrated as “DataSize” object. Long value of “size” is migrated to “value” of DataSize. As the DataSizeUnit info is not available, “unit” value is not set
size DataUnit DataSize AbstractElementMemoryInformation SW Model “size” of type “DataUnit” is migrated as “DataSize” object. Int value of “numberBits” attribute is migrated to “value” of DataSize, “unit” attribute is set as “bit” of type DataSizeUnit
size DataUnit DataSize BaseTypeDefinition SW Model “size” of type “DataUnit” is migrated as “DataSize” object. Int value of “numberBit” attribute is migrated to “value” of DataSize, “unit” attribute is set as “bit” of type DataSizeUnit
frequency EInt Frequency Quartz SW Model Attribute “frequency” of type EInt is migrated as “Frequency” object. “frequency” EInt value is migrated to “value” EDouble of DataSize. As the FrequencyUnit info is not available, “unit” value is not set

Below references are removed:

Variable Name Variable Type Class containing Variable AMALTHEA sub model Model Migration behavior
size DataUnit Section SW Model Content is removed from the model as size can’t be specified for “Section” (considered as virtual memory section)
labels [0-*] Label Section SW Model Content is removed from the model. As per APP4MC 0.7.1 semantics, Label object has the association to the Section inside which it can be allocated
runEntities [0-*] Runnable Section SW Model Content is removed from the model. As per APP4MC 0.7.1 semantics, Runnable object has the association to the Section inside which it can be allocated
groupingType RunnableGroupingType ProcessRunnableGroup Constraints Model Content is removed from the model
entries [0-*] ProcessRunnableGroupEntry ProcessRunnableGroup Constraints Model Content is removed from the model. Runnable object belonging to the ProcessRunnableGroupEntry is associated to the runnables list contained at the ProcessRunnableGroup object
default EBoolean ModeSwitchEntry SW Model Content removed from the model. If several ModeSwitchEntry objects contain attribute “default” as “true”, then first ModeSwitchEntry which has “default” as “true” is converted to “ModeSwitchDefault” object

Below Classes are removed:

Class Name AMALTHEA sub model Model Migration behavior
SchedulerPairingConstraint Constraints Model Content is removed from the model. There is no equivalent of this model element in APP4MC 0.7.1
SchedulerSeparationConstraint Constraints Model Content is removed from the model. There is no equivalent of this model element in APP4MC 0.7.1
ProcessRunnableGroupEntry Constraints Model This element is removed from the model, but the Runnables associated to it are associated to ProcessRunnableGroup object
OrderConstraint Constraints Model Content is removed from the model. There is no equivalent of this model element in APP4MC 0.7.1
AgeConstraint Constraints model Content is migrated as EventChainLatencyConstraint element with LatencyType as �Age�
ReactionConstraint Constraints model Content is migrated as EventChainLatencyConstraint element with LatencyType as �Reaction�
SynchronisationConstraint Constraints model Content is migrated as EventSynchronizationConstraint element
SectionMapping Mapping Model Content is removed from the model. As per 0.7.1, there is a possibility to specify PhysicalSectionMapping element i.e. defining mapping of various Section elements to Memory
SectionMappingConstraint Property Constraints Model Content is removed from the model.As per 0.7.1, there is a possibility to specify PhysicalSectionConstraint element i.e. defining possibility of Section allocation across various Memories
DataUnit Sw model Content is migrated as DataSize. Attribute “unit” is set as DataSizeUnit of type "bit"

Version APP4MC 0.7.1 to APP4MC 0.7.2

Change in the namespace:

AMALTHEA Namespace (version App4MC 0.7.1) AMALTHEA Namespace (version App4MC 0.7.2)
http://app4mc.eclipse.org/amalthea/0.7.1 http://app4mc.eclipse.org/amalthea/0.7.2

Below are the changes in the reference names:

Variable Name (version APP4MC 0.7.1) Changed Variable Name (version APP4MC 0.7.2) Class containing Variable AMALTHEA sub model Model Migration behavior
runnables group RunnablePairingConstraint Constraints Model xml tag “runnables” present inside “RunnablePairingConstraint” object is changed to “group” in amxmi file
processes group ProcessPairingConstraint Constraints Model xml tag “processes” present inside “ProcessPairingConstraint” object is changed to “group” in amxmi file
labels group DataPairingConstraint Constraints Model xml tag “labels” present inside “DataPairingConstraint” object is changed to “group” in amxmi file
initalValue initialValue Semaphore OS Model xml attribute “initalValue” present inside “Semaphore” object is changed to “initialValue” in amxmi file
arrivalCurveEntries entries ArrivalCurve Stimuli Model xml tag “arrivalCurveEntries” present inside “ArrivalCurve” object is changed to “entries” in amxmi file

Below are the changes in the reference Types:

Variable Name Variable Type (version APP4MC 0.7.1) Variable Type (version APP4MC 0.7.2) Class containing Variable AMALTHEA sub model Model Migration behavior
instructions OsExecutionInstructions Instructions SchedulingSWUnit OS Model type of the instructions tag in amxmi is updated either to InstructionsConstant or InstructionsDeviation based on if the type in input is : OsExecutionInstructionsConstant or OsExecutionInstructionsDeviation
apiSendMessage OsExecutionInstructions Instructions OsAPIInstructions OS Model type of the apiSendMessage tag in amxmi is updated either to InstructionsConstant or InstructionsDeviation based on if the type in input is : OsExecutionInstructionsConstant or OsExecutionInstructionsDeviation
apiTerminateTask OsExecutionInstructions Instructions OsAPIInstructions OS Model type of the apiTerminateTask tag in amxmi is updated either to InstructionsConstant or InstructionsDeviation based on if the type in input is : OsExecutionInstructionsConstant or OsExecutionInstructionsDeviation
apiSchedule OsExecutionInstructions Instructions OsAPIInstructions OS Model type of the apiSchedule tag in amxmi is updated either to InstructionsConstant or InstructionsDeviation based on if the type in input is : OsExecutionInstructionsConstant or OsExecutionInstructionsDeviation
apiRequestResource OsExecutionInstructions Instructions OsAPIInstructions OS Model type of the apiRequestResource tag in amxmi is updated either to InstructionsConstant or InstructionsDeviation based on if the type in input is : OsExecutionInstructionsConstant or OsExecutionInstructionsDeviation
apiReleaseResource OsExecutionInstructions Instructions OsAPIInstructions OS Model type of the apiReleaseResource tag in amxmi is updated either to InstructionsConstant or InstructionsDeviation based on if the type in input is : OsExecutionInstructionsConstant or OsExecutionInstructionsDeviation
apiSetEvent OsExecutionInstructions Instructions OsAPIInstructions OS Model type of the apiSetEvent tag in amxmi is updated either to InstructionsConstant or InstructionsDeviation based on if the type in input is : OsExecutionInstructionsConstant or OsExecutionInstructionsDeviation
apiWaitEvent OsExecutionInstructions Instructions OsAPIInstructions OS Model type of the apiWaitEvent tag in amxmi is updated either to InstructionsConstant or InstructionsDeviation based on if the type in input is : OsExecutionInstructionsConstant or OsExecutionInstructionsDeviation
apiClearEvent OsExecutionInstructions Instructions OsAPIInstructions OS Model type of the apiClearEvent tag in amxmi is updated either to InstructionsConstant or InstructionsDeviation based on if the type in input is : OsExecutionInstructionsConstant or OsExecutionInstructionsDeviation
apiActivateTask OsExecutionInstructions Instructions OsAPIInstructions OS Model type of the apiActivateTask tag in amxmi is updated either to InstructionsConstant or InstructionsDeviation based on if the type in input is : OsExecutionInstructionsConstant or OsExecutionInstructionsDeviation
apiEnforcedMigration OsExecutionInstructions Instructions OsAPIInstructions OS Model type of the apiEnforcedMigration tag in amxmi is updated either to InstructionsConstant or InstructionsDeviation based on if the type in input is : OsExecutionInstructionsConstant or OsExecutionInstructionsDeviation

Below are the changes in the relation of elements:

Variable Name Variable Type Variable Relation (version APP4MC 0.7.1) Variable Relation (version APP4MC 0.7.2) Class containing Variable AMALTHEA sub model Model Migration behavior
memory Memory containment association HwMemoryProperty PropertyConstraints model memory objects containment is changed as association relation. As a result definition of Memory object should not be present inside HwMemoryProperty, rather only reference of memory should be present inside HwMemoryProperty. Model migration is performed in the following way for this change : Memory elements definition from HwMemoryProperty tag are moved to HW Model (Note: addition of Memory (from PropertyConstraints model) to HW model happens only if Memory with this name is not existing in the model scope)
core Core containment association HwCoreProperty PropertyConstraints model core objects containment is changed as association relation. As a result definition of Core object should not be present inside HWCoreProperty, rather only reference of core should be present inside HWCoreProperty. Model migration is performed in the following way for this change : Core elements definition from HwCoreProperty tag are moved to HW Model (Note: addition of Memory (from PropertyConstraints model) to HW model happens only if Memory with this name is not existing in the model scope)

Below are the changes in Enum elements:

Enum Name Enum Literal (version APP4MC 0.7.1) Enum Literal (version APP4MC 0.7.2) AMALTHEA sub model Model Migration behavior
Preemption unknown - SW Model unknown literal is removed from Preemption. Model Migration will replace “unknown” literal with the default literal

Below references are removed:

Variable Name (version APP4MC 0.7.1) Variable Type Class containing Variable AMALTHEA sub model Model Migration behavior
samplingType SamplingType Deviation Hardware Model Stimuli MOdel OS Model Software Model In 0.7.2, samplingType attribute is shifted from Deviation to Boundaries element.As a part of Model migration -> samplingType content is removed from Deviation and associated to the corresponding Distribution of type Boundaries. If Boundaries element is not present inside Deviation as a distribution, corresponding samplingType data is skipped during model migration
coreTypeDefinitions CoreType PropertyConstraintsModel Property Constraints Model coreTypeDefinitions objects are removed from the PropertyConstraintsModel tag and are associated to HW Model (Note: addition of CoreType to HW model happens only if CoreType with this name is not existing in the model scope. If there exists CoreType element with the same name in “PropertyConstraintsModel” and in “HW Model” --> the one from PropertyConstraintsModel will be removed and the one from HW Model will be referred accordingly inside Core element etc.,)
memoryTypeDefinitions MemoryType PropertyConstraintsModel Property Constraints Model memoryTypeDefinitions objects are removed from the PropertyConstraintsModel tag and are associated to HW Model (Note: addition of MemoryType to HW model happens only if MemoryType with this name is not existing in the model scope . If there exists MemoryType element with the same name in “PropertyConstraintsModel” and in “HW Model” --> the one from PropertyConstraintsModel will be removed and the one from HW Model will be referred accordingly inside MemoryElement element etc.,)
tags Tag ComponentsModel, HWModel, SWModel Components Model, Hardware Model, Software Model Tag objects are removed from the ComponentsModel,HWModel,SWModel tags and their content is shifted to CommonElements Model (Note: CommonElements model is contained inside Amalthea root node)

Below Classes are removed:

Class Name (version APP4MC 0.7.1) AMALTHEA sub model Model Migration behavior
TargetProcess Constraints Model Content is removed from the model. There is no equivalent of this model element in APP4MC 0.7.2
TargetCallSequence Constraints Model Content is removed from the model. There is no equivalent of this model element in APP4MC 0.7.2
OsExecutionInstructions, OsExecutionInstructionsDeviation, OsExecutionInstructionsConstant OS Model Replacement elements are : Instructions,InstructionsDeviation,InstructionsConstant. As there is no change in the content of these elements(when compared to previous elements) -> during model migration corresponding old type names are replaced with the new model elements
ProbabilityGroup SW Model ProbabilityGroup is replaced with RunnableProbabilitySwitch
ProbabilityRunnableItem SW Model ProbabilityRunnableItem is replaced wtih ProbabilitySwitchEntry
DeviationRunnableItem SW Model Content of DeviationRunnableItem i.e RunnableItem is moved directly inside the Group as a part of “items” list
EventConfigElement, EventConfigLink Config Model Both EventConfigElement and EventConfigLink objects are converted as EventConfig objects (As EventConfigElement & EventConfigLink classes are removed from the MetaModel – as per the semantics equivalent class for both of them is EventConfig). In case of migrating EventConfigElement – If definition of EntityEvent element is present as a sub-element -> it is moved to Events Model and the corresponding reference to EntityEvent is established inside EventConfig using attribute "event"
OsBuffering OS Model OsBuffering elements are migrated as OsDataConsistency elements. Below steps describe the criteria considered for migration of data :
LabelBufferring SW Model LabelBufferring elements are migrated as DataStability elements. Below steps describe the criteria considered for migration of data :
- If LabelBuffering value is “buffered” then the corresponding value of “dataStability” is set as "CustomProtection"
- If LabelBuffering value is “notBuffered” then the corresponding value of “dataStability” is set as “noProtection”
- If LabelBuffering value is " undefined" (default) then the corresponding value of “dataStability” is set as " undefined" (default)
LabelAccessBufferring SW Model LabelAccessBufferring elements are migrated as DataStability elements. Below steps describe the criteria considered for migration of data :
- If LabelAccessBufferring value is “inherited” then the corresponding value of “dataStability” is set as "inherited"
- If LabelAccessBufferring value is “buffered” then the corresponding value of “dataStability” is set as “customProtection”
- If LabelAccessBufferring value is “notBuffered” then the corresponding value of “dataStability” is set as “noProtection”
- If LabelAccessBufferring value is " undefined" (default) then the corresponding value of “dataStability” is set as " undefined" (default)