[root]/testsuite/libraries/msl221/Mechanics
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 198 (100.0%) | 12022 (100.0%) | 60.7 |
stebr461 | 30 (15.2%) | 7580 (63.1%) | 252.6 |
sjoelund.se | 102 (51.5%) | 1522 (12.7%) | 14.9 |
adrpo | 21 (10.6%) | 1324 (11.0%) | 63.0 |
wbraun | 13 (6.6%) | 1103 (9.2%) | 84.8 |
Frenkel TUD | 2 (1.0%) | 344 (2.9%) | 172.0 |
perost | 14 (7.1%) | 126 (1.0%) | 9.0 |
mahge930 | 1 (0.5%) | 23 (0.2%) | 23.0 |
alash325 | 15 (7.6%) | 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 15 files:
- BackendDAEOptimize: doReplaceScalarArrayEqns more generic
- BackendDAETransform: simplify code, use stateorder for differentiated equations
- PlanarMechanics: set initialconditions
- Update testsuite
176 lines of code changed in 1 file:
- Added simulate(..., simflags="flags") option. It will be passed to the simulation executable in the future
906 lines of code changed in 8 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)
23 lines of code changed in 1 file:
- 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
913 lines of code changed in 8 files:
- added bugfix for dassl tolerance
- added relative comparison for testsuite
488 lines of code changed in 3 files:
- Changed the installed library structure to omlibrary/Modelica 3.1 instead of omlibrary/msl31/Modelica
- Testcases now use loadModel(Modelica,{"3.1"}), etc, instead of env.vars
14 lines of code changed in 14 files:
- add heuristic state selction rule "state=var+param"
- Expression.mo: add function traverseCrefsFromExp
- fix testsuite
168 lines of code changed in 1 file:
- added some bugfixes for initialization and update some testcase to currect values
4 lines of code changed in 3 files:
- Added simulate() option cflags = ""
- Also added a field for this in the OMEdit simulation widget
7 lines of code changed in 7 files:
- Bugfixes for RemoveSimpleEquations
- Bugfixes for Intialization
- Support for Alias Vars in result files
1 lines of code changed in 1 file:
BackendDAECreate.mo:
- deactivated minmax and nominal assert, due to the fact that Bug [# 1454] is caused.
SimCodeC.tpl:
- changed measure_time_flag to be able activate it by simulation flag "-v"
SimCode.mo:
- added case for generation only the "jacobian" dg/dx with debug flag "+d=jacobian"
BackendDAEOptimize.mo:
- adjusted to SimCode.mo "+d=jacobian"
solver_main.cpp and simulation_runtime.cpp:
- activated "euler" solver again, was deactived for some reason.
- added additional solver names : "dassljac" and "dasslnum" for using a symbolic jacobian and own numerical jacobian in dassl.
- clean up some things.
testsuite:
- deactivated some tests that initialise wrong, due to the Bug [# 1455]
- update some tests to correct results.
2 lines of code changed in 1 file:
- Added simulate() option measureTime=false
- Not used for now, but will replace the -mt option of simulation executables
7 lines of code changed in 7 files:
- Updated the default outputFormat of simulations to be .mat
- Only mosfiles-dassl/Sample2.mos changed its output; this seems to be because we have an event at the last time-step. I'll see if we can change the interpolation to always find the right limit
20 lines of code changed in 13 files:
- bugfix in differentiation rule for abs()
- added some improvments in the c_runtime
- adjust the SimCodeC.tpl for the c_runtime
- adjust some testcase and moved some from msl221 examples to failed testcase, because they not simulate correctly anyway.
1 lines of code changed in 1 file:
- changed default solver to dassl2 (or from now it's called dassl)
- for now old default solver renamed to dasslold
607 lines of code changed in 4 files:
- Added option variableFilter to translate/buildModel/simulate commands/simulation runtime
- This argument is a regular expression; any variable that matches this expression is present in the result file
- The default value is ".*", which matches _any_ variable
- The regex provided is treated as: ^(%regex%)$, i.e. you are forced to write regular expressions that match the complete name (no substring matches)
- Currently only implemented for plt/csv formats with mat coming in the near future
- Added an error message when a uniontype record contains a field that has the type of a uniontype record instead of a uniontype (this is more specific than the type mismatch error that used to be provided)
57 lines of code changed in 7 files:
- Changed SCode.COMPONENT to have an Absyn.Info instead of an Option<Absyn.Info>.
- Changed print to proper error message in SCodeEnv.avlTreeAdd2.
- Updated some test cases due to better error messages.
100 lines of code changed in 1 file:
- Use teardown_command for msl221/Mechanics tests
14 lines of code changed in 14 files:
#1217
- Added MSL2 Modelica.Mechanics.Translational.Examples.Friction simulation testcase to the testsuite
251 lines of code changed in 2 files:
#1388
- Absyn->SCode now checks if duplicate classes have been defined in the top-level scope
- This includes a check for duplicate builtin classes
- Added testcase ErrorMultipleClasses.mo
- Removed a duplicate definition in Constants.mo
168 lines of code changed in 1 file:
- updates to simulations due to changes in c_runtime and back-end.
21 lines of code changed in 1 file:
- forgot changing back from -b to -v
1 lines of code changed in 1 file:
- updates of tests due to changes in trival equation counting.
184 lines of code changed in 5 files:
- added API: getExperimentAnnotation and getSimulationOptions
Example:
getExperimentAnnotation(Modelica.Blocks.Examples.PID_Controller);
getSimulationOptions(Modelica.Blocks.Examples.PID_Controller);
simulate(Modelica.Blocks.Examples.PID_Controller, outputFormat="empty");
Result:
{StopTime=4}
{0.0, 4.0, 500, 1e-06, "dassl", "Modelica.Blocks.Examples.PID_Controller", false, false, "", "plt"}
/* startTime, stopTime, numberOfIntervals, tolerance, method, fileNamePrefix, storeInTemp, noClean, options, outputFormat */
- now the simulate(Model, ...) will read the experiment annotation from the model if there is any and use these settings.
- updated SimulationRecord to display simulation options.
- updated tests to suite the new SimulationRecord.
- added a generic COMPILER_WARNING in Error.mo and function Error.addCompilerWarning
205 lines of code changed in 6 files:
Fixes for bug #1121:
- Removed index from DAE.ET_ENUMERATION, since it no longer needed due to
DAE.ENUM_LITERAL.
- Split the list of variables in DAE.T_ENUMERATION into one list containing
literals and one containing attributes.
- Implemented enum->Real implicit type casting.
- Fixed connect with enumeration variables.
- Fixed so that enumerations are basic types.
- Static.elabCref now takes the variables subscripts into account when
determining it's variability.
- Added utility function Util.isPrefixListComp.
- Removed testsuite/mofiles/rtestsim, since it's not used.
- Updated test cases and enabled the Modelica.Electrical.Digital tests.
2 lines of code changed in 1 file:
- Added /libraries - a common place for the Modelica libraries we test OpenModelica against
- It is possible to switch between Modelica versions using the following environments:
- OPENMODELICALIBRARY=/libraries/msl221:/libraries/common
- OPENMODELICALIBRARY=/libraries/msl31:/libraries/common
- (Separate with ; on Windows platforms)
- Moved /libraries/testsuite/libraries/ ... msl221 msl31 BioChem to /libraries
- Added ModelicaAdditions, SimpleFluid to /libraries
- Updated testcases to reflect these changes (testcases that load MSL now use loadModel)
28 lines of code changed in 14 files:
- Fix svn-eol-style on Makefiles
36 lines of code changed in 1 file:
- Implemented option to output annotations in flat modelica.
- Cleaned up Interactive.evaluateGraphicalApi to make it easier to maintain.
- Updated some msl221 test cases that are normally not run, due to Martins
recent changes.
24 lines of code changed in 12 files:
- Added Unix make target "fix-svn-eol-style"
- Fixed line ending for all .mo and .mos-files in Compiler/ and testsuite/
14 lines of code changed in 14 files:
- 2 new targets have been added to msl221/Makefile: sim and simfailingtest
31 lines of code changed in 15 files:
- Moved the simulation tests in msl into separate directories
7549 lines of code changed in 15 files: