Skip to content

Commit a6d7282

Browse files
adrpoOpenModelica-Hudson
authored andcommitted
update test due to changes in ticket:5336
Belonging to [master]: - OpenModelica/OMCompiler#2930 - OpenModelica/OpenModelica-testsuite#1121
1 parent 8c3a23d commit a6d7282

File tree

3 files changed

+98
-98
lines changed

3 files changed

+98
-98
lines changed

openmodelica/cppruntime/testVectorizedBlocks.mos

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,15 @@ val(y[10], 1.0);
9090
//
9191
// Known variables only depending on parameters and constants - globalKnownVars (9)
9292
// ========================================
93-
// 1: n:PARAM(flow=false ) = 10 type: Integer
93+
// 1: n:PARAM() = 10 type: Integer
9494
// 2: input u:VARIABLE(flow=false start = /*Real[n]*/(1:10) ) type: Real[10] [10]
95-
// 3: periodicClock1.period:PARAM(flow=false unit = "s" final = true ) = 0.1 "Period of clock (defined as Real number)" type: Real
96-
// 4: periodicClock1.useSolver:PARAM(flow=false final = true ) = true "= true, if solverMethod shall be explicitly defined" type: Boolean
97-
// 5: periodicClock1.solverMethod:PARAM(flow=false ) = "ImplicitEuler" "Integration method used for discretized continuous-time partitions" type: String
98-
// 6: assignClock1.n:PARAM(flow=false min = 1 ) = 10 "Size of input signal vector u (= size of output signal vector y)" type: Integer
99-
// 7: integrator1.y_start:PARAM(flow=false ) = /*Real[n]*/(1:10) "Initial or guess value of output (= state)" type: Real[10] [10]
100-
// 8: integrator1.initType:PARAM(flow=false final = true ) = Modelica.Blocks.Types.Init.InitialState "Type of initialization (1: no init, 2: steady state, 3,4: initial output)" type: enumeration(NoInit, SteadyState, InitialState, InitialOutput)[10] [10]
101-
// 9: integrator1.k:PARAM(flow=false unit = "1" ) = 1.0 "Integrator gain" type: Real[10] [10]
95+
// 3: periodicClock1.period:PARAM(unit = "s" final = true ) = 0.1 "Period of clock (defined as Real number)" type: Real
96+
// 4: periodicClock1.useSolver:PARAM(final = true ) = true "= true, if solverMethod shall be explicitly defined" type: Boolean
97+
// 5: periodicClock1.solverMethod:PARAM() = "ImplicitEuler" "Integration method used for discretized continuous-time partitions" type: String
98+
// 6: assignClock1.n:PARAM(min = 1 ) = 10 "Size of input signal vector u (= size of output signal vector y)" type: Integer
99+
// 7: integrator1.y_start:PARAM() = /*Real[n]*/(1:10) "Initial or guess value of output (= state)" type: Real[10] [10]
100+
// 8: integrator1.initType:PARAM(final = true ) = Modelica.Blocks.Types.Init.InitialState "Type of initialization (1: no init, 2: steady state, 3,4: initial output)" type: enumeration(NoInit, SteadyState, InitialState, InitialOutput)[10] [10]
101+
// 9: integrator1.k:PARAM(unit = "1" ) = 1.0 "Integrator gain" type: Real[10] [10]
102102
//
103103
//
104104
// Known variables only depending on states and inputs - localKnownVars (0)
@@ -218,15 +218,15 @@ val(y[10], 1.0);
218218
//
219219
// Known variables only depending on parameters and constants - globalKnownVars (9)
220220
// ========================================
221-
// 1: integrator1.k:PARAM(flow=false unit = "1" ) = 1.0 "Integrator gain" type: Real[10] [10]
222-
// 2: integrator1.initType:PARAM(flow=false final = true ) = Modelica.Blocks.Types.Init.InitialState "Type of initialization (1: no init, 2: steady state, 3,4: initial output)" type: enumeration(NoInit, SteadyState, InitialState, InitialOutput)[10] [10]
223-
// 3: integrator1.y_start:PARAM(flow=false ) = 1.0:10.0 "Initial or guess value of output (= state)" type: Real[10] [10]
224-
// 4: assignClock1.n:PARAM(flow=false min = 1 ) = 10 "Size of input signal vector u (= size of output signal vector y)" type: Integer
225-
// 5: periodicClock1.solverMethod:PARAM(flow=false ) = "ImplicitEuler" "Integration method used for discretized continuous-time partitions" type: String
226-
// 6: periodicClock1.useSolver:PARAM(flow=false final = true ) = true "= true, if solverMethod shall be explicitly defined" type: Boolean
227-
// 7: periodicClock1.period:PARAM(flow=false unit = "s" final = true ) = 0.1 "Period of clock (defined as Real number)" type: Real
221+
// 1: integrator1.k:PARAM(unit = "1" ) = 1.0 "Integrator gain" type: Real[10] [10]
222+
// 2: integrator1.initType:PARAM(final = true ) = Modelica.Blocks.Types.Init.InitialState "Type of initialization (1: no init, 2: steady state, 3,4: initial output)" type: enumeration(NoInit, SteadyState, InitialState, InitialOutput)[10] [10]
223+
// 3: integrator1.y_start:PARAM() = 1.0:10.0 "Initial or guess value of output (= state)" type: Real[10] [10]
224+
// 4: assignClock1.n:PARAM(min = 1 ) = 10 "Size of input signal vector u (= size of output signal vector y)" type: Integer
225+
// 5: periodicClock1.solverMethod:PARAM() = "ImplicitEuler" "Integration method used for discretized continuous-time partitions" type: String
226+
// 6: periodicClock1.useSolver:PARAM(final = true ) = true "= true, if solverMethod shall be explicitly defined" type: Boolean
227+
// 7: periodicClock1.period:PARAM(unit = "s" final = true ) = 0.1 "Period of clock (defined as Real number)" type: Real
228228
// 8: input u:VARIABLE(flow=false start = 1.0:10.0 fixed = true ) type: Real[10] [10]
229-
// 9: n:PARAM(flow=false ) = 10 type: Integer
229+
// 9: n:PARAM() = 10 type: Integer
230230
//
231231
//
232232
// Known variables only depending on states and inputs - localKnownVars (0)

0 commit comments

Comments
 (0)