Changeset 14018


Ignore:
Timestamp:
2012-11-22T12:56:47+01:00 (11 years ago)
Author:
niklwors
Message:

Added comparison of simulation results for BouncingBall test

Location:
trunk/testsuite/openmodelica/cppruntime
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/testsuite/openmodelica/cppruntime/BouncingBall.mos

    r12732 r14018  
    99loadFile("BouncingBall.mo");
    1010simulate(BouncingBall, stopTime=3.0, tolerance=1e-10, numberOfIntervals=400,outputFormat="csv");
    11 echo(false);
     11res := OpenModelica.Scripting.compareSimulationResults("BouncingBall_res.csv",
     12  "ReferenceFiles/BouncingBall.csv",
     13  "BouncingBall_diff.csv",0.01,0.0001,
     14  {"h","v"});
     15
    1216
    1317// Result:
     
    1822//    messages = ""
    1923// end SimulationResult;
     24// "Files Equal!"
    2025// endResult
Note: See TracChangeset for help on using the changeset viewer.