Skip to content

Commit

Permalink
Activate test case algorithms.mos
Browse files Browse the repository at this point in the history
  • Loading branch information
lochel committed Sep 26, 2015
1 parent 535508d commit 1fc1e83
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion simulation/modelica/algorithms_functions/Makefile
Expand Up @@ -4,6 +4,7 @@ TESTFILES = \
AlgorithmCondAssign1.mos \
AlgorithmCondAssign2.mos \
AlgorithmForInClass.mos \
algorithms.mos \
AlgorithmSection.mos \
AlgorithmTupleAssign.mos \
ArrayInitSorting.mos \
Expand Down Expand Up @@ -45,7 +46,6 @@ ZeroCross.mos \
# Run make testfailing
FAILINGTESTFILES = \
StatementCall.mos \
algorithms.mos \

# Dependency files that are not .mo .mos or Makefile
# Add them here or they will be cleaned.
Expand Down
15 changes: 3 additions & 12 deletions simulation/modelica/algorithms_functions/algorithms.mos
Expand Up @@ -78,29 +78,20 @@ val(x4,1.0);
// 3.0
// 4.0
// record SimulationResult
// resultFile = "",
// resultFile = "Alg4_res.mat",
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Alg4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = "Failed to build model: Alg4"
// messages = ""
// end SimulationResult;
// "Warning: Assuming fixed start value for the following 1 variables:
// x:VARIABLE() .Alg4, .Real type: Real
// [SimCode/SimCodeUtil.mo:6364:9-6364:54:writable] Error: Internal error Inverse Algorithm needs to be solved for {y} in
// algorithm
// x := $_start(x);
// x := 1.0 + y;
// This has not been implemented yet.
// [SimCode/SimCodeUtil.mo:6369:7-6369:88:writable] Error: Internal error function createSingleAlgorithmCode failed
// [SimCode/SimCodeUtil.mo:3915:9-3915:50:writable] Error: Internal error function createOdeSystem failed for component Algorithm 2 {1}
// [SimCode/SimCodeUtil.mo:2600:9-2600:54:writable] Error: Internal error function createEquationsForSystem1 failed for component Algorithm 2 {1}
// [SimCode/SimCodeUtil.mo:1760:7-1760:148:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]
// "
// record SimulationResult
// resultFile = "Alg5_res.mat",
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Alg5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = ""
// end SimulationResult;
// "Warning: Assuming fixed start value for the following 2 variables:
// x2:VARIABLE() .Alg5, .Real type: Real
// x2:VARIABLE() .Alg5, .Real type: Real
// x1:VARIABLE() .Alg5, .Real type: Real
// "
// 0.0
Expand Down

0 comments on commit 1fc1e83

Please sign in to comment.