Directory testsuite/flattening/modelica/declarations/

Directory Created:
2012-09-27 04:36
Total Files:
70
Deleted Files:
1
Lines of Code:
2054

[root]/testsuite/flattening/modelica/declarations

Lines of Code

testsuite/flattening/modelica/declarations/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 458 (100.0%) 2312 (100.0%) 5.0
alash325 325 (71.0%) 1874 (81.1%) 5.7
perost 27 (5.9%) 155 (6.7%) 5.7
hudson 56 (12.2%) 137 (5.9%) 2.4
sjoelund.se 40 (8.7%) 97 (4.2%) 2.4
adrpo 9 (2.0%) 48 (2.1%) 5.3
mahge930 1 (0.2%) 1 (0.0%) 1.0

Most Recent Commits

perost 2014-10-17 16:23 Rev.: 22798

Fix for #2898:
- Made the compiler less sensitive to errors in unused models.

6 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: DoubleDeclaration.mo (+4 -1), Makefile (+2 -2)
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

11 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: Constant12.mo (+6 -6), ConstantDeclRecord.mo (+5)
perost 2014-05-26 16:32 Rev.: 20840

- Added output of parentheses for if-expressions on the LHS in dumpers.

24 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: LhsIf.mo (new 23), Makefile (+1)
perost 2014-04-24 14:56 Rev.: 20252

Fix for #2642:
- Rewrote handling of builtin attributes to be less repetitive.
- Added detection of duplicated modifiers on builtin types.

0 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: ScopeDeclaration2.mo (-1)
hudson 2014-04-16 11:06 Rev.: 20164

[Janitor mode] Fix whitespace

123 lines of code changed in 49 files:

  • testsuite/flattening/modelica/declarations: Annotations.mo (+3 -3), Constant1.mo (+2 -2), Constant10.mo (+2 -2), Constant11.mo (+5 -5), Constant2.mo (+2 -2), Constant3.mo (+2 -2), Constant4.mo (+3 -3), Constant5.mo (+3 -3), Constant6.mo (+3 -3), Constant7.mo (+2 -2), Constant8.mo (+2 -2), Constant9.mo (+3 -3), ConstantDeclRecord.mo (+1 -1), ConstantReductions.mo (+2 -2), ConstructParameters.mo (+12 -12), ConstructParameters2.mo (+5 -5), DeclarationOrder1.mo (+2 -2), DeclarationOrder2.mo (+2 -2), DeclareConstant1.mo (+1 -1), DeclareConstant2.mo (+2 -2), DeclareConstant3.mo (+5 -5), Discrete1.mo (+1 -1), Discrete2.mo (+1 -1), DiscreteDeclRecord.mo (+1 -1), DoubleDeclaration.mo (+2 -2), ErrorExternalModel.mo (+2 -2), ErrorMultipleClasses.mo (+2 -2), ErrorRecursionLimit.mo (+2 -2), FloatingPoint.mo (+1 -1), FlowDeclRecord.mo (+1 -1), FlowDeclRecord2.mo (+1 -1), InputDeclRecord.mo (+1 -1), MultipleDeclarations.mo (+4 -4), MultipleDeclarations2.mo (+3 -3), MyPointsInst1.mo (+4 -4), MyPointsInst2.mo (+5 -5), OutputDeclRecord.mo (+1 -1), ParameterDeclRecord.mo (+1 -1), ScalarizeBindings.mo (+2 -2), ScopeDeclaration1.mo (+1 -1), ScopeDeclaration2.mo (+3 -3), ScopeDeclaration3.mo (+4 -4), ScopeDeclaration4.mo (+1 -1), ScopeModification1.mo (+2 -2), ScopeModification2.mo (+3 -3), SimpleIntegrator1.mo (+1 -1), SimpleIntegrator2.mo (+1 -1), SimpleIntegrator3.mo (+3 -3), TestPackageConstantHandling.mo (+5 -5)
perost 2013-12-16 18:12 Rev.: 18496

Fix for #2503:
- Propagate visibility prefix to components of structured components.

2 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: ConstructParameters2.mo (+2 -2)
perost 2013-10-17 12:00 Rev.: 17735

Fix for #2383:
- Replaced class restriction with specialized class in error messages.
- Use pretty-printing of class specialization in ClassInf.assertValid.

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: ErrorExternalModel.mo (+1 -1)
adrpo 2013-10-13 18:37 Rev.: 17667

- last fixes for ExternalMedia
+ fully qualify paths in ClassInf.State
+ do List.unique on records so we don't get duplicates
+ now at least 5 models in ExternalMedia can be compiled
- fix an issue with lookup where path to be looked up
contains the name of the model in the scope we're in.
this fixes instantiation of
ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator,
probably more models in ThemoPower.
added test:
testsuite/flattening/modelica/others/ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator.mos

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: ErrorExternalModel.mo (+1 -1)
sjoelund.se 2013-10-07 14:58 Rev.: 17584

Some tail recursion

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: ErrorRecursionLimit.mo (+1 -1)
adrpo 2013-10-06 01:58 Rev.: 17556

- fix bug #2403 (quite many changes, do make clean)
- properly count tuple equation size in the BackEnd
BackendDAE.ALGORITHM gets a new component called expand (DAE.Expand)
which tells that this algorithm was translated from an equation as
in this case we SHOULD NOT expand array crefs to the full size
- added test for bug #2403
testsuite/simulation/modelica/algorithms_functions/
ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.mos
- fix counting of tuples in CheckModel.mo

More unrelated fixes:
- add recursion limit depth in Global.mo and display it in the warnings and errors about recursion limit
- fix typing of record bindings for R a[3](eta = {eta[1], eta[2], eta[3]})
- if function path is longer than 50 chars minimize it by keeping the first
ident.lastIdent.uniqueID (see CevalScript.generateFunctionFileName)
- List.applyAndFold1 -> remove restriction of extra argument to be the same type of the list element.
- add buildModel to ModelicaBuiltin.mo

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: ErrorRecursionLimit.mo (+1 -1)
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

3 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: Constant2.mo (+2 -2), DeclarationOrder.mo (+1 -1)
adrpo 2013-09-18 18:19 Rev.: 17302

- fix filename in Makefile, should be TestPackageConstantHandling.mo

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: Makefile (+1 -1)
hudson 2013-07-17 04:58 Rev.: 16608

[Janitor mode] Fix tabs

5 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: TestPackageConstantHandling.mo (+5 -5)
hudson 2013-07-17 04:57 Rev.: 16607

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: TestPackageConstantHandling.mo (+1)
adrpo 2013-07-17 04:54 Rev.: 16606

- fix bug: #2283
- added test
testsuite/flattening/modelica/declarations/TestPackageConstantHandling.mo

31 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: Makefile (+2 -1), TestPackageConstantHandling.mo (new 29)
perost 2013-06-10 13:56 Rev.: 16277

- Fixed punctuation of error messages.

5 lines of code changed in 4 files:

  • testsuite/flattening/modelica/declarations: Constant9.mo (+2 -2), ScopeDeclaration2.mo (+1 -1), ScopeModification2.mo (+1 -1), SimpleIntegrator3.mo (+1 -1)
hudson 2013-05-07 14:17 Rev.: 15997

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: ScalarizeBindings.mo (+1)
perost 2013-05-07 14:11 Rev.: 15996

- Added +scalarizeBindings flag, to enable scalarization of array bindings.

20 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: Makefile (+1), ScalarizeBindings.mo (new 19)
sjoelund.se 2013-05-06 08:26 Rev.: 15988

Removing warning about fixed parameter without start-value or binding equation since the warning is often wrong. The check should probably be made in the backend if it is needed.

0 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: ParameterDeclConnector.mo (-2), ParameterDeclRecord.mo (-2)
hudson 2013-05-03 16:17 Rev.: 15976

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: Annotations.mo (+1)
perost 2013-05-03 16:15 Rev.: 15975

- Fixed output of class annotations when +showAnnotations is used.

40 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: Annotations.mo (new 39), Makefile (+1)
hudson 2013-05-02 21:27 Rev.: 15965

[Janitor mode] Fix tabs

4 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: ConstantReductions.mo (+4 -4)
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

2 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: MyPointsInst1.mo (+1 -1), MyPointsInst2.mo (+1 -1)
hudson 2013-05-02 20:46 Rev.: 15962

[Janitor mode] Fix tabs

2 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: MyPointsInst1.mo (+1 -1), MyPointsInst2.mo (+1 -1)
sjoelund.se 2013-04-20 16:22 Rev.: 15868

#2155 Allow declaring a record component constant even if the elements have bindings

22 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: Constant13.mo (new 21), Makefile (+1)
perost 2013-04-19 18:48 Rev.: 15867

- Reverted r15866, since it broke some testcases.

0 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: InstClassBindingMod.mo (del), Makefile (-1)
perost 2013-04-19 17:52 Rev.: 15866

Fix for #2159:
- Only consider components in modifiers when sorting elements during instantiation.

42 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: InstClassBindingMod.mo (new 41), Makefile (+1)
perost 2013-03-27 13:05 Rev.: 15656

- Added source information to some error messages.

2 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: ParameterDeclConnector.mo (+1 -1), ParameterDeclRecord.mo (+1 -1)
perost 2013-03-12 22:27 Rev.: 15551

- Removed checks for duplicate elements and type names that are the same as the
component name from SCodeUtil.

6 lines of code changed in 3 files:

  • testsuite/flattening/modelica/declarations: DoubleDeclaration.mo (+2 -1), ErrorMultipleClasses.mo (+2 -1), MultipleDeclarations2.mo (+2 -1)
perost 2013-03-04 11:40 Rev.: 15455

- Added Error.addMultiSourceMessage for errors with multiple sources.
- Big update of new new instantiation.

2 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: MultipleDeclarations.mo (+2 -1)
sjoelund.se 2013-02-08 09:16 Rev.: 15104

Fix tests

12 lines of code changed in 11 files:

  • testsuite/flattening/modelica/declarations: Constant9.mo (+1 -1), DeclareConstant3.mo (+1 -1), DoubleDeclaration.mo (+1 -1), ErrorExternalModel.mo (+1 -1), ErrorMultipleClasses.mo (+1 -1), ErrorRecursionLimit.mo (+1 -1), MultipleDeclarations.mo (+1 -1), MultipleDeclarations2.mo (+1 -1), ScopeDeclaration2.mo (+2 -2), ScopeModification2.mo (+1 -1), SimpleIntegrator3.mo (+1 -1)
sjoelund.se 2013-02-07 16:16 Rev.: 15085

Always use full pathnames for file info of parsed files

13 lines of code changed in 12 files:

  • testsuite/flattening/modelica/declarations: Constant9.mo (+1 -1), DeclareConstant3.mo (+1 -1), DoubleDeclaration.mo (+1 -1), ErrorExternalModel.mo (+1 -1), ErrorMultipleClasses.mo (+1 -1), ErrorRecursionLimit.mo (+1 -1), FloatingPoint.mo (+1 -1), MultipleDeclarations.mo (+1 -1), MultipleDeclarations2.mo (+1 -1), ScopeDeclaration2.mo (+2 -2), ScopeModification2.mo (+1 -1), SimpleIntegrator3.mo (+1 -1)
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.

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: ConstantDeclRecord.mo (+1 -1)
sjoelund.se 2012-12-15 09:26 Rev.: 14398

- Fix line-endings

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: Makefile (+1)
sjoelund.se 2012-11-13 13:21 Rev.: 13881

#1922
- Handle type-casting from records with the same components but different names'
- Improve scalarization of record equations in the front-end. Made it worse in the back-end (back-end does not handle cast of records)

36 lines of code changed in 7 files:

  • testsuite/flattening/modelica/declarations: ConstantDeclRecord.mo (+5), DiscreteDeclRecord.mo (+5), FlowDeclRecord.mo (+5), FlowDeclRecord2.mo (+6), InputDeclRecord.mo (+5), OutputDeclRecord.mo (+5), ParameterDeclRecord.mo (+5)
sjoelund.se 2012-11-08 14:29 Rev.: 13830

#1931
- Do not scalarize vector equations
+ Except constants, parameters, records, complex types, external objects, and maybe some more

10 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: DeclarationEquation2.mo (+4 -2), DeclarationEquation3.mo (+6 -4)
perost 2012-10-09 22:52 Rev.: 13283

- Move Discrete2 test case to failing, and DoubleDeclaration to working.

5 lines of code changed in 2 files:

  • testsuite/flattening/modelica/declarations: DoubleDeclaration.mo (+3 -6), Makefile (+2 -2)
alash325 2012-10-05 08:14 Rev.: 13192

- Naming mistake correction Makefile

2 lines of code changed in 1 file:

  • testsuite/flattening/modelica/declarations: Makefile (+2 -2)
alash325 2012-10-05 05:56 Rev.: 13190

- Moved mofiles to flattening/modelica + grouping them based on language feature tests + update Makefile for modelica asserts(just to check if it works)

1702 lines of code changed in 64 files:

  • testsuite/flattening/modelica/declarations: CondDeclaration.mo (+17), Constant1.mo (+24), Constant10.mo (+23), Constant11.mo (+41), Constant12.mo (+27), Constant2.mo (+27), Constant3.mo (+27), Constant4.mo (+18), Constant5.mo (+17), Constant6.mo (+31), Constant7.mo (+28), Constant8.mo (+30), Constant9.mo (+26), ConstantDeclConnector.mo (+24), ConstantDeclRecord.mo (+20), ConstantDeclType.mo (+16), ConstantReductions.mo (+63), ConstructParameters.mo (+74), ConstructParameters2.mo (+52), DeclarationEquation1.mo (+16), DeclarationEquation2.mo (+17), DeclarationEquation3.mo (+19), DeclarationOrder.mo (+28), DeclarationOrder1.mo (+32), DeclarationOrder2.mo (+38), DeclareConstant1.mo (+13), DeclareConstant2.mo (+10), DeclareConstant3.mo (+25), Discrete1.mo (+23), Discrete2.mo (+19), DiscreteDeclConnector.mo (+27), DiscreteDeclRecord.mo (+24), DiscreteDeclType.mo (+16), DoubleDeclaration.mo (+27), ErrorExternalModel.mo (+17), ErrorMultipleClasses.mo (+20), ErrorRecursionLimit.mo (+24), FloatingPoint.mo (+42), FlowDeclConnector.mo (+25), FlowDeclRecord.mo (+24), FlowDeclRecord2.mo (+44), FlowDeclType.mo (+16), InputDeclConnector.mo (+27), InputDeclRecord.mo (+24), InputDeclType.mo (+16), MultipleDeclarations.mo (+38), MultipleDeclarations2.mo (+22), MyPointsInst1.mo (+48), MyPointsInst2.mo (+49), OutputDeclConnector.mo (+27), OutputDeclRecord.mo (+24), OutputDeclType.mo (+16), ParameterDeclConnector.mo (+29), ParameterDeclRecord.mo (+26), ParameterDeclType.mo (+16), ScopeDeclaration1.mo (+16), ScopeDeclaration2.mo (+27), ScopeDeclaration3.mo (+26), ScopeDeclaration4.mo (+20), ScopeModification1.mo (+25), ScopeModification2.mo (+25), SimpleIntegrator1.mo (+24), SimpleIntegrator2.mo (+22), SimpleIntegrator3.mo (+24)
alash325 2012-10-04 20:56 Rev.: 13184

- fix Makefile for flattening/libraries/msl221/, flattening/libraries/msl221/modelicaAdditions and testsuite

169 lines of code changed in 65 files:

  • testsuite/flattening/modelica/declarations: CondDeclaration.mo (changed), Constant1.mo (changed), Constant10.mo (changed), Constant11.mo (changed), Constant12.mo (changed), Constant2.mo (changed), Constant3.mo (changed), Constant4.mo (changed), Constant5.mo (changed), Constant6.mo (changed), Constant7.mo (changed), Constant8.mo (changed), Constant9.mo (changed), ConstantDeclConnector.mo (changed), ConstantDeclRecord.mo (changed), ConstantDeclType.mo (changed), ConstantReductions.mo (changed), ConstructParameters.mo (changed), ConstructParameters2.mo (changed), DeclarationEquation1.mo (changed), DeclarationEquation2.mo (changed), DeclarationEquation3.mo (changed), DeclarationOrder.mo (changed), DeclarationOrder1.mo (changed), DeclarationOrder2.mo (changed), DeclareConstant1.mo (changed), DeclareConstant2.mo (changed), DeclareConstant3.mo (changed), Discrete1.mo (changed), Discrete2.mo (changed), DiscreteDeclConnector.mo (changed), DiscreteDeclRecord.mo (changed), DiscreteDeclType.mo (changed), DoubleDeclaration.mo (changed), ErrorExternalModel.mo (changed), ErrorMultipleClasses.mo (changed), ErrorRecursionLimit.mo (changed), FloatingPoint.mo (changed), FlowDeclConnector.mo (changed), FlowDeclRecord.mo (changed), FlowDeclRecord2.mo (changed), FlowDeclType.mo (changed), InputDeclConnector.mo (changed), InputDeclRecord.mo (changed), InputDeclType.mo (changed), Makefile (+169), MultipleDeclarations.mo (changed), MultipleDeclarations2.mo (changed), MyPointsInst1.mo (changed), MyPointsInst2.mo (changed), OutputDeclConnector.mo (changed), OutputDeclRecord.mo (changed), OutputDeclType.mo (changed), ParameterDeclConnector.mo (changed), ParameterDeclRecord.mo (changed), ParameterDeclType.mo (changed), ScopeDeclaration1.mo (changed), ScopeDeclaration2.mo (changed), ScopeDeclaration3.mo (changed), ScopeDeclaration4.mo (changed), ScopeModification1.mo (changed), ScopeModification2.mo (changed), SimpleIntegrator1.mo (changed), SimpleIntegrator2.mo (changed), SimpleIntegrator3.mo (changed)

(3 more)

Generated by StatSVN 0.7.0