[root]/testsuite/modelicaML
BouncingBallExample
(0 files, 0 lines)
ModelicaMLModel
(0 files, 0 lines)
Design
(0 files, 0 lines)
Requirements
(0 files, 0 lines)
Simulations
(0 files, 0 lines)
TrafficLight
(0 files, 0 lines)
TwoTanksSystemExample
(0 files, 0 lines)
Design
(0 files, 0 lines)
Library
(0 files, 0 lines)
CalculationModels
(0 files, 0 lines)
Two_Tanks_System
(0 files, 0 lines)
Components
(0 files, 0 lines)
Interfaces
(0 files, 0 lines)
Requirements
(0 files, 0 lines)
Simulations
(0 files, 0 lines)
WatchDogSystem
(0 files, 0 lines)
Requirements
(0 files, 0 lines)
SystemDesign
(0 files, 0 lines)
AlarmSystem_Components
(0 files, 0 lines)
Interfaces
(0 files, 0 lines)
SystemSimulations
(0 files, 0 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 65 (100.0%) | 410 (100.0%) | 6.3 |
wbraun | 13 (20.0%) | 264 (64.4%) | 20.3 |
sjoelund.se | 32 (49.2%) | 79 (19.3%) | 2.4 |
mahge930 | 1 (1.5%) | 35 (8.5%) | 35.0 |
adrpo | 11 (16.9%) | 30 (7.3%) | 2.7 |
perost | 2 (3.1%) | 2 (0.5%) | 1.0 |
alash325 | 6 (9.2%) | 0 (0.0%) | 0.0 |
--ModelicaML directory is moved from testsuite to openmodelica directory and update Makefile
0 lines of code changed in 6 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
6 lines of code changed in 3 files:
- Fix for runtest.pl
2 lines of code changed in 1 file:
- Bootstrapping
- Expected output
4 lines of code changed in 2 files:
- Fix test as the directory-structure was bogus
4 lines of code changed in 1 file:
- Added simulate(..., simflags="flags") option. It will be passed to the simulation executable in the future
23 lines of code changed in 6 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)
35 lines of code changed in 1 file:
- Set svn-eol-style on a few files
1 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
24 lines of code changed in 5 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.
2 lines of code changed in 2 files:
- added workaround for algorithms from modelicaML models
- added also a testcase for that issue
35 lines of code changed in 2 files:
- BIG CHANGE!
- generate Model_init.xml instead of Model_init.txt
- clean objects in Model.makefile before compiling (Make doesn't seem to get that
Model.c is newer than Model.o if we issue two simulate commands for the same model,
even if the model changed via loadFile.)
- check the result of fflush in systemimpl.c and printimpl.c
- fflush in c_runtime/linearize.cpp
- added c_runtime/simulation_input_xml.h and cpp to read the Model_init.xml file.
- link the generated code with the XML parser library -lexpat as libc_runtime needs it now
- Model.c and Model_init.xml will now contain a GUID which is used in c_runtime/simulation_input_xml.cpp
to check if the Model_init.xml is matched with Model.c (Model.exe)
- The Model_init.xml is based on FMI but with much more information that we need for OMC.
- The Model_init.xml file it has no schema yet as it may change in the near future to include
more things that are now static in the generated code (Model.c). This will make compilation
of generated code faster.
- disabled testsuite/interactive-simulation/runInteractiveSimulation.mos and added only a
compilation test (more work is needed to make the run test more robust).
- updated tests and compiler files with the name change from _init.txt to _init.xml.
1 lines of code changed in 1 file:
- Added simulate() option cflags = ""
- Also added a field for this in the OMEdit simulation widget
4 lines of code changed in 4 files:
- for testsuite mosfiles-msl22 separated and actived some tests (initialization)
- clean up testsuite
- deactived print call in BackendQSS.mo, since it break the testsuite
2 lines of code changed in 2 files:
- Fixed line endings of several files
5 lines of code changed in 5 files:
- Added simulate() option measureTime=false
- Not used for now, but will replace the -mt option of simulation executables
4 lines of code changed in 4 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
9 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)
23 lines of code changed in 4 files:
- fixes for testsuite dassl2 and modelicaML
- rewrote assert and terminate process for solver
- added function checkForAsserts()
- added asserts for sqrt(<0)
changes in detail:
- boolean_array.* -- added function for print modelica boolean
- options.cpp -- fix bug for using options in simulation programm
- simulations_events.* -- rewrote searching process
- simulations_runtime.cpp -- added flag for solver switch (-s <solvername>)
- solver_main.cpp -- adjustments to other changes
- BackendDAEUtil.mo -- check RELATION for discrete Variables
- SimCode.mo -- added searching for sqrt-asserts, some other adjustments
- testsuite -- adjustments
15 lines of code changed in 1 file:
- 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
4 lines of code changed in 4 files:
- fix a rm -f complain on Windows
1 lines of code changed in 1 file:
- added tests for modelicaML
- correct test_05 in linearization
206 lines of code changed in 5 files: