Directory testsuite/libraries/multibody/elementary/

Directory Created:
2010-04-26 13:46
Directory Deleted:
2012-10-08 11:17
Total Files:
0
Deleted Files:
21
Lines of Code:
0

[root]/testsuite/libraries/multibody/elementary

Lines of Code

testsuite/libraries/multibody/elementary/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 1087 (100.0%) 416756 (100.0%) 383.4
adrpo 158 (14.5%) 219704 (52.7%) 1390.5
sjoelund.se 416 (38.3%) 73278 (17.6%) 176.1
petar 32 (2.9%) 65928 (15.8%) 2060.2
perost 306 (28.2%) 54321 (13.0%) 177.5
mahge930 19 (1.7%) 3191 (0.8%) 167.9
Frenkel TUD 134 (12.3%) 322 (0.1%) 2.4
AlexeyLebedev 1 (0.1%) 12 (0.0%) 12.0
alash325 21 (1.9%) 0 (0.0%) 0.0

Most Recent Commits

alash325 2012-10-08 11:17 Rev.: 13242

-- testsuite/3rdparty/AVM + testsuite/3rdparty/ThermoSysPro are temporarily moved to testsuite directory + testsiuite/Libraries + testsuite/mofiles + testsuite/3rdparty are deleted from SVN

0 lines of code changed in 21 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (del), ForceAndTorque.mos (del), FreeBody.mos (del), InitSpringConstant.mos (del), LineForceWithTwoMasses.mos (del), Makefile (del), Pendulum.mos (del), PendulumWithSpringDamper.mos (del), PointGravity.mos (del), PointGravityWithPointMasses.mos (del), PointGravityWithPointMasses2.mos (del), RollingWheel.mos (del), RollingWheelSetDriving.mos (del), RollingWheelSetPulling.mos (del), SpringDamperSystem.mos (del), SpringMassSystem.mos (del), SpringWithMass.mos (del), ThreeSprings.mos (del), World.mos (del), _ElementaryTotal.mo (del), _UseThisTestToMakeANewOne.mos (del)
perost 2012-09-27 17:35 Rev.: 13078

- Changed Util.swap to work as expected (i.e. swap on true).

5250 lines of code changed in 19 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+264 -264), ForceAndTorque.mos (+165 -165), FreeBody.mos (+128 -128), InitSpringConstant.mos (+134 -134), LineForceWithTwoMasses.mos (+225 -225), Pendulum.mos (+244 -244), PendulumWithSpringDamper.mos (+141 -141), PointGravity.mos (+125 -125), PointGravityWithPointMasses.mos (+118 -118), PointGravityWithPointMasses2.mos (+305 -305), RollingWheel.mos (+127 -127), RollingWheelSetDriving.mos (+153 -153), RollingWheelSetPulling.mos (+153 -153), SpringDamperSystem.mos (+174 -174), SpringMassSystem.mos (+162 -162), SpringWithMass.mos (+116 -116), ThreeSprings.mos (+146 -146), World.mos (+91 -91), _UseThisTestToMakeANewOne.mos (+2279 -3)
sjoelund.se 2012-09-20 10:43 Rev.: 12989

- Expected output

7158 lines of code changed in 1 file:

  • testsuite/libraries/multibody/elementary: PointGravityWithPointMasses2.mos (+7158 -1)
sjoelund.se 2012-09-20 10:01 Rev.: 12988

- Added missing 'each' prefixes to more models
- Made DAE.TYPED and DAE.UNTYPED modifications contain Absyn.Info and started using that whenever possible
- This makes error-messages appear at the source of the modification instead of at the component being modified, which is better since it is easier to look up the component than to figure where the #!#&@ the modification came from

7 lines of code changed in 7 files:

  • testsuite/libraries/multibody/elementary: FreeBody.mos (+1 -5), PointGravity.mos (+1 -9), PointGravityWithPointMasses.mos (+1 -17), PointGravityWithPointMasses2.mos (+1 -7184), SpringDamperSystem.mos (+1 -7), SpringWithMass.mos (+1 -5), ThreeSprings.mos (+1 -5)
sjoelund.se 2012-09-19 14:11 Rev.: 12975

- Use loadModel instead of loadFile("_...Total.mo")

758 lines of code changed in 19 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+75 -19), ForceAndTorque.mos (+26 -9), FreeBody.mos (+39 -11), InitSpringConstant.mos (+33 -9), LineForceWithTwoMasses.mos (+36 -12), Pendulum.mos (+71 -16), PendulumWithSpringDamper.mos (+37 -11), PointGravity.mos (+41 -9), PointGravityWithPointMasses.mos (+50 -10), PointGravityWithPointMasses2.mos (+59 -9), RollingWheel.mos (+32 -8), RollingWheelSetDriving.mos (+33 -12), RollingWheelSetPulling.mos (+40 -12), SpringDamperSystem.mos (+41 -11), SpringMassSystem.mos (+34 -10), SpringWithMass.mos (+38 -10), ThreeSprings.mos (+40 -12), World.mos (+32 -8), _UseThisTestToMakeANewOne.mos (+1 -1)
sjoelund.se 2012-09-12 15:00 Rev.: 12890

#1801
- Fix problem with matrix-vector operations being converted into array-multiplication of vector and scalar
- All tests that worked still work except for one: ./libraries/msl31/simulate/Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.mos, presumably because of a better solution now

2971 lines of code changed in 18 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+264 -264), ForceAndTorque.mos (+165 -165), FreeBody.mos (+128 -128), InitSpringConstant.mos (+134 -134), LineForceWithTwoMasses.mos (+225 -225), Pendulum.mos (+244 -244), PendulumWithSpringDamper.mos (+141 -141), PointGravity.mos (+125 -125), PointGravityWithPointMasses.mos (+118 -118), PointGravityWithPointMasses2.mos (+305 -305), RollingWheel.mos (+127 -127), RollingWheelSetDriving.mos (+153 -153), RollingWheelSetPulling.mos (+153 -153), SpringDamperSystem.mos (+174 -174), SpringMassSystem.mos (+162 -162), SpringWithMass.mos (+116 -116), ThreeSprings.mos (+146 -146), World.mos (+91 -91)
perost 2012-08-28 11:43 Rev.: 12702

- Removed space after first parenthesis when dumping asserts in DAEDump, to ease
the transition to a template based dumper.

18 lines of code changed in 16 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+2 -2), ForceAndTorque.mos (+1 -1), FreeBody.mos (+1 -1), InitSpringConstant.mos (+1 -1), LineForceWithTwoMasses.mos (+1 -1), Pendulum.mos (+2 -2), PendulumWithSpringDamper.mos (+1 -1), PointGravity.mos (+1 -1), PointGravityWithPointMasses2.mos (+1 -1), RollingWheel.mos (+1 -1), RollingWheelSetDriving.mos (+1 -1), RollingWheelSetPulling.mos (+1 -1), SpringDamperSystem.mos (+1 -1), SpringMassSystem.mos (+1 -1), SpringWithMass.mos (+1 -1), ThreeSprings.mos (+1 -1)
perost 2012-08-24 16:07 Rev.: 12666

Fix for bug #1774:
- Better sorting of elements in Inst.instElementList by considering qualified crefs.
- Added testcase Modelica.StateGraph.Examples.ControlledTanks.
- Enabled the forgotten Modelica.Blocks.Continuous testcase.

16765 lines of code changed in 16 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+6505 -14), ForceAndTorque.mos (+12 -12), FreeBody.mos (+2 -2), InitSpringConstant.mos (+4 -5), LineForceWithTwoMasses.mos (+5636 -15), Pendulum.mos (+4524 -7), PendulumWithSpringDamper.mos (+7 -7), PointGravity.mos (+4 -4), PointGravityWithPointMasses2.mos (+17 -17), RollingWheel.mos (+2 -2), RollingWheelSetDriving.mos (+16 -16), RollingWheelSetPulling.mos (+17 -17), SpringDamperSystem.mos (+7 -7), SpringMassSystem.mos (+8 -8), SpringWithMass.mos (+2 -2), ThreeSprings.mos (+2 -2)
Frenkel TUD 2012-07-20 10:04 Rev.: 12353

- fix tests

12 lines of code changed in 6 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+4 -4), LineForceWithTwoMasses.mos (+1 -1), Pendulum.mos (+2 -2), PendulumWithSpringDamper.mos (+1 -1), RollingWheelSetDriving.mos (+2 -2), RollingWheelSetPulling.mos (+2 -2)
Frenkel TUD 2012-07-20 07:40 Rev.: 12351

- fix tests

149 lines of code changed in 9 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+29), ForceAndTorque.mos (+20), InitSpringConstant.mos (+8), LineForceWithTwoMasses.mos (+15), Pendulum.mos (+15), PendulumWithSpringDamper.mos (+7), PointGravityWithPointMasses2.mos (+13 -1), RollingWheelSetDriving.mos (+21), RollingWheelSetPulling.mos (+21)
Frenkel TUD 2012-06-28 18:05 Rev.: 12234

- fix tests

19 lines of code changed in 10 files:

  • testsuite/libraries/multibody/elementary: FreeBody.mos (+2 -2), InitSpringConstant.mos (+2 -2), LineForceWithTwoMasses.mos (+2 -2), PendulumWithSpringDamper.mos (+2 -2), PointGravity.mos (+2 -2), PointGravityWithPointMasses2.mos (+2 -2), SpringDamperSystem.mos (+2 -2), SpringMassSystem.mos (+2 -2), SpringWithMass.mos (+1 -1), ThreeSprings.mos (+2 -2)
Frenkel TUD 2012-06-28 16:50 Rev.: 12232

- fix tests

10 lines of code changed in 8 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+2 -2), Pendulum.mos (+1 -1), PointGravityWithPointMasses.mos (+2 -2), RollingWheel.mos (+1 -1), RollingWheelSetDriving.mos (+1 -1), RollingWheelSetPulling.mos (+1 -1), SpringWithMass.mos (+1 -1), World.mos (+1 -1)
Frenkel TUD 2012-06-28 13:16 Rev.: 12226

- fix tests

2 lines of code changed in 2 files:

  • testsuite/libraries/multibody/elementary: ForceAndTorque.mos (+1 -1), Pendulum.mos (+1 -1)
perost 2012-05-10 14:06 Rev.: 11885

- Implemented a new template based expression dumping.
- Updated test suite.

8107 lines of code changed in 18 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+854 -854), ForceAndTorque.mos (+446 -446), FreeBody.mos (+376 -376), InitSpringConstant.mos (+369 -369), LineForceWithTwoMasses.mos (+623 -623), Pendulum.mos (+634 -634), PendulumWithSpringDamper.mos (+375 -375), PointGravity.mos (+327 -327), PointGravityWithPointMasses.mos (+274 -274), PointGravityWithPointMasses2.mos (+682 -682), RollingWheel.mos (+326 -326), RollingWheelSetDriving.mos (+502 -502), RollingWheelSetPulling.mos (+511 -511), SpringDamperSystem.mos (+450 -450), SpringMassSystem.mos (+415 -415), SpringWithMass.mos (+318 -318), ThreeSprings.mos (+404 -404), World.mos (+221 -221)
perost 2012-05-04 13:28 Rev.: 11848

Fix for bug #1731:
- Fixed connection of arrays with subscripts.
- Updated testsuit due to changed equation order for connects.

2182 lines of code changed in 16 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+200 -200), ForceAndTorque.mos (+168 -168), FreeBody.mos (+120 -120), InitSpringConstant.mos (+90 -90), LineForceWithTwoMasses.mos (+200 -200), Pendulum.mos (+40 -40), PendulumWithSpringDamper.mos (+100 -100), PointGravityWithPointMasses.mos (+40 -40), PointGravityWithPointMasses2.mos (+240 -240), RollingWheel.mos (+40 -40), RollingWheelSetDriving.mos (+250 -250), RollingWheelSetPulling.mos (+284 -284), SpringDamperSystem.mos (+140 -140), SpringMassSystem.mos (+100 -100), SpringWithMass.mos (+40 -40), ThreeSprings.mos (+130 -130)
Frenkel TUD 2012-04-27 11:08 Rev.: 11813

- fix testsuite

1 lines of code changed in 1 file:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+1 -1)
Frenkel TUD 2012-04-27 10:42 Rev.: 11812

- fix testsuite
- move PlanarMechanicsForTesting.Examples.KinematicLoop.mos to working tests

6 lines of code changed in 6 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+1 -1), ForceAndTorque.mos (+1 -1), FreeBody.mos (+1 -1), InitSpringConstant.mos (+1 -1), LineForceWithTwoMasses.mos (+1 -1), Pendulum.mos (+1 -1)
Frenkel TUD 2012-04-27 00:47 Rev.: 11809

- improve handling of complex equations
- improve evaluation of parameters with Evaluate=True annotation
- add built in functions to set machtingalgorithm
- update testsuite

11 lines of code changed in 11 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+1 -1), ForceAndTorque.mos (+1 -1), FreeBody.mos (+1 -1), InitSpringConstant.mos (+1 -1), LineForceWithTwoMasses.mos (+1 -1), Pendulum.mos (+1 -1), PendulumWithSpringDamper.mos (+1 -1), RollingWheelSetDriving.mos (+1 -1), RollingWheelSetPulling.mos (+1 -1), SpringDamperSystem.mos (+1 -1), SpringMassSystem.mos (+1 -1)
perost 2012-04-05 13:50 Rev.: 11673

- Fixed correct types on array-scalar and scalar-array operations.
- Updated test cases due to changed operation order.

3219 lines of code changed in 18 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+288 -288), ForceAndTorque.mos (+194 -194), FreeBody.mos (+143 -143), InitSpringConstant.mos (+141 -141), LineForceWithTwoMasses.mos (+265 -265), Pendulum.mos (+252 -252), PendulumWithSpringDamper.mos (+162 -162), PointGravity.mos (+120 -120), PointGravityWithPointMasses.mos (+126 -126), PointGravityWithPointMasses2.mos (+302 -302), RollingWheel.mos (+125 -125), RollingWheelSetDriving.mos (+179 -179), RollingWheelSetPulling.mos (+175 -175), SpringDamperSystem.mos (+193 -193), SpringMassSystem.mos (+178 -178), SpringWithMass.mos (+124 -124), ThreeSprings.mos (+155 -155), World.mos (+97 -97)
sjoelund.se 2012-03-26 15:42 Rev.: 11548

- Conversion to UTF-8

2 lines of code changed in 1 file:

  • testsuite/libraries/multibody/elementary: _ElementaryTotal.mo (+2 -2)
mahge930 2012-03-01 22:48 Rev.: 11260

+ The test-suite makefile now contain DEPENDENCIES. This are the files that are needed for the test cases.
+ "make clean" or (make -j clean) will clean the test-suite. i.e. all files that are not listed as DEPENDENCIES will be cleaned.
For OMDEV/MINGW ppl (linux already has partest)
+ "make threaded" will clean and then run the test-suite with 5 threads (my pc has 4 cores so :) ). (or just use "make -jN")
- 'msl31simulation.log' and 'msl31mediasimulation.log' still give problems with multiple threads. Very strange problem since the
output matches exactly with the expected but for some reason it is compared with outputs from another file. But For now this might help a bit.

Normal test-suite operation is not affected in anyway as far as I can tell. (Just some additions)

23 lines of code changed in 1 file:

  • testsuite/libraries/multibody/elementary: Makefile (+23 -1)
adrpo 2012-03-01 09:25 Rev.: 11247

- expected output.
- got rid of print in Inline.mo

2 lines of code changed in 2 files:

  • testsuite/libraries/multibody/elementary: LineForceWithTwoMasses.mos (+1 -1), PointGravityWithPointMasses2.mos (+1 -1)
adrpo 2012-03-01 07:30 Rev.: 11245

- do not do equiv type checking when MetaModelica as they might be not!
- fix some of the expected output in some models.

3 lines of code changed in 2 files:

  • testsuite/libraries/multibody/elementary: LineForceWithTwoMasses.mos (+2 -2), PointGravityWithPointMasses2.mos (+1 -1)
sjoelund.se 2012-02-28 23:34 Rev.: 11225

Modelica/Mechanics/Multibody/Parts.mo: rotationType == 1,2 => rotationType == Types.RotationTypes.RotationAxis,TwoAxesVectors
- Partial fix for #1702

2 lines of code changed in 1 file:

  • testsuite/libraries/multibody/elementary: _ElementaryTotal.mo (+2 -2)
sjoelund.se 2012-02-28 19:55 Rev.: 11223

Partial fix for #1702 (enum == Integer is not an allowed relation)
- This was also updated in MSL

1 lines of code changed in 1 file:

  • testsuite/libraries/multibody/elementary: _ElementaryTotal.mo (+1 -1)
mahge930 2012-01-23 13:04 Rev.: 10937

+ Fix for missing parameter passing for records.
Bug #1675
+ Fix for missing bindings for records with classmod modifications on output variables.
+ Fix for constant evaluated bindings to default values for record to record assignments.

3168 lines of code changed in 18 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+264 -528), ForceAndTorque.mos (+216 -432), FreeBody.mos (+108 -216), InitSpringConstant.mos (+120 -240), LineForceWithTwoMasses.mos (+240 -480), Pendulum.mos (+240 -480), PendulumWithSpringDamper.mos (+144 -288), PointGravity.mos (+132 -264), PointGravityWithPointMasses.mos (+132 -264), PointGravityWithPointMasses2.mos (+480 -960), RollingWheel.mos (+108 -216), RollingWheelSetDriving.mos (+144 -288), RollingWheelSetPulling.mos (+144 -288), SpringDamperSystem.mos (+192 -384), SpringMassSystem.mos (+180 -360), SpringWithMass.mos (+108 -216), ThreeSprings.mos (+132 -264), World.mos (+84 -168)
sjoelund.se 2011-11-29 11:51 Rev.: 10594

- Fix ExpressionDump: -(a+b) is now printed correctly (previously was printed as -a+b)

402 lines of code changed in 15 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+52 -52), ForceAndTorque.mos (+30 -30), FreeBody.mos (+36 -36), InitSpringConstant.mos (+26 -26), LineForceWithTwoMasses.mos (+24 -24), Pendulum.mos (+4 -4), PendulumWithSpringDamper.mos (+12 -12), PointGravityWithPointMasses.mos (+12 -12), RollingWheel.mos (+6 -6), RollingWheelSetDriving.mos (+52 -52), RollingWheelSetPulling.mos (+58 -58), SpringDamperSystem.mos (+26 -26), SpringMassSystem.mos (+16 -16), SpringWithMass.mos (+12 -12), ThreeSprings.mos (+36 -36)
sjoelund.se 2011-11-25 13:29 Rev.: 10577

- Removed operators from DAE.mo:
scalar .+ array => array .+ scalar
array .- scalar => array .+ (-scalar)
scalar .* array => array .* scalar
These are equivalent and reduces the code we need to maintain (duplicate cases, etc)

NOTE: YOU NEED TO MAKE CLEAN AFTER THIS UPDATE AS RML IS STUPID AND FAILS AT DEP. ANALYSIS

163 lines of code changed in 18 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+16 -16), ForceAndTorque.mos (+6 -6), FreeBody.mos (+6 -6), InitSpringConstant.mos (+6 -6), LineForceWithTwoMasses.mos (+14 -14), Pendulum.mos (+12 -12), PendulumWithSpringDamper.mos (+6 -6), PointGravity.mos (+8 -8), PointGravityWithPointMasses.mos (+8 -8), PointGravityWithPointMasses2.mos (+22 -22), RollingWheel.mos (+6 -6), RollingWheelSetDriving.mos (+10 -10), RollingWheelSetPulling.mos (+10 -10), SpringDamperSystem.mos (+8 -8), SpringMassSystem.mos (+8 -8), SpringWithMass.mos (+7 -7), ThreeSprings.mos (+6 -6), World.mos (+4 -4)
sjoelund.se 2011-11-25 10:23 Rev.: 10576

- Expected output

3519 lines of code changed in 18 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+328 -328), ForceAndTorque.mos (+196 -196), FreeBody.mos (+151 -151), InitSpringConstant.mos (+160 -160), LineForceWithTwoMasses.mos (+274 -274), Pendulum.mos (+284 -284), PendulumWithSpringDamper.mos (+169 -169), PointGravity.mos (+139 -139), PointGravityWithPointMasses.mos (+142 -142), PointGravityWithPointMasses2.mos (+357 -357), RollingWheel.mos (+139 -139), RollingWheelSetDriving.mos (+183 -183), RollingWheelSetPulling.mos (+183 -183), SpringDamperSystem.mos (+206 -206), SpringMassSystem.mos (+194 -194), SpringWithMass.mos (+131 -131), ThreeSprings.mos (+170 -170), World.mos (+113 -113)
adrpo 2011-11-19 18:43 Rev.: 10556

Error.mo
- typo fix

DAEUtil.mo
- better error messages

Inst.mo
- sort innerouter after the element dependency analysis
- add record constructors that are function inputs to the DAE (IdealGasH2O now compiles but has dassl issues)
- speedup Inst.makeFullyQualified a bit

InstExtends.mo
- more fix* calls which were missed

Interactive.mo
- use System.get/setPartialInst instead of RTOpts debug flags as they are REALLY slow
- this will speed up the MSL query for qt & java clients a bit.

SimCodeC.tpl
- use -O0 when running the testsuite.

Derive.mo
- better printout for derivative function error message

testsuite/
- update tests (more record constructors now)
- add one more to Media simulation and 2 more to Fluid flattening

mingw makefiles
- use wget (will be replaced by svn put into OMDev later)
to fetch revision number and put it part of the OMC version



1 lines of code changed in 1 file:

  • testsuite/libraries/multibody/elementary: ThreeSprings.mos (+1 -1)
adrpo 2011-11-15 12:44 Rev.: 10515

- include the modifiers and dimensions in the dependency analysis in Inst.instElementList
- move annotation checking functions from DAEUtil to SCode.
- convert type of the Value in the binding if needed (to get rid of things like min = 0, instead of min = 0.0)
- in partial instantiation disregard parameters, instantiate only constants.
- rename the really bad name "subs" to restCref in Static.elabCrefSubs.
- clear errors when loadingFileInteractiveQualified API and parseFile API
- added vaporizing.mo test

- a LOT of tests have changed
- small fixes to tools/validatetest/validatetest.pl

20235 lines of code changed in 18 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+2228 -2228), ForceAndTorque.mos (+712 -712), FreeBody.mos (+721 -721), InitSpringConstant.mos (+739 -739), LineForceWithTwoMasses.mos (+1880 -1880), Pendulum.mos (+1432 -1432), PendulumWithSpringDamper.mos (+1242 -1242), PointGravity.mos (+677 -677), PointGravityWithPointMasses.mos (+636 -636), PointGravityWithPointMasses2.mos (+825 -825), RollingWheel.mos (+956 -956), RollingWheelSetDriving.mos (+1645 -1645), RollingWheelSetPulling.mos (+1653 -1653), SpringDamperSystem.mos (+1711 -1711), SpringMassSystem.mos (+1163 -1163), SpringWithMass.mos (+584 -584), ThreeSprings.mos (+789 -789), World.mos (+642 -642)
perost 2011-10-31 15:49 Rev.: 10259

- Fixed infinite loop in DAEUtil.evaluateParameter.
- Updated test suite.

422 lines of code changed in 10 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+66 -66), ForceAndTorque.mos (+32 -32), InitSpringConstant.mos (+25 -25), LineForceWithTwoMasses.mos (+62 -62), Pendulum.mos (+24 -24), PendulumWithSpringDamper.mos (+25 -25), RollingWheelSetDriving.mos (+60 -60), RollingWheelSetPulling.mos (+61 -61), SpringDamperSystem.mos (+36 -36), SpringMassSystem.mos (+31 -31)
adrpo 2011-10-31 06:42 Rev.: 10254

- re-enable the SCode.DERIVED case in the Inst.instClassdef2 as it gives way better function names (correct environment) and error locations.
also, we would have a function name clash in the function tree if we have two short class definitions with the same
name, same base class, but different modifiers!
- for SCode.DERIVED elaborate the modifiers in the parent scope both for full and partial inst!
this fixes the error for derived functions with modifiers.
- better location in call to Inst.matchModificationToComponents.
- get rid of some commented unused code.

377 lines of code changed in 1 file:

  • testsuite/libraries/multibody/elementary: PointGravityWithPointMasses2.mos (+377 -367)
perost 2011-10-27 16:22 Rev.: 10239

Fix for function modifiers:
- Added source info to unbound parameter warning in Static.elabCref2, since it
doesn't cause any real problems anymore.
- Added a case to DAEUtil.bindingExp to use the evaluated expression if it's
available.
- Commented out the case for derived classes without array dims in
Inst.instClassdef2, since it solves some problems and makes the compiler
faster.
- Added test case mofiles/ModifyFunction1 to test function modifiers.
- Updated test suite.

90 lines of code changed in 1 file:

  • testsuite/libraries/multibody/elementary: PointGravityWithPointMasses2.mos (+90 -100)
perost 2011-10-07 10:30 Rev.: 10039

- Fixed testsuite.

163 lines of code changed in 18 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+16 -16), ForceAndTorque.mos (+17 -17), FreeBody.mos (+5 -5), InitSpringConstant.mos (+5 -5), LineForceWithTwoMasses.mos (+14 -14), Pendulum.mos (+10 -10), PendulumWithSpringDamper.mos (+5 -5), PointGravity.mos (+8 -8), PointGravityWithPointMasses.mos (+2 -2), PointGravityWithPointMasses2.mos (+23 -23), RollingWheel.mos (+5 -5), RollingWheelSetDriving.mos (+11 -11), RollingWheelSetPulling.mos (+14 -14), SpringDamperSystem.mos (+8 -8), SpringMassSystem.mos (+8 -8), SpringWithMass.mos (+5 -5), ThreeSprings.mos (+5 -5), World.mos (+2 -2)
sjoelund.se 2011-10-03 15:46 Rev.: 9988

- Re-enabled the check for functions defining all slots
- FunctionArg now stores the default expression in it so we can use it very fast

144 lines of code changed in 16 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+16 -16), ForceAndTorque.mos (+4 -4), FreeBody.mos (+4 -4), InitSpringConstant.mos (+4 -4), LineForceWithTwoMasses.mos (+16 -16), Pendulum.mos (+8 -8), PendulumWithSpringDamper.mos (+4 -4), PointGravity.mos (+8 -8), PointGravityWithPointMasses2.mos (+28 -28), RollingWheel.mos (+4 -4), RollingWheelSetDriving.mos (+12 -12), RollingWheelSetPulling.mos (+12 -12), SpringDamperSystem.mos (+8 -8), SpringMassSystem.mos (+8 -8), SpringWithMass.mos (+4 -4), ThreeSprings.mos (+4 -4)
perost 2011-09-08 14:12 Rev.: 9758

- Made the dumping of external declarations better.
- Changed so that only constant complex equations are constant evaluated in
InstSection.instEqEquation2.
- Added handling of integers in omc-diff, so that integers are compared exactly
(otherwise we allow a relative error for line numbers in errors).

61 lines of code changed in 17 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+6 -6), ForceAndTorque.mos (+4 -4), FreeBody.mos (+3 -3), InitSpringConstant.mos (+3 -3), LineForceWithTwoMasses.mos (+3 -3), Pendulum.mos (+6 -6), PendulumWithSpringDamper.mos (+3 -3), PointGravity.mos (+3 -3), PointGravityWithPointMasses.mos (+1 -1), PointGravityWithPointMasses2.mos (+3 -3), RollingWheel.mos (+3 -3), RollingWheelSetDriving.mos (+4 -4), RollingWheelSetPulling.mos (+7 -7), SpringDamperSystem.mos (+3 -3), SpringMassSystem.mos (+3 -3), SpringWithMass.mos (+3 -3), ThreeSprings.mos (+3 -3)
perost 2011-08-30 09:18 Rev.: 9712

- Reimplemented connection handling to be more efficient.

4320 lines of code changed in 18 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+388 -388), ForceAndTorque.mos (+326 -326), FreeBody.mos (+229 -229), InitSpringConstant.mos (+181 -181), LineForceWithTwoMasses.mos (+387 -387), Pendulum.mos (+84 -84), PendulumWithSpringDamper.mos (+189 -189), PointGravity.mos (+16 -16), PointGravityWithPointMasses.mos (+104 -104), PointGravityWithPointMasses2.mos (+427 -427), RollingWheel.mos (+81 -81), RollingWheelSetDriving.mos (+514 -514), RollingWheelSetPulling.mos (+572 -572), SpringDamperSystem.mos (+270 -270), SpringMassSystem.mos (+202 -202), SpringWithMass.mos (+81 -81), ThreeSprings.mos (+265 -265), World.mos (+4 -4)
sjoelund.se 2011-07-28 07:54 Rev.: 9547

- Fix code generation of ASUB(ASUB(...,x),y), by making ASUB(...,xy) instead
- Previously, we created one case for integer asub, one for 2d integer asub, etc... But forgot mixed int and enum asubs... The new code should work for any dimension, and any mix of asubs
- Testcases were updated because we print [1,2] instead of [1][2]

1143 lines of code changed in 18 files:

  • testsuite/libraries/multibody/elementary: DoublePendulum.mos (+144 -144), ForceAndTorque.mos (+63 -63), FreeBody.mos (+54 -54), InitSpringConstant.mos (+54 -54), LineForceWithTwoMasses.mos (+72 -72), Pendulum.mos (+108 -108), PendulumWithSpringDamper.mos (+54 -54), PointGravity.mos (+54 -54), PointGravityWithPointMasses.mos (+54 -54), PointGravityWithPointMasses2.mos (+54 -54), RollingWheel.mos (+54 -54), RollingWheelSetDriving.mos (+54 -54), RollingWheelSetPulling.mos (+54 -54), SpringDamperSystem.mos (+54 -54), SpringMassSystem.mos (+54 -54), SpringWithMass.mos (+54 -54), ThreeSprings.mos (+54 -54), World.mos (+54 -54)
adrpo 2011-07-01 14:10 Rev.: 9391

- BREAKING 16 tests in the testsuite with this commit:
==== Log /tmp/omc-rtest-adrpo/biochem/log-BiochemModels.mos
==== Log /tmp/omc-rtest-adrpo/bootstrapping/log-SimCodeTest.mos
==== Log /tmp/omc-rtest-adrpo/interactive/log-Rename.mos
==== Log /tmp/omc-rtest-adrpo/mofiles/log-ArrayModification13.mo
==== Log /tmp/omc-rtest-adrpo/mofiles/log-Constant9.mo
==== Log /tmp/omc-rtest-adrpo/mofiles/log-Discrete2.mo
==== Log /tmp/omc-rtest-adrpo/mofiles/log-Modification9.mo
==== Log /tmp/omc-rtest-adrpo/mofiles/log-Overwriting3.mo
==== Log /tmp/omc-rtest-adrpo/mofiles/log-Overwriting4.mo
==== Log /tmp/omc-rtest-adrpo/mosfiles-nosim/log-FinalTests.mos
==== Log /tmp/omc-rtest-adrpo/mosfiles/log-BuiltinMath.mos
==== Log /tmp/omc-rtest-adrpo/mosfiles/log-CheckEvents.mos
==== Log /tmp/omc-rtest-adrpo/parser/log-CheckSourcesForTabs.mos
==== Log /tmp/omc-rtest-adrpo/parser/log-ParseCompilerSources.mos
==== Log /tmp/omc-rtest-adrpo/redeclare/log-RedeclareFunction.mo
- i will fix them in the next days (they are not that problematic)
- quite big commit, some fixes for Media 255/26 instantiate/check now.
i'm still loosing redeclares in some cases (mostly weird restrictions
like connectors), i'll do some more chasing for redeclare mods in Inst
in the next days.
- running the Media testsuite with nogen and noevalfunc (for now as even so takse ~10 minutes)
will fix function problems later.
- plenty of other new stuff:
+ some partial Graph implementation
Edge.mo, Element.mo, Instance.mo, Node.mo, Reference.mo, SCodeGraph.mo, Visited.mo
+ general stuff
Scope.mo, Name.mo, NamePool.mo, Relation.mo (moved to Util), more stuff in AvlTree.mo
+ global data structure which could be used anywhere (Global/Global.mo)
+ collecting all files in SimCode.mo (i had also send them to templates, but i will not
push those changes as the templates get more complicated).
- added Values.EMPTY and DAE.EMPTY to be returned when we do not have bindings.
- many more things i forgot about.

32 lines of code changed in 1 file:

  • testsuite/libraries/multibody/elementary: PointGravityWithPointMasses2.mos (+32 -22)

(51 more)

Generated by StatSVN 0.7.0