[root]/testsuite/interactive-simulation
TwoTanks
(0 files, 0 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 51 (100.0%) | 1725 (100.0%) | 33.8 |
adrpo | 31 (60.8%) | 1663 (96.4%) | 53.6 |
mahge930 | 1 (2.0%) | 34 (2.0%) | 34.0 |
sjoelund.se | 9 (17.6%) | 27 (1.6%) | 3.0 |
wbraun | 1 (2.0%) | 1 (0.1%) | 1.0 |
alash325 | 9 (17.6%) | 0 (0.0%) | 0.0 |
- Move interactive-simulation test files to testsuite/openmodelica
0 lines of code changed in 9 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)
34 lines of code changed in 1 file:
- GOT RID OF the old trunk/c_runtime and old templates SimCodeC.tpl/SimCodeFMU.tpl
- HIGHLY RECOMMENDED make clean
- renamed SimCodeXXX.tpl CodegenXXX.tpl
- merged the needed things from SimCodeC.tpl into CodegenQSS.tpl.
- all tests except the usual mishaps go.
- targeted all trunk/c_runtime references used in
Makefiles / C (Qt OMPlot) / Other files to their SimulationRuntime/ counterparts.
6 lines of code changed in 3 files:
- Set svn-eol-style on a few files
1 lines of code changed in 1 file:
- Switch to new SimulationRuntime as default SimulationRuntime.
- all simulation tests work as before.
- This will break interactive and qss stuff.
1 lines of code changed in 1 file:
- msl 2.x
1 lines of code changed in 1 file:
- 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.
36 lines of code changed in 3 files:
- update to interactive simulation
460 lines of code changed in 3 files:
- Fixed line endings of several files
3 lines of code changed in 3 files:
- Fix to (hopefully) kill interactive-simulations when doing automatic builds
20 lines of code changed in 2 files:
- Rewrote the simulation runtime slightly
- names and comments of a variable is now stored in a record instead of different arrays
- This record also contains the Absyn.Info information (filename, line/column start/end)
- Removed sendDataHumbug. It has been replaced with preprocessor macros that disable sendData
1 lines of code changed in 1 file:
- fixes for DynamicSelect in annotations (return the first and constant part)
- faster retrieval of annotations.
- fixes for the interactive simulation test and small fixes to the client.
82 lines of code changed in 2 files:
- another try.
71 lines of code changed in 1 file:
- restrict to 1 output/second
- use out.log instead of output.log
164 lines of code changed in 3 files:
- Fix interactive-simulation client compilation on Linux
- Make the mos-script use teardown_command instead of rm -f at the end in order to ease debugging
2 lines of code changed in 2 files:
- test for existence of the server executable
1 lines of code changed in 1 file:
- add extension
- sort the trace files (to get rid of thread preemption)
129 lines of code changed in 2 files:
- updates to readmes and interactive-simulation test
- added the interactive-simulation to be run with the testsuite
- updated SimulationApplicationExample_TwoTanks.zip
5 lines of code changed in 1 file:
- added a README.txt
0 lines of code changed in 1 file:
- finished the interactive-simulation test.
287 lines of code changed in 1 file:
- more work on testsuite for interactive-simulation
- made a better client.cpp that knows also how to read commands from a file.
- fflush(stdout) everywhere where we have cout!
- got rid of some warnings.
- still more work is needed for testing the test.
- translated *german* (duh!) messages to English.
375 lines of code changed in 4 files:
- some changes to the test
24 lines of code changed in 2 files:
- added a test for interactive simulations in testsuite/interactive-simulation.
- still some work to do.
22 lines of code changed in 3 files: