March 2010 Commit Log

Number of Commits:
161
Number of Active Developers:
13
Frenkel TUD 2010-03-31 17:25 Rev.: 5247

- update CMakeFiles for linux

107 lines of code changed in 8 files:

sjoelund.se 2010-03-31 14:58 Rev.: 5246

- MetaModelicaDev testcase now prints X out of X failed instead of succeeded (the same as all other tests).

1 lines of code changed in 1 file:

sjoelund.se 2010-03-31 14:57 Rev.: 5245

- Fixed a slight bug in Compiler/InnerOuter.mo (was printing error trace when it shouldn't).
- Updated mathcore-mofiles for new rtest script.
- Updated testsuite/Makefile to use parallel make for all tests.

1086 lines of code changed in 265 files:

sjoelund.se 2010-03-31 14:35 Rev.: 5244

- Set svn:eol-style native on mathcore-mofiles/*.mo

3102 lines of code changed in 605 files:

sjoelund.se 2010-03-31 14:32 Rev.: 5243

- Updated mathcore-mofiles/msl and mathcore-mofiles/drmodelica to new rtest script.

4487 lines of code changed in 304 files:

sjoelund.se 2010-03-31 14:31 Rev.: 5242

- Updated mofiles/msl/*.mo to new rtest script

2484 lines of code changed in 61 files:

sjoelund.se 2010-03-31 14:29 Rev.: 5241

- Updated testsuite/mofiles/*.mo to the new rtest (we now check for functions and error messages).
- Due error messages being checked, some tests now fail.

1883 lines of code changed in 560 files:

sjoelund.se 2010-03-31 13:35 Rev.: 5240

- Set svn:eol-style native on testsuite/mofiles

2096 lines of code changed in 375 files:

sjoelund.se 2010-03-31 11:47 Rev.: 5239

- Updated the testsuite to use parallel make (use make -j2 to use this feature).
- There is now only 1 shared rtest file (for directories using mos-files).
- Results are stored in log-files and printed at the end of testing so you can read the output easier (no logs interleaved).
- You can now use "rtest +g=MetaModelica ..." and similar.
- The output of the new rtest is "0 out of X tests failed" instead of "X out of X succeeded". So if it doesn't say 0, you have errors and should look closer.

578 lines of code changed in 23 files:

ricli576 2010-03-31 10:49 Rev.: 5238

Modified rtest scripts to interpret RTEST_OMCFLAGS.

22 lines of code changed in 3 files:

Frenkel TUD 2010-03-30 17:02 Rev.: 5237

- update CMakeFiles, start with testsuite

55 lines of code changed in 9 files:

perost 2010-03-30 16:09 Rev.: 5236

Fix for bug #1187: http://openmodelica.ida.liu.se:8080/cb/issue/1187?navigation=true
- The checkModel flag is now set in CevalScript when checkModel is run.
- Static.elabSubscriptsDims2 now avoids printing error messages for out of
bounds indices when checking a model.
- DAELow.checkAssertCondition now skips checking assertions when checking
models.

28 lines of code changed in 3 files:

ricli576 2010-03-30 16:04 Rev.: 5235

Modified rtest in multibody to interpret RTEST_OMCFLAGS flag.

7 lines of code changed in 1 file:

ricli576 2010-03-30 16:03 Rev.: 5234

- Generated outvar init code before memory management
- Implemented generation of:
- MUL_MATRIX_PRODUCT
- UMINUS_ARR
- Updated so subscripts work for CREF_QUAL as well
- Fixed some other small issues to make multibody tests pass

860 lines of code changed in 5 files:

sjoelund.se 2010-03-29 14:33 Rev.: 5233

- Re-added the changes (r5194) reverted in (r5215)
- With some additional changes that fixes problems with it (regarding changing modifiers to NOMOD in updateComponentInEnv). We now do that as before, but only for variability VAR or DISCRETE.
- Fixed more issues with filenames being absolute paths when running the testsuite (and removed +d=rtest flag; we simply always make the substitution so it's easier to do development).
- Added testcases invertedPendulum, nonConstantParam (from MathCore).
- Also removed Env.BCEnv (baseclasses in Env), since the list was always empty now.
- Fixed the testsuite/libraries/Makefile (hopefully for the last time).

- ShowExceptions, ControlledTanks, RollingWheelSetDriving, RollingWheelSetPulling fail due to extra error messages now. It needs to be fixed and seems to be related to InnerOuter.

9351 lines of code changed in 25 files:

Frenkel TUD 2010-03-29 11:59 Rev.: 5232

- CMakeFiles: install omc, libs, docs, testmodels, includes

35 lines of code changed in 11 files:

Frenkel TUD 2010-03-29 10:43 Rev.: 5231

- CMakeFiles work with VisualStudio but generated omc.exe wound work because of qt problems

4 lines of code changed in 2 files:

sjoelund.se 2010-03-29 09:32 Rev.: 5230

- svn:executable on modelicaAdditions/rtest
- Fixed the reference to modelicaAdditions in libraries/Makefile

3 lines of code changed in 2 files:

petar 2010-03-29 09:25 Rev.: 5229

-Added wrong files to makefile, now contain the mos-files ;)

1 lines of code changed in 1 file:

Frenkel TUD 2010-03-27 20:52 Rev.: 5227

- continue with CMakeFiles

20 lines of code changed in 9 files:

perost 2010-03-26 18:15 Rev.: 5226

- Added an error message in the backend when trying to lower the constrain
function, since this previously failed silently.
- Implemented support for functions without return values (since they were
already mostly implemented anyway).

33 lines of code changed in 1 file:

sjoelund.se 2010-03-26 17:24 Rev.: 5225

- Added System.stringFindString (same as System.findString, but returns the found String instead of an index).
- Modified Error.mo to look for the +d=rtest flag.
- If the flag is present, you look for "/testsuite/" in the filename string, and print the path relative to /testsuite/.
- Updated the msl221 and biochem rtest files to use this flag.
- Updated the PID_Controller.mos testcase so you don't have to run the testsuite from c:/petar/dev/... in order to get the same error messages.

113 lines of code changed in 11 files:

Frenkel TUD 2010-03-26 17:05 Rev.: 5224

- update CMake Files, now only the linker fails because of
runtime.lib(systemimpl.obj) : error LNK2005: _rml_user_gc ist bereits in librml.lib(p-usergc.obj) definiert.
>msvcprt.lib, MSVCRT.lib, error LNK2005: __errno ist bereits in LIBCMT.lib(dosmap.obj) definiert. ...

15 lines of code changed in 6 files:

sjoelund.se 2010-03-26 17:01 Rev.: 5223

- Print a message about what port is being opened if omc is started with +d=interactive (socket interface)

1 lines of code changed in 1 file:

petar 2010-03-26 15:13 Rev.: 5222

-Added testcases for ModelicaAdditions.MultiBody (includes use of constrain operator)

58883 lines of code changed in 16 files:

ricli576 2010-03-26 14:51 Rev.: 5221

Refactored templates.

2522 lines of code changed in 3 files:

petar 2010-03-26 14:48 Rev.: 5220

- Reverted (constrain is used in the old multibody library and MathCore uses it.) Testcase will be added later today.

3 lines of code changed in 2 files:

sjoelund.se 2010-03-26 14:34 Rev.: 5219

- Added svn:eol-style native to libraries/msl221/ and libraries/biochem/
- Set svn:executable on their rtest scripts

28713 lines of code changed in 81 files:

petar 2010-03-26 14:28 Rev.: 5218

-Made small mistake in Makefile

4 lines of code changed in 1 file:

Frenkel TUD 2010-03-26 13:06 Rev.: 5217

- update CMake Files, now only the linker fails

58 lines of code changed in 5 files:

petar 2010-03-26 12:43 Rev.: 5215

Fixed two bugs that affect the code generation in MathCore backend:
-Fixed a bug in Exp.stringifyComponentRef (last type should be picked up, but it wasn't).
-Fixed a bug in vectorize call (giving wrong type to component refererences.

-Added some dumping functions for DAE.FunctionTree to DAEUtil.
-Fixed some bugs with function dae not picked up correctly.
-Added some documentation
- Added testcases from MathCore:
- instantiation of all examples in MSL221 subset in MathModelica.
- instantiation of BioChem examples
- instantiation of Magnetic examples (for MSL221)

135820 lines of code changed in 426 files:

petar 2010-03-26 12:19 Rev.: 5214

Reverted -r 5194 as it destroyed a lot of testcases at MathCore. I will add these as instantiation tests in OpenModelica later today.

1140 lines of code changed in 14 files:

perost 2010-03-26 10:56 Rev.: 5213

- Removed the non-standard constrain function from the initial environment, since
it's not handled in the compiler and caused the compiler to fail without a
proper error message when constrain was used.

1 lines of code changed in 2 files:

Frenkel TUD 2010-03-26 00:01 Rev.: 5212

- continue with CMakeFiles

105 lines of code changed in 3 files:

perost 2010-03-25 17:34 Rev.: 5210

- Fixed testcase #1179 [http://openmodelica.ida.liu.se:8080/cb/issue/1179]
+ Changed Inst.getUsertypeDimensions so that it also returns any modifiers
from user defined types, which are then sent on to instVar2 from
instVar_dispatch when instantiating user defined types.
+ Changed some testcases to reflect that modifiers are now propagated
correctly.
+ Added testcase UsertypeModifications to explicitly test this fix.

1992 lines of code changed in 24 files:

Frenkel TUD 2010-03-25 16:51 Rev.: 5209

- update CMake Files

123 lines of code changed in 5 files:

ricli576 2010-03-25 12:11 Rev.: 5202

Refactored and documented C code generator template code.

7766 lines of code changed in 3 files:

sjoelund.se 2010-03-25 09:34 Rev.: 5201

- Updating DoubleDeclaration.mo (test should fail and now does)

0 lines of code changed in 2 files:

Frenkel TUD 2010-03-25 01:06 Rev.: 5200

- add CMakeFiles to build omc with CMake (not yet finished)

377 lines of code changed in 10 files:

Frenkel TUD 2010-03-24 18:59 Rev.: 5199

- missing file for division zero problem implementation

93 lines of code changed in 3 files:

sjoelund.se 2010-03-24 17:48 Rev.: 5198

- Fix for failtrace of the new InstExtends when extending components with IMPORT elements.
- Only traverse elemets that have not been traversed already (no significant speed improvement).

134 lines of code changed in 3 files:

Frenkel TUD 2010-03-24 16:23 Rev.: 5197

- first implementation of division by zero problem (only for template part)

409 lines of code changed in 10 files:

AlexeyLebedev 2010-03-24 15:52 Rev.: 5196

Fix for the multiple declaration bug:
http://openmodelica.ida.liu.se:8080/cb/issue/1071?navigation=true

3 lines of code changed in 1 file:

sjoelund.se 2010-03-24 15:44 Rev.: 5195

- Added testcase for now fixed bug #1181 (Philosopher2.mo)

833 lines of code changed in 2 files:

sjoelund.se 2010-03-24 15:28 Rev.: 5194

- Added new module InstExtends.mo
- Removed SCode.BaseClassPath from the SCode module
- InstExtends will now traverse the inherited elements and replace referenced crefs with fully-qualified paths instead of the old baseclass concept.
+ This is closer to what the specification says about how to handle extends and might work better when trying to implement Modelica.Media.

1788 lines of code changed in 15 files:

ricli576 2010-03-24 12:45 Rev.: 5193

- Extracted extra record declarations from uniontypes
- Extracted libraries (arrays of libraries) from annotations
- Generated external type for meta types

1517 lines of code changed in 6 files:

sjoelund.se 2010-03-24 12:24 Rev.: 5192

- Added a makefile target for building omc with RML profiling information

2299 lines of code changed in 6 files:

petar 2010-03-23 16:31 Rev.: 5191

-Another fix for variability of for iterators. It now has a ceiling of PARAM variability, since cevalIfConstant otherwise fails. This needs to be refactored when cevalIfConstant is removed in the future. Added another testcase to make sure this is covered (AIMC_DOL.mos)
-Minor fix in errorext.cpp

3168 lines of code changed in 6 files:

ricli576 2010-03-23 16:10 Rev.: 5190

- Extracted record constructors as functions and generated code for them
- Generate complex constant expressions in daeExpMetaHelperConstant
- Generate type descriptions for meta types

2190 lines of code changed in 5 files:

petfr 2010-03-23 15:48 Rev.: 5189

Introduced change date column with dummy contents

0 lines of code changed in 1 file:

petfr 2010-03-23 15:23 Rev.: 5186

Made the upper part of the table more compact

0 lines of code changed in 1 file:

petar 2010-03-23 14:05 Rev.: 5185

-Implemented sorting of functions when printing DAE as preparation to make testsuite more robust. (All multibody tests updated because of this too)
-Changed how variability of for iterators are handled. They must be correct after the iterators have been elaborated to prevent false error messages later on. But this affects how e.g. indices are elaborated. Earlier they were always constant evaluated for const and param variability, but this is not the case when inside a for iterator scope, since the iterators do not have a value. Therefore added special scope name for for iterator scopes, and treat them separately, see Env.forIterScopeName and Static.elabSubscriptsDims2.

1896 lines of code changed in 22 files:

ricli576 2010-03-22 15:57 Rev.: 5183

- Generated code for STMT_TRY
- Generated code for STMT_CATCH

814 lines of code changed in 4 files:

ricli576 2010-03-22 15:27 Rev.: 5182

- Added special write_noretcall when called function has no output variables
- Generated code for STMT_NORETCALL
- Don't generate ending comma for METARECORDCALL if no arguments

1056 lines of code changed in 4 files:

ricli576 2010-03-22 12:16 Rev.: 5181

- Implemented generation of expression CONS
- Implemented generation of expression METARECORDCALL

1798 lines of code changed in 5 files:

sjoelund.se 2010-03-22 09:57 Rev.: 5180

- Fix for testsuite/mosfiles/TransformerYY.mos (inconsistent line endings made it fail on Unix).
- Changed eol-style to native on all .mo and .mos-files in testsuite/mosfiles.

2008 lines of code changed in 59 files:

petar 2010-03-22 09:25 Rev.: 5179

-Added two testcases for old bugs that got fixed "on the way". The philosopher case can also be used when fixing issue #1181 (just change the last class in the example).

1854 lines of code changed in 3 files:

petar 2010-03-19 16:05 Rev.: 5177

-Fixed bug in array reductions. The variability of for iterators were always added as C_VAR, even if they had constant or parameter variability). This resulted in ceval error messages. Testcase in TransformerYY.mos

1628 lines of code changed in 5 files:

adrpo 2010-03-19 06:50 Rev.: 5174

- fixes for testsuite/mosfiles/interactive_api_classes.mos, the error is no longer displayed.

1 lines of code changed in 1 file:

bjozac 2010-03-18 17:47 Rev.: 5173

some comments added

55 lines of code changed in 6 files:

sjoelund.se 2010-03-18 17:22 Rev.: 5172

- Fix for Lookup.lookupVar: Check for valueBlockScopeName in addition to forScopeName.
- Fixes MetaModelica and ForIterator test cases.

6 lines of code changed in 1 file:

petar 2010-03-18 15:22 Rev.: 5170

-Fixed bug in lookupVarInternal, returning empty frame as scope of variables.
-Fixed bug with lookup of variables performed in parent scopes (now limited to for loop scopes and top scope for builtin variable time) NOTE: This destoys a lot of meta-modelica tests, probably since there it is okay to look in parent scope, e.g. for matchcontinue, etc. Someone else has to fix this, as I am not familiar with the code.

58 lines of code changed in 3 files:

perost 2010-03-18 13:40 Rev.: 5168

- Fixed Lookup.expandWholeDimSubScript so that it doesn't drop for-iterators from
the subscripts, which caused the testcase mofiles/VectorTest to fail.
- Changed the testcase mofiles/VectorTest, since it previously expected the wrong result.

14 lines of code changed in 2 files:

sjoelund.se 2010-03-18 13:08 Rev.: 5166

- Added HashTableStringToPath.mo (first HashTable module with a name you can actually guess what key-value pair it uses?).
- Updated the other HashTable files (some of the functions that take a Key don't have input Key).
- Added pathReplaceFirstIdent and crefReplaceFirstIdent to Absyn.mo.
- These functions will be used in later commits.
- These functions allow you to change the first part of a path: (a.b.c, d.e) => d.e.b.c
- Part of their purpose is to remove the need of the base class concept in Inst (let extends lookup imports, etc instead of adding base classes).

728 lines of code changed in 11 files:

sjoelund.se 2010-03-18 13:02 Rev.: 5165

- Fix for errorext.cpp on Linux (missing string.h for strcmp; OSX and Win32 doesn't require it).

1 lines of code changed in 1 file:

Frenkel TUD 2010-03-18 10:41 Rev.: 5164

- do a bit more simplification for matrix addition: example m[3,3] = a[3,3]+b[3,3] works but m[3]=A[3]+(B[3,3]+C[3,3]*C[3,3])*D[3] worked also before but generades bad code. testcase mofiles/VectorTest and mosfiles/APIClass failed also before this change

190 lines of code changed in 5 files:

sjoelund.se 2010-03-18 09:42 Rev.: 5163

- Fix for errorext.cpp (use strcmp instead of pointer comparison).

4 lines of code changed in 1 file:

dhedberg 2010-03-17 19:03 Rev.: 5162

Added a few utility functions:
- crefPrefixOf
- isNone
- isSome

121 lines of code changed in 2 files:

sjoelund.se 2010-03-17 17:31 Rev.: 5161

- Fix for errorext.cpp (was missing include stdlib.h).

1 lines of code changed in 1 file:

petar 2010-03-17 16:33 Rev.: 5160

-Changed implmentation of ErrorExt: setCheckpoint,delCheckpoint and rollBack. They now take unique indentifiers. If rollback and delCheckpoint passes identifier that doesn't match what is on the top of the stack, the application exits. This is to make absolutely sure that error message checkpoints are handled correctly.
-Also fixed bugs to make sure that above is fullfilled.
-Fixed bug with wrong type inside crefs
-Removed Static.generateCompiledFunction since it is not used.

122 lines of code changed in 7 files:

perost 2010-03-17 15:06 Rev.: 5159

- Fixed testcase Lookup10, which together with other recent fixes fixed bug
#1151: [http://openmodelica.ida.liu.se:8080/cb/issue/1151?navigation=true].
- Added RTOpts failtrace guard in Inst.partialInstClassIn.

3 lines of code changed in 1 file:

adrpo 2010-03-17 14:43 Rev.: 5158

- Updated parser/lexer to support 'operator' and 'operator function'.
The keyword 'operator' can also be used as an identifier in several
places so we can parse the OpenModelica compiler sources. We can
change the sources and replace 'operator' with 'op' or something
similar later.
- RollingWheelSetPulling.mos now flattens without error.

81 lines of code changed in 6 files:

perost 2010-03-16 18:02 Rev.: 5157

Fixed for loops in class algorithm sections: [https://openmodelica.org:8443/cb/issue/1180]
- Static no longer tries to constant evaluate iterators, which earlier caused
Ceval to print an error message.
- Fixed the broken counting of equations in for loops.
- Fixed the C name generation for variables in for loops that used iterators
as subscripts.
- The testcase AlgorithmForInClass now works again.

585 lines of code changed in 4 files:

sjoelund.se 2010-03-16 13:52 Rev.: 5156

- Fixed error messages from Static.instantiateDaeFunction when trying to instantiate from the top scope.

44 lines of code changed in 2 files:

sjoelund.se 2010-03-16 13:09 Rev.: 5155

- Replaced Static.calculateConstantness with listFold.

4 lines of code changed in 1 file:

ricli576 2010-03-16 12:43 Rev.: 5154

Implemented generation of expression LIST, META_TUPLE, and META_OPTION.

1164 lines of code changed in 4 files:

sjoelund.se 2010-03-16 12:16 Rev.: 5153

- Added support for enumerations in external C functions.
+ This causes RollingWheelSetPulling.mos to print some extra warnings (because the annotations for external C functions are missing in the multibody testsuite).

6 lines of code changed in 2 files:

sjoelund.se 2010-03-16 10:54 Rev.: 5152

- listFold instead of listReduce when simplifying calls.
+ Works when using an empty list of arguments.

1 lines of code changed in 1 file:

ricli576 2010-03-15 16:24 Rev.: 5151

Implemented generation of STMT_THROW.

22 lines of code changed in 4 files:

ricli576 2010-03-15 14:48 Rev.: 5150

- Implemented STMT_MATCHCASES
- Implemented STMT_BREAK
- Added missing record STMT_RETURN in the typeview (solving the problem
described in the removed comment)

805 lines of code changed in 4 files:

petar 2010-03-15 14:42 Rev.: 5149

-Fixed some bugs with wrong type in component references

49 lines of code changed in 3 files:

ricli576 2010-03-15 11:13 Rev.: 5148

Modified rtest in testsuite/meta to interpret RTEST_OMCFLAGS.

7 lines of code changed in 1 file:

ricli576 2010-03-15 10:46 Rev.: 5147

Modified rtest script in mathcore-mofiles to interpret RTEST_OMCFLAGS.

7 lines of code changed in 1 file:

sjoelund.se 2010-03-15 10:25 Rev.: 5146

- Modified the ModelicaUtilities testcase to use save() and pre() on strings during simulation runtime.
+ Updated the generation of simulation makefiles to link libraries in the correct order.

16 lines of code changed in 4 files:

ricli576 2010-03-15 10:09 Rev.: 5145

- Fixed readInVar template to work for nested records
- Refactored code for writeOutVar template

1029 lines of code changed in 3 files:

adrpo 2010-03-14 13:16 Rev.: 5144

- replaced Link??ping with Link?ping

40 lines of code changed in 14 files:

adrpo 2010-03-14 13:13 Rev.: 5143

- flush the stderr in ModelicaFormatError (otherwise the stderr is printed at the end in Windows)
- do not delete ModelicaUtilities_*.dll as you cannot do that in Windows when is loaded in the omc process!

5 lines of code changed in 2 files:

sjoelund.se 2010-03-12 18:09 Rev.: 5140

- Updated simulation runtime to support pre() and save() on strings.

37 lines of code changed in 2 files:

ricli576 2010-03-12 16:47 Rev.: 5139

- Generate record declarations in correct order
- Generate correct type descriptions for nested records

1018 lines of code changed in 4 files:

ricli576 2010-03-12 14:09 Rev.: 5137

- Generate correct external type for records
- Only declare init variable if it does not already exist in return struct
- Extract record declarations from external functions in addition to just
regular Modelica functions
- Fixed bug in writeOutVar: a comma too much if external function had no input
arguments

1263 lines of code changed in 5 files:

sjoelund.se 2010-03-12 13:11 Rev.: 5136

- Added test mosfiles/FinalTests, from MathCore
- Added the ModelicaUtilities.h header (Utility functions for external C function)
- Changed the generation of makesfiles to make it possible to reference these functions.
- Added a simple implementation of these functions.
- Added test mosfiles/ModelicaUtilities
- Fixed a bug in SimCodegen where solved string would not be escaped before printed as C-code.

241 lines of code changed in 11 files:

sjoelund.se 2010-03-12 10:14 Rev.: 5135

- Added c_runtime/Makefile.common.
- You now only need to change one file when you add headers.

87 lines of code changed in 4 files:

adrpo 2010-03-12 07:51 Rev.: 5134

- some fixes to plotting while simulating
- disable some logging.
- updates to ext and OMNotebook

32 lines of code changed in 6 files:

adrpo 2010-03-12 07:49 Rev.: 5133

- added the constantness of the for loop range as an option in DAE.TYPES_VAR
for a variable in the environment to be able to detect if the variable is
a for index.
- Lookup.lookupVar* will now return also the constantness of the
range of the variable (if is a for index, otherwise NONE()).
- if a variable is a for index *do not* prefix it in PrefixUtil.mo
- unroll for loop statements that contain when statements and
report an error if the range is not constant or parameter.
- functionality to unroll all for loops with constant range
but is not activated right now (we want to move towards
non expanded arrays).

- Codegen.mo
+ better error messages
+ allow == for reals in functions
+ remember/restore state in while statements

- DAELow.mo better output for algorithms


- updated all files with the changes done in Lookup.lookupVar*
- moved some of the local case declarations to the matchcontinue local section
- more comments

3460 lines of code changed in 21 files:

adrpo 2010-03-12 07:28 Rev.: 5132

- use the actual QTHOME in Linux if is set and replaced tab with two spaces (systemimpl.c)
- generate an unique log filename for each external viewer (sendData.cpp)

597 lines of code changed in 2 files:

adrpo 2010-03-12 07:20 Rev.: 5131

- detect header changes in c_runtime (Makefile*)
- assert should be based on SIZE_ELEMENTS in size_alloc (memory_pool.c)
- more index elements (memory_pool.h)
- get rid of unused variable warning (real_array.c)

19 lines of code changed in 5 files:

ricli576 2010-03-11 15:52 Rev.: 5129

Modified rtest in testsuite/records to interpret RTEST_OMCFLAGS env.var.

7 lines of code changed in 1 file:

ricli576 2010-03-11 15:50 Rev.: 5128

Removed test_susan target in makefiles.

A command like this

RTEST_OMCFLAGS="+d=tplmode" make test

should be used instead to run tests using the susan code generator. This way
the makefiles can stay the same no matter what code generator is used.

It relies on rtest reading the RTEST_OMCFLAGS environment variable.

0 lines of code changed in 3 files:

sjoelund.se 2010-03-11 14:33 Rev.: 5127

- Added fixes for new testcase mosfiles/EnzMM.mos, provided by MathCore
+ We now check all frames in the current scope before looking in the baseclasses.

935 lines of code changed in 4 files:

ricli576 2010-03-11 14:31 Rev.: 5126

Fixed testcase ExternalFunctionResultOrder.mos.

53 lines of code changed in 1 file:

sjoelund.se 2010-03-11 14:27 Rev.: 5125

- Updated multibody testcases

748 lines of code changed in 17 files:

perost 2010-03-11 14:06 Rev.: 5124

Disabled earlier changes in Env.cacheGetEnv2, since these caused problems in
Multibody.

2 lines of code changed in 1 file:

petar 2010-03-11 12:46 Rev.: 5123

-Fixed bug with incorrect types in DAE.CREF_IDENT and DAE.CREF_QUAL. The types should be that of the identifier -without- subscripts. This also required that this type information is returned from lookupVar, which resulted in the splicedExp changed to a SplicedExpData which contains the optional spliced expression and the type of (the last) ident. (See Lookup.mo) This will probably not affect OpenModelica backend, since it only uses the type from DAE.CREF, but MathCore backend uses these types, so they must be correct.
-Fixed bug with functions not picked up to dae in lookupFunctionsInEnv
-Fixed bug with simpliciation of scalar products (required by MultiBody simulations, testcase at MathCore).

470 lines of code changed in 8 files:

bjozac 2010-03-11 11:41 Rev.: 5122

Added a back patch for Qualified instantiation

2 lines of code changed in 1 file:

sjoelund.se 2010-03-10 17:44 Rev.: 5119

- Removed some of the ErrorExt.rollback and setCheckpoint I added for pointless error messages.
- We now check if the modifications could possibly generate basic types (only start,nominal,etc NAMEMOD's allowed).
+ This also removes the old error messages.

118 lines of code changed in 5 files:

perost 2010-03-10 16:58 Rev.: 5118

- Fixed Env.cacheGetEnv2 so that it searches all branches of the CacheTree when
looking up qualified names, and not just the first one. This was needed for
bug #1151.
- Added testcase Lookup10 that tests the fix in Env.cacheGetEnv2.
- Commented out some debug-related lines in Inst.

63 lines of code changed in 4 files:

bjozac 2010-03-10 16:26 Rev.: 5117

* Fixed initial array equations
* Activated back patching of initial if equations with Connection.isRoot() as statements.

180 lines of code changed in 3 files:

sjoelund.se 2010-03-10 15:47 Rev.: 5116

- Added support for external function annotation Library={"lib1","lib2"}, as per the 3.1 specification.
+ Updated MetaModelicaDev testsuite to use this functionality.

31 lines of code changed in 10 files:

ricli576 2010-03-10 15:04 Rev.: 5115

Generate correct read/write in 'in_' functions for complex types.

1241 lines of code changed in 4 files:

ricli576 2010-03-10 12:16 Rev.: 5113

Generate code for STMT_RETURN.

27 lines of code changed in 3 files:

ricli576 2010-03-10 11:18 Rev.: 5112

Added target test_susan that runs all tests where susan codegen is used.

4 lines of code changed in 1 file:

ricli576 2010-03-10 11:16 Rev.: 5111

Generate correct C type for external string array arguments.

30 lines of code changed in 3 files:

sjoelund.se 2010-03-10 10:33 Rev.: 5110

- Fixing another bug where error messages are sometimes printed out even though they shouldn't.
+ This occured in instBasictypeBaseclass because errors from elabMod were only rolled back if the class was builtin.
+ Added a testcase for this.

59 lines of code changed in 5 files:

sjoelund.se 2010-03-10 09:56 Rev.: 5109

- Updated testsuite/meta/MetaModelicaDev/02a_exp1/lexer.l to not give warning messages.

3 lines of code changed in 1 file:

sjoelund.se 2010-03-10 09:55 Rev.: 5108

- Fixed OMC parsing issues in Inst.mo. RML didn't complain even though the syntax was clearly incorrect.

2 lines of code changed in 1 file:

sjoelund.se 2010-03-10 09:54 Rev.: 5107

- Removed directory Compiler/template_precompile which was part of the old template code generator prototype.
+ This directory made MDT not work correctly (multiple copies of Util.mo for example).

0 lines of code changed in 10 files:

sjoelund.se 2010-03-09 17:59 Rev.: 5104

- Fixed a MetaModelica bug where matchcase expressions with 0 input variables were disallowed.

56 lines of code changed in 7 files:

sjoelund.se 2010-03-09 17:58 Rev.: 5103

- Fixing a bug where error messages are sometimes printed out even though they shouldn't.
+ This occured in instBasictypeBaseclass2 because noone made an ErrorExt checkpoint before trying to roll back the message.

31 lines of code changed in 4 files:

ricli576 2010-03-09 17:15 Rev.: 5102

Added special case when cref is of enum type.

2432 lines of code changed in 6 files:

ricli576 2010-03-09 16:28 Rev.: 5101

Generate 'in_' function for external functions.

1124 lines of code changed in 3 files:

ricli576 2010-03-09 15:20 Rev.: 5100

- Added support for generating single functions using Susan
- Added case to STMT_ASSIGN_ARR to handle slices on the left hand side

2885 lines of code changed in 6 files:

ricli576 2010-03-09 15:15 Rev.: 5099

Added test_susan target.

13 lines of code changed in 2 files:

sjoelund.se 2010-03-09 14:48 Rev.: 5098

- Updated MetaModelicaDev testcases (setting the type in lexer.l so it's not an int anymore).
- Updated 09_pamdecl slightly for OMC, but OMC fails to parse one of the files.

312 lines of code changed in 23 files:

perost 2010-03-09 11:04 Rev.: 5097

Unified handling of Icon and Diagram annotation, since getDiagramAnnotation
didn't work in all cases. Both Icon and Diagram annotation are now handled in
the same way.

160 lines of code changed in 1 file:

sjoelund.se 2010-03-08 16:30 Rev.: 5096

- Changed Env.BCFrames to list<Env> instead of list<Frame>.
- Updated Inst.getDerivedEnv and Lookup.lookup{Class,Var} to reflect these changes.

63 lines of code changed in 3 files:

perost 2010-03-08 12:12 Rev.: 5093

Fix for bug #1146:
+ Fixed elaboration of fill (such as zeros and ones) on arrays of unknown dimensions.
+ Added testcase FillSize in mofiles

99 lines of code changed in 3 files:

ricli576 2010-03-08 12:00 Rev.: 5092

- Fixed when_sorting test case by extracting a new set of equations including
when equations (used in functionUpdateDepend template)
- Generated functionCheckForDiscreteChanges function correctly

1499 lines of code changed in 5 files:

stebr461 2010-03-08 09:28 Rev.: 5091

- C_runtime .c files now have updated license headers

133 lines of code changed in 12 files:

stebr461 2010-03-08 09:25 Rev.: 5090

- C_runtime .h files now have updated license headers

261 lines of code changed in 26 files:

stebr461 2010-03-08 09:19 Rev.: 5089

- Rest of .mo files

444 lines of code changed in 38 files:

stebr461 2010-03-08 09:15 Rev.: 5088

- First batch of updated license headers

386 lines of code changed in 36 files:

Frenkel TUD 2010-03-06 00:57 Rev.: 5087

- bugfix CombiTable2D

5 lines of code changed in 2 files:

Frenkel TUD 2010-03-05 19:21 Rev.: 5086

- implement CompiTables2D, not testet yet

344 lines of code changed in 3 files:

perost 2010-03-05 17:16 Rev.: 5085

Implemented support for initial array equations (DAE.INITIAL_ARRAY_EQUATION).
Not properly tested yet, but shouldn't break anything.

192 lines of code changed in 7 files:

sjoelund.se 2010-03-05 13:16 Rev.: 5084

- Changed the base class in SCode elements to a list instead of option.

122 lines of code changed in 8 files:

sjoelund.se 2010-03-05 11:59 Rev.: 5083

- Changed instElement to get the class and component modifications before updating them.
- This solves issues when you try to update modifications that are discarded anyway.

38 lines of code changed in 3 files:

ricli576 2010-03-04 16:52 Rev.: 5081

Implemented generation of delayed expressions.

1506 lines of code changed in 5 files:

sjoelund.se 2010-03-04 16:38 Rev.: 5080

- Fixed r5075 (which changed encoding of Swedish letters into ???)

66 lines of code changed in 8 files:

perost 2010-03-04 16:35 Rev.: 5079

Updated workplan.

0 lines of code changed in 1 file:

ricli576 2010-03-04 15:40 Rev.: 5077

- Implemented generation of reductions
- Fixed incorrect name in print string
- Added empty function checkForDiscreteChanges (to make it compile)

2240 lines of code changed in 4 files:

stebr461 2010-03-04 15:22 Rev.: 5076

- some test suite spreadsheet modifications

0 lines of code changed in 1 file:

asodja 2010-03-04 10:15 Rev.: 5075

Added a field `aliasVars' to structure DAELow, where replacement
transformations for alias variables (originating from trivial equations)
are stored.
Currently, this field is ignored everywhere -- it will be only used in
code generation in my own branch `omprof'.

194 lines of code changed in 9 files:

sjoelund.se 2010-03-03 17:35 Rev.: 5074

- Updated URLs in README-OMDev-MINGW.txt

2 lines of code changed in 1 file:

Frenkel TUD 2010-03-03 15:08 Rev.: 5073

- reimplement Exp.solve for ifexp because use solvenonlinsys is very slow(with solvenonlinsys: 5sec. without 0sec) The testcase IfEquation2 works now because there is no division by zero (a*x/y,y==0 all the time) anymore. It does not fail with solvenonlinsys because solvenonlinsys returns 0 for this special case.

8 lines of code changed in 2 files:

sjoelund.se 2010-03-03 14:37 Rev.: 5072

- Removed trailing whitespace from Compiler/*.mo

20747 lines of code changed in 80 files:

sjoelund.se 2010-03-03 14:19 Rev.: 5071

- Added Env.BCEnv for the type used by base classes (currently aliased to Env.Env)

74 lines of code changed in 7 files:

sjoelund.se 2010-03-03 11:00 Rev.: 5070

- Updated Inst.getDerivedEnv - it no longer needs to check for possible infinite recursion since lookupClass does that for us.

1 lines of code changed in 1 file:

sjoelund.se 2010-03-02 22:16 Rev.: 5069

- multibody/Makefile should be rtest -v

1 lines of code changed in 1 file:

Frenkel TUD 2010-03-02 18:56 Rev.: 5066

bugfix for removeSimpleEquations

1 lines of code changed in 1 file:

sjoelund.se 2010-03-02 17:56 Rev.: 5065

- Don't use Inst.updateCompeltsMods on DAE.NOMOD. This reduces failtrace logs.
- Updated multibody testcases.
* Changed eol-style to native.
* updateCompeltsMods caused changes in the order in which functions in the DAE were generated.

65176 lines of code changed in 21 files:

sjoelund.se 2010-03-02 15:42 Rev.: 5064

- Added the correct modification in Inst.updateCompeltsMods, instead of DAE.NOMOD.
- This mainly removes errors and failtraces that would later be patched in anyway.
- It should now be easier to debug large models since most of the failtrace should be relevant again.

91 lines of code changed in 5 files:

perost 2010-03-02 10:01 Rev.: 5063

Updated workplan.

0 lines of code changed in 1 file:

wbraun 2010-03-02 05:45 Rev.: 5062

Update event handling for euler.
Add two testcases: one for event iteration and one for when sorting
cleanup Codegen.mo.

312 lines of code changed in 10 files:

adrpo 2010-03-02 04:01 Rev.: 5061

- updates to checkparseerror.c to make it compile using g++
+ include stdlib.h for exit(x).
+ define the function as extern "C" to be able to find
it when calling it from omc.

0 lines of code changed in 2 files:

adrpo 2010-03-02 03:06 Rev.: 5060

- updates to estimates

0 lines of code changed in 1 file:

petfr 2010-03-01 18:48 Rev.: 5059

Update 2010-02-26, moving relevant bug work to MultiBody, formating to 1 decimal,
etc.

0 lines of code changed in 1 file:

sjoelund.se 2010-03-01 16:56 Rev.: 5058

- Added lookup of partial packages that have modifications (needed for base classes).
- Changed lookup of imports to use previous frames and the new constructs for only looking up in the current scope.

99 lines of code changed in 2 files:

perost 2010-03-01 15:49 Rev.: 5057

Fixed bug #1170, which included:
+ Fixing elaboration of vector function.
+ Enabling Inst to determine the size of an unknown dimension (WHOLEDIM) from a variables modifier.
+ Fixing the c_runtime to handle assignment to column slices of matrices
correctly (or at least more correctly than before...).
+ Adding a test case VectorTest.mo.

172 lines of code changed in 6 files:

sjoelund.se 2010-03-01 10:09 Rev.: 5056

- Removed setLinker commands from testsuite/meta/MetaModelicaDev

10 lines of code changed in 16 files:

sjoelund.se 2010-03-01 09:53 Rev.: 5055

- Removed some now setLinker API calls that are not required (the default linker is already g++)

2 lines of code changed in 27 files:

sjoelund.se 2010-03-01 09:38 Rev.: 5054

- Dynamically loaded functions are now compiled using g++ instead of gcc. They are still exported using extern C.

39 lines of code changed in 1 file:

February 2010 »

Generated by StatSVN 0.7.0