Directory testsuite/libraries/multibody/

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

[root]/testsuite/libraries/multibody
                Folder removed from repo checkingModels (0 files, 0 lines)
                Folder removed from repo elementary (0 files, 0 lines)
                Folder removed from repo loops (0 files, 0 lines)
                Folder removed from repo rotational3deffects (0 files, 0 lines)
                Folder removed from repo systems (0 files, 0 lines)

Lines of Code

testsuite/libraries/multibody/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 212 (100.0%) 209423 (100.0%) 987.8
adrpo 73 (34.4%) 74479 (35.6%) 1020.2
petar 37 (17.5%) 66835 (31.9%) 1806.3
sjoelund.se 44 (20.8%) 65952 (31.5%) 1498.9
perost 20 (9.4%) 1931 (0.9%) 96.5
Frenkel TUD 14 (6.6%) 212 (0.1%) 15.1
ricli576 1 (0.5%) 7 (0.0%) 7.0
mahge930 1 (0.5%) 7 (0.0%) 7.0
alash325 22 (10.4%) 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 22 files:

  • testsuite/libraries/multibody: 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), rtest (del)
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)

7 lines of code changed in 1 file:

  • testsuite/libraries/multibody: Makefile (+7 -1)
adrpo 2010-12-08 20:31 Rev.: 7320

- update tests due to more trivial equation detection.

4 lines of code changed in 1 file:

  • testsuite/libraries/multibody: Makefile (+4 -2)
sjoelund.se 2010-09-21 12:34 Rev.: 6159

- Fix svn-eol-style on Makefiles

1 lines of code changed in 1 file:

  • testsuite/libraries/multibody: Makefile (+1 -1)
adrpo 2010-05-20 09:51 Rev.: 5558

- added MultiBody.Examples.Rotational3DEffects tests to the testsuite

6 lines of code changed in 1 file:

  • testsuite/libraries/multibody: Makefile (+6 -3)
adrpo 2010-04-26 13:46 Rev.: 5390

- add Modelica.Mechanics.MultiBody.Examples.Loops models to the testsuite.
- split testsuite/libraries/multibody into elementary and loops directory.

13 lines of code changed in 1 file:

  • testsuite/libraries/multibody: Makefile (+13 -38)
adrpo 2010-04-11 04:55 Rev.: 5291

- updating due to function sorting difference

14 lines of code changed in 1 file:

  • testsuite/libraries/multibody: RollingWheel.mos (+14 -14)
sjoelund.se 2010-04-09 12:36 Rev.: 5283

- Fix order of cases in updateComponentInEnv in order to fix libraries testcases.
- Also updated Multibody testcases due to Adrian's previous changes.
- Fix testsuite/rtest to print time spent when it gets equation mismatch.
- Refactoring Lookup.mo (Derived classes are no more).

18 lines of code changed in 2 files:

  • testsuite/libraries/multibody: RollingWheelSetDriving.mos (+16 -16), RollingWheelSetPulling.mos (+2 -2)
perost 2010-04-09 12:22 Rev.: 5282

- Fix for bug #1186: http://openmodelica.ida.liu.se:8080/cb/issue/1186?navigation=true
+ Added function Exp.arrayContainWholeDimension that checks if a list of dimensions contain a wholedim.
+ Added a check in Static.cevalIfConstant so that only functions with return types of unknown dimensions are constant evaluated to determine the dimensions.
+ Modified some testcases to reflect the changes made.

36 lines of code changed in 2 files:

  • testsuite/libraries/multibody: DoublePendulum.mos (+18 -18), LineForceWithTwoMasses.mos (+18 -18)
adrpo 2010-04-09 06:48 Rev.: 5280

- updates due to fixes of Connections.isRoot evaluation.

19 lines of code changed in 5 files:

  • testsuite/libraries/multibody: LineForceWithTwoMasses.mos (+2 -2), PointGravityWithPointMasses2.mos (+10 -10), SpringDamperSystem.mos (+3 -3), SpringMassSystem.mos (+1 -1), ThreeSprings.mos (+3 -3)
adrpo 2010-04-09 05:57 Rev.: 5279

- fixes for bug [#1188] https://openmodelica.org:8443/cb/issue/1188
Connections.isRoot evaluates to wrong value in Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody
- the problem was a typo in ConnectionGraph.addBranchesToTable generated a wrong hash table.
- moved public functions in the beginning of ConnectionGraph.mo
- make all functions not accessed from outside be protected in ConnectionGraph.mo
- more testsuite/libraries/multibody/ need updating (will do that with a later commit).

3 lines of code changed in 1 file:

  • testsuite/libraries/multibody: FreeBody.mos (+3 -3)
sjoelund.se 2010-03-31 11:47 Rev.: 5239

- Updated the testsuite to use parallel make (use make -j2 to use this feature).
- There is now only 1 shared rtest file (for directories using mos-files).
- Results are stored in log-files and printed at the end of testing so you can read the output easier (no logs interleaved).
- You can now use "rtest +g=MetaModelica ..." and similar.
- The output of the new rtest is "0 out of X tests failed" instead of "X out of X succeeded". So if it doesn't say 0, you have errors and should look closer.

1 lines of code changed in 1 file:

  • testsuite/libraries/multibody: Makefile (+1 -3)
ricli576 2010-03-30 16:04 Rev.: 5235

Modified rtest in multibody to interpret RTEST_OMCFLAGS flag.

7 lines of code changed in 1 file:

  • testsuite/libraries/multibody: rtest (+7 -2)
sjoelund.se 2010-03-26 14:34 Rev.: 5219

- Added svn:eol-style native to libraries/msl221/ and libraries/biochem/
- Set svn:executable on their rtest scripts

5 lines of code changed in 1 file:

  • testsuite/libraries/multibody: rtest (+5 -2)
perost 2010-03-25 17:34 Rev.: 5210

- Fixed testcase #1179 [http://openmodelica.ida.liu.se:8080/cb/issue/1179]
+ Changed Inst.getUsertypeDimensions so that it also returns any modifiers
from user defined types, which are then sent on to instVar2 from
instVar_dispatch when instantiating user defined types.
+ Changed some testcases to reflect that modifiers are now propagated
correctly.
+ Added testcase UsertypeModifications to explicitly test this fix.

1895 lines of code changed in 18 files:

  • testsuite/libraries/multibody: DoublePendulum.mos (+111 -111), ForceAndTorque.mos (+111 -111), FreeBody.mos (+99 -99), InitSpringConstant.mos (+87 -87), LineForceWithTwoMasses.mos (+192 -192), Pendulum.mos (+45 -45), PendulumWithSpringDamper.mos (+81 -81), PointGravity.mos (+51 -51), PointGravityWithPointMasses.mos (+51 -51), PointGravityWithPointMasses2.mos (+238 -238), RollingWheel.mos (+80 -80), RollingWheelSetDriving.mos (+191 -191), RollingWheelSetPulling.mos (+180 -180), SpringDamperSystem.mos (+108 -108), SpringMassSystem.mos (+99 -99), SpringWithMass.mos (+51 -51), ThreeSprings.mos (+93 -93), World.mos (+27 -27)
petar 2010-03-23 14:05 Rev.: 5185

-Implemented sorting of functions when printing DAE as preparation to make testsuite more robust. (All multibody tests updated because of this too)
-Changed how variability of for iterators are handled. They must be correct after the iterators have been elaborated to prevent false error messages later on. But this affects how e.g. indices are elaborated. Earlier they were always constant evaluated for const and param variability, but this is not the case when inside a for iterator scope, since the iterators do not have a value. Therefore added special scope name for for iterator scopes, and treat them separately, see Env.forIterScopeName and Static.elabSubscriptsDims2.

1741 lines of code changed in 18 files:

  • testsuite/libraries/multibody: DoublePendulum.mos (+121 -121), ForceAndTorque.mos (+119 -119), FreeBody.mos (+96 -96), InitSpringConstant.mos (+100 -100), LineForceWithTwoMasses.mos (+124 -124), Pendulum.mos (+100 -100), PendulumWithSpringDamper.mos (+107 -107), PointGravity.mos (+91 -91), PointGravityWithPointMasses.mos (+55 -55), PointGravityWithPointMasses2.mos (+104 -104), RollingWheel.mos (+94 -94), RollingWheelSetDriving.mos (+104 -104), RollingWheelSetPulling.mos (+122 -122), SpringDamperSystem.mos (+93 -93), SpringMassSystem.mos (+98 -98), SpringWithMass.mos (+98 -98), ThreeSprings.mos (+91 -91), World.mos (+24 -24)
adrpo 2010-03-17 14:43 Rev.: 5158

- Updated parser/lexer to support 'operator' and 'operator function'.
The keyword 'operator' can also be used as an identifier in several
places so we can parse the OpenModelica compiler sources. We can
change the sources and replace 'operator' with 'op' or something
similar later.
- RollingWheelSetPulling.mos now flattens without error.

1 lines of code changed in 1 file:

  • testsuite/libraries/multibody: RollingWheelSetPulling.mos (+1 -3)
sjoelund.se 2010-03-16 12:16 Rev.: 5153

- Added support for enumerations in external C functions.
+ This causes RollingWheelSetPulling.mos to print some extra warnings (because the annotations for external C functions are missing in the multibody testsuite).

3 lines of code changed in 1 file:

  • testsuite/libraries/multibody: RollingWheelSetPulling.mos (+3 -1)
sjoelund.se 2010-03-11 14:27 Rev.: 5125

- Updated multibody testcases

748 lines of code changed in 17 files:

  • testsuite/libraries/multibody: DoublePendulum.mos (+22 -16), ForceAndTorque.mos (+92 -86), FreeBody.mos (+30 -31), InitSpringConstant.mos (+22 -16), LineForceWithTwoMasses.mos (+73 -67), Pendulum.mos (+22 -16), PendulumWithSpringDamper.mos (+64 -58), PointGravity.mos (+37 -45), PointGravityWithPointMasses2.mos (+6 -7), RollingWheel.mos (+53 -47), RollingWheelSetDriving.mos (+92 -86), RollingWheelSetPulling.mos (+6), SpringDamperSystem.mos (+46 -47), SpringMassSystem.mos (+50 -44), SpringWithMass.mos (+64 -65), ThreeSprings.mos (+58 -59), _UseThisTestToMakeANewOne.mos (+11 -1)
sjoelund.se 2010-03-02 22:16 Rev.: 5069

- multibody/Makefile should be rtest -v

1 lines of code changed in 1 file:

  • testsuite/libraries/multibody: Makefile (+1 -1)
sjoelund.se 2010-03-02 17:56 Rev.: 5065

- Don't use Inst.updateCompeltsMods on DAE.NOMOD. This reduces failtrace logs.
- Updated multibody testcases.
* Changed eol-style to native.
* updateCompeltsMods caused changes in the order in which functions in the DAE were generated.

65175 lines of code changed in 20 files:

  • testsuite/libraries/multibody: DoublePendulum.mos (+3311 -3310), ForceAndTorque.mos (+4123 -4122), FreeBody.mos (+3201 -3200), InitSpringConstant.mos (+3107 -3106), LineForceWithTwoMasses.mos (+5752 -5751), Makefile (+44 -43), Pendulum.mos (+2319 -2318), PendulumWithSpringDamper.mos (+3250 -3249), PointGravity.mos (+2352 -2351), PointGravityWithPointMasses.mos (+2540 -2539), PointGravityWithPointMasses2.mos (+7564 -7563), RollingWheel.mos (+2539 -2538), RollingWheelSetDriving.mos (+4805 -4804), RollingWheelSetPulling.mos (+5043 -5042), SpringDamperSystem.mos (+4101 -4100), SpringMassSystem.mos (+3632 -3631), SpringWithMass.mos (+2389 -2388), ThreeSprings.mos (+3578 -3577), World.mos (+1524 -1523), _UseThisTestToMakeANewOne.mos (+1)
adrpo 2010-02-24 13:27 Rev.: 5032

Should be rtest -v as rtest -b will just set a baseline.

1 lines of code changed in 1 file:

  • testsuite/libraries/multibody: Makefile (+1 -1)
petar 2010-02-24 12:40 Rev.: 5029

Quite big check-in:
DAE.mo:
- added some comments to operators
DAEUtil.mo :
-added some utility functions.
Exp.mo:
-implemented simplification of cross
- fixed some bugs in simplification
- added some utility functions
Inst.mo:
- bindings on parameters and constants are now also created using makeVariableBinding, as for variables. This makes them also type converted properly as for variabeles. (This affected many flat models).
- Fixed bug in setFunctionInputIndex (used for derivative information on functions)
Lookup.mo :
- fixed bug in makeExpIntegerArray with wrong value on the scalar attribute.
Static.mo :
- made elabBuiltinCross2 public (used by Exp.simplify1)

+ a lot of updates to testsuite

65094 lines of code changed in 19 files:

  • testsuite/libraries/multibody: DoublePendulum.mos (+3310 -3310), ForceAndTorque.mos (+4123 -4123), FreeBody.mos (+3200 -3200), InitSpringConstant.mos (+3106 -3106), LineForceWithTwoMasses.mos (+5751 -5751), Makefile (+1 -1), Pendulum.mos (+2308 -2308), PendulumWithSpringDamper.mos (+3240 -3240), PointGravity.mos (+2349 -2349), PointGravityWithPointMasses.mos (+2539 -2539), PointGravityWithPointMasses2.mos (+7563 -7563), RollingWheel.mos (+2538 -2538), RollingWheelSetDriving.mos (+4804 -4804), RollingWheelSetPulling.mos (+5043 -5043), SpringDamperSystem.mos (+4100 -4100), SpringMassSystem.mos (+3631 -3631), SpringWithMass.mos (+2388 -2388), ThreeSprings.mos (+3577 -3577), World.mos (+1523 -1523)
Frenkel TUD 2010-02-23 21:05 Rev.: 5022

- undo more simplification (Rev 5008) because speedup is less than 1%, so numerical stability will be preferred

106 lines of code changed in 7 files:

  • testsuite/libraries/multibody: DoublePendulum.mos (+24 -24), ForceAndTorque.mos (+16 -16), InitSpringConstant.mos (+3 -3), LineForceWithTwoMasses.mos (+36 -36), Pendulum.mos (+13 -13), PendulumWithSpringDamper.mos (+12 -12), PointGravity.mos (+2 -2)
Frenkel TUD 2010-02-19 19:30 Rev.: 5008

- do a bit more simplification

106 lines of code changed in 7 files:

  • testsuite/libraries/multibody: DoublePendulum.mos (+24 -24), ForceAndTorque.mos (+16 -16), InitSpringConstant.mos (+3 -3), LineForceWithTwoMasses.mos (+36 -36), Pendulum.mos (+13 -13), PendulumWithSpringDamper.mos (+12 -12), PointGravity.mos (+2 -2)
adrpo 2010-02-18 16:20 Rev.: 4993

- fixed for bug [#1175] (https://openmodelica.org:8443/cb/issue/1175?navigation=true)
instantiateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum);
wrongly gives errors:
Error: Variable body.sequence_start[1] not found in scope <global scope>
Error: No constant value for variable body.sequence_start[1] in scope <global scope>.
Error: Variable body.sequence_angleStates[1] not found in scope <global scope>
Error: No constant value for variable body.sequence_angleStates[1] in scope <global scope>.

- the problem was in Inst.mo, Inst.instEqEquation2 where the call:
Ceval.ceval(Env.emptyCache(),Env.emptyEnv, e2, false, NONE, NONE, Ceval.MSG());
gets no env(ironment) and no cache and is required to print error messages via Ceval.MSG().
Or course error messages will be printed as lookup and constant evaluation of
any component references will fail without any environment.

- updated all testsuite/library/multibody/*.mos

34 lines of code changed in 16 files:

  • testsuite/libraries/multibody: DoublePendulum.mos (+1 -33), ForceAndTorque.mos (+1 -33), FreeBody.mos (+1 -5), InitSpringConstant.mos (+1 -9), LineForceWithTwoMasses.mos (+1 -49), Pendulum.mos (+10 -18), PendulumWithSpringDamper.mos (+9 -21), PointGravity.mos (+2 -12), PointGravityWithPointMasses2.mos (+1 -29), RollingWheel.mos (+1 -9), RollingWheelSetDriving.mos (+1 -23), RollingWheelSetPulling.mos (+1 -23), SpringDamperSystem.mos (+1 -11), SpringMassSystem.mos (+1 -11), SpringWithMass.mos (+1 -5), ThreeSprings.mos (+1 -5)
adrpo 2010-02-18 03:03 Rev.: 4983

- update the testing of MultiBody Elementary models
- updated rtest to use grep instead of egrep because:
system "egrep -s '^#|Execution failed!' $log";
would *wrongly* succeed if $log contains word "failed"

17932 lines of code changed in 20 files:

  • testsuite/libraries/multibody: DoublePendulum.mos (+697 -356), ForceAndTorque.mos (+804 -426), FreeBody.mos (+671 -343), InitSpringConstant.mos (+692 -354), LineForceWithTwoMasses.mos (+968 -552), Makefile (+2 -1), Pendulum.mos (+617 -322), PendulumWithSpringDamper.mos (+735 -374), PointGravity.mos (+602 -322), PointGravityWithPointMasses.mos (+528 -341), PointGravityWithPointMasses2.mos (+2225 -1809), RollingWheel.mos (+1138 -842), RollingWheelSetDriving.mos (+972 -634), RollingWheelSetPulling.mos (+1183 -799), SpringDamperSystem.mos (+808 -444), SpringMassSystem.mos (+721 -409), SpringWithMass.mos (+626 -310), ThreeSprings.mos (+3580 -14), World.mos (+362 -277), rtest (+1 -1)
adrpo 2010-01-28 10:23 Rev.: 4872

- updates to testsuite/libraries/multibody/* models as now we don't have the
(s) modifier not found in Real error.
- updates to Makefile.common.w32

3 lines of code changed in 3 files:

  • testsuite/libraries/multibody: PendulumWithSpringDamper.mos (+1 -13), SpringDamperSystem.mos (+1 -7), SpringMassSystem.mos (+1 -13)
adrpo 2010-01-21 04:39 Rev.: 4834

- added all Elementary models to the testsuite/libraries/multibody/ directory:
- all of them but one (ThreeSprings.mos) can flatten
- most of them can also be checked for balancing and they are balanced
- checkModel cannot be run on these:
FreeBody.mos
LineForceWithTwoMasses.mos
PointGravity.mos
PointGravityWithPointMasses2.mos
RollingWheelSetDriving.mos
RollingWheelSetPulling.mos
SpringDamperSystem.mos
SpringMassSystem.mos
SpringWithMass.mos
as we don't support implicit equations in if branches.
- actually we should be able to run checkModel on these too if we constant evaluate the
parameters in the condition of each if equation and select the corresponding branch
but we don't support Evaluate=true annotation yet.
- these tests take some time to run ~15 minutes so we
should really make the compiler run faster on them.
- the models: PendulumWithSpringDamper.mos, SpringDamperSystem.mos, SpringMassSystem.mos
display errors but they flatten/check fine. these errors are on my todo list.

56405 lines of code changed in 18 files:

  • testsuite/libraries/multibody: DoublePendulum.mos (new 3001), ForceAndTorque.mos (new 3777), FreeBody.mos (new 2876), InitSpringConstant.mos (new 2776), LineForceWithTwoMasses.mos (new 5383), Pendulum.mos (new 2031), PendulumWithSpringDamper.mos (new 2912), PointGravity.mos (new 2081), PointGravityWithPointMasses.mos (new 2352), PointGravityWithPointMasses2.mos (new 7175), RollingWheel.mos (new 2250), RollingWheelSetDriving.mos (new 4488), RollingWheelSetPulling.mos (new 4681), SpringDamperSystem.mos (new 3752), SpringMassSystem.mos (new 3341), SpringWithMass.mos (new 2076), ThreeSprings.mos (new 15), World.mos (new 1438)
adrpo 2010-01-21 04:29 Rev.: 4833

- added testsuite/libraries/multibody/rtest script

2 lines of code changed in 1 file:

  • testsuite/libraries/multibody: rtest (new 2)
adrpo 2010-01-21 04:26 Rev.: 4831

- new testsuite/libraries directory for storing library tests
- new testsuite/libraries/multibody directory for MultiBody tests
- Makefiles for running library tests
- added a total model for the MultiBody.Examples.Elementary models: _ElementaryTotal.mo
- added a example test: _UseThisTestToMakeANewOne.mos

42 lines of code changed in 3 files:

  • testsuite/libraries/multibody: Makefile (new 42), _ElementaryTotal.mo (new), _UseThisTestToMakeANewOne.mos (new)
Generated by StatSVN 0.7.0