Directory testsuite/records/

Directory Deleted:
2012-10-01 19:57
Total Files:
0
Deleted Files:
20
Lines of Code:
0

[root]/testsuite/records

Lines of Code

testsuite/records/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 131 (100.0%) 2106 (100.0%) 16.0
mahge930 8 (6.1%) 922 (43.8%) 115.2
perost 10 (7.6%) 600 (28.5%) 60.0
sjoelund.se 80 (61.1%) 541 (25.7%) 6.7
adrpo 10 (7.6%) 34 (1.6%) 3.4
ricli576 1 (0.8%) 7 (0.3%) 7.0
Frenkel TUD 2 (1.5%) 2 (0.1%) 1.0
alash325 20 (15.3%) 0 (0.0%) 0.0

Most Recent Commits

alash325 2012-10-01 19:57 Rev.: 13125

- 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 20 files:

  • testsuite/records: Derived1.mo (del), Derived2.mo (del), EmptyRecordTestConstructor.mos (del), EmptyRecordTestInput.mos (del), Makefile (del), NestedRecordTestConstructor.mos (del), NestedRecordTestInput.mos (del), OperatorOverloadComplex.mo (del), OperatorOverloadComplexArray.mo (del), RecordBindingsOrdered.mo (del), RecordClassModOutput.mo (del), RecordFuncParam.mo (del), RecordFuncParam.mos (del), RecordModifications.mo (del), RecordParameters.mos (del), RecordTest.mo (del), RecordVariability.mo (del), SimpleRecordTestConstructor.mos (del), SimpleRecordTestInput.mos (del), rtest (del)
sjoelund.se 2012-08-30 11:01 Rev.: 12732

- Fixed svn:eol-style

71 lines of code changed in 4 files:

  • testsuite/records: OperatorOverloadComplex.mo (+1), OperatorOverloadComplexArray.mo (+1), RecordBindingsOrdered.mo (+68 -67), RecordClassModOutput.mo (+1)
perost 2012-05-10 14:47 Rev.: 11889

- More cats.

6 lines of code changed in 1 file:

  • testsuite/records: OperatorOverloadComplexArray.mo (+6 -6)
perost 2012-05-10 14:06 Rev.: 11885

- Implemented a new template based expression dumping.
- Updated test suite.

509 lines of code changed in 3 files:

  • testsuite/records: OperatorOverloadComplex.mo (+18 -18), OperatorOverloadComplexArray.mo (+430 -430), RecordClassModOutput.mo (+61 -61)
mahge930 2012-03-20 17:10 Rev.: 11473

+ Merging the parallel extensions.
+ Traversal and analysis of parallel for loops.
Checks all component references in the body and makes sure they are valid.
+ parallel and kernel functions are handled in the Front-end now.
+ parallel variables are handled in the Front-end now.
- some checks and restrictions remain, but nothing that
affects the normal OM compilation.
* so far so good.

+ A fixed but forgotten test-case update. (encapsulated issue for Complex)

1 lines of code changed in 1 file:

  • testsuite/records: OperatorOverloadComplexArray.mo (+1 -1)
mahge930 2012-03-01 22:48 Rev.: 11260

+ 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:

  • testsuite/records: Makefile (+31 -5)
mahge930 2012-01-30 02:58 Rev.: 10975

+ Support for overloading of Modelica element-wise operators.
Now these are deduced from the scalar versions whenever necessary.
+ Normal operators can also be vectorized now if there is no other option.
That is: when there is no exact match found for operating on arrays but
there is/are some for corresponding scalars.
+ This is full support for operator overloading.
+ There are some deviations from the Specifications.
See comments in testsuite/records/OperatorOverloadComplexArray.mo and Static.mo

759 lines of code changed in 3 files:

  • testsuite/records: Makefile (+1), OperatorOverloadComplex.mo (new 328), OperatorOverloadComplexArray.mo (new 430)
mahge930 2012-01-23 13:04 Rev.: 10937

+ Fix for missing parameter passing for records.
Bug #1675
+ Fix for missing bindings for records with classmod modifications on output variables.
+ Fix for constant evaluated bindings to default values for record to record assignments.

131 lines of code changed in 3 files:

  • testsuite/records: Makefile (+3 -1), RecordBindingsOrdered.mo (new 67), RecordClassModOutput.mo (new 61)
adrpo 2011-11-15 12:44 Rev.: 10515

- 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

19 lines of code changed in 5 files:

  • testsuite/records: Derived1.mo (+3 -3), Derived2.mo (+3 -3), RecordFuncParam.mo (+3 -3), RecordModifications.mo (+6 -6), RecordVariability.mo (+4 -4)
perost 2011-09-15 11:29 Rev.: 9822

- Added check for public non-formal function parameters, and fixed the compiler
code and test cases.

4 lines of code changed in 1 file:

  • testsuite/records: RecordParameters.mos (+4 -8)
sjoelund.se 2011-08-10 09:00 Rev.: 9623

#1407
- OpenModelica extension: Functions now accept "parameter input" and "constant input", which simply requires an argument to be a parameter/constant expression

1 lines of code changed in 1 file:

  • testsuite/records: RecordTest.mo (+1 -1)
adrpo 2011-06-01 00:42 Rev.: 9222

- 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:

  • testsuite/records: RecordFuncParam.mos (+1 -1)
perost 2011-05-09 09:17 Rev.: 8879

Fix for bug #1492:
- Only propagate final prefix if the component is declared final.

12 lines of code changed in 1 file:

  • testsuite/records: RecordModifications.mo (+12 -12)
sjoelund.se 2011-05-04 10:29 Rev.: 8802

#1507
- Made ExpressionSimplify more stable

27 lines of code changed in 1 file:

  • testsuite/records: RecordModifications.mo (+27 -27)
sjoelund.se 2011-04-06 14:09 Rev.: 8521

- Disable running simplify after each unary elaboration
- Traverse each instantiated equation using simplify1
- cevalIfConstant on VAR variability expressions now does simplify1

4 lines of code changed in 1 file:

  • testsuite/records: RecordModifications.mo (+4 -4)
perost 2011-03-02 16:16 Rev.: 8063

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.

3 lines of code changed in 1 file:

  • testsuite/records: RecordVariability.mo (+3 -3)
adrpo 2010-12-09 02:38 Rev.: 7326

- 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

13 lines of code changed in 3 files:

  • testsuite/records: Derived1.mo (+4 -4), Derived2.mo (+4 -4), RecordFuncParam.mo (+5 -5)
sjoelund.se 2010-11-24 14:27 Rev.: 7170

- Changed the SimCode data structure (RecordDeclaration is now stored in SIMCODE and FUNCTIONCODE instead of in every function individually)

2 lines of code changed in 1 file:

  • testsuite/records: RecordFuncParam.mos (+2)
sjoelund.se 2010-09-30 12:17 Rev.: 6259

- Enable error messages for cevalCallFunction again

1 lines of code changed in 1 file:

  • testsuite/records: RecordModifications.mo (+1 -1)
sjoelund.se 2010-09-23 21:39 Rev.: 6200

- add -fPIC if uname -m is x86_64 in the testsuite
- This should fix issues on 64-bit Debian-Stable (which uses old GCC)

6 lines of code changed in 3 files:

  • testsuite/records: EmptyRecordTestConstructor.mos (+2 -6), NestedRecordTestConstructor.mos (+2 -5), SimpleRecordTestConstructor.mos (+2 -4)
sjoelund.se 2010-09-21 12:34 Rev.: 6159

- Fix svn-eol-style on Makefiles

1 lines of code changed in 1 file:

  • testsuite/records: Makefile (+1)
sjoelund.se 2010-08-26 16:16 Rev.: 5959

- Changed output of a flat class from fclass to class (omc a.mo > a.mof; omc a.mof no longer causes a parsing error)
- All testcases have been updated

5 lines of code changed in 5 files:

  • testsuite/records: Derived1.mo (+1 -1), Derived2.mo (+1 -1), RecordFuncParam.mo (+1 -1), RecordModifications.mo (+1 -1), RecordVariability.mo (+1 -1)
sjoelund.se 2010-05-31 09:27 Rev.: 5588

- Fixed testsuite/mosfiles/IfEquation3.mo

14 lines of code changed in 14 files:

  • testsuite/records: Derived1.mo (+1 -1), Derived2.mo (+1 -1), EmptyRecordTestConstructor.mos (+1), EmptyRecordTestInput.mos (+1), NestedRecordTestConstructor.mos (+1), NestedRecordTestInput.mos (+1), RecordFuncParam.mo (+1), RecordFuncParam.mos (+1), RecordModifications.mo (+1), RecordParameters.mos (+1), RecordTest.mo (+1), RecordVariability.mo (+1), SimpleRecordTestConstructor.mos (+1), SimpleRecordTestInput.mos (+1)
sjoelund.se 2010-05-18 07:35 Rev.: 5540

- Updated testcases after changes to ordering

5 lines of code changed in 1 file:

  • testsuite/records: RecordFuncParam.mo (+5 -5)
perost 2010-05-17 13:00 Rev.: 5534

- Fixed bug #1215: http://openmodelica.ida.liu.se:8080/cb/issue/1215 (Records as input arguments to functions).
- Added instantiateImplicitRecordConstructors to Static, to make sure that record constructors are instantiated when needed, even if they are not explicitly called.
- Fixed code generation for record instances that are input arguments to functions.
- Updated some testcases where record constructors where instantiated earlier than before.
- Added testcases records/RecordFuncParam.mo and records/RecordFuncParam.mos to test the bugfix.

66 lines of code changed in 3 files:

  • testsuite/records: Makefile (+2 -1), RecordFuncParam.mo (new 49), RecordFuncParam.mos (new 15)
sjoelund.se 2010-04-20 11:07 Rev.: 5336

- We now handle redeclare modifications in extends in InstExtends instead of passing back the modification and handling it later.
+ This added support for the record constructor function when redeclaring records.

35 lines of code changed in 2 files:

  • testsuite/records: Derived2.mo (new 34), Makefile (+1 -1)
sjoelund.se 2010-04-16 12:06 Rev.: 5319

- Added support for "record ABC = DEF;", and calling the record constructor ABC.
- Added testcase records/Derived1.

37 lines of code changed in 2 files:

  • testsuite/records: Derived1.mo (new 30), Makefile (+7 -5)
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.

33 lines of code changed in 10 files:

  • testsuite/records: EmptyRecordTestConstructor.mos (+3 -1), EmptyRecordTestInput.mos (+1 -1), Makefile (+2 -3), NestedRecordTestConstructor.mos (+3 -1), NestedRecordTestInput.mos (+1 -1), RecordModifications.mo (+12), RecordParameters.mos (+1 -1), RecordVariability.mo (+7), SimpleRecordTestConstructor.mos (+2), SimpleRecordTestInput.mos (+1 -1)
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:

  • testsuite/records: rtest (+7 -2)
sjoelund.se 2010-02-28 13:25 Rev.: 5053

- Updated external C function testcases. Including the C-file instead of object-file may fail if the linker is g++ instead of gcc (and we eventually want to use g++).
- Using the Include = "#include \"abc.c\"" or Library = "abc.c" annotations won't work if we use g++ as linker.
- mofiles testcases now use rtest -v so errors are more visible when grepping for == in a testsuite log.

11 lines of code changed in 5 files:

  • testsuite/records: EmptyRecordTestConstructor.mos (+3), Makefile (+1 -1), NestedRecordTestConstructor.mos (+2), RecordTest.mo (+3 -3), SimpleRecordTestConstructor.mos (+2)
sjoelund.se 2010-02-24 13:45 Rev.: 5033

- Updates to testsuite/mathcore-mofiles and testsuite/records to match changes made in r5029

1 lines of code changed in 1 file:

  • testsuite/records: RecordModifications.mo (+1 -1)
Frenkel TUD 2010-02-23 21:05 Rev.: 5022

- undo more simplification (Rev 5008) because speedup is less than 1%, so numerical stability will be preferred

1 lines of code changed in 1 file:

  • testsuite/records: RecordModifications.mo (+1 -1)
Frenkel TUD 2010-02-19 19:30 Rev.: 5008

- do a bit more simplification

1 lines of code changed in 1 file:

  • testsuite/records: RecordModifications.mo (+1 -1)
adrpo 2010-02-18 03:47 Rev.: 4989

- updated all rtest files to use grep instead of egrep because:
system "egrep -s '^#|Execution failed!' $log";
would *wrongly* succeed if $log contains word "failed"


1 lines of code changed in 1 file:

  • testsuite/records: rtest (+1 -1)
sjoelund.se 2010-01-21 13:20 Rev.: 4842

Bugfix for ticket #1154
- Add Inst.addComponentsToEnv to all components before elaborating any mods in records.
+ We now use instClassExtendsAndExtendsList instead of record-specific code for handling SCode.EXTENDS.
+ Added testsuite/record/RecordModifications.mo to test this.
- Removed Lookup.buildRecordConstructorVarLst.
+ Lookup.buildRecordConstructorClass does almost the same thing.
+ Added Lookup.buildRecordType, a helper function for the functions that previously fetched varLst and created type based on that.
- Inst.splitElts and Inst.instClassExtendsAndExtendsList were made public so they could be seen from Lookup.

- Bugfix for calling functions inherited by a class using relative paths.
+ Added testsuite/mofiles/Extends5.mo to test this.

39 lines of code changed in 2 files:

  • testsuite/records: Makefile (+1), RecordModifications.mo (new 38)
sjoelund.se 2009-11-16 09:41 Rev.: 4519

- Re-added some now working tests from failingtests

1 lines of code changed in 1 file:

  • testsuite/records: Makefile (+1 -1)
sjoelund.se 2009-11-11 12:50 Rev.: 4493

- Do not add equations if we bind a record variable using a ceval'ed record constructor.
- Do not change variability of record fields from const to param if the parent is declared param.

32 lines of code changed in 2 files:

  • testsuite/records: Makefile (+1 -1), RecordVariability.mo (new 31)
sjoelund.se 2009-11-09 16:49 Rev.: 4472

- Removed the algorithms and mods on the result element in the record constructor (they didn't work if the field was parameter or constant).
- Added a new kind of function in the DAE, DAE.RECORD_CONSTRUCTOR, so we can handle records that contain parameters or constants.
- Fixed a bug that caused Values.RECORD to have ClassInf.RECORD("package.name") instead of ClassInf.RECORD("name"), which is in use elsewhere.

57 lines of code changed in 4 files:

  • testsuite/records: Makefile (+2 -2), RecordParameters.mos (new 35), RecordTest.mo (+20)
sjoelund.se 2009-10-27 13:23 Rev.: 4405

- JarCreator: Transforms backslashes of paths in zip-files to frontslashes. That way both javac.exe and java.exe work properly in Windows.
- testsuite/java/JavaExt.java: Escape the string so backslashes are parsed by OpenModelica.
- testsuite/{java,records}/rtest: Changed to an rtest that is not parallelized since Windows dll's hate that. (Also updated the mos-files since the old one requires // endResult
- testsuite/java/Makefile: Better Windows-support using JAVA_HOME
- c_runtime/java_interface/Makefile*: Better Windows-support using JAVA_HOME

146 lines of code changed in 2 files:

  • testsuite/records: rtest (new)
sjoelund.se 2009-10-26 10:14 Rev.: 4393

- Using Ceval.cevalCallFunction record constructor instead of cevalFunction
- Enabled testsuite/records as a default test to run as it now works

3 lines of code changed in 2 files:

  • testsuite/records: Makefile (+1 -1), NestedRecordTestInput.mos (+2 -2)

(1 more)

Generated by StatSVN 0.7.0