Skip to content

Commit

Permalink
Update expected output
Browse files Browse the repository at this point in the history
  • Loading branch information
lochel committed May 17, 2015
1 parent ffa7dad commit 8bb9617
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions simulation/modelica/qss/qss_example9.mos
Expand Up @@ -14,9 +14,25 @@ package qssTests
end qssTests;
"); getErrorString();

setCommandLineOptions("+addTimeAsState"); getErrorString();
simulate(qssTests.example9, method="qss"); getErrorString();
val(x1, {0.0, 1.0}); getErrorString();
val(x2, {0.0, 1.0}); getErrorString();

// Result:
// true
// ""
// true
// ""
// record SimulationResult
// resultFile = "qssTests.example9_res.mat",
// simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'qss', fileNamePrefix = 'qssTests.example9', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
// messages = "stdout | warning | This QSS method is under development and should not be used yet.
// "
// end SimulationResult;
// ""
// {1.0,1.459655620199529}
// ""
// {1.0,1.459655620199529}
// ""
// endResult

0 comments on commit 8bb9617

Please sign in to comment.