Commit 04192a21 authored by hugues.jerome's avatar hugues.jerome

* Various updates for REAL: add Abstract_Set as additional

          pre-defined set, add support for properties that refer to
          classifier, add debug information reporting on the content
          of sets being built.



git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/ocarina@2306 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 6966c89b
......@@ -7,13 +7,45 @@ all.aadl:127:03: warning: ram_2 references a component type
ocarina: Total: 0 error and 6 warnings
resources execution
requirement : connections
Content of set proc_set (lib.real:25:18) is
shared.impl_sn: 13 component instance all.aadl:302:01
Content of set cnx_set (lib.real:27:14) is
shared.impl_tr: 200 component instance all.aadl:279:01
Content of set proc_set (lib.real:25:18) is
shared.impl_tr: 200 component instance all.aadl:279:01
Content of set cnx_set (lib.real:27:14) is
shared.impl_sn: 13 component instance all.aadl:302:01
theorem connections is: TRUE
requirement : memory_size
Content of set proc_set (lib.real:42:18) is
shared.impl_sn: 13 component instance all.aadl:302:01
Content of set threads (lib.real:44:14) is
shared.impl_sn_th1: 43 component instance all.aadl:209:01
shared.impl_sn_th2: 112 component instance all.aadl:233:01
Content of set mem_set (lib.real:46:17) is
shared.impl_ram: 586 component instance all.aadl:93:01
Content of set proc_set (lib.real:42:18) is
shared.impl_tr: 200 component instance all.aadl:279:01
Content of set threads (lib.real:44:14) is
shared.impl_tr_th1: 219 component instance all.aadl:259:01
shared.impl_tr_th2: 371 component instance all.aadl:259:01
Content of set mem_set (lib.real:46:17) is
shared.impl_ram_2: 597 component instance all.aadl:93:01
theorem memory_size is: TRUE
requirement : mutexes
Content of set proc_set (lib.real:63:18) is
shared.impl_sn: 13 component instance all.aadl:302:01
Content of set protected_data_set (lib.real:65:25) is
Content of set proc_set (lib.real:63:18) is
shared.impl_tr: 200 component instance all.aadl:279:01
Content of set protected_data_set (lib.real:65:25) is
theorem mutexes is: TRUE
requirement : latency
requirement : buses_rate
Content of set cnx_set (lib.real:8:17) is
shared.impl_cnx_1: 614 connection instance all.aadl:130:03
shared.impl_cnx_2: 626 connection instance all.aadl:131:03
Content of set connected_data_set (lib.real:10:25) is
lib.real:12:33 Backends: warning : property "assert_properties::access_bandwidth" is not defined on element 607 (shared.impl_a_bus) all.aadl:104:01Bus_Set
lib.real:12:72 Backends: error : Property is false for instance 607 (shared.impl_a_bus)
theorem buses_rate is: FALSE
......
pok_safety execution
requirement : check_error_handling
Content of set prs (libsafety.real:6:15) is
node.impl_part1: 62 component instance model.aadl:40:01
Content of set vp (libsafety.real:8:14) is
node.impl_cpu_part1: 20 component instance model.aadl:16:01
Content of set cpu (libsafety.real:10:15) is
node.impl_cpu: 13 component instance model.aadl:22:01
-> value for errors is Not implemented yet
-> value for actual_errors is Not implemented yet
libsafety.real:32:46 Backends: error : Property is false for instance 69 (node.impl_part1_thr1)
......
This diff is collapsed.
......@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2009-2011, GET-Telecom Paris. --
-- Copyright (C) 2009-2011, European Space Agency (ESA). --
-- --
-- Ocarina is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
......@@ -766,9 +766,9 @@ package body Ocarina.Backends.REAL is
-- Iterate on the local set
for I in 1 .. Cardinal (R) loop
for J in 1 .. Cardinal (R) loop
declare
V : constant Value_Id := New_Elem_Value (Get (R, I));
V : constant Value_Id := New_Elem_Value (Get (R, J));
Ret : Return_Type := RT_Error;
Result : Value_Id := No_Value;
begin
......@@ -788,7 +788,7 @@ package body Ocarina.Backends.REAL is
end if;
if Get_Value_Type (Result).BVal then
Add (R2, Get (R, I));
Add (R2, Get (R, J));
end if;
end;
end loop;
......@@ -801,6 +801,14 @@ package body Ocarina.Backends.REAL is
-- Bind it in the set table,
Set_Array (Integer (Index (Annotation (G)))) := R2;
Write_Line
("Content of set "
& Get_Name_String (Name (Identifier (Parametrized_Expr (E))))
& " (" & Image (Loc (E)) & ") is ");
Increment_Indentation;
Display_Set (R2);
Decrement_Indentation;
end Manage_Set_Declaration;
-----------------------------
......@@ -895,17 +903,22 @@ package body Ocarina.Backends.REAL is
procedure Compute_Check_Expression
(E : Node_Id; Ret : out Return_Type; Result : out Value_Id)
is
pragma Assert (Kind (E) = K_Check_Expression or else
Kind (E) = K_Ternary_Expression or else
Kind (E) = K_Literal or else
Kind (E) = K_Var_Reference or else
Kind (E) = K_Check_Subprogram_Call);
pragma Assert (Kind (E) = K_Check_Expression
or else Kind (E) = K_Ternary_Expression
or else Kind (E) = K_Literal
or else Kind (E) = K_Var_Reference
or else Kind (E) = K_Check_Subprogram_Call);
T1, T2 : Return_Type := RT_Unknown;
R1, R2 : Value_Id := No_Value;
V, V2 : Value_Type;
begin
case Kind (E) is
when K_Identifier =>
Write_Line (Get_Name_String (Name (E)));
raise Program_Error;
when K_Var_Reference =>
Ret := Var_Type (Referenced_Var (E));
Result := Var_Value (Referenced_Var (E));
......@@ -1742,10 +1755,10 @@ package body Ocarina.Backends.REAL is
(Referenced_Sets (E)))))));
begin
if Cardinal (R1) > 0 then
for I in 1 .. Cardinal (R1) loop
for J in 1 .. Cardinal (R1) loop
V := Get_Property_Value_Function
(Value (First_Node (True_Parameters (E))),
Returned_Type (E), Get (R1, I));
Returned_Type (E), Get (R1, J));
if V /= No_Value then
VT := Get_Value_Type (V);
if VT.T /= LT_List then
......@@ -1833,9 +1846,9 @@ package body Ocarina.Backends.REAL is
else
Result := New_Boolean_Value (False);
end if;
else
if Present (First_Node (Referenced_Sets (E))) then
-- The first parameter is a set
declare
......@@ -2745,8 +2758,8 @@ package body Ocarina.Backends.REAL is
end if;
if T1 /= T2 then
Display_Located_Error
(Loc (P), "Is_in must be called on lists "
& "of same type",
(Loc (P), "Is_In must be called on lists "
& "of same type" & T1'Img & " " & T2'Img,
Fatal => True);
end if;
......@@ -2912,6 +2925,9 @@ package body Ocarina.Backends.REAL is
when SV_System_Set =>
return Get_Instances_Of_Component_Type (C_System);
when SV_Abstract_Set =>
return Get_Instances_Of_Component_Type (C_Abstract);
when SV_End_To_End_Flows_Set =>
return Get_Instances_Of_End_To_End_Flows;
......
......@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2009-2010, GET-Telecom Paris. --
-- Copyright (C) 2009-2011, European Space Agency (ESA). --
-- --
-- Ocarina is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
......@@ -42,6 +42,7 @@ with Ocarina.ME_AADL;
with Ocarina.ME_AADL.AADL_Instances.Debug;
with Ocarina.ME_AADL.AADL_Instances.Nutils;
with Namet; use Namet;
with Output; use Output;
package body Ocarina.Instances.REAL_Checker.Queries is
use Ocarina.ME_AADL.AADL_Instances.Entities;
......@@ -108,6 +109,8 @@ package body Ocarina.Instances.REAL_Checker.Queries is
return (Component_T = C_Virtual_Bus);
when CC_Device =>
return (Component_T = C_Device);
when CC_Abstract =>
return (Component_T = C_Abstract);
when CC_System =>
return (Component_T = C_System);
when others =>
......@@ -536,6 +539,7 @@ package body Ocarina.Instances.REAL_Checker.Queries is
-- instances should be defined
if ATN.Kind (Set.Table (N)) /= K_End_To_End_Flow_Spec then
Write_Indentation;
Write_Name (Compute_Full_Name_Of_Instance (Set.Table (N)));
W_Str (": ");
W_Node_Header (Set.Table (N));
......
......@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2009, GET-Telecom Paris. --
-- Copyright (C) 2009-2011, European Space Agency (ESA). --
-- --
-- Ocarina is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
......@@ -56,6 +56,7 @@ package Ocarina.Instances.REAL_Checker.Queries is
C_Connection,
C_Device,
C_System,
C_Abstract,
C_Unknown);
type Predicates_Search_Options is
......
......@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2009, GET-Telecom Paris. --
-- Copyright (C) 2009-2011, European Space Agency (ESA). --
-- --
-- Ocarina is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
......@@ -97,6 +97,7 @@ package body Ocarina.Instances.REAL_Finder is
Val : Node_Id;
Result_List : constant List_Id := RNU.New_List
(K_List_Id, No_Location);
begin
if AIN.Kind (Var) = AIN.K_Call_Instance then
Resolved_Var := AIN.Corresponding_Instance (Var);
......@@ -110,6 +111,7 @@ package body Ocarina.Instances.REAL_Finder is
N := AIEP.Find_Property_Association_From_Name
(Property_List => AIN.Properties (Resolved_Var),
Property_Name => Property_Name);
if Present (N) then
N := AIN.Property_Association_Value (N);
if ATN.Expanded_Single_Value (N) /= No_Node then
......@@ -122,8 +124,9 @@ package body Ocarina.Instances.REAL_Finder is
else
N := No_Node;
end if;
else
-- If the specific case of lists, we always returns an empty list
-- In the specific case of lists, we always returns an empty list
case T is
when RT_String_List
......@@ -192,9 +195,14 @@ package body Ocarina.Instances.REAL_Finder is
(ATN.Name (ATN.Identifier (N)));
when ATN.K_Reference_Term =>
N := Get_Reference_Property
(Resolved_Var, Property_Name);
Result := RV.New_Elem_Value (N);
Result := RV.New_Elem_Value
(Get_Reference_Property
(Resolved_Var, Property_Name));
when ATN.K_Component_Classifier_Term =>
Result := RV.New_Elem_Value
(Get_Classifier_Property
(Resolved_Var, Property_Name));
when others =>
return RV.No_Value;
......
......@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2009-2010, GET-Telecom Paris. --
-- Copyright (C) 2009-2011, European Space Agency (ESA). --
-- --
-- Ocarina is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
......@@ -205,8 +205,7 @@ package body Ocarina.Analyzer.REAL is
-- Analyze_Model --
-------------------
function Analyze_Model (Root : Node_Id) return Boolean
is
function Analyze_Model (Root : Node_Id) return Boolean is
use AIN;
use ATN;
use Ocarina.Analyzer.REAL;
......@@ -1511,6 +1510,8 @@ package body Ocarina.Analyzer.REAL is
Set_Returned_Type (S, RT_Bool_List);
when RT_Range_List =>
Set_Returned_Type (S, RT_Range_List);
when RT_Element_List =>
Set_Returned_Type (S, RT_Element_List);
when others =>
Display_Analyzer_Error
(No_Node, "Could not resolve list type ",
......@@ -2031,7 +2032,7 @@ package body Ocarina.Analyzer.REAL is
when others =>
Display_Analyzer_Error
(No_Node, "Could not resolve list type",
(No_Node, "Could not resolve list type ",
Loc => Loc (N));
Success := False;
return;
......
......@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2009, GET-Telecom Paris. --
-- Copyright (C) 2009-2011, European Space Agency (ESA). --
-- --
-- Ocarina is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
......@@ -178,6 +178,8 @@ package body Ocarina.ME_REAL.REAL_Tree.Utils is
return SV_Device_Set;
when T_System_Set =>
return SV_System_Set;
when T_Abstract_Set =>
return SV_Abstract_Set;
when T_End_To_End_Flows_Set =>
return SV_End_To_End_Flows_Set;
when T_Local_Set =>
......@@ -228,6 +230,8 @@ package body Ocarina.ME_REAL.REAL_Tree.Utils is
return T_Device_Set;
when SV_System_Set =>
return T_System_Set;
when SV_Abstract_Set =>
return T_Abstract_Set;
when SV_End_To_End_Flows_Set =>
return T_End_To_End_Flows_Set;
when SV_Local_Set =>
......
......@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2009, GET-Telecom Paris. --
-- Copyright (C) 2009-2011, European Space Agency (ESA). --
-- --
-- Ocarina is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
......@@ -38,6 +38,7 @@ with Ocarina.ME_REAL.Tokens;
with Ocarina.ME_REAL.REAL_Tree.Debug;
package Ocarina.ME_REAL.REAL_Tree.Utils is
use Types;
use Ocarina.ME_REAL.Tokens;
......@@ -83,6 +84,7 @@ package Ocarina.ME_REAL.REAL_Tree.Utils is
SV_System_Set : constant := 32;
SV_End_To_End_Flows_Set : constant := 33;
SV_Local_Set : constant := 34;
SV_Abstract_Set : constant := 35;
-- Selection functions codes
......
......@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2009, GET-Telecom Paris. --
-- Copyright (C) 2009-2011, European Space Agency (ESA). --
-- --
-- Ocarina is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
......@@ -130,6 +130,7 @@ package body Ocarina.ME_REAL.Tokens is
New_Token (T_Connection_Set, "Connection_Set");
New_Token (T_Device_Set, "Device_Set");
New_Token (T_System_Set, "System_Set");
New_Token (T_Abstract_Set, "Abstract_Set");
New_Token (T_Unknown_Set, "Unknown_Set");
New_Token (T_Local_Set, "Local");
......
......@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
-- Copyright (C) 2009, GET-Telecom Paris. --
-- Copyright (C) 2009-2011, European Space Agency (ESA). --
-- --
-- Ocarina is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
......@@ -102,6 +102,7 @@ package Ocarina.ME_REAL.Tokens is
T_Device_Set,
T_End_To_End_Flows_Set,
T_System_Set,
T_Abstract_Set,
T_Unknown_Set,
T_Local_Set,
......
......@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
-- Copyright (C) 2009, GET-Telecom Paris. --
-- Copyright (C) 2009-2011, European Space Agency (ESA). --
-- --
-- Ocarina is free software; you can redistribute it and/or modify --
-- it under terms of the GNU General Public License as published by the --
......@@ -686,10 +686,13 @@ package body Ocarina.FE_REAL.Parser is
function Precede (L, R : Node_Id) return Boolean is
Left_Operator : constant Operator_Id := Operator (L);
Right_Operator : constant Operator_Id := Operator (R);
-- Right_Operator : constant Operator_Id := Operator (R);
begin
return Preferences (Left_Operator) <
Preferences (Right_Operator);
if Kind (R) = K_Check_Subprogram_Call then
return True;
end if;
return Preferences (Left_Operator) < Preferences (Operator (R));
end Precede;
Expr : Node_Id;
......@@ -775,7 +778,7 @@ package body Ocarina.FE_REAL.Parser is
-- expression value to the right expression of the left
-- operator. Then as the left operator has already a left
-- expression, it becomes an expression value which can be
-- assign to the left expression of the right operation.
-- assigned to the left expression of the right operation.
-- Recompute the size of the expression stack.
while First + 1 < Last
......@@ -817,7 +820,6 @@ package body Ocarina.FE_REAL.Parser is
Set_Last (First - 1);
return Expr;
end P_Check_Expression;
--------------------------
......
example_002.aadl:26:31: parsing Port_Spec, token ';' is expected, found identifier 'data_type'
example_002.aadl:25:01: parsing Features, list is empty
Cannot parse AADL specifications
\ No newline at end of file
Cannot parse AADL specifications
example_004.aadl:46:01: Filtering_Routine (subcomponent access) does not point to anything or to something unreachable
example_004.aadl:74:01: Sample_Filter (subcomponent) points to Sample_Subprogram.Simple (entity reference), which does not exist.
Cannot analyze AADL specifications
\ No newline at end of file
Cannot analyze AADL specifications
example_005.aadl:29:21: parsing Port_Spec, token ';' is expected, found token '['
example_005.aadl:27:01: parsing Features, list is empty
Cannot parse AADL specifications
\ No newline at end of file
Cannot parse AADL specifications
......@@ -5,4 +5,4 @@ example_007.aadl:24:01: parsing Connections, list is empty
example_007.aadl:39:13: parsing Component_Category, unexpected keyword 'event'
example_007.aadl:40:15: parsing Prototype_Bindings, list is empty
example_007.aadl:42:01: parsing Component_Type_Extension, unexpected keyword 'system'
Cannot parse AADL specifications
\ No newline at end of file
Cannot parse AADL specifications
......@@ -2,4 +2,4 @@ Cannot find language error_model
example_008.aadl:14:15: warning: negative exponent in integer literal
example_008.aadl:10:29: Sampling::Sample (entity reference) qualified reference name not found in 'with' statements of Test (package specification)
example_008.aadl:11:32: Sampling::Sample (entity reference) qualified reference name not found in 'with' statements of Test (package specification)
Cannot analyze AADL specifications
\ No newline at end of file
Cannot analyze AADL specifications
example_009.aadl:7:06: base_types (identifier) is not a package or a property set visible or existing
example_009.aadl:78:06: base_types (identifier) is not a package or a property set visible or existing
example_009.aadl:81:29: "Address.others" conflicts with declaration at line 66
Cannot analyze AADL specifications
\ No newline at end of file
Cannot analyze AADL specifications
......@@ -2,4 +2,4 @@ example_012.aadl:10:01: Received_Prime (port spec) points to Integer_Type (entit
example_012.aadl:10:01: Received_Prime (port spec) does not point to anything or to something unreachable
example_012.aadl:16:01: Received_Prime (port spec) points to Integer_Type (entity reference), which is not of an adequate kind
example_012.aadl:16:01: Received_Prime (port spec) does not point to anything or to something unreachable
Cannot analyze AADL specifications
\ No newline at end of file
Cannot analyze AADL specifications
example_015.aadl:6:08: Buses (identifier) is not a package or a property set visible or existing
example_015.aadl:7:08: UserTypes (identifier) is not a package or a property set visible or existing
Cannot analyze AADL specifications
\ No newline at end of file
Cannot analyze AADL specifications
example_016.aadl:6:08: GPSLib (identifier) is not a package or a property set visible or existing
Cannot analyze AADL specifications
\ No newline at end of file
Cannot analyze AADL specifications
example_018.aadl:11:21: parsing Port_Spec, token ';' is expected, found token '['
example_018.aadl:10:01: parsing Features, list is empty
Cannot parse AADL specifications
\ No newline at end of file
Cannot parse AADL specifications
......@@ -4,4 +4,4 @@ example_020.aadl:40:01: DoCalc (subcomponent access) does not point to anything
example_020.aadl:52:01: MyCalc (subcomponent access) does not point to anything or to something unreachable
example_020.aadl:99:01: app (subcomponent) points to ApplicationSystem (component type) , which is not of the same kind
example_020.aadl:100:01: printserver (subcomponent) points to PrintServer (entity reference), which does not exist.
Cannot analyze AADL specifications
\ No newline at end of file
Cannot analyze AADL specifications
data Person
end Person;
data Personnel_record
features
update_address : subprogram update_address;
update_address : subprogram update_address;
end Personnel_record;
data implementation Personnel_record.others
subcomponents
Name : data basic::string;
Home_address : data sei::aadl::relief::Address;
Name : data basic::string;
Home_address : data sei::aadl::relief::Address;
end Personnel_record.others;
subprogram update_address
features
Personnel_record : in out parameter person;
street : in parameter basic::string;
city : in parameter basic::string;
Personnel_record : in out parameter person;
street : in parameter basic::string;
city : in parameter basic::string;
end update_address;
......@@ -37,8 +39,8 @@ end basic;
thread SEI_Personnel_addition
features
new_person : in event data port Personnel_record;
SEI_personnel : requires data access Personnel_database.oracle;
new_person : in event data port Personnel_record;
SEI_personnel : requires data access Personnel_database.oracle;
properties
Dispatch_Protocol => aperiodic;
......@@ -49,20 +51,19 @@ package sei::aadl::relief
public
data Address
features
getStreet : subprogram;
getCity : subprogram;
getStreet : subprogram;
getCity : subprogram;
end Address;
private
data implementation Address.others
subcomponents
street : data basic::string;
streetnumber : data basic::int;
city : data basic::string;
zipcode : data basic::int;
street : data basic::string;
streetnumber : data basic::int;
city : data basic::string;
zipcode : data basic::int;
end Address.others;
......@@ -88,5 +89,3 @@ public
end sei;
data Position_Type
end Position_Type;
process Gps_Sender
features
Position : out data port Position_Type;
SecondaryPosition : in data port Position_Type;
Position : out data port Position_Type;
SecondaryPosition : in data port Position_Type;
end Gps_Sender;
......@@ -16,22 +18,22 @@ end Gps_Sender.Secure;
system Gps
features
Position : out data port Position_Type;
Init_Done : in event port;
Backup_Stopped : in event port;
Main_Stopped : in event port;
All_OK : in event port;
Run_Secure : in event port;
Run_Normal : in event port;
Position : out data port Position_Type;
Init_Done : in event port;
Backup_Stopped : in event port;
Main_Stopped : in event port;
All_OK : in event port;
Run_Secure : in event port;
Run_Normal : in event port;
end Gps;
system implementation Gps.Dual
subcomponents
Main_Gps : process Gps_Sender.Basic
Main_Gps : process Gps_Sender.Basic
in modes (Dualmode, Mainmode);
Backup_Gps : process Gps_Sender.Basic
Backup_Gps : process Gps_Sender.Basic
in modes (Dualmode, Backupmode);
......@@ -44,10 +46,10 @@ connections
in modes (Dualmode);
modes
Initialize : initial mode;
Dualmode : mode;
Mainmode : mode;
Backupmode : mode;
Initialize : initial mode;
Dualmode : mode;
Mainmode : mode;
Backupmode : mode;
Initialize -[ Init_Done ]-> Dualmode;
Dualmode -[ Backup_Stopped ]-> Mainmode;
Dualmode -[ Main_Stopped ]-> Backupmode;
......@@ -57,7 +59,7 @@ end Gps.Dual;
system implementation Gps.Secure extends Gps.Dual
subcomponents
Secure_Gps : process Gps_Sender.Secure
Secure_Gps : process Gps_Sender.Secure
in modes (Securemode);
......@@ -66,8 +68,8 @@ connections
in modes (Securemode);
modes
Securemode : mode;
SingleSecuremode : mode;
Securemode : mode;
SingleSecuremode : mode;
Dualmode -[ Run_Secure ]-> Securemode;
Securemode -[ Run_Normal ]-> Dualmode;
Securemode -[ Backup_Stopped ]-> SingleSecuremode;
......
t4.aadl:3:06: other_package_name (identifier) is not a package or a property set visible or existing
Cannot analyze AADL specifications
\ No newline at end of file
Cannot analyze AADL specifications
t12.aadl:18:02: d (subcomponent) points to datatype (entity reference), which does not exist.
t12.aadl:18:02: d (subcomponent) points to datatype (entity reference), which does not exist.
Cannot analyze AADL specifications
......@@ -12,24 +12,32 @@ test_env_subtheorem_call_one_parameter execution
theorem test_env_subtheorem_call_one_parameter is: TRUE
test_env_subtheorem_call_multiple_parameters execution
Content of set a_set (test_real_exec_env_01.aadl:102:12) is
rma.erc32_node_a: 13 component instance test_real_exec_env_01.aadl:72:01
-> value for y is 3
Evaluating x
value for x after evaluating sub_theorem_3 is 4.00000E+00
theorem test_env_subtheorem_call_multiple_parameters is: TRUE
test_env_subtheorem_call_with_domain execution
Content of set a_set (test_real_exec_env_01.aadl:112:12) is
rma.erc32_node_a_task1: 20 component instance test_real_exec_env_01.aadl:27:01
rma.erc32_node_a_task2: 52 component instance test_real_exec_env_01.aadl:40:01
-> value for y is 1
Evaluating x
value for x after evaluating sub_theorem_4 is 2.00000E+00
theorem test_env_subtheorem_call_with_domain is: TRUE
test_env_subtheorem_call_global_variable execution
Content of set a_set (test_real_exec_env_01.aadl:122:12) is
rma.erc32_node_a: 13 component instance test_real_exec_env_01.aadl:72:01
-> value for y is 1
Evaluating x
value for x after evaluating sub_theorem_5 is 1.00000E+00
theorem test_env_subtheorem_call_global_variable is: TRUE
test_env_subtheorem_call_with_empty_domain execution
Content of set a_set (test_real_exec_env_01.aadl:133:12) is
Evaluating x
lib.real:38:01 Backends: warning : Empty range set, returned value is 0.0
value for x after evaluating sub_theorem_6 is 0.00000E+00
......
test_real_exec_02.aadl:81:04: warning: obj references a component type
ocarina: Total: 0 error and 1 warning