[root]/testsuite/libraries/multibody
checkingModels
(0 files, 0 lines)
elementary
(0 files, 0 lines)
loops
(0 files, 0 lines)
rotational3deffects
(0 files, 0 lines)
systems
(0 files, 0 lines)
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 |
-- 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:
+ 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:
- update tests due to more trivial equation detection.
4 lines of code changed in 1 file:
- Fix svn-eol-style on Makefiles
1 lines of code changed in 1 file:
- added MultiBody.Examples.Rotational3DEffects tests to the testsuite
6 lines of code changed in 1 file:
- 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:
- updating due to function sorting difference
14 lines of code changed in 1 file:
- 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:
- 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:
- updates due to fixes of Connections.isRoot evaluation.
19 lines of code changed in 5 files:
- 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:
- 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:
Modified rtest in multibody to interpret RTEST_OMCFLAGS flag.
7 lines of code changed in 1 file:
- 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:
- 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:
-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:
- 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:
- 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:
- Updated multibody testcases
748 lines of code changed in 17 files:
- multibody/Makefile should be rtest -v
1 lines of code changed in 1 file:
- 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:
Should be rtest -v as rtest -b will just set a baseline.
1 lines of code changed in 1 file:
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:
- 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:
- do a bit more simplification
106 lines of code changed in 7 files:
- 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:
- 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:
- 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:
- 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:
- added testsuite/libraries/multibody/rtest script
2 lines of code changed in 1 file:
- 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: