Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002559/0.002559, allocations: 180.4 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 88.66 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 8 kB / 351.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.318, allocations: 50.41 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.331, allocations: 443.3 MB / 0.825 GB, free: 25.6 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/1.331, allocations: 68.28 kB / 0.825 GB, free: 25.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05102/1.382, allocations: 25.49 MB / 0.8499 GB, free: 4.023 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.924e-06/1.382, allocations: 0 / 0.8499 GB, free: 4.023 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.383e-06/1.382, allocations: 4 kB / 0.8499 GB, free: 4.02 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009477/1.383, allocations: 438.1 kB / 0.8503 GB, free: 3.551 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/1.383, allocations: 12.03 kB / 0.8504 GB, free: 3.539 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005681/1.389, allocations: 459.6 kB / 0.8508 GB, free: 3.125 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.283e-05/1.389, allocations: 167 kB / 0.851 GB, free: 2.922 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/1.389, allocations: 7.938 kB / 0.851 GB, free: 2.918 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.648e-05/1.389, allocations: 7.984 kB / 0.851 GB, free: 2.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007191/1.39, allocations: 300.5 kB / 0.8513 GB, free: 2.676 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/1.39, allocations: 4 kB / 0.8513 GB, free: 2.672 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/1.39, allocations: 3.938 kB / 0.8513 GB, free: 2.672 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.39, allocations: 4 kB / 0.8513 GB, free: 2.668 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007279/1.391, allocations: 273.9 kB / 0.8515 GB, free: 2.477 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009504/1.392, allocations: 418.5 kB / 0.8519 GB, free: 2.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009851/1.393, allocations: 224.4 kB / 0.8521 GB, free: 1.887 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/1.393, allocations: 3.938 kB / 0.8521 GB, free: 1.883 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/1.393, allocations: 38.55 kB / 0.8522 GB, free: 1.836 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/1.393, allocations: 0 / 0.8522 GB, free: 1.836 MB / 458.7 MB Notification: Performance of matching and sorting (n=17): time 0.001696/1.394, allocations: 429.5 kB / 0.8526 GB, free: 1.512 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/1.394, allocations: 51.41 kB / 0.8526 GB, free: 1.449 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.775e-05/1.394, allocations: 92.5 kB / 0.8527 GB, free: 1.355 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/1.395, allocations: 29.7 kB / 0.8528 GB, free: 1.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/1.395, allocations: 107.5 kB / 0.8529 GB, free: 1.215 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/1.395, allocations: 58.3 kB / 0.8529 GB, free: 1.164 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/1.395, allocations: 3.938 kB / 0.8529 GB, free: 1.164 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.417e-05/1.395, allocations: 322.5 kB / 0.8532 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/1.395, allocations: 66.7 kB / 0.8533 GB, free: 0.793 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/1.395, allocations: 125.5 kB / 0.8534 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/1.395, allocations: 82.72 kB / 0.8535 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/1.395, allocations: 0 / 0.8535 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005929/1.396, allocations: 245.3 kB / 0.8537 GB, free: 452 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/1.396, allocations: 10.3 kB / 0.8537 GB, free: 444 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.396, allocations: 4 kB / 0.8537 GB, free: 440 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.396, allocations: 0 / 0.8537 GB, free: 440 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/1.397, allocations: 53.64 kB / 0.8538 GB, free: 388 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/1.397, allocations: 4 kB / 0.8538 GB, free: 384 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/1.397, allocations: 14.67 kB / 0.8538 GB, free: 372 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/1.397, allocations: 13.48 kB / 0.8538 GB, free: 360 kB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.32e-05/1.397, allocations: 121.4 kB / 0.8539 GB, free: 236 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/1.397, allocations: 7.906 kB / 0.8539 GB, free: 228 kB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007491/1.398, allocations: 275.6 kB / 0.8542 GB, free: 12 kB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.398, allocations: 11.98 kB / 0.8542 GB, free: 0 / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.398, allocations: 0 / 0.8542 GB, free: 0 / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/1.398, allocations: 1.188 kB / 0.8542 GB, free: 0 / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2752/1.673, allocations: 0.5627 MB / 0.8548 GB, free: 164.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.673, allocations: 1.938 kB / 0.8548 GB, free: 164.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/1.673, allocations: 47.73 kB / 0.8548 GB, free: 164.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/1.673, allocations: 2.031 kB / 0.8548 GB, free: 164.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/1.673, allocations: 10.81 kB / 0.8548 GB, free: 164.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/1.673, allocations: 7.906 kB / 0.8548 GB, free: 164.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.673, allocations: 2 kB / 0.8548 GB, free: 164.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007442/1.674, allocations: 348.5 kB / 0.8552 GB, free: 164.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/1.674, allocations: 84.05 kB / 0.8553 GB, free: 164.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/1.674, allocations: 11.53 kB / 0.8553 GB, free: 164.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/1.675, allocations: 11.17 kB / 0.8553 GB, free: 164.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/1.675, allocations: 17.94 kB / 0.8553 GB, free: 164.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/1.675, allocations: 10.59 kB / 0.8553 GB, free: 164.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.655e-05/1.675, allocations: 84.5 kB / 0.8554 GB, free: 164.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.71e-07/1.675, allocations: 0.9062 kB / 0.8554 GB, free: 164.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005535/1.675, allocations: 72.19 kB / 0.8555 GB, free: 164.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008941/1.676, allocations: 0.5187 MB / 0.856 GB, free: 164 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000725/1.677, allocations: 196.4 kB / 0.8561 GB, free: 164 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.677, allocations: 0 / 0.8561 GB, free: 164 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002826/1.677, allocations: 101.5 kB / 0.8562 GB, free: 164 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/1.678, allocations: 32.59 kB / 0.8563 GB, free: 164 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000778/1.678, allocations: 312.6 kB / 0.8566 GB, free: 163.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/1.679, allocations: 0.7021 MB / 0.8573 GB, free: 163.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003891/1.679, allocations: 53.81 kB / 0.8573 GB, free: 163.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/1.679, allocations: 34.09 kB / 0.8573 GB, free: 163.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.453e-06/1.679, allocations: 0 / 0.8573 GB, free: 163.1 MB / 458.7 MB Notification: Performance of Templates: time 0.0132/1.692, allocations: 9.029 MB / 0.8662 GB, free: 162.6 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches