Directory testsuite/libraries/multibody/checkingModels/

Directory Created:
2010-07-20 17:20
Directory Deleted:
2012-10-08 11:17
Total Files:
0
Deleted Files:
3
Lines of Code:
0

[root]/testsuite/libraries/multibody/checkingModels

Lines of Code

testsuite/libraries/multibody/checkingModels/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 65 (100.0%) 28002 (100.0%) 430.8
sjoelund.se 26 (40.0%) 13394 (47.8%) 515.1
petar 3 (4.6%) 8369 (29.9%) 2789.6
adrpo 6 (9.2%) 2977 (10.6%) 496.1
perost 15 (23.1%) 2957 (10.6%) 197.1
mahge930 2 (3.1%) 293 (1.0%) 146.5
Frenkel TUD 10 (15.4%) 12 (0.0%) 1.2
alash325 3 (4.6%) 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 3 files:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (del), BodyCylinderTotal.mo (del), Makefile (del)
perost 2012-09-27 17:35 Rev.: 13078

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

289 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+289 -289)
sjoelund.se 2012-09-19 14:11 Rev.: 12975

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

124 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+124 -201)
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

289 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+289 -289)
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.

1 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.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.

2 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+2 -2)
sjoelund.se 2012-08-03 13:30 Rev.: 12421

#1767
- Marked strings for translation in Error.mo
- Removed some useless whitespace from a few error-messages

10 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+10 -26)
Frenkel TUD 2012-06-28 18:05 Rev.: 12234

- fix tests

2 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+2 -2)
perost 2012-05-10 14:06 Rev.: 11885

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

749 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+749 -749)
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.

30 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+30 -30)
Frenkel TUD 2012-04-27 11:08 Rev.: 11813

- fix testsuite

0 lines of code changed in 1 file:

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

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

2 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+2 -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

1 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.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.

308 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+308 -308)
sjoelund.se 2012-03-26 15:42 Rev.: 11548

- Conversion to UTF-8

2 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinderTotal.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)

27 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: Makefile (+27 -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/checkingModels: BodyCylinderTotal.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.

266 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+266 -530)
adrpo 2011-11-30 07:11 Rev.: 10604

HUGE update to SVN with *a lot* of changes: DO MAKE CLEAN!
==========================================================
- The DAE.ExpType is *no more*
- The BackendDAE.Type is *no more*
Both got replaced by DAE.Type!
- The DAE.ExpVar is *no more*
It got replaced by DAE.Var!
Now we have *ONLY ONE* type in the compiler: DAE.Type!


Just to know why I got this done:

BEFORE, the model HumMod took 6m51 seconds to instantiate
adrpo@ida-liu050 ~/dev/OpenModelica/doc/performance/benchmarks/tests
$ time /c/OpenModelica1.8.0-r10584/bin/omc instHumMod.mos > trace.txt 2>&1
real 6m51.354s
user 0m0.000s
sys 0m0.015s

AFTER, the model HumMod takes 47 seconds to instantiate
adrpo@ida-liu050 ~/dev/OpenModelica/doc/performance/benchmarks/tests
$ time ../../../../build/bin/omc instHumMod.mos > mytrace.txt 2>&1
real 0m47.248s
user 0m0.000s
sys 0m0.000s

Is about 8,74468085106383 times faster now.
Basically, before, we were doing DAE.T_*
-> DAE.ET_* translation for 6 minutes!

I started this work on Friday after the OpenModelica 1.8.0
got released, so for 4+ days of work I think the result is
quite OK.



Crash course into the new types (actually old ones from DAE.Type):
==================================================================

1. DAE.Type is not a tuple anymore, instead the optional path
became DAE.TypeSource which is a list of paths and is now
part of *all* the records in DAE.Type.

The needed types from DAE.ExpType got merged into DAE.Type:
DAE.ET_METATYPE -> DAE.T_METATYPE
DAE.ET_FUNCTION_REFERENCE_VAR -> DAE.T_FUNCTION_REFERENCE_VAR
DAE.ET_FUNCTION_REFERENCE_FUNC -> DAE.T_FUNCTION_REFERENCE_FUNC

Some DAE.Type types got split:
DAE.T_COMPLEX split into DAE.T_COMPLEX for types not extending
basic types and DAE.T_SUBTYPE_BASIC is now used for types
extending basic types.

Some DAE.Type types changed name:
DAE.T_NOTYPE -> DAE.T_UNKNOWN
Renamed also the meta-types a bit to make them more homogeneous.

Some DAE.ExpType are gone:
DAE.ET_OTHER is gone, use DAE.T_UNKNOWN instead!

Some DAE.Type types changed structure (besides the DAE.TypeSource addition):
(DAE.T_ARRAY(dim, ty), optPath) -> DAE.T_ARRAY(ty, list<dim>, list<Path>)
so we now have similar structure for DAE.T_ARRAY and the previous DAE.ET_ARRAY.


2. In cases, when matching:
Instead of | Use now:
-------------------------------------------------------
DAE.ET_INT() | DAE.T_INTEGER(source = _)
DAE.ET_REAL() | DAE.T_REAL(source = _)
DAE.ET_BOOL() | DAE.T_BOOL(source = _)
DAE.ET_STRING() | DAE.T_STRING(source = _)
DAE.ET_ENUMERATION(...) | DAE.T_ENUMERATION(...)
DAE.ET_COMPLEX(...) | DAE.T_COMPLEX(...)
DAE.ET_OTHER(...) | DAE.T_UNKNOWN(source = _)
DAE.ET_ARRAY(...) | DAE.T_ARRAY(...)
-------------------------------------------------------

3. When constructing values, in the then part or in right
hand side in equations:
Instead of | Use now:
-------------------------------------------------------
DAE.ET_INT() | DAE.T_INTEGER_DEFAULT
DAE.ET_REAL() | DAE.T_REAL_DEFAULT
DAE.ET_BOOL() | DAE.T_BOOL_DEFAULT
DAE.ET_STRING() | DAE.T_STRING_DEFAULT
DAE.ET_ENUMERATION(...) | DAE.T_ENUMERATION(...)
DAE.ET_COMPLEX(...) | DAE.T_COMPLEX(...)
DAE.ET_OTHER(...) | DAE.T_UNKNOWN(source = _)
DAE.ET_ARRAY(...) | DAE.T_ARRAY(...)
-------------------------------------------------------

4. Types.elabType got renamed to Types.simplifyType
and does some type simplification (instead of the
previous DAE.T_* -> DAE.ET_* translation).

Feel free to ask me anything if something is unclear.

The code can be further improved (we need better handling
of DAE.T_ARRAY that has several dimensions instead of one)
by getting rid of Types.simplifyType/Types.expTypetoTypesType,
but for now is good enough. Also, functionality for the old
DAE.ET_* handling from Expression*.mo can be merged with the
DAE.T_ handling from Types so we can get rid of duplicate
code too.

1 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+1 -1)
sjoelund.se 2011-11-29 11:51 Rev.: 10594

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

12 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+12 -12)
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

14 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+14 -14)
sjoelund.se 2011-11-25 10:23 Rev.: 10576

- Expected output

350 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+350 -350)
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

2782 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+2782 -2782)
perost 2011-10-07 10:30 Rev.: 10039

- Fixed testsuite.

9 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+9 -9)
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

4 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+4 -4)
perost 2011-09-15 11:29 Rev.: 9822

- Added check for public non-formal function parameters, and fixed the compiler
code and test cases.

5 lines of code changed in 2 files:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+4 -4), BodyCylinderTotal.mo (+1)
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).

4 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+4 -4)
perost 2011-08-30 09:18 Rev.: 9712

- Reimplemented connection handling to be more efficient.

76 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+76 -76)
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]

171 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+171 -171)
sjoelund.se 2011-05-30 13:40 Rev.: 9179

- Add simplification (e*e1)+(e*e2) => e*(e1+e2) (for +/- and swapping argument order)

3 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+3 -3)
sjoelund.se 2011-05-30 12:24 Rev.: 9178

- Changed order of some simplifications (commutative rules)

2 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+2 -2)
sjoelund.se 2011-05-30 11:26 Rev.: 9175

- Added ExpressionSimplify.simplifyBinaryCommutative
- To be used for commutative rules so we do not forget these cases in the future

2 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+2 -2)
sjoelund.se 2011-05-22 12:51 Rev.: 9069

- Added rule to simplify x+x+x-x-x=x

15 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+15 -15)
perost 2011-05-09 12:43 Rev.: 8883

Fix for big #1224:
- Added dumping of function comments to DAEDump.
- Updated test suit.

28 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+28 -28)
perost 2011-05-09 09:17 Rev.: 8879

Fix for bug #1492:
- Only propagate final prefix if the component is declared final.

28 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+28 -28)
Frenkel TUD 2011-05-03 17:59 Rev.: 8792

- CevalSrcipt use BackendDAEOptimize.countSimpleEquations for checkModel (speedup testsuite)

1 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+1 -1)
Frenkel TUD 2011-04-19 17:03 Rev.: 8704

- bugfix removeSimpleEquation, do not remove toplevel inputs

1 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+1 -1)
adrpo 2011-04-16 23:22 Rev.: 8675

Fixes to bug: #1488
- propagate final correctly to the back-end and the DAE.
- testsuite/mosfiles/FinalPropagation.mos

33 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+33 -33)
Frenkel TUD 2011-04-14 19:09 Rev.: 8647

- BackendDAEOptimize.mo:
- remove old remove simple Equation
- add remove equal function calls equations module
- use new remove simple Equation for Linearization
- BackEnd/BackendDAEUtil.mo
- change incidenceMatrix, now it generates the incidenceMatrix and the transposed incidenceMatrix at once
- use removeFinalParameters,removeEqualFunctionCalls,removeSimpleEquations,expandDerOperator as default preOptModules
- BackendDump.mo: add function debuglst
- update testsuite

1 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+1 -1)
sjoelund.se 2011-04-08 09:45 Rev.: 8545

- Use simplify1 instead of simplify in many places of the FrontEnd
- simplify now returns a Boolean that signifies if the expression has changed

396 lines of code changed in 1 file:

  • testsuite/libraries/multibody/checkingModels: BodyCylinder.mos (+396 -396)

(19 more)

Generated by StatSVN 0.7.0