Skip to content

Commit

Permalink
update test due to changes in ticket:5336
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo authored and OpenModelica-Hudson committed Feb 13, 2019
1 parent 8c3a23d commit a6d7282
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 98 deletions.
32 changes: 16 additions & 16 deletions openmodelica/cppruntime/testVectorizedBlocks.mos
Expand Up @@ -90,15 +90,15 @@ val(y[10], 1.0);
//
// Known variables only depending on parameters and constants - globalKnownVars (9)
// ========================================
// 1: n:PARAM(flow=false ) = 10 type: Integer
// 1: n:PARAM() = 10 type: Integer
// 2: input u:VARIABLE(flow=false start = /*Real[n]*/(1:10) ) type: Real[10] [10]
// 3: periodicClock1.period:PARAM(flow=false unit = "s" final = true ) = 0.1 "Period of clock (defined as Real number)" type: Real
// 4: periodicClock1.useSolver:PARAM(flow=false final = true ) = true "= true, if solverMethod shall be explicitly defined" type: Boolean
// 5: periodicClock1.solverMethod:PARAM(flow=false ) = "ImplicitEuler" "Integration method used for discretized continuous-time partitions" type: String
// 6: assignClock1.n:PARAM(flow=false min = 1 ) = 10 "Size of input signal vector u (= size of output signal vector y)" type: Integer
// 7: integrator1.y_start:PARAM(flow=false ) = /*Real[n]*/(1:10) "Initial or guess value of output (= state)" type: Real[10] [10]
// 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]
// 9: integrator1.k:PARAM(flow=false unit = "1" ) = 1.0 "Integrator gain" type: Real[10] [10]
// 3: periodicClock1.period:PARAM(unit = "s" final = true ) = 0.1 "Period of clock (defined as Real number)" type: Real
// 4: periodicClock1.useSolver:PARAM(final = true ) = true "= true, if solverMethod shall be explicitly defined" type: Boolean
// 5: periodicClock1.solverMethod:PARAM() = "ImplicitEuler" "Integration method used for discretized continuous-time partitions" type: String
// 6: assignClock1.n:PARAM(min = 1 ) = 10 "Size of input signal vector u (= size of output signal vector y)" type: Integer
// 7: integrator1.y_start:PARAM() = /*Real[n]*/(1:10) "Initial or guess value of output (= state)" type: Real[10] [10]
// 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]
// 9: integrator1.k:PARAM(unit = "1" ) = 1.0 "Integrator gain" type: Real[10] [10]
//
//
// Known variables only depending on states and inputs - localKnownVars (0)
Expand Down Expand Up @@ -218,15 +218,15 @@ val(y[10], 1.0);
//
// Known variables only depending on parameters and constants - globalKnownVars (9)
// ========================================
// 1: integrator1.k:PARAM(flow=false unit = "1" ) = 1.0 "Integrator gain" type: Real[10] [10]
// 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]
// 3: integrator1.y_start:PARAM(flow=false ) = 1.0:10.0 "Initial or guess value of output (= state)" type: Real[10] [10]
// 4: assignClock1.n:PARAM(flow=false min = 1 ) = 10 "Size of input signal vector u (= size of output signal vector y)" type: Integer
// 5: periodicClock1.solverMethod:PARAM(flow=false ) = "ImplicitEuler" "Integration method used for discretized continuous-time partitions" type: String
// 6: periodicClock1.useSolver:PARAM(flow=false final = true ) = true "= true, if solverMethod shall be explicitly defined" type: Boolean
// 7: periodicClock1.period:PARAM(flow=false unit = "s" final = true ) = 0.1 "Period of clock (defined as Real number)" type: Real
// 1: integrator1.k:PARAM(unit = "1" ) = 1.0 "Integrator gain" type: Real[10] [10]
// 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]
// 3: integrator1.y_start:PARAM() = 1.0:10.0 "Initial or guess value of output (= state)" type: Real[10] [10]
// 4: assignClock1.n:PARAM(min = 1 ) = 10 "Size of input signal vector u (= size of output signal vector y)" type: Integer
// 5: periodicClock1.solverMethod:PARAM() = "ImplicitEuler" "Integration method used for discretized continuous-time partitions" type: String
// 6: periodicClock1.useSolver:PARAM(final = true ) = true "= true, if solverMethod shall be explicitly defined" type: Boolean
// 7: periodicClock1.period:PARAM(unit = "s" final = true ) = 0.1 "Period of clock (defined as Real number)" type: Real
// 8: input u:VARIABLE(flow=false start = 1.0:10.0 fixed = true ) type: Real[10] [10]
// 9: n:PARAM(flow=false ) = 10 type: Integer
// 9: n:PARAM() = 10 type: Integer
//
//
// Known variables only depending on states and inputs - localKnownVars (0)
Expand Down

0 comments on commit a6d7282

Please sign in to comment.