Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.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: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001367, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00142/0.00142, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00265/0.00265, allocations: 70.02 kB / 307 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1097, allocations: 50.55 MB / 357.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3248/0.4346, allocations: 152.2 MB / 0.4978 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.4375, allocations: 2.538 MB / 0.5003 GB, free: 500 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.4375, allocations: 4 kB / 0.5003 GB, free: 496 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.4377, allocations: 23.83 kB / 0.5003 GB, free: 472 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008311/0.4385, allocations: 342 kB / 0.5006 GB, free: 136 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.4387, allocations: 60.23 kB / 0.5007 GB, free: 76 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.4389, allocations: 107.3 kB / 0.5008 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.441e-05/0.4389, allocations: 11.98 kB / 0.5008 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.995e-05/0.439, allocations: 43.73 kB / 0.5008 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.4391, allocations: 39.84 kB / 0.5009 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.4391, allocations: 0 / 0.5009 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007102/0.4398, allocations: 367.5 kB / 0.5012 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.666e-05/0.4399, allocations: 11.94 kB / 0.5012 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.4399, allocations: 39.84 kB / 0.5013 GB, free: 15.46 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.4404, allocations: 312.7 kB / 0.5016 GB, free: 15.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4404, allocations: 0 / 0.5016 GB, free: 15.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4404, allocations: 2.438 kB / 0.5016 GB, free: 15.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.4405, allocations: 4 kB / 0.5016 GB, free: 15.16 MB / 430.1 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.0009242/0.4414, allocations: 455.8 kB / 0.502 GB, free: 14.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.4414, allocations: 12.03 kB / 0.502 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006538/0.448, allocations: 461.5 kB / 0.5025 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.4481, allocations: 183.5 kB / 0.5026 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.4481, allocations: 3.938 kB / 0.5026 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.04e-05/0.4482, allocations: 12 kB / 0.5026 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007899/0.449, allocations: 293.3 kB / 0.5029 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.449, allocations: 0 / 0.5029 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.4491, allocations: 4 kB / 0.5029 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.4491, allocations: 4 kB / 0.5029 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008461/0.45, allocations: 275.7 kB / 0.5032 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.4503, allocations: 250.2 kB / 0.5034 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.4507, allocations: 164.3 kB / 0.5036 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.4509, allocations: 84.86 kB / 0.5037 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.451, allocations: 7.984 kB / 0.5037 GB, free: 12.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.451, allocations: 34.5 kB / 0.5037 GB, free: 12.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.183e-06/0.451, allocations: 0 / 0.5037 GB, free: 12.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002246/0.4533, allocations: 0.5846 MB / 0.5043 GB, free: 12.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.4533, allocations: 55.34 kB / 0.5043 GB, free: 12.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.4534, allocations: 113.8 kB / 0.5044 GB, free: 12.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.4535, allocations: 25.7 kB / 0.5045 GB, free: 12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.4535, allocations: 84.58 kB / 0.5045 GB, free: 11.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.4536, allocations: 86.75 kB / 0.5046 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.4537, allocations: 41.7 kB / 0.5047 GB, free: 11.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4539, allocations: 330.8 kB / 0.505 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.4542, allocations: 99.92 kB / 0.5051 GB, free: 11.35 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.4545, allocations: 99.94 kB / 0.5052 GB, free: 11.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/0.4552, allocations: 227.7 kB / 0.5054 GB, free: 11.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.4552, allocations: 0 / 0.5054 GB, free: 11.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000777/0.456, allocations: 285.3 kB / 0.5057 GB, free: 10.74 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.456, allocations: 8 kB / 0.5057 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.456, allocations: 0 / 0.5057 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.4561, allocations: 0 / 0.5057 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004624/0.4565, allocations: 63.77 kB / 0.5057 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.4565, allocations: 0 / 0.5057 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/0.4568, allocations: 19.86 kB / 0.5058 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.4569, allocations: 8 kB / 0.5058 GB, free: 10.65 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (24): * Single equations (assignments): 24 * 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 0.0001248/0.457, allocations: 125.8 kB / 0.5059 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.457, allocations: 11.91 kB / 0.5059 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.4581, allocations: 355.9 kB / 0.5062 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.4581, allocations: 7.938 kB / 0.5062 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4581, allocations: 0 / 0.5062 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4581, allocations: 3.984 kB / 0.5062 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.4597, allocations: 0.7209 MB / 0.5069 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.4597, allocations: 4 kB / 0.507 GB, free: 9.344 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/0.4602, allocations: 60.11 kB / 0.507 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.4602, allocations: 4 kB / 0.507 GB, free: 9.281 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.4602, allocations: 8 kB / 0.507 GB, free: 9.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.4602, allocations: 7.938 kB / 0.507 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4602, allocations: 3.984 kB / 0.507 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008413/0.4611, allocations: 407.7 kB / 0.5074 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.4611, allocations: 85.02 kB / 0.5075 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.4612, allocations: 12 kB / 0.5075 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.4615, allocations: 19.92 kB / 0.5075 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.4616, allocations: 19.91 kB / 0.5076 GB, free: 8.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.4616, allocations: 16 kB / 0.5076 GB, free: 8.664 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.591e-05/0.4617, allocations: 88.28 kB / 0.5077 GB, free: 8.578 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4617, allocations: 0 / 0.5077 GB, free: 8.578 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003375/0.462, allocations: 52 kB / 0.5077 GB, free: 8.527 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (26): * Single equations (assignments): 26 * 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.0002164/0.4622, allocations: 135.1 kB / 0.5078 GB, free: 8.387 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007883/0.463, allocations: 267.6 kB / 0.5081 GB, free: 8.125 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4631, allocations: 0 / 0.5081 GB, free: 8.125 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.4634, allocations: 135.8 kB / 0.5082 GB, free: 7.992 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.464, allocations: 68.17 kB / 0.5083 GB, free: 7.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009035/0.4649, allocations: 346.3 kB / 0.5086 GB, free: 7.551 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.4653, allocations: 0.7008 MB / 0.5093 GB, free: 6.824 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003858/0.4657, allocations: 57.5 kB / 0.5093 GB, free: 6.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.4659, allocations: 43.41 kB / 0.5094 GB, free: 6.727 MB / 430.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4659, allocations: 0 / 0.5094 GB, free: 6.727 MB / 430.1 MB Notification: Performance of Templates: time 0.008232/0.4741, allocations: 4.115 MB / 0.5134 GB, free: 2.637 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_trunk_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches