Directory testsuite/flattening/modelica/records/

Directory Created:
2012-09-27 04:36
Total Files:
41
Deleted Files:
0
Lines of Code:
2713

[root]/testsuite/flattening/modelica/records

Lines of Code

testsuite/flattening/modelica/records/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 253 (100.0%) 3184 (100.0%) 12.5
alash325 117 (46.2%) 2248 (70.6%) 19.2
sjoelund.se 32 (12.6%) 335 (10.5%) 10.4
hudson 39 (15.4%) 202 (6.3%) 5.1
mahge930 38 (15.0%) 178 (5.6%) 4.6
perost 13 (5.1%) 173 (5.4%) 13.3
adrpo 12 (4.7%) 46 (1.4%) 3.8
vitalij 2 (0.8%) 2 (0.1%) 1.0

Most Recent Commits

perost 2015-03-25 15:41 Rev.: 25245

Fix for #3245:
- Fix code generation for assignment to record slices in functions.

54 lines of code changed in 2 files:

  • testsuite/flattening/modelica/records: Makefile (+1), RecordSliceAssign.mo (new 53)
sjoelund.se 2015-02-25 00:47 Rev.: 24755

Fix parsing

3 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: RecordConstructors2.mo (+3 -3)
adrpo 2014-09-30 16:29 Rev.: 22515

Fix bug: #2854 (do scope versioning also in the top scope, but not for builtin classes and builtin types)
- note that flattening/modelica/declarations/Constant12.mo is actually correct now,
see m:#1397, well, except for the fact that it should tell that A.y does not have a binding

5 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: Record1.mo (+5)
adrpo 2014-09-30 06:33 Rev.: 22496

Merged branches/FFrontEnd into trunk/

Main changes:
- changed the environment to support both non-destructive and destructive updates
- Env.Cache -> FCore.Cache, Env.Env -> FCore.Graph
- FCore.Graph is not a list of Frames anymore is a stucture where the previous list is saved in component "scope"
- all Frames in the new FCore.Graph are FCore.Ref pointing to FCore.Node having different FCore.Data depending on what they are
- all FCore.Nodes have children (FCore.CAvlTree) which maps names to FCore.Ref (which is Array<FCore.Node>, size 1)
- FGraph.openScope pushes an already existing FCore.Ref (or a new one) on the scope list
- for all components having modifications the last class in the type path is renamed to include the
prefix, see FGraph.createVersionScope (this is done because we need unique names for redeclared functions,
records, etc and we need a unique type scope for that)
Example: A.B.C c -> A.B.C$c c

Bug fixes:
- calling function via component (multibody MSL 3.2.1 patch not needed anymore, will remove it in a next commit)
- #2837 array equations wrongly handled in RemoveSimpleEquations (used in ThermoPower and PowerSystems libraries, etc)
#2784, #2727, #2739 (missing modifiers combined with redeclare and unique function generation for redeclared functions)
#2835 - handle overconstrained connectors extending basic types (used in PowerSystems library)
- do not loose modifications on derived classes handled by InstExtends
- some error messages about missing components in Fluid library are gone
- for components of size 0 do not check if they are assigned before use in functions (residue in equalityConstraint)

31 lines of code changed in 4 files:

  • testsuite/flattening/modelica/records: RecordConstant1.mo (+5), RecordConstant2.mo (+5), RecordConstant3.mo (+5), RecordConstant4.mo (+16)
perost 2014-09-08 16:19 Rev.: 22170

Fix for #2806:
- Remove input/output from variables which are not at top-level or inside a
top-level connector.

3 lines of code changed in 2 files:

  • testsuite/flattening/modelica/records: Makefile (+1 -1), RecordPrefixes.mo (+2 -3)
vitalij 2014-08-19 11:24 Rev.: 21907

added some simplify rules

2 lines of code changed in 2 files:

  • testsuite/flattening/modelica/records: OperatorOverloadComplex.mo (+1 -1), OperatorOverloadComplexArray.mo (+1 -1)
sjoelund.se 2014-05-18 20:40 Rev.: 20675

Various bugfixes and new features
- A new implementation for overloaded (binary) operators.
* Follows the specification more strictly and produces less fewer warnings for legal code
* matrix*matrix and matrix*vector uses reduction expressions to implement sum and array
* Checked that inlining of the generated functions works and produces simple expressions
* The code has been split into its own file since it is 2200 LOC and very few things in there actually depend on Static.mo (most of the remaining ones should be refactored)
- Implemented inlining of functions that assign to record members instead of call the record constructor in a single statement
- When evaluating function inputs to determine output array dimensions, keep the evaluated results
- Adding new preOptModule evaluateReplaceProtectedFinalEvaluateParameters which replaces evaluateReplaceFinalEvaluateParameters as a default module
* Causes problems for NPendulum.mos and PrismaticConstraint. They have different preOptModules set in the tests
- Added simulation flag `-abortSlowSimulation` used for the library tests in the testsuite
- EngineV6 now causes chattering behaviour. It was set to a Compilation test.
* The test will not spin thanks to the `-abortSlowSimulation` flag
- Improve elaboration, simplification, evaluation, and code generation for reductions
* Each operator now has unique indexes to avoid conflicts when replacing iterator crefs
* We can now simplify user-defined operators
* Added a new kind of mode for reductions: DAE.THREAD(), as opposed to the standard DAE.COMBINE()
- When we have multiple iterators, the default DAE.COMBINE() is used and iterates over all combinations of the expressions in the iterators. DAE.THREAD() instead assumes the arrays have equal length and folds over the reduction expression with the n-th expression in each iterator at a time. Used by operator overloading to implement element-wise and `sum` operations.
* This changes the DAE slightly
- Implemented DAE.FuncArg as a uniontype instead of tuple (DAE change)
- Some better simplification for ASUB (ranges and reductions)
- And some more things. Hopefully the major changes are all listed.

37 lines of code changed in 2 files:

  • testsuite/flattening/modelica/records: OperatorOverloadComplex.mo (+18 -15), OperatorOverloadComplexArray.mo (+19 -113)
hudson 2014-04-16 11:06 Rev.: 20164

[Janitor mode] Fix whitespace

175 lines of code changed in 29 files:

  • testsuite/flattening/modelica/records: DefaultRecordParameters.mo (+9 -9), Derived1.mo (+1 -1), Derived2.mo (+1 -1), EngineSAAB95Total.mo (+6 -6), IntegerRealCast.mo (+2 -2), MatrixMultiplicationRecordTypes.mo (+5 -5), OperatorOverloadComplex.mo (+32 -32), OperatorOverloadComplexArray.mo (+59 -59), Record1.mo (+2 -2), RecordAssignment.mo (+1 -1), RecordBindingsOrdered.mo (+6 -6), RecordClassModOutput.mo (+5 -5), RecordConnections.mo (+1 -1), RecordConstant1.mo (+2 -2), RecordConstant2.mo (+3 -3), RecordConstant3.mo (+3 -3), RecordConstant4.mo (+2 -2), RecordConstructorVectorization.mo (+15 -15), RecordConstructors.mo (+1 -1), RecordConstructors2.mo (+1 -1), RecordDefaultArg.mo (+2 -2), RecordDefaultArgMod.mo (+2 -2), RecordEnumBinding.mo (+4 -4), RecordFuncParam.mo (+2 -2), RecordModifications.mo (+4 -4), RecordNonPublic.mo (+1 -1), RecordPrefixes.mo (+1 -1), RecordSimple.mo (+1 -1), RecordVariability.mo (+1 -1)
sjoelund.se 2014-04-11 16:13 Rev.: 20112

Improve error-message for type mismatch in function calls when there is only one candidate function

81 lines of code changed in 2 files:

  • testsuite/flattening/modelica/records: OperatorOverloadComplex.mo (+15), OperatorOverloadComplexArray.mo (+66)
adrpo 2014-04-03 18:39 Rev.: 19969

- properly fix missing separators!

3 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: Makefile (+3 -3)
adrpo 2014-04-02 17:27 Rev.: 19935

- fix Makefile

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: Makefile (+1 -1)
perost 2014-04-01 17:03 Rev.: 19914

Fix for #2643:
- Remove default values on record members if the are given a binding by a
modifier.

33 lines of code changed in 2 files:

  • testsuite/flattening/modelica/records: Makefile (+1), RecordDefaultArgMod.mo (new 32)
hudson 2014-03-28 19:47 Rev.: 19849

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: RecordDefaultArg.mo (+1)
perost 2014-03-28 19:40 Rev.: 19848

Fix for #2366 and #2640:
- Implemented evaluation of default arguments in function calls.

44 lines of code changed in 2 files:

  • testsuite/flattening/modelica/records: Makefile (+19 -15), RecordDefaultArg.mo (new 25)
hudson 2014-03-12 15:34 Rev.: 19556

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: RecordEnumBinding.mo (+1)
perost 2014-03-12 15:30 Rev.: 19555

Fix for #2616:
- Handle DAE.DEFINE in InstUtil.moveBindings.

34 lines of code changed in 2 files:

  • testsuite/flattening/modelica/records: Makefile (+1), RecordEnumBinding.mo (new 33)
sjoelund.se 2014-02-21 14:51 Rev.: 19238

#2555
- Enforce casting of the value of a binding, in addition to the expression

70 lines of code changed in 2 files:

  • testsuite/flattening/modelica/records: IntegerRealCast.mo (new 69), Makefile (+1)
adrpo 2013-10-24 15:41 Rev.: 17871

- expected results after revert of r17842

0 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: Makefile (-1)
mahge930 2013-10-23 13:33 Rev.: 17842

Recommit r17828. Updated expected outputs.

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: Makefile (+1)
mahge930 2013-10-23 09:04 Rev.: 17835

+ Revert parts of r17828 for now until tests are updated.

0 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: Makefile (-1)
hudson 2013-10-22 18:45 Rev.: 17829

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: MatrixMultiplicationRecordTypes.mo (+1)
mahge930 2013-10-22 18:21 Rev.: 17828

+ Fix #2387. Handle Matrix Multiplication of record types according to spec.

111 lines of code changed in 2 files:

  • testsuite/flattening/modelica/records: Makefile (+1), MatrixMultiplicationRecordTypes.mo (new 110)
adrpo 2013-09-22 12:07 Rev.: 17326

Fix for bug: #2346
- sort also the variable components for instantiation based on their bindings
- sort the DAE in the order it is defined in the Modelica file

4 lines of code changed in 2 files:

  • testsuite/flattening/modelica/records: RecordBindingsOrdered.mo (+1 -1), RecordVariability.mo (+3 -3)
mahge930 2013-07-03 16:11 Rev.: 16536

+ Handling arrays of records.
+ A new generic array structure to handle arrays of random types.
+ Underscores for qualified names too. e.g. _a._b. Needed for records like record R Integer int; end R;
+ recordArray[i].recordComponent works now. Deeper versions should also work.
- Multi-dimensional arrays of records need more support for default values. Right now default values handled only for one dimensional arrays of records.

8 lines of code changed in 2 files:

  • testsuite/flattening/modelica/records: NestedRecordTestConstructor.mos (+6 -6), SimpleRecordTestConstructor.mos (+2 -2)
hudson 2013-05-02 21:27 Rev.: 15965

[Janitor mode] Fix tabs

14 lines of code changed in 2 files:

  • testsuite/flattening/modelica/records: OperatorOverloadComplex.mo (+5 -5), OperatorOverloadComplexArray.mo (+9 -9)
sjoelund.se 2013-05-02 21:17 Rev.: 15963

Revert r15962 (accidently replaced 8 spaces with 2 spaces; was supposed to be 1 tab to 2 spaces but text editors messed up the command)
Contact me if you have problems merging your working copy

9 lines of code changed in 4 files:

  • testsuite/flattening/modelica/records: OperatorOverloadComplex.mo (+3 -3), OperatorOverloadComplexArray.mo (+2 -2), RecordConstructorVectorization.mo (+3 -3), RecordVariability.mo (+1 -1)
hudson 2013-05-02 20:46 Rev.: 15962

[Janitor mode] Fix tabs

9 lines of code changed in 4 files:

  • testsuite/flattening/modelica/records: OperatorOverloadComplex.mo (+3 -3), OperatorOverloadComplexArray.mo (+2 -2), RecordConstructorVectorization.mo (+3 -3), RecordVariability.mo (+1 -1)
hudson 2013-04-30 14:51 Rev.: 15938

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: External_C_RecordTest.c (+1)
perost 2013-04-19 12:02 Rev.: 15862

- Handle arrays of records inside records correctly in DAEDump.

2 lines of code changed in 2 files:

  • testsuite/flattening/modelica/records: RecordConstant2.mo (+1 -3), RecordConstant3.mo (+1 -3)
mahge930 2013-02-10 15:07 Rev.: 15133

+ revert 15132

6 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: OperatorOverloadComplexArray.mo (+6 -6)
mahge930 2013-02-10 14:10 Rev.: 15132

+ Fix for operators access in classes which derive an operator record.
- Remove unnecessarily printed message to failtrace.

6 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: OperatorOverloadComplexArray.mo (+6 -6)
sjoelund.se 2013-02-08 09:16 Rev.: 15104

Fix tests

6 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: OperatorOverloadComplexArray.mo (+6 -6)
sjoelund.se 2013-02-07 16:16 Rev.: 15085

Always use full pathnames for file info of parsed files

6 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: OperatorOverloadComplexArray.mo (+6 -6)
mahge930 2013-01-25 08:46 Rev.: 14927

+ Handle protected elements too when evaluating records.

8 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: RecordParameters.mos (+8 -4)
mahge930 2013-01-21 11:36 Rev.: 14849

+ Record constructors: get default values from the original record declaration. Not from an instance (possibly modified) of a record.

11 lines of code changed in 7 files:

  • testsuite/flattening/modelica/records: DefaultRecordParameters.mo (+2 -2), EngineSAAB95Total.mo (+2 -2), Record1.mo (+1 -1), RecordConstant1.mo (+1 -1), RecordConstant2.mo (+1 -1), RecordConstant3.mo (+1 -1), RecordConstant4.mo (+3 -3)
mahge930 2013-01-20 17:56 Rev.: 14842

+ reverting changes from r14841

11 lines of code changed in 7 files:

  • testsuite/flattening/modelica/records: DefaultRecordParameters.mo (+2 -2), EngineSAAB95Total.mo (+2 -2), Record1.mo (+1 -1), RecordConstant1.mo (+1 -1), RecordConstant2.mo (+1 -1), RecordConstant3.mo (+1 -1), RecordConstant4.mo (+3 -3)
mahge930 2013-01-20 16:56 Rev.: 14841

+ Record constructors: get default values from the original record declaration. Not from a [modified] instance of the record.

11 lines of code changed in 7 files:

  • testsuite/flattening/modelica/records: DefaultRecordParameters.mo (+2 -2), EngineSAAB95Total.mo (+2 -2), Record1.mo (+1 -1), RecordConstant1.mo (+1 -1), RecordConstant2.mo (+1 -1), RecordConstant3.mo (+1 -1), RecordConstant4.mo (+3 -3)
mahge930 2013-01-20 11:17 Rev.: 14839

- cleanup record construction.
- see what fails

2 lines of code changed in 2 files:

  • testsuite/flattening/modelica/records: RecordConstructors2.mo (+1 -1), RecordVariability.mo (+1 -1)
adrpo 2012-12-23 08:13 Rev.: 14526

- more test fixing and moving tests to non working
i mostly broke tests with final components override message. i'll fix them later.

2 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: Makefile (+2 -2)
adrpo 2012-12-13 18:00 Rev.: 14366

- expected output.

0 lines of code changed in 1 file:

  • testsuite/flattening/modelica/records: RecordBindingsOrdered.mo (-3)

(12 more)

Generated by StatSVN 0.7.0