Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 78 (100.0%) | 5158 (100.0%) | 66.1 |
perost | 32 (41.0%) | 2929 (56.8%) | 91.5 |
adrpo | 4 (5.1%) | 2167 (42.0%) | 541.7 |
sjoelund.se | 29 (37.2%) | 38 (0.7%) | 1.3 |
mahge930 | 1 (1.3%) | 24 (0.5%) | 24.0 |
alash325 | 12 (15.4%) | 0 (0.0%) | 0.0 |
- expandable,streams,records ,and redeclare directory from testsuite are moved to ./flattening/modelica plus updated the corresponding Make file
0 lines of code changed in 12 files:
- Changed Util.swap to work as expected (i.e. swap on true).
3 lines of code changed in 1 file:
#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
3 lines of code changed in 1 file:
- Implemented a new template based expression dumping.
- Updated test suite.
17 lines of code changed in 4 files:
- Changed the Dependency+SCode+Inst calls everywhere to:
+ CevalScript.runFrontEnd(...), which does more error-checking
- Removed Inst.{instantiate,instProgram} as they are not needed (they were used to inst the last class of the program; which can be performed by asking for the last class of the program and instantiating that)
2 lines of code changed in 2 files:
- UTF-8 versions of some tests
- Disable iconv.mos
2 lines of code changed in 1 file:
+ 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)
24 lines of code changed in 1 file:
- Changed the unbalanced connector error to be a warning.
3 lines of code changed in 1 file:
- Expected output
2 lines of code changed in 1 file:
- Some rewrite rules for a*(b^(-r)) => a/(b^r) and similar expressions
1 lines of code changed in 1 file:
- Fix ExpressionDump: -(a+b) is now printed correctly (previously was printed as -a+b)
9 lines of code changed in 4 files:
- 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
9 lines of code changed in 1 file:
- Moved list functions from Util to a new List package.
6 lines of code changed in 1 file:
- 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).
2 lines of code changed in 1 file:
- Reimplemented connection handling to be more efficient.
25 lines of code changed in 4 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:
- Changed order of some simplifications (commutative rules)
2 lines of code changed in 1 file:
- Added ExpressionSimplify.simplifyBinaryCommutative
- To be used for commutative rules so we do not forget these cases in the future
1 lines of code changed in 1 file:
- Added rule to simplify x+x+x-x-x=x
1 lines of code changed in 1 file:
Fix for big #1224:
- Added dumping of function comments to DAEDump.
- Updated test suit.
2 lines of code changed in 1 file:
Fix for bug #1492:
- Only propagate final prefix if the component is declared final.
2 lines of code changed in 1 file:
- Enabled SCodeFlatten by default.
- Updated the test suite to comply with SCodeFlatten.
0 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.
3 lines of code changed in 1 file:
- Changed simplify of LUNARY and LBINARY (we now only simplify these at the end; i.e. in the equations and bindings - not while doing static elaboration of the expression)
1 lines of code changed in 1 file:
- Fixed line endings of several files
12 lines of code changed in 12 files:
Fix for bug #1334:
- Added cycle detection to instElementList for constants and parameters.
- Also sort parameters in instElementList.
- Updated test cases due to different sorting of parameters.
- Updated mofiles/CyclicBindingParam and mofiles/CyclicBindingConst and moved
them from failing tests to working tests.
8 lines of code changed in 1 file:
- Added new module SCodeDependency for SCode dependency analysis.
- Added new debugflag +d=scodeFlatten to enable SCode flattening.
- Removed environment path when printing error for components with same name,
since it sometimes printed nonsense paths otherwise.
- Updated test cases that changed due to above change.
- Renamed absynExpOption to binding in SCode.Mod.
- Added function Util.listMap02.
- Added some more builtin Modelica functions (assert, constrain).
1 lines of code changed in 1 file:
- Fixed incorrect type when generating if-equation for actualStream.
- Added test case streams/ActualStreamCodeGen to test the fix.
72 lines of code changed in 3 files:
- Known external "C" calls are now treated as external "builtin"
- That is, Modelica.Math.sin becomes a call to sin because it is calling the same C function we know that the builtin function is calling
- This finds more functions than just Modelica.Math.sin (some of the testcases mapped their own external "C" function to C)
- We should also be able to change Derive.mo to do pattern-matching against "sin" now, instead of calling Builtin.isSin
1 lines of code changed in 1 file:
Fix for #1041
- Reduce the number of error messages generated by builtin operators (only add the generic error message if a specific one was not added)
0 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
2156 lines of code changed in 1 file:
- remove spaces in DAE.ASUB printing (to make it exactly as ComponentReference)
- got rid of most of Util.boolAndList which were not exactly needed
- added more specific map functions that can check global list properties
- updated tests due to changes in DAE.ASUB printing
- changed the annoying "Modelica specifications" to "Modelica specification" in Error.mo and tests
- get rid of warning due to missing newline at the end of Compiler/OpenModelicaBootstrappingHeader.h
1 lines of code changed in 1 file:
- Fixed invalid propagation of connection sets from redeclared components
(commit 7185 to OpenModelica-1.5.1-Maintenance branch).
- Take face of connector components into account when connecting potential
connectors (commit 7173 to OpenModelica-1.5.1-Maintenance branch).
- Optimized findEquSet and findFlowSet to terminate earlier in some cases.
- Cleaned up ConnectionGraph.
- Cleaned up connection handling in InstSection.
- Updated test cases that changes due to equation ordering changes.
5 lines of code changed in 1 file:
- Fix streams.log generation
1 lines of code changed in 1 file:
- Use Error.addSourceMessage instead of Error.addMessage when printing inStream
and actualStream elaboration errors.
- Turned on stream connector balance checks by default, because models using
stream should follow Modelica 3 rules anyway.
- Added Modelica.Utilities.Files.list to libraries/msl31/Modelica.Utilities test
case.
- Added a couple of stream test cases.
2780 lines of code changed in 10 files: