Directory testsuite/flattening/modelica/operators/

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

[root]/testsuite/flattening/modelica/operators

Lines of Code

testsuite/flattening/modelica/operators/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 306 (100.0%) 2402 (100.0%) 7.8
alash325 204 (66.7%) 1350 (56.2%) 6.6
perost 25 (8.2%) 682 (28.4%) 27.2
adrpo 10 (3.3%) 170 (7.1%) 17.0
hudson 37 (12.1%) 126 (5.2%) 3.4
sjoelund.se 27 (8.8%) 64 (2.7%) 2.3
lochel 1 (0.3%) 8 (0.3%) 8.0
wbraun 1 (0.3%) 1 (0.0%) 1.0
vitalij 1 (0.3%) 1 (0.0%) 1.0

Most Recent Commits

perost 2015-02-26 15:15 Rev.: 24800

- Improved deduction of implicit iteration ranges in for-loops.
- Added ALG_ASSERT, ALG_TERMINATE and ALG_REINIT to SCode.Statement,
to mimic how SCode.EEquation is structured.
- Various code cleanup.

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/operators: ImplicitRangeReductionInvalid4.mo (+1 -1)
hudson 2015-02-10 15:52 Rev.: 24505

[Janitor mode] Set auto-props

5 lines of code changed in 5 files:

  • testsuite/flattening/modelica/operators: ImplicitRangeReductionInvalid1.mo (+1), ImplicitRangeReductionInvalid2.mo (+1), ImplicitRangeReductionInvalid3.mo (+1), ImplicitRangeReductionInvalid4.mo (+1), ImplicitRangeReductions.mo (+1)
perost 2015-02-10 15:29 Rev.: 24504

Fix for #3041:
- Implemented deduction of implicit iteration ranges for reductions.

351 lines of code changed in 8 files:

  • testsuite/flattening/modelica/operators: ImplicitRangeReductionInvalid1.mo (new 20), ImplicitRangeReductionInvalid2.mo (new 20), ImplicitRangeReductionInvalid3.mo (new 20), ImplicitRangeReductionInvalid4.mo (new 22), ImplicitRangeReductions.mo (new 144), Makefile (+7), NonConstantReduction.mo (new 16), Reductions.mo (new 102)
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 1 file:

  • testsuite/flattening/modelica/operators: Cardinality3.mo (+3 -3)
sjoelund.se 2014-08-18 11:11 Rev.: 21896

Added some tail recursion for the connection trie graph (moves some variables around in equations, and some equations too)

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/operators: CardinalityArray.mo (+1 -1)
sjoelund.se 2014-08-17 17:28 Rev.: 21891

Tail-recursive instArray2 for DIM_INTEGER (at the cost of moving some equations around)

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/operators: CardinalityArray.mo (+1 -1)
sjoelund.se 2014-06-03 12:34 Rev.: 20931

Fix some of the sorting of components based on dependencies in the bindings
- Would silently fail in some cases in the past
- Some models now give no warnings in compile-time and run-time
- AIMS_Start gives a different result for one variable
- UnevaluateableFixedAttribute.mos gives different results for RML and bootstrapped omc versions

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/operators: OperatorsTuples.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.

1 lines of code changed in 1 file:

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

[Janitor mode] Fix whitespace

71 lines of code changed in 25 files:

  • testsuite/flattening/modelica/operators: Cardinality.mo (+4 -4), Cardinality2.mo (+2 -2), Cardinality3.mo (+3 -3), CardinalityArray.mo (+2 -2), Cat1.mo (+5 -5), IntDiv.mo (+2 -2), IntPow.mo (+2 -2), NoEvent1.mo (+1 -1), OperatorComponents.mo (+3 -3), OperatorFunction1.mo (+2 -2), OperatorSimple.mo (+2 -2), Operators.mo (+1 -1), OperatorsTuples.mo (+3 -3), Pow.mo (+2 -2), RealAddEw.mo (+1 -1), RealDivEw.mo (+1 -1), RealMulEw.mo (+1 -1), RealSubEw.mo (+1 -1), ReinitArray.mo (+2 -2), ReinitInvalidType.mo (+4 -4), ReinitInvalidType2.mo (+7 -7), ReinitInvalidType3.mo (+7 -7), Terminal1.mo (+4 -4), Terminal2.mo (+5 -5), reinit.mo (+4 -4)
perost 2014-02-17 18:20 Rev.: 19145

Fix for #2585:
- Handle cardinality on arrays properly.

42 lines of code changed in 2 files:

  • testsuite/flattening/modelica/operators: CardinalityArray.mo (new 41), Makefile (+1)
vitalij 2014-02-14 00:04 Rev.: 19111

- simplify rule x/r = x *(1/r) with test of numerical issues
can someone have a look of
./simulation/libraries/3rdParty/ThermoSysPro/ThermoSysPro.Examples.SimpleExamples.TestJunctions4.mos

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/operators: OperatorsTuples.mo (+1 -1)
hudson 2014-02-06 17:51 Rev.: 19004

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/operators: RealPowEw.mo (+1)
perost 2014-02-06 17:49 Rev.: 19003

- Added disableRecordConstructorOutput debug flag.
- Handle matrices in min/max better.
- Handle arrays with more than two dimensions better in product.
- Fix array types when slicing vars with more than two dimensions.

85 lines of code changed in 2 files:

  • testsuite/flattening/modelica/operators: Makefile (+1), RealPowEw.mo (new 84)
hudson 2014-02-05 18:32 Rev.: 18988

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/operators: Cardinality3.mo (+1)
perost 2014-02-05 18:24 Rev.: 18987

Fix for #2062:
- Better handling of cardinality.

48 lines of code changed in 3 files:

  • testsuite/flattening/modelica/operators: Cardinality.mo (+3 -7), Cardinality3.mo (new 43), Makefile (+2 -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

7 lines of code changed in 2 files:

  • testsuite/flattening/modelica/operators: Cat1.mo (+6 -6), OperatorsTuples.mo (+1 -1)
wbraun 2013-06-13 19:46 Rev.: 16348

#2242
- bug fix. Added mising case for tuples in Expression.factorsWork

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/operators: OperatorsTuples.mo (+1 -1)
hudson 2013-05-02 21:27 Rev.: 15965

[Janitor mode] Fix tabs

9 lines of code changed in 2 files:

  • testsuite/flattening/modelica/operators: OperatorComponents.mo (+2 -2), Pow.mo (+7 -7)
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

39 lines of code changed in 3 files:

  • testsuite/flattening/modelica/operators: Cat1.mo (+1 -1), OperatorSimple.mo (+1 -1), OperatorsTuples.mo (+37 -37)
hudson 2013-05-02 20:46 Rev.: 15962

[Janitor mode] Fix tabs

39 lines of code changed in 3 files:

  • testsuite/flattening/modelica/operators: Cat1.mo (+1 -1), OperatorSimple.mo (+1 -1), OperatorsTuples.mo (+37 -37)
sjoelund.se 2013-04-29 11:58 Rev.: 15926

Fix eol-style

4 lines of code changed in 4 files:

  • testsuite/flattening/modelica/operators: RealAddEw.mo (+1), RealDivEw.mo (+1), RealMulEw.mo (+1), RealSubEw.mo (+1)
perost 2013-04-22 13:33 Rev.: 15874

Fix for #2159:
- Sort connector components before connecting them, to make sure that their
order doesn't matter.

2 lines of code changed in 1 file:

  • testsuite/flattening/modelica/operators: Cardinality.mo (+2 -2)
perost 2013-04-10 09:55 Rev.: 15776

Fix for #2143:
- Print out element-wise operators in flattened code when appropriate.

144 lines of code changed in 5 files:

  • testsuite/flattening/modelica/operators: Makefile (+4), RealAddEw.mo (new 35), RealDivEw.mo (new 35), RealMulEw.mo (new 35), RealSubEw.mo (new 35)
sjoelund.se 2013-02-08 09:16 Rev.: 15104

Fix tests

6 lines of code changed in 6 files:

  • testsuite/flattening/modelica/operators: IntDiv.mo (+1 -1), IntPow.mo (+1 -1), ReinitInvalidType.mo (+1 -1), ReinitInvalidType2.mo (+1 -1), ReinitInvalidType3.mo (+1 -1), Terminal2.mo (+1 -1)
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 6 files:

  • testsuite/flattening/modelica/operators: IntDiv.mo (+1 -1), IntPow.mo (+1 -1), ReinitInvalidType.mo (+1 -1), ReinitInvalidType2.mo (+1 -1), ReinitInvalidType3.mo (+1 -1), Terminal2.mo (+1 -1)
sjoelund.se 2012-12-15 09:26 Rev.: 14398

- Fix line-endings

2 lines of code changed in 2 files:

  • testsuite/flattening/modelica/operators: Makefile (+1), OperatorsTuples.mo (+1)
lochel 2012-12-06 12:16 Rev.: 14259

- use reinit in test operators/reinit.mo - otherwise the test is senseless ;-)

8 lines of code changed in 1 file:

  • testsuite/flattening/modelica/operators: reinit.mo (+8 -4)
adrpo 2012-12-06 05:38 Rev.: 14254

- make tests do what they are suppose to.
replaced reinit inside when initial() with assignment or initial equation.

20 lines of code changed in 2 files:

  • testsuite/flattening/modelica/operators: ReinitInvalidType.mo (+3 -3), reinit.mo (+17 -10)
adrpo 2012-12-06 04:58 Rev.: 14253

- fix tests.

9 lines of code changed in 2 files:

  • testsuite/flattening/modelica/operators: ReinitInvalidType.mo (+1 -1), reinit.mo (+8 -14)
adrpo 2012-11-26 08:43 Rev.: 14070

- revert changes to templates:
Compiler/Template/CodegenC.tpl
Compiler/Template/ExpressionDumpTpl.tpl
as things started to break for no apparent reason!
- revert changes to tests.

8 lines of code changed in 1 file:

  • testsuite/flattening/modelica/operators: OperatorsTuples.mo (+8 -8)
adrpo 2012-11-26 08:03 Rev.: 14069

- expected output
- remove the merging of modifiers in SCodeAnalyseRedeclare.mo for now as it seems to have some issues with the AVM models.

8 lines of code changed in 1 file:

  • testsuite/flattening/modelica/operators: OperatorsTuples.mo (+8 -8)
adrpo 2012-11-25 22:12 Rev.: 14067

- fixes for bug: #1953

Static.mo
- handle Tuple op nonTuple
- handle op Tuple
- test for it: testsuite/flattening/modelica/operators/OperatorsTuples.mo

Inst.mo
- workaround for Modelica MSL bug: https://trac.modelica.org/Modelica/ticket/627
- remove when fixed

118 lines of code changed in 2 files:

  • testsuite/flattening/modelica/operators: Makefile (+1), OperatorsTuples.mo (new 117)
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)

2 lines of code changed in 1 file:

  • testsuite/flattening/modelica/operators: OperatorSimple.mo (+2 -2)
perost 2012-10-17 13:42 Rev.: 13432

- Removed the special case for Real casts when dumping expressions, since
Modelica does not have a Real() function.
- Some SCodeInst fixes.
- Fixed compiler warnings in corbaimpl.cpp.
- Updated testcases due to the expression dumping change.

6 lines of code changed in 2 files:

  • testsuite/flattening/modelica/operators: Cat1.mo (+4 -4), Pow.mo (+2 -2)
sjoelund.se 2012-10-08 11:58 Rev.: 13245

- Improve error-messages for operator deoverloading

1 lines of code changed in 1 file:

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

1206 lines of code changed in 40 files:

  • testsuite/flattening/modelica/operators: And.mo (+22), Cardinality.mo (+70), Cardinality2.mo (+27), Cat1.mo (+56), CondOperators.mo (+32), ConstantLogicalRelations.mo (+77), Equals.mo (+18), Expressions.mo (+28), GreaterThan.mo (+18), GreaterThanEqual.mo (+20), IntAdd.mo (+16), IntDiv.mo (+21), IntMul.mo (+16), IntPow.mo (+21), IntSub.mo (+16), LessThan.mo (+18), LessThanEqual.mo (+20), NoEvent1.mo (+30), Not.mo (+18), NotEquals.mo (+18), OperatorComponents.mo (+55), OperatorFunction1.mo (+50), OperatorFunction2.mo (+29), OperatorIllegal.mo (+31), OperatorSimple.mo (+61), Operators.mo (+87), Or.mo (+22), Pow.mo (+42), RealAdd.mo (+16), RealDiv.mo (+16), RealMul.mo (+16), RealPow.mo (+16), RealSub.mo (+16), ReinitArray.mo (+31), ReinitInvalidType.mo (+25), ReinitInvalidType2.mo (+25), ReinitInvalidType3.mo (+25), Terminal1.mo (+20), Terminal2.mo (+23), reinit.mo (+38)
alash325 2012-10-04 20:56 Rev.: 13184

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

143 lines of code changed in 41 files:

  • testsuite/flattening/modelica/operators: And.mo (changed), Cardinality.mo (changed), Cardinality2.mo (changed), Cat1.mo (changed), CondOperators.mo (changed), ConstantLogicalRelations.mo (changed), Equals.mo (changed), Expressions.mo (changed), GreaterThan.mo (changed), GreaterThanEqual.mo (changed), IntAdd.mo (changed), IntDiv.mo (changed), IntMul.mo (changed), IntPow.mo (changed), IntSub.mo (changed), LessThan.mo (changed), LessThanEqual.mo (changed), Makefile (+143), NoEvent1.mo (changed), Not.mo (changed), NotEquals.mo (changed), OperatorComponents.mo (changed), OperatorFunction1.mo (changed), OperatorFunction2.mo (changed), OperatorIllegal.mo (changed), OperatorSimple.mo (changed), Operators.mo (changed), Or.mo (changed), Pow.mo (changed), RealAdd.mo (changed), RealDiv.mo (changed), RealMul.mo (changed), RealPow.mo (changed), RealSub.mo (changed), ReinitArray.mo (changed), ReinitInvalidType.mo (changed), ReinitInvalidType2.mo (changed), ReinitInvalidType3.mo (changed), Terminal1.mo (changed), Terminal2.mo (changed), reinit.mo (changed)
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 41 files:

  • testsuite/flattening/modelica/operators: And.mo (new), Cardinality.mo (new), Cardinality2.mo (new), Cat1.mo (new), CondOperators.mo (new), ConstantLogicalRelations.mo (new), Equals.mo (new), Expressions.mo (new), GreaterThan.mo (new), GreaterThanEqual.mo (new), IntAdd.mo (new), IntDiv.mo (new), IntMul.mo (new), IntPow.mo (new), IntSub.mo (new), LessThan.mo (new), LessThanEqual.mo (new), Makefile (new), NoEvent1.mo (new), Not.mo (new), NotEquals.mo (new), OperatorComponents.mo (new), OperatorFunction1.mo (new), OperatorFunction2.mo (new), OperatorIllegal.mo (new), OperatorSimple.mo (new), Operators.mo (new), Or.mo (new), Pow.mo (new), RealAdd.mo (new), RealDiv.mo (new), RealMul.mo (new), RealPow.mo (new), RealSub.mo (new), ReinitArray.mo (new), ReinitInvalidType.mo (new), ReinitInvalidType2.mo (new), ReinitInvalidType3.mo (new), Terminal1.mo (new), Terminal2.mo (new), reinit.mo (new)
alash325 2012-10-01 19:45 Rev.: 13124

-deleted ./flattening/modelica

1 lines of code changed in 41 files:

  • testsuite/flattening/modelica/operators: And.mo (del), Cardinality.mo (del), Cardinality2.mo (del), Cat1.mo (del), CondOperators.mo (del), ConstantLogicalRelations.mo (del), Equals.mo (del), Expressions.mo (del), GreaterThan.mo (del), GreaterThanEqual.mo (del), IntAdd.mo (del), IntDiv.mo (del), IntMul.mo (del), IntPow.mo (del), IntSub.mo (del), LessThan.mo (del), LessThanEqual.mo (del), Makefile (del), NoEvent1.mo (del), Not.mo (del), NotEquals.mo (del), OperatorComponents.mo (del), OperatorFunction1.mo (del), OperatorFunction2.mo (del), OperatorIllegal.mo (del), OperatorSimple.mo (del), Operators.mo (del), Or.mo (del), Pow.mo (del), RealAdd.mo (del), RealDiv.mo (del), RealMul.mo (del), RealPow.mo (del), RealSub.mo (del), ReinitArray.mo (del), ReinitInvalidType.mo (del), ReinitInvalidType2.mo (del), ReinitInvalidType3.mo (del), Terminal1.mo (del), Terminal2.mo (del), reinit.mo (del)
alash325 2012-09-27 04:36 Rev.: 13070

- Moved mofiles and record test files to testsuite/flattening/modelica

0 lines of code changed in 41 files:

  • testsuite/flattening/modelica/operators: And.mo (new), Cardinality.mo (new), Cardinality2.mo (new), Cat1.mo (new), CondOperators.mo (new), ConstantLogicalRelations.mo (new), Equals.mo (new), Expressions.mo (new), GreaterThan.mo (new), GreaterThanEqual.mo (new), IntAdd.mo (new), IntDiv.mo (new), IntMul.mo (new), IntPow.mo (new), IntSub.mo (new), LessThan.mo (new), LessThanEqual.mo (new), Makefile (new), NoEvent1.mo (new), Not.mo (new), NotEquals.mo (new), OperatorComponents.mo (new), OperatorFunction1.mo (new), OperatorFunction2.mo (new), OperatorIllegal.mo (new), OperatorSimple.mo (new), Operators.mo (new), Or.mo (new), Pow.mo (new), RealAdd.mo (new), RealDiv.mo (new), RealMul.mo (new), RealPow.mo (new), RealSub.mo (new), ReinitArray.mo (new), ReinitInvalidType.mo (new), ReinitInvalidType2.mo (new), ReinitInvalidType3.mo (new), Terminal1.mo (new), Terminal2.mo (new), reinit.mo (new)
Generated by StatSVN 0.7.0