[root]/testsuite/meta
MetaModelicaDev
(0 files, 0 lines)
00_simplesim
(0 files, 0 lines)
01_experiment
(0 files, 0 lines)
.externalToolBuilders
(0 files, 0 lines)
02a_exp1
(0 files, 0 lines)
.externalToolBuilders
(0 files, 0 lines)
02b_exp2
(0 files, 0 lines)
.externalToolBuilders
(0 files, 0 lines)
03_assignment
(0 files, 0 lines)
03_symbolicderivative
(0 files, 0 lines)
.externalToolBuilders
(0 files, 0 lines)
04_assignment
(0 files, 0 lines)
.externalToolBuilders
(0 files, 0 lines)
04a_assigntwotype
(0 files, 0 lines)
04b_modassigntwotype
(0 files, 0 lines)
05a_assigntwotype
(0 files, 0 lines)
.externalToolBuilders
(0 files, 0 lines)
05b_modassigntwotype
(0 files, 0 lines)
.externalToolBuilders
(0 files, 0 lines)
06_advanced
(0 files, 0 lines)
.externalToolBuilders
(0 files, 0 lines)
07_OMCAndCorba
(0 files, 0 lines)
.settings
(0 files, 0 lines)
org
(0 files, 0 lines)
modelica
(0 files, 0 lines)
08_pam
(0 files, 0 lines)
.externalToolBuilders
(0 files, 0 lines)
09_pamdecl
(0 files, 0 lines)
.externalToolBuilders
(0 files, 0 lines)
10_pamtrans
(0 files, 0 lines)
.externalToolBuilders
(0 files, 0 lines)
11_petrol
(0 files, 0 lines)
.externalToolBuilders
(0 files, 0 lines)
testd
(0 files, 0 lines)
lib
(0 files, 0 lines)
testp
(0 files, 0 lines)
11_symdiff
(0 files, 0 lines)
documentation
(0 files, 0 lines)
rml
(0 files, 0 lines)
scripts
(0 files, 0 lines)
latex
(0 files, 0 lines)
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 1229 (100.0%) | 9255 (100.0%) | 7.5 |
sjoelund.se | 998 (81.2%) | 7773 (84.0%) | 7.7 |
krsta | 32 (2.6%) | 471 (5.1%) | 14.7 |
dietmarw | 28 (2.3%) | 393 (4.2%) | 14.0 |
stebr461 | 21 (1.7%) | 226 (2.4%) | 10.7 |
adrpo | 86 (7.0%) | 159 (1.7%) | 1.8 |
perost | 45 (3.7%) | 153 (1.7%) | 3.4 |
alash325 | 14 (1.1%) | 39 (0.4%) | 2.7 |
mahge930 | 1 (0.1%) | 31 (0.3%) | 31.0 |
ricli576 | 1 (0.1%) | 7 (0.1%) | 7.0 |
Frenkel TUD | 2 (0.2%) | 2 (0.0%) | 1.0 |
wbraun | 1 (0.1%) | 1 (0.0%) | 1.0 |
- Boom! Headshot! (Die duplicate directory, die!)
0 lines of code changed in 208 files:
- adding missed files
0 lines of code changed in 2 files:
--back to previous version
39 lines of code changed in 12 files:
#1829
- Fixes lookup of short class definitions in MetaModelica code
56 lines of code changed in 2 files:
- Fix bootstrapping (seriously, we needed this feature? so much work...)
+ Now we support codegenration for if-expressions returning tuples (comes from match-expression optimizations)
- Enabled SusanTest.mos full test since tail-recursion makes it run fine
- T_TUPLE is no longer simplified into a MetaModelica type
- We can now handle code-generation for tuple-expressions (creates an anonymous record)
4 lines of code changed in 2 files:
#1775 #1776
- Added detection of usage of unbound local variables in match-expressions
- Set eol-style
116 lines of code changed in 2 files:
- Fixed svn:eol-style
1 lines of code changed in 1 file:
- Removed space after first parenthesis when dumping asserts in DAEDump, to ease
the transition to a template based dumper.
1 lines of code changed in 1 file:
#1786
- Do not go into an infinite loop if using {} pattern on something that is not a list
32 lines of code changed in 2 files:
#1772
- Do not evaluate a function that returns MM arrays
41 lines of code changed in 2 files:
- Disallow local variables shadowing in/out
32 lines of code changed in 3 files:
- Added test for case guard-conditions
- Fixed a bug where tail-recursion rec(i-1,i) would cause rec(i-1,i-1) to be used instead
23 lines of code changed in 2 files:
- Implemented a new template based expression dumping.
- Updated test suite.
94 lines of code changed in 20 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)
11 lines of code changed in 11 files:
- Added simulate(..., simflags="flags") option. It will be passed to the simulation executable in the future
30 lines of code changed in 26 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)
31 lines of code changed in 1 file:
- Added support to parse line/block-comments as class elements (similar to annotations)
- Any comment in an expression is moved out of the element and put on its own line
0 lines of code changed in 1 file:
- Re-enabled test because it is working, and was working even when removed
4 lines of code changed in 2 files:
- move failing tests to failing tests.
- return non-zero from testsuite/partest/runtests.pl if there are failed tests so that Hudson job fails!
2 lines of code changed in 1 file:
#1681
- Added testcase for checking if "local list<int> t;" generates proper error messages
30 lines of code changed in 2 files:
HUGE update to SVN with *a lot* of changes: DO MAKE CLEAN!
==========================================================
- The DAE.ExpType is *no more*
- The BackendDAE.Type is *no more*
Both got replaced by DAE.Type!
- The DAE.ExpVar is *no more*
It got replaced by DAE.Var!
Now we have *ONLY ONE* type in the compiler: DAE.Type!
Just to know why I got this done:
BEFORE, the model HumMod took 6m51 seconds to instantiate
adrpo@ida-liu050 ~/dev/OpenModelica/doc/performance/benchmarks/tests
$ time /c/OpenModelica1.8.0-r10584/bin/omc instHumMod.mos > trace.txt 2>&1
real 6m51.354s
user 0m0.000s
sys 0m0.015s
AFTER, the model HumMod takes 47 seconds to instantiate
adrpo@ida-liu050 ~/dev/OpenModelica/doc/performance/benchmarks/tests
$ time ../../../../build/bin/omc instHumMod.mos > mytrace.txt 2>&1
real 0m47.248s
user 0m0.000s
sys 0m0.000s
Is about 8,74468085106383 times faster now.
Basically, before, we were doing DAE.T_*
-> DAE.ET_* translation for 6 minutes!
I started this work on Friday after the OpenModelica 1.8.0
got released, so for 4+ days of work I think the result is
quite OK.
Crash course into the new types (actually old ones from DAE.Type):
==================================================================
1. DAE.Type is not a tuple anymore, instead the optional path
became DAE.TypeSource which is a list of paths and is now
part of *all* the records in DAE.Type.
The needed types from DAE.ExpType got merged into DAE.Type:
DAE.ET_METATYPE -> DAE.T_METATYPE
DAE.ET_FUNCTION_REFERENCE_VAR -> DAE.T_FUNCTION_REFERENCE_VAR
DAE.ET_FUNCTION_REFERENCE_FUNC -> DAE.T_FUNCTION_REFERENCE_FUNC
Some DAE.Type types got split:
DAE.T_COMPLEX split into DAE.T_COMPLEX for types not extending
basic types and DAE.T_SUBTYPE_BASIC is now used for types
extending basic types.
Some DAE.Type types changed name:
DAE.T_NOTYPE -> DAE.T_UNKNOWN
Renamed also the meta-types a bit to make them more homogeneous.
Some DAE.ExpType are gone:
DAE.ET_OTHER is gone, use DAE.T_UNKNOWN instead!
Some DAE.Type types changed structure (besides the DAE.TypeSource addition):
(DAE.T_ARRAY(dim, ty), optPath) -> DAE.T_ARRAY(ty, list<dim>, list<Path>)
so we now have similar structure for DAE.T_ARRAY and the previous DAE.ET_ARRAY.
2. In cases, when matching:
Instead of | Use now:
-------------------------------------------------------
DAE.ET_INT() | DAE.T_INTEGER(source = _)
DAE.ET_REAL() | DAE.T_REAL(source = _)
DAE.ET_BOOL() | DAE.T_BOOL(source = _)
DAE.ET_STRING() | DAE.T_STRING(source = _)
DAE.ET_ENUMERATION(...) | DAE.T_ENUMERATION(...)
DAE.ET_COMPLEX(...) | DAE.T_COMPLEX(...)
DAE.ET_OTHER(...) | DAE.T_UNKNOWN(source = _)
DAE.ET_ARRAY(...) | DAE.T_ARRAY(...)
-------------------------------------------------------
3. When constructing values, in the then part or in right
hand side in equations:
Instead of | Use now:
-------------------------------------------------------
DAE.ET_INT() | DAE.T_INTEGER_DEFAULT
DAE.ET_REAL() | DAE.T_REAL_DEFAULT
DAE.ET_BOOL() | DAE.T_BOOL_DEFAULT
DAE.ET_STRING() | DAE.T_STRING_DEFAULT
DAE.ET_ENUMERATION(...) | DAE.T_ENUMERATION(...)
DAE.ET_COMPLEX(...) | DAE.T_COMPLEX(...)
DAE.ET_OTHER(...) | DAE.T_UNKNOWN(source = _)
DAE.ET_ARRAY(...) | DAE.T_ARRAY(...)
-------------------------------------------------------
4. Types.elabType got renamed to Types.simplifyType
and does some type simplification (instead of the
previous DAE.T_* -> DAE.ET_* translation).
Feel free to ask me anything if something is unclear.
The code can be further improved (we need better handling
of DAE.T_ARRAY that has several dimensions instead of one)
by getting rid of Types.simplifyType/Types.expTypetoTypesType,
but for now is good enough. Also, functionality for the old
DAE.ET_* handling from Expression*.mo can be merged with the
DAE.T_ handling from Types so we can get rid of duplicate
code too.
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
40 lines of code changed in 26 files:
- Fixed record component assignment in CevalFunction.
- Removed nogen and noevalfunc flags from fluid tests that don't need them.
- Removed some unused code.
2 lines of code changed in 1 file:
- Patternm: Only output a single error for patterns
0 lines of code changed in 3 files:
- Moved list functions from Util to a new List package.
1 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 2 files:
#1420
- Share constant literals in generated simulation code
5 lines of code changed in 3 files:
#1420
- Added initial support for sharing array constants (stored as pointers instead of being constructed at each reference)
+ Currently only done for called functions, but will be extended to simulation code
2 lines of code changed in 1 file:
- Fix for ctor index -1 (bootstrapping C runtime)
13 lines of code changed in 1 file:
#1568
- Check class inference for function/non-function of some statements:
- reinit
- when
- return
1 lines of code changed in 1 file:
#1520
- Added check for shadowed function input variables before performing tail recursion optimization
- Removed all such occurances from the compiler sources
26 lines of code changed in 2 files:
- Added tail recursion of match-expressions
26 lines of code changed in 1 file:
#1520
- Added tail recursion of if-expressions
27 lines of code changed in 1 file:
#1520
- First working tail recursion testcase
- Limited to the last statement being an assignment to a recursive call; but adding if-statements, if-expressions and match-expressions should be a minor addition
37 lines of code changed in 2 files:
- Added Absyn.Info to Ceval.Msg for better error messages from Ceval.
- Updated test suite.
1 lines of code changed in 1 file:
- Moved the meta/MatchCaseInteractive2 test to failing tests, so that the
testsuite is 100% working.
1 lines of code changed in 1 file:
- Implemented SCode dumping template.
- Changed some functions in SCodeDump to use the new template functions.
- Updated test suit.
2 lines of code changed in 2 files:
Fixes for bugs: #1430, #1432
- moved printing functions from SCode to SCodeDump.
- some fixes to redeclares-as-element in SCodeFlattenRedeclare.mo
- fixes for handling derived classes (that do not extend from basic types)
to have the correct scope, not the scope of the base class (Inst.mo).
- added SCodeDump.mo
- added SCodeFlat.mo (not part of the compilation yet).
- added more tests for replaceable functions and for functions in derived packages that depend on a modified constant.
- added SCodeMod.mo to handle modifiers.
- some changes in SCodeHashTable.mo
- disabled SCodeFlattenExtends.mo for now.
20 lines of code changed in 1 file:
Fix for bug #1516:
- Fixed bad indentation in Dump.
- Updated test suite.
4 lines of code changed in 4 files:
- Added builtin function stringReal
4 lines of code changed in 2 files:
(143 more)