[root]/testsuite/mosfiles-msl22
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 528 (100.0%) | 25044 (100.0%) | 47.4 |
sjoelund.se | 309 (58.5%) | 23471 (93.7%) | 75.9 |
wbraun | 54 (10.2%) | 1184 (4.7%) | 21.9 |
adrpo | 58 (11.0%) | 283 (1.1%) | 4.8 |
perost | 28 (5.3%) | 38 (0.2%) | 1.3 |
mahge930 | 1 (0.2%) | 28 (0.1%) | 28.0 |
jfrenkel | 1 (0.2%) | 26 (0.1%) | 26.0 |
Frenkel TUD | 8 (1.5%) | 14 (0.1%) | 1.7 |
alash325 | 69 (13.1%) | 0 (0.0%) | 0.0 |
_Moved mosfiles-msl22 from testsuite to simulation/modelica/ and renamed to msl22 plus update the Makefile
0 lines of code changed in 69 files:
- changed event handling with dassl
- while every dassl step the ZeroCrossings are tested
- changed many results, since now the simulation is more accurate
- changed the check for Modelica assert, now some models produce warnings
for variables outside min and max values
3 lines of code changed in 2 files:
- fix tests
26 lines of code changed in 1 file:
- assume these results are more correct than the ones before.
26 lines of code changed in 1 file:
- fix tests
0 lines of code changed in 2 files:
- fix tests
6 lines of code changed in 2 files:
- Added simulate(..., simflags="flags") option. It will be passed to the simulation executable in the future
207 lines of code changed in 33 files:
- implement new remove simple equation modules (removeSimpleEquationsFast,removeSimpleEquationsPast) speed up around 40% for backend
- use IncidenceMatrix BackendDAE.SOLVABLE for Matching
- function vararrayList is protected use BackendDAEUtil.varList
- fix tests
3 lines of code changed in 2 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)
28 lines of code changed in 1 file:
- Set svn-eol-style on a few files
7 lines of code changed in 7 files:
- Switch to new SimulationRuntime as default SimulationRuntime.
- all simulation tests work as before.
- This will break interactive and qss stuff.
4 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
144 lines of code changed in 33 files:
- Added a flag to OMC, +std, to set the Modelica language version to use. API
calls setLanguageStandard and getLanguageStandard are also implemented for
this.
- The Modelica language version is now set automatically if a specific version
of the MSL is loaded, and gives a notification if the version has changed.
- Added new package RTOptsData, which contains data types and some functions
which can't be in RTOpts since RML doesn't allow mixing external and
non-external things.
- Turned on error messages for replaceable base classes if Modelica version is
at least 3.0.
- Turned on balance checking of connectors if Modelica version is at least 3.0.
- Updated test suite, and added a new test case redeclare/ReplaceableBaseClass.
24 lines of code changed in 24 files:
- Expected input/output
4 lines of code changed in 4 files:
- Split InitTest2.mos into multiple files
1432 lines of code changed in 5 files:
- added bugfix for dassl tolerance
- added relative comparison for testsuite
3 lines of code changed in 1 file:
- 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
25 lines of code changed in 29 files:
- added fix for Bug [# 1508] terminal() support.
- moved mosfiles-msl22/LossyGear1.mos to failingtest
1 lines of code changed in 1 file:
- Enabled SCodeFlatten by default.
- Updated the test suite to comply with SCodeFlatten.
1 lines of code changed in 1 file:
- Changed Absyn.pathString to add a dot in front of fully qualified paths.
- Added Absyn.pathStringNoQual with the old pathString behaviour, and replaced
calls to pathString in some places that depended on the old behaviour of
pathString.
- Updated test suite.
5 lines of code changed in 1 file:
- fixes to c_runtime so no more crashes on Windows (even better on Linux)!
- matrix.h (double assigned to modelica_boolean)
*loc_ptrs[i]=values[cur_value_indx*size+i];
loc_ptrs is a array of pointers to doubles which is set to addresses of
modelica_boolean then at those addresses a double is copied (values is a double array)
- other files
+ initialize most variables to 0 or NULL or "".
- flagSet now returns integer instead of bool!
- fixes interactiveSimuation -> interactiveSimulation.
5 lines of code changed in 1 file:
- added some bugfixes for initialization and update some testcase to currect values
1 lines of code changed in 1 file:
- use removeFinalParameters,removeSimpleEquationsX,expandDerOperator as default preoptModules
- use lateInline,inlineArrayEqn,removeSimpleEquationsX as default pastoptModules
5 lines of code changed in 2 files:
- Added simulate() option cflags = ""
- Also added a field for this in the OMEdit simulation widget
45 lines of code changed in 33 files:
- added bugfix for parameter initialization and activated the testcase
- added and changed some debug flag in matrix.h for LOG_NONLINSYS
17 lines of code changed in 1 file:
- for testsuite mosfiles-msl22 separated and actived some tests (initialization)
- clean up testsuite
- deactived print call in BackendQSS.mo, since it break the testsuite
1084 lines of code changed in 29 files:
- more cleanup
1 lines of code changed in 1 file:
- use teardown command as we cannot remove .mat files using rm -f while they are in use.
8 lines of code changed in 2 files:
- Bugfixes for RemoveSimpleEquations
- Bugfixes for Intialization
- Support for Alias Vars in result files
5 lines of code changed in 2 files:
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.
14 lines of code changed in 5 files:
- removed old dassl solver
- adjust testsuite
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
40 lines of code changed in 29 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
85 lines of code changed in 31 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.
2 lines of code changed in 2 files:
- Fixed expected output of some tests due to commit 7973.
- Removed duplicate elements in msl221.
8 lines of code changed in 2 files:
- changed default solver to dassl2 (or from now it's called dassl)
- for now old default solver renamed to dasslold
48 lines of code changed in 8 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)
86 lines of code changed in 28 files:
- Split rotationalgears into 4 tests (2 of which still fail)
153 lines of code changed in 5 files:
- Split blockssystems.mos into multiple tests
183 lines of code changed in 7 files:
- Split rotationalspringinertia into several tests
207 lines of code changed in 8 files:
(12 more)