Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001206/0.001206, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.516/1.516, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 63.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3568, allocations: 50.53 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003367/0.3602, allocations: 1.487 MB / 410.2 MB, free: 40 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000992/0.3613, allocations: 442.9 kB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.754e-05/0.3614, allocations: 0 / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.242e-05/0.3615, allocations: 0 / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.502e-05/0.3616, allocations: 11.88 kB / 410.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.3619, allocations: 19.97 kB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.362, allocations: 43.78 kB / 410.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3621, allocations: 12 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.156e-05/0.3622, allocations: 11.98 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.271e-05/0.3623, allocations: 27.84 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.3623, allocations: 0 / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.259e-05/0.3623, allocations: 4 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.449e-05/0.3623, allocations: 4 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.3624, allocations: 15.88 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.3625, allocations: 35.89 kB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3625, allocations: 0 / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3625, allocations: 8 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.3626, allocations: 0 / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005546/0.3631, allocations: 353.1 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.3632, allocations: 8.031 kB / 411.2 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.08e-05/0.3633, allocations: 34.75 kB / 411.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.3633, allocations: 4.844 kB / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.3636, allocations: 184.3 kB / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.3637, allocations: 384 / 411.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.3637, allocations: 12.31 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.3642, allocations: 143.3 kB / 411.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.3642, allocations: 0 / 411.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3642, allocations: 0 / 411.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.3643, allocations: 4 kB / 411.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.3644, allocations: 43.88 kB / 411.6 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001863/0.3646, allocations: 165.7 kB / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.3649, allocations: 74.55 kB / 411.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.3651, allocations: 32.89 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.3651, allocations: 4 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.3651, allocations: 38.48 kB / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3652, allocations: 0 / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004152/0.3656, allocations: 97.58 kB / 412 MB, free: 14.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.3656, allocations: 55.41 kB / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3658, allocations: 105.8 kB / 412.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001341/0.3659, allocations: 25.7 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.366, allocations: 88.14 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.281e-05/0.366, allocations: 3.938 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/0.366, allocations: 17.72 kB / 412.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3662, allocations: 314.8 kB / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.3662, allocations: 0 / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.573e-05/0.3663, allocations: 35.44 kB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.393e-05/0.3663, allocations: 35.36 kB / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3664, allocations: 0 / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001034/0.3665, allocations: 65.42 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.3665, allocations: 10.97 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3665, allocations: 3.984 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3665, allocations: 0 / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.726e-05/0.3666, allocations: 8 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3666, allocations: 0 / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.3666, allocations: 0 / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.3666, allocations: 4 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.792e-05/0.3668, allocations: 125.8 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.367, allocations: 77.53 kB / 413 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.038e-05/0.3671, allocations: 7.906 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3671, allocations: 0 / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.3671, allocations: 0 / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.3671, allocations: 7.984 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.3673, allocations: 157.7 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3673, allocations: 0 / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.557e-05/0.3674, allocations: 19.92 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.3674, allocations: 4 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3674, allocations: 3.938 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3674, allocations: 0 / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.3674, allocations: 0 / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.3677, allocations: 101.3 kB / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.681e-05/0.3678, allocations: 89.08 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.3679, allocations: 11.94 kB / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.168e-05/0.3679, allocations: 7.984 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.21e-06/0.3679, allocations: 0 / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3679, allocations: 0 / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.54e-05/0.368, allocations: 87.28 kB / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.744e-06/0.368, allocations: 0 / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.3683, allocations: 7.938 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007758/0.369, allocations: 0.6396 MB / 414.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000217/0.3693, allocations: 35.91 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.3693, allocations: 0 / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.3693, allocations: 0 / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.3697, allocations: 32.27 kB / 414.2 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.371, allocations: 1.17 MB / 415.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/0.3713, allocations: 0.6846 MB / 416.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.332e-05/0.3713, allocations: 0 / 416.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.3714, allocations: 15.44 kB / 416.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3714, allocations: 0 / 416.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.3937, allocations: 1.381 MB / 417.5 MB, free: 8.414 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.807/8.201, allocations: 6.75 kB / 417.5 MB, free: 8.41 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches