Directory testsuite/simulation/modelica/arrays/

Directory Created:
2012-10-12 13:09
Total Files:
112
Deleted Files:
2
Lines of Code:
7578

[root]/testsuite/simulation/modelica/arrays
                    directory in repo ReferenceFiles (1 files, 0 lines)

Lines of Code

testsuite/simulation/modelica/arrays/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 321 (100.0%) 8615 (100.0%) 26.8
adrpo 40 (12.5%) 3980 (46.2%) 99.5
alash325 83 (25.9%) 3045 (35.3%) 36.6
hudson 65 (20.2%) 590 (6.8%) 9.0
gustaf 7 (2.2%) 215 (2.5%) 30.7
wbraun 9 (2.8%) 180 (2.1%) 20.0
lochel 13 (4.0%) 155 (1.8%) 11.9
perost 10 (3.1%) 140 (1.6%) 14.0
sjoelund.se 76 (23.7%) 112 (1.3%) 1.4
mahge930 10 (3.1%) 105 (1.2%) 10.5
vwaurich 3 (0.9%) 78 (0.9%) 26.0
adeas31 4 (1.2%) 8 (0.1%) 2.0
jfrenkel 1 (0.3%) 7 (0.1%) 7.0

Most Recent Commits

adeas31 2015-03-25 19:00 Rev.: 25258

- Expected output.

3 lines of code changed in 3 files:

  • testsuite/simulation/modelica/arrays: ArrayParameterSize.mos (+1 -4), BooleanArray2.mos (+1 -4), ZeroSizeLoop.mos (+1 -4)
gustaf 2015-03-17 21:34 Rev.: 25132

Test case for bug #3214 was renamed and added to Makefile.

109 lines of code changed in 5 files:

  • testsuite/simulation/modelica/arrays: ArrayReturn.mo (new 48), ArrayReturn.mos (new 60), ArrayReturnTest.mo (del), ArrayReturnTest.mos (del), Makefile (+1)
hudson 2015-03-17 14:27 Rev.: 25125

[Janitor mode] Fix whitespace

3 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: ArrayReturnTest.mo (+3 -3)
hudson 2015-03-17 14:26 Rev.: 25124

[Janitor mode] Set auto-props

2 lines of code changed in 2 files:

  • testsuite/simulation/modelica/arrays: ArrayReturnTest.mo (+1), ArrayReturnTest.mos (+1)
gustaf 2015-03-17 14:18 Rev.: 25123

Test case for bug #3214.

106 lines of code changed in 2 files:

  • testsuite/simulation/modelica/arrays: ArrayReturnTest.mo (new 47), ArrayReturnTest.mos (new 59)
hudson 2015-03-06 13:13 Rev.: 24962

[Janitor mode] Fix whitespace

135 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: Breaker_total.mo (+135 -135)
adrpo 2015-03-06 13:07 Rev.: 24961

Fix #3187 (well, not really)
- re-added support for array equations of the form: der(x_arr) = fcall() * x_arr; in SimCodeUtil.createSingleArrayEqnCode (r24947 changes removed that)
- added test testsuite/simulation/modelica/arrays/Breaker_total.mos
- minor change in Compiler/Template/DAEDumpTpl.tpl

1089 lines of code changed in 3 files:

  • testsuite/simulation/modelica/arrays: Breaker_total.mo (new 1069), Breaker_total.mos (new 19), Makefile (+1)
hudson 2015-03-05 20:38 Rev.: 24948

[Janitor mode] Set auto-props

26 lines of code changed in 3 files:

  • testsuite/simulation/modelica/arrays: ArraySliceAssigmentFunction.mos (+1), bug_3184.mo (+24 -23), bug_3184.mos (+1)
mahge930 2015-03-05 20:25 Rev.: 24947

- Improved array-equation handling in the backend
- Array equations now contain Exp for lhs
- Fix #3184 again (broke it with r24930)
- Test cases for #3184 and #3188

83 lines of code changed in 4 files:

  • testsuite/simulation/modelica/arrays: ArraySliceAssigmentFunction.mos (new 42), Makefile (+2), bug_3184.mo (new 22), bug_3184.mos (new 17)
hudson 2015-03-04 15:03 Rev.: 24894

[Janitor mode] Fix whitespace

217 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: Bug3187.mo (+217 -217)
adrpo 2015-03-04 15:00 Rev.: 24893

- add test for bug #3187

2349 lines of code changed in 3 files:

  • testsuite/simulation/modelica/arrays: Bug3187.mo (new 2330), Bug3187.mos (new 18), Makefile (+1)
mahge930 2015-02-14 14:59 Rev.: 24578

+ Cleaned up ComponentReference handling in the code generators. Less clutter. Reuse functions as much as possible.
+ Now we can use offsetting to index arrays in generated code. works for qualified Crefs as well.
- Some issues still remain (e.g. alias elimination) so we don't use offsetting by default.
only used when the cref involves variable indexes for now. Still might give erroneous results if some array members are missing though.
+ Improved handling of multi-variable return functions (*tuple returns).
+ fix for a case where wrong types were used when creating crefs in front-end.

2 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: crefIndex.mos (+2 -2)
adeas31 2014-12-09 18:07 Rev.: 23709

- Expected output of tests using csv.

5 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: ABCDsystem.csv.mos (+5 -5)
adrpo 2014-11-26 09:48 Rev.: 23564

Fix bug #2980
- use GC_malloc_uncollectable to signal that the arrays of strings are roots
- added test gc2980.mos

33 lines of code changed in 5 files:

  • testsuite/simulation/modelica/arrays: Makefile (+1), bug_2911.mos (+1 -1), gc.mos (+1 -1), gc2980.mo (new 8), gc2980.mos (new 22)
adrpo 2014-11-26 07:17 Rev.: 23562

- partial fix for bug #2980 (the model given in the ticket works but the last model in the comments does not yet)
- use malloc_atomic instead of malloc_string as use use modelica_string now
- typedef m_string as modelica_string
- use *malloc instead of *malloc_atomic in some more places
- add test gc.mos

197 lines of code changed in 3 files:

  • testsuite/simulation/modelica/arrays: Makefile (+1), gc.mo (new 15), gc.mos (new 181)
sjoelund.se 2014-11-02 22:00 Rev.: 23138

Big changes. You will need to bootstrap omc from scratch.
- Added function `sourceInfo()`, which returns the file and positions of the call in the source code (useful to produce error-messages that point inside the compiler itself).
- Changed all Absyn.Info to the built-in SourceInfo uniontype
- Added SourceInfo to GlobalScript.IEXP (previously only statements had SourceInfo)
- Changed System.readLine to fail if the file does not exist. The scripting function returns an empty string on failure.

A new bootstrapping tarball has been created. Some of the new features you can use in the compiler:
- (Limited) assignment to metarecord fields (r23120)
- Use new built-in function arrayAppend and Dangerous.arrayCreateNoInit (r23106)
- import MetaModelica.Dangerous (r23001)
- SourceInfo (this commit)

2 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: ABCDsystem.empty.mos (+2 -3)
adrpo 2014-10-21 15:01 Rev.: 22838

- fix missing separator.

1 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: Makefile (+1 -1)
hudson 2014-10-20 15:28 Rev.: 22819

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: bug_2911.mos (+1)
wbraun 2014-10-20 15:01 Rev.: 22816

- #2911 fixed. replace also comma in a generated variable

42 lines of code changed in 2 files:

  • testsuite/simulation/modelica/arrays: Makefile (+1), bug_2911.mos (new 41)
adrpo 2014-10-09 01:42 Rev.: 22692

- fix missing separator

2 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: Makefile (+2 -3)
mahge930 2014-10-08 19:35 Rev.: 22689

+ Improve r22851. Fix 2452.
+ Proper counting of algorithm section outputs. Make sure we don't count sections from array components multiple times.

5 lines of code changed in 2 files:

  • testsuite/simulation/modelica/arrays: BooleanArray2.mos (+4 -4), Makefile (+1 -1)
lochel 2014-10-07 13:13 Rev.: 22652

- fix expected output, even if it still get handled wrong (see #2452)

10 lines of code changed in 2 files:

  • testsuite/simulation/modelica/arrays: BooleanArray2.mos (+9 -21), Makefile (+1 -1)
mahge930 2014-10-03 16:19 Rev.: 22581

Fix #2452. Improve #2271 (and also #2112 maybe ?). Counting of algorithm section equation outputs involving arrays and records.

6 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: BooleanArray2.mos (+6 -5)
hudson 2014-09-28 06:43 Rev.: 22465

[Janitor mode] Fix whitespace

1 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: ArrayModel.mo (+1 -1)
adrpo 2014-09-28 06:32 Rev.: 22463

Fix bug #2837
- properly handle array equations in RemoveSimpleEquations.mo

37 lines of code changed in 3 files:

  • testsuite/simulation/modelica/arrays: ArrayModel.mo (new 15), ArrayModel.mos (new 21), Makefile (+1)
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.

7 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: ZeroSizeLoop.mos (+7 -7)
mahge930 2014-05-30 17:27 Rev.: 20908

+ New sorting for back-end variables.
- subscripts are compared only if the crefs match without considering subs. i.e. pushed to the end of the cref.
+ Fixed state-sets generation and initialization to use the correct indexing.
- Used to be transposed.

5 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: ABCDsystem.csv.mos (+5 -5)
wbraun 2014-05-25 00:54 Rev.: 20820

- an other attempt to fix IndexReduction

1 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: NPendulum.mos (+1 -2)
sjoelund.se 2014-05-23 16:49 Rev.: 20813

Expected output

2 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: NPendulum.mos (+2)
wbraun 2014-05-21 16:37 Rev.: 20742

- fixed index reduction (kudos to Jens)
- use higher order derivative index instead of just counting up

0 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: NPendulum.mos (-2)
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.

3 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: NPendulum.mos (+3 -1)
sjoelund.se 2014-04-24 13:59 Rev.: 20251

Replace measureTime=true with +d=measureTime in buildModel/etc
- Fix code generation for profiling of function calls (was disabled)
- Fix the counter for number of profiling blocks so the profiling now includes the measured blocks again

35 lines of code changed in 34 files:

  • testsuite/simulation/modelica/arrays: ABCDsystem.csv.mos (+1 -1), ABCDsystem.empty.mos (+1 -1), ABCDsystem.plt.mos (+1 -1), AlgorithmArrayEqn.mos (+1 -1), AppendElement.mos (+1 -1), ArrayAddSub1.mos (+1 -1), ArrayDivError.mos (+1 -1), ArrayEquation.mos (+1 -1), ArrayExponentiation.mos (+1 -1), ArrayMult.mos (+1 -1), ArrayReduce.mos (+1 -1), ArraySlice.mos (+1 -1), ArraySlice2.mos (+1 -1), AsubCrefExpType.mos (+1 -1), BooleanArray.mos (+1 -1), ConstructFunc.mos (+1 -1), CyclicPerm.mos (+1 -1), DimConvert.mos (+1 -1), NPendulum.mos (+1 -1), PolynomialEvaluator1.mos (+1 -1), PolynomialEvaluator2.mos (+1 -1), PolynomialEvaluator3.mos (+1 -1), PolynomialEvaluatorA.mos (+1 -1), PolynomialEvaluatorB.mos (+1 -1), VariableRangeSubscript.mos (+1 -1), VectorizeOneReturnValue.mos (+1 -1), Xpowers1.mos (+1 -1), Xpowers2.mos (+1 -1), Xpowers3.mos (+1 -1), ZeroSizeLoop.mos (+1 -1), bug_2217.mos (+1 -1), bug_2300.mos (+2 -2), crefIndex.mos (+1 -1), ticket2336.mos (+1 -1)
hudson 2014-04-16 11:06 Rev.: 20164

[Janitor mode] Fix whitespace

118 lines of code changed in 37 files:

  • testsuite/simulation/modelica/arrays: ABCDsystem.mo (+3 -3), AlgorithmArrayEqn.mo (+4 -4), AppendElement.mo (+8 -8), ArrayAddEmpty.mo (+2 -2), ArrayAddSub1.mo (+4 -4), ArrayAlgebraFunc.mo (+2 -2), ArrayConstruct1.mo (+4 -4), ArrayEmpty.mo (+2 -2), ArrayFieldSlice.mo (+4 -4), ArrayIndex.mo (+3 -3), ArrayMult.mo (+4 -4), ArrayReduce.mo (+2 -2), ArraySlice.mo (+2 -2), ArraySlice2.mo (+2 -2), AsubCrefExpType.mo (+3 -3), Concat3.mo (+1 -1), ConcatArr1.mo (+3 -3), ConcatArr2.mo (+2 -2), ConcatArr4.mo (+2 -2), ConstructFunc.mo (+2 -2), CyclicPerm.mo (+7 -7), DimConvert.mo (+3 -3), DimSize.mo (+3 -3), PolynomialEvaluator1.mo (+4 -4), PolynomialEvaluator2.mo (+1 -1), PolynomialEvaluator3.mo (+1 -1), PolynomialEvaluatorA.mo (+7 -7), PolynomialEvaluatorB.mo (+5 -5), RangeVector.mo (+4 -4), SubArrayIndex.mo (+5 -5), VariableRangeSubscript.mo (+1 -1), VectorizeOneReturnValue.mo (+4 -4), VectorizeSumVec.mo (+4 -4), Xpowers1.mo (+2 -2), Xpowers2.mo (+2 -2), Xpowers3.mo (+2 -2), ZeroSizeLoop.mo (+4 -4)
hudson 2014-03-15 19:35 Rev.: 19590

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: ticket2336.mos (+1)
lochel 2014-03-15 19:28 Rev.: 19589

- fix #2336
- move optimization module 'inlineArrayEqn' to InlineArrayEquations.mo
- add description for optimization module 'inlineArrayEqn'
- remove unused modules

22 lines of code changed in 2 files:

  • testsuite/simulation/modelica/arrays: Makefile (+1), ticket2336.mos (new 21)
wbraun 2014-03-14 15:39 Rev.: 19578

- improved fix to #2510 and also the testcase for enumeration, interger and boolean.

40 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: crefIndex.mos (+40 -9)
hudson 2014-03-13 18:46 Rev.: 19570

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/simulation/modelica/arrays: crefIndex.mos (+1)
wbraun 2014-03-13 18:18 Rev.: 19569

- fix for #2510. Substract one to map modelica index(1:n) to c index(0:(n-1))

39 lines of code changed in 2 files:

  • testsuite/simulation/modelica/arrays: Makefile (+1), crefIndex.mos (new 38)
hudson 2014-02-19 10:41 Rev.: 19181

[Janitor mode] Set auto-props

54 lines of code changed in 2 files:

  • testsuite/simulation/modelica/arrays: NPendulum.mo (+53 -52), NPendulum.mos (+1)
vwaurich 2014-02-19 10:37 Rev.: 19180

- added NPendulum to array tests

78 lines of code changed in 3 files:

  • testsuite/simulation/modelica/arrays: Makefile (+1), NPendulum.mo (new 51), NPendulum.mos (new 26)

(28 more)

Generated by StatSVN 0.7.0