Directory testsuite/flattening/modelica/equations/

Directory Created:
2012-09-27 04:36
Total Files:
53
Deleted Files:
2
Lines of Code:
2172

[root]/testsuite/flattening/modelica/equations

Lines of Code

testsuite/flattening/modelica/equations/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 322 (100.0%) 2666 (100.0%) 8.2
alash325 204 (63.4%) 2097 (78.7%) 10.2
hudson 68 (21.1%) 217 (8.1%) 3.1
sjoelund.se 29 (9.0%) 175 (6.6%) 6.0
perost 14 (4.3%) 108 (4.1%) 7.7
adrpo 3 (0.9%) 63 (2.4%) 21.0
vitalij 4 (1.2%) 6 (0.2%) 1.5

Most Recent Commits

sjoelund.se 2014-09-09 15:01 Rev.: 22221

#2786
- Fix code generation for multiple iterators (threaded)
- Ceval constant function calls in the front-end

30 lines of code changed in 1 file:

  • testsuite/flattening/modelica/equations: WaveEquationSample.mo (+30 -30)
sjoelund.se 2014-08-17 17:28 Rev.: 21891

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

4 lines of code changed in 1 file:

  • testsuite/flattening/modelica/equations: EquationFor4.mo (+4 -4)
vitalij 2014-08-06 09:55 Rev.: 21772

added rules:
- a*x*b + c*x = x*(a*b + c)
- a*x + b*x*c = x*(a + b*c)

2 lines of code changed in 2 files:

  • testsuite/flattening/modelica/equations: LotkaVolterra.mo (+1 -1), WaveEquationSample.mo (+1 -1)
perost 2014-06-19 17:40 Rev.: 21204

Fix for #2723:
- Check for connect in when equations and if equations with non-parameter
conditions.
- Cleaned up some test cases.

77 lines of code changed in 7 files:

  • testsuite/flattening/modelica/equations: Circuit.mo (del), ConnectInNonParamIf.mo (new 35), ConnectInWhen.mo (new 30), EqualityEquations.mo (+8 -12), ErrorNestedWhen.mo (del), Makefile (+3 -4), WhenNestedEquation.mo (+1 -1)
perost 2014-05-26 15:38 Rev.: 20832

- Improved DAEDumpTpl and switched to it as default.
- Untupled min and max in DAE.VariableAttributes.

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/equations: BouncingBall.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.

40 lines of code changed in 2 files:

  • testsuite/flattening/modelica/equations: InitialReduction.mo (+10 -1), WaveEquationSample.mo (+30 -30)
hudson 2014-04-16 11:06 Rev.: 20164

[Janitor mode] Fix whitespace

155 lines of code changed in 49 files:

  • testsuite/flattening/modelica/equations: ActivateWhenEquation.mo (+2 -2), BouncingBall.mo (+2 -2), Circle.mo (+2 -2), ConditionalArrayExpression1.mo (+4 -4), ConditionalArrayExpression2.mo (+1 -1), DAEexample.mo (+1 -1), Epidemics1.mo (+3 -3), EqualityEquations.mo (+3 -3), EqualityEquationsCorrect.mo (+3 -3), EquationCall.mo (+4 -4), EquationComponent1.mo (+3 -3), EquationComponent2.mo (+3 -3), EquationComponent3.mo (+3 -3), EquationComponent4.mo (+3 -3), EquationComponent5.mo (+3 -3), EquationFor1.mo (+2 -2), EquationFor2.mo (+2 -2), EquationFor3.mo (+2 -2), EquationFor4.mo (+3 -3), EquationFor5.mo (+2 -2), EquationFor6.mo (+2 -2), EquationFor7.mo (+2 -2), EquationIf1.mo (+2 -2), EquationIf2.mo (+1 -1), EquationIf3.mo (+2 -2), EquationIf4.mo (+1 -1), Equations.mo (+3 -3), ErrorNestedWhen.mo (+5 -5), FiveForEquations.mo (+3 -3), HelloWorld.mo (+2 -2), HideVariableForEquations.mo (+4 -4), HydrogenIodide.mo (+2 -2), IfEquation.mo (+6 -6), InOutBool.mo (+1 -1), LotkaVolterra.mo (+2 -2), ModifiedFiltersInSeries.mo (+1 -1), SimplePeriodicSampler.mo (+3 -3), TwoRateSampler.mo (+9 -9), VanDerPol.mo (+5 -5), VariableRange.mo (+5 -5), WatchDog1AlgorithmWhen.mo (+5 -5), WatchDog2EquationWhen.mo (+7 -7), WaveEquationSample.mo (+6 -6), WhenEquation.mo (+5 -5), WhenNestedEquation.mo (+3 -3), WhenNotValid.mo (+9 -9), WhenSemantics1.mo (+1 -1), WhenValidResult.mo (+4 -4), WhenVectorPredicateEquation.mo (+3 -3)
vitalij 2014-02-16 18:48 Rev.: 19130

- new simplify rule for a + (-b)/x = a - b/x

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/equations: Epidemics1.mo (+1 -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

3 lines of code changed in 1 file:

  • testsuite/flattening/modelica/equations: WaveEquationSample.mo (+3 -3)
sjoelund.se 2013-12-31 18:10 Rev.: 18560

#2525
- Put initial array equations that are reductions in the correct section

43 lines of code changed in 2 files:

  • testsuite/flattening/modelica/equations: InitialReduction.mo (new 42), Makefile (+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

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/equations: WaveEquationSample.mo (+1 -1)
perost 2013-06-10 13:56 Rev.: 16277

- Fixed punctuation of error messages.

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/equations: ConditionalArrayExpression1.mo (+1 -1)
sjoelund.se 2013-06-04 20:23 Rev.: 16216

Move some expressions around when you do simplifications only if this improves the complexity of the expression

1 lines of code changed in 1 file:

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

[Janitor mode] Fix tabs

42 lines of code changed in 9 files:

  • testsuite/flattening/modelica/equations: ActivateWhenEquation.mo (+6 -6), BouncingBall.mo (+6 -6), Circuit.mo (+1 -1), Epidemics1.mo (+9 -9), Equations.mo (+3 -3), HelloWorld.mo (+3 -3), IfEquation.mo (+3 -3), LotkaVolterra.mo (+7 -7), VanDerPol.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

19 lines of code changed in 9 files:

  • testsuite/flattening/modelica/equations: EqualityEquations.mo (+3 -3), EqualityEquationsCorrect.mo (+2 -2), ErrorNestedWhen.mo (+1 -1), HideVariableForEquations.mo (+1 -1), SimplePeriodicSampler.mo (+1 -1), TwoRateSampler.mo (+6 -6), WatchDog1AlgorithmWhen.mo (+2 -2), WhenNotValid.mo (+1 -1), WhenValidResult.mo (+2 -2)
hudson 2013-05-02 20:46 Rev.: 15962

[Janitor mode] Fix tabs

19 lines of code changed in 9 files:

  • testsuite/flattening/modelica/equations: EqualityEquations.mo (+3 -3), EqualityEquationsCorrect.mo (+2 -2), ErrorNestedWhen.mo (+1 -1), HideVariableForEquations.mo (+1 -1), SimplePeriodicSampler.mo (+1 -1), TwoRateSampler.mo (+6 -6), WatchDog1AlgorithmWhen.mo (+2 -2), WhenNotValid.mo (+1 -1), WhenValidResult.mo (+2 -2)
sjoelund.se 2013-05-02 16:35 Rev.: 15958

Use varargs for throwing assertions so we can produce better messages in the code generator

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/equations: VariableRange.mo (+1 -1)
hudson 2013-05-02 16:05 Rev.: 15956

[Janitor mode] Set auto-props

1 lines of code changed in 1 file:

  • testsuite/flattening/modelica/equations: VariableRange.mo (+1)
perost 2013-05-02 16:03 Rev.: 15955

- Added better error message for variable range expressions in for-equations.

25 lines of code changed in 2 files:

  • testsuite/flattening/modelica/equations: Makefile (+1), VariableRange.mo (new 24)
perost 2013-04-16 14:30 Rev.: 15834

- Preserve the comment for the flattened class in the flattened output.
- Don't translate enumeration literals to integers when simplifying asubs.

2 lines of code changed in 2 files:

  • testsuite/flattening/modelica/equations: BouncingBall.mo (+1 -1), VanDerPol.mo (+1 -1)
sjoelund.se 2013-02-08 09:16 Rev.: 15104

Fix tests

3 lines of code changed in 3 files:

  • testsuite/flattening/modelica/equations: ConditionalArrayExpression1.mo (+1 -1), WhenNestedEquation.mo (+1 -1), WhenNotValid.mo (+1 -1)
sjoelund.se 2013-02-07 16:16 Rev.: 15085

Always use full pathnames for file info of parsed files

3 lines of code changed in 3 files:

  • testsuite/flattening/modelica/equations: ConditionalArrayExpression1.mo (+1 -1), WhenNestedEquation.mo (+1 -1), WhenNotValid.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/equations: Makefile (+1)
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.

31 lines of code changed in 1 file:

  • testsuite/flattening/modelica/equations: WaveEquationSample.mo (+31 -31)
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.

31 lines of code changed in 1 file:

  • testsuite/flattening/modelica/equations: WaveEquationSample.mo (+31 -31)
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)

30 lines of code changed in 5 files:

  • testsuite/flattening/modelica/equations: EquationComponent1.mo (+6), EquationComponent2.mo (+6), EquationComponent3.mo (+6), EquationComponent4.mo (+6), EquationComponent5.mo (+6)
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.

2 lines of code changed in 1 file:

  • testsuite/flattening/modelica/equations: WaveEquationSample.mo (+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)

2096 lines of code changed in 51 files:

  • testsuite/flattening/modelica/equations: ActivateWhenEquation.mo (+31), BouncingBall.mo (+37), Circle.mo (+30), Circuit.mo (+63), ConditionalArrayExpression1.mo (+22), ConditionalArrayExpression2.mo (+38), DAEexample.mo (+26), Epidemics1.mo (+47), EqualityEquations.mo (+45), EqualityEquationsCorrect.mo (+56), EquationCall.mo (+42), EquationComponent1.mo (+28), EquationComponent2.mo (+29), EquationComponent3.mo (+30), EquationComponent4.mo (+29), EquationComponent5.mo (+24), EquationFor1.mo (+31), EquationFor2.mo (+30), EquationFor3.mo (+31), EquationFor4.mo (+43), EquationFor5.mo (+26), EquationFor6.mo (+26), EquationFor7.mo (+32), EquationIf1.mo (+26), EquationIf2.mo (+28), EquationIf3.mo (+28), EquationIf4.mo (+39), Equations.mo (+23), ErrorNestedWhen.mo (+29), FiveForEquations.mo (+30), ForIf.mo (+26), HelloWorld.mo (+23), HideVariableForEquations.mo (+32), HydrogenIodide.mo (+34), IfEquation.mo (+49), InOutBool.mo (+51), LotkaVolterra.mo (+33), Makefile (+158), ModifiedFiltersInSeries.mo (+43), SimplePeriodicSampler.mo (+32), TwoRateSampler.mo (+53), VanDerPol.mo (+25), WatchDog1AlgorithmWhen.mo (+85), WatchDog2EquationWhen.mo (+85), WaveEquationSample.mo (+175), WhenEquation.mo (+32), WhenNestedEquation.mo (+28), WhenNotValid.mo (+38), WhenSemantics1.mo (+33), WhenValidResult.mo (+28), WhenVectorPredicateEquation.mo (+34)
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 51 files:

  • testsuite/flattening/modelica/equations: ActivateWhenEquation.mo (new), BouncingBall.mo (new), Circle.mo (new), Circuit.mo (new), ConditionalArrayExpression1.mo (new), ConditionalArrayExpression2.mo (new), DAEexample.mo (new), Epidemics1.mo (new), EqualityEquations.mo (new), EqualityEquationsCorrect.mo (new), EquationCall.mo (new), EquationComponent1.mo (new), EquationComponent2.mo (new), EquationComponent3.mo (new), EquationComponent4.mo (new), EquationComponent5.mo (new), EquationFor1.mo (new), EquationFor2.mo (new), EquationFor3.mo (new), EquationFor4.mo (new), EquationFor5.mo (new), EquationFor6.mo (new), EquationFor7.mo (new), EquationIf1.mo (new), EquationIf2.mo (new), EquationIf3.mo (new), EquationIf4.mo (new), Equations.mo (new), ErrorNestedWhen.mo (new), FiveForEquations.mo (new), ForIf.mo (new), HelloWorld.mo (new), HideVariableForEquations.mo (new), HydrogenIodide.mo (new), IfEquation.mo (new), InOutBool.mo (new), LotkaVolterra.mo (new), Makefile (new), ModifiedFiltersInSeries.mo (new), SimplePeriodicSampler.mo (new), TwoRateSampler.mo (new), VanDerPol.mo (new), WatchDog1AlgorithmWhen.mo (new), WatchDog2EquationWhen.mo (new), WaveEquationSample.mo (new), WhenEquation.mo (new), WhenNestedEquation.mo (new), WhenNotValid.mo (new), WhenSemantics1.mo (new), WhenValidResult.mo (new), WhenVectorPredicateEquation.mo (new)
alash325 2012-10-01 19:45 Rev.: 13124

-deleted ./flattening/modelica

1 lines of code changed in 51 files:

  • testsuite/flattening/modelica/equations: ActivateWhenEquation.mo (del), BouncingBall.mo (del), Circle.mo (del), Circuit.mo (del), ConditionalArrayExpression1.mo (del), ConditionalArrayExpression2.mo (del), DAEexample.mo (del), Epidemics1.mo (del), EqualityEquations.mo (del), EqualityEquationsCorrect.mo (del), EquationCall.mo (del), EquationComponent1.mo (del), EquationComponent2.mo (del), EquationComponent3.mo (del), EquationComponent4.mo (del), EquationComponent5.mo (del), EquationFor1.mo (del), EquationFor2.mo (del), EquationFor3.mo (del), EquationFor4.mo (del), EquationFor5.mo (del), EquationFor6.mo (del), EquationFor7.mo (del), EquationIf1.mo (del), EquationIf2.mo (del), EquationIf3.mo (del), EquationIf4.mo (del), Equations.mo (del), ErrorNestedWhen.mo (del), FiveForEquations.mo (del), ForIf.mo (del), HelloWorld.mo (del), HideVariableForEquations.mo (del), HydrogenIodide.mo (del), IfEquation.mo (del), InOutBool.mo (del), LotkaVolterra.mo (del), Makefile (del), ModifiedFiltersInSeries.mo (del), SimplePeriodicSampler.mo (del), TwoRateSampler.mo (del), VanDerPol.mo (del), WatchDog1AlgorithmWhen.mo (del), WatchDog2EquationWhen.mo (del), WaveEquationSample.mo (del), WhenEquation.mo (del), WhenNestedEquation.mo (del), WhenNotValid.mo (del), WhenSemantics1.mo (del), WhenValidResult.mo (del), WhenVectorPredicateEquation.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 51 files:

  • testsuite/flattening/modelica/equations: ActivateWhenEquation.mo (new), BouncingBall.mo (new), Circle.mo (new), Circuit.mo (new), ConditionalArrayExpression1.mo (new), ConditionalArrayExpression2.mo (new), DAEexample.mo (new), Epidemics1.mo (new), EqualityEquations.mo (new), EqualityEquationsCorrect.mo (new), EquationCall.mo (new), EquationComponent1.mo (new), EquationComponent2.mo (new), EquationComponent3.mo (new), EquationComponent4.mo (new), EquationComponent5.mo (new), EquationFor1.mo (new), EquationFor2.mo (new), EquationFor3.mo (new), EquationFor4.mo (new), EquationFor5.mo (new), EquationFor6.mo (new), EquationFor7.mo (new), EquationIf1.mo (new), EquationIf2.mo (new), EquationIf3.mo (new), EquationIf4.mo (new), Equations.mo (new), ErrorNestedWhen.mo (new), FiveForEquations.mo (new), ForIf.mo (new), HelloWorld.mo (new), HideVariableForEquations.mo (new), HydrogenIodide.mo (new), IfEquation.mo (new), InOutBool.mo (new), LotkaVolterra.mo (new), Makefile (new), ModifiedFiltersInSeries.mo (new), SimplePeriodicSampler.mo (new), TwoRateSampler.mo (new), VanDerPol.mo (new), WatchDog1AlgorithmWhen.mo (new), WatchDog2EquationWhen.mo (new), WaveEquationSample.mo (new), WhenEquation.mo (new), WhenNestedEquation.mo (new), WhenNotValid.mo (new), WhenSemantics1.mo (new), WhenValidResult.mo (new), WhenVectorPredicateEquation.mo (new)
Generated by StatSVN 0.7.0