Skip to content

Commit

Permalink
add test for bug #3458
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed Sep 13, 2015
1 parent 449f0a6 commit 52d2ee5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 2 additions & 0 deletions openmodelica/cppruntime/libraries/msl32/Makefile
Expand Up @@ -9,6 +9,7 @@ Modelica.Electrical.Spice3.Examples.CoupledInductors.mos \
Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.mos \
Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.mos \
Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.mos \
Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.mos \
Modelica.Mechanics.Rotational.Examples.Backlash.mos \
Modelica.Mechanics.Rotational.Examples.RollingWheel.mos \
Modelica.Mechanics.Translational.Examples.Accelerate.mos \
Expand All @@ -23,6 +24,7 @@ Modelica.Thermal.HeatTransfer.Examples.TwoMasses.mos \
Modelica.Electrical.Digital.Examples.Counter.mos \
Modelica.Utilities.Examples.readRealParameterModel.mos \


# tested features:
# readRealParameterModel: string handling, variable name string

Expand Down
Expand Up @@ -17,21 +17,17 @@ getErrorString();


// Result:
// "\"true
// \"
// OpenModelicaModelTesting.SimulationRuntime.Cpp
// true
// true
// "
// OpenModelicaModelTesting.Kind.VerifiedSimulation
// Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass
// "../../../../simulation/libraries/msl32/ReferenceFiles/Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.mat"
// 0.0
// 0.01
// 0.0001
// "mat"
// {"body.frame_a.r_0[1]","body.frame_a.r_0[2]","body.frame_a.r_0[3]","body.v_0[1]","body.v_0[2]","body.v_0[3]","body.w_a[1]","body.w_a[2]","body.w_a[3]"}
// Simulation options: startTime = 0.0, stopTime = 5.0, numberOfIntervals = 500, tolerance = 0.000001, method = 'dassl', fileNamePrefix = 'Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''
// Simulation options: startTime = 0.0, stopTime = 5.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''
// Result file: Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat
// Files Equal!
// Warning: There are iteration variables with default zero start attribute. Use +d=initialization for more information.
//
// "true
// "
// ""
Expand Down

0 comments on commit 52d2ee5

Please sign in to comment.