Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 109.3 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 189.2 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 51.92 kB / 329.2 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08773/0.08914, allocations: 46.62 MB / 375.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3549/0.444, allocations: 150.4 MB / 0.5139 GB, free: 8.742 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.4459, allocations: 1.52 MB / 0.5154 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.079e-05/0.446, allocations: 1.781 kB / 0.5154 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.4462, allocations: 27.88 kB / 0.5154 GB, free: 7.195 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009756/0.4472, allocations: 326.2 kB / 0.5157 GB, free: 6.875 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.4474, allocations: 59.75 kB / 0.5158 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.4476, allocations: 79.53 kB / 0.5159 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.4476, allocations: 4 kB / 0.5159 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.4477, allocations: 35.38 kB / 0.5159 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.4478, allocations: 31.84 kB / 0.5159 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.4478, allocations: 0 / 0.5159 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007747/0.4486, allocations: 363.5 kB / 0.5163 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.4486, allocations: 0 / 0.5163 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.268e-05/0.4487, allocations: 31.86 kB / 0.5163 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005831/0.4493, allocations: 297.1 kB / 0.5166 GB, free: 5.996 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4493, allocations: 4 kB / 0.5166 GB, free: 5.992 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4493, allocations: 0 / 0.5166 GB, free: 5.992 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.4493, allocations: 0 / 0.5166 GB, free: 5.992 MB / 446.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.0009219/0.4502, allocations: 431.3 kB / 0.517 GB, free: 5.523 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.4503, allocations: 8.031 kB / 0.517 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006592/0.4569, allocations: 465.3 kB / 0.5175 GB, free: 5.062 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.4571, allocations: 172.4 kB / 0.5176 GB, free: 4.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.4571, allocations: 11.94 kB / 0.5176 GB, free: 4.844 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.4572, allocations: 4 kB / 0.5176 GB, free: 4.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008265/0.458, allocations: 297.2 kB / 0.5179 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.4581, allocations: 0 / 0.5179 GB, free: 4.543 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.92e-05/0.4581, allocations: 8 kB / 0.5179 GB, free: 4.535 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4581, allocations: 4 kB / 0.5179 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007966/0.4589, allocations: 275.7 kB / 0.5182 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.46, allocations: 428.8 kB / 0.5186 GB, free: 3.793 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.461, allocations: 202.4 kB / 0.5188 GB, free: 3.586 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.4612, allocations: 68.83 kB / 0.5189 GB, free: 3.516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.4613, allocations: 3.938 kB / 0.5189 GB, free: 3.512 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.4613, allocations: 38.55 kB / 0.5189 GB, free: 3.465 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 2.245e-06/0.4613, allocations: 4 kB / 0.5189 GB, free: 3.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.00178/0.4631, allocations: 422.8 kB / 0.5193 GB, free: 3.043 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.4632, allocations: 55.41 kB / 0.5194 GB, free: 2.977 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.4632, allocations: 101.8 kB / 0.5195 GB, free: 2.867 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.4633, allocations: 33.7 kB / 0.5195 GB, free: 2.828 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.4633, allocations: 92.56 kB / 0.5196 GB, free: 2.734 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.4634, allocations: 59.19 kB / 0.5196 GB, free: 2.676 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.825e-05/0.4635, allocations: 41.7 kB / 0.5197 GB, free: 2.629 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4636, allocations: 326.8 kB / 0.52 GB, free: 2.301 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.4639, allocations: 75.94 kB / 0.5201 GB, free: 2.227 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.4642, allocations: 116.2 kB / 0.5202 GB, free: 2.098 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/0.4648, allocations: 203.3 kB / 0.5204 GB, free: 1.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4648, allocations: 4 kB / 0.5204 GB, free: 1.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006624/0.4654, allocations: 253.3 kB / 0.5206 GB, free: 1.629 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.4655, allocations: 4 kB / 0.5206 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.4655, allocations: 1 kB / 0.5206 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.4655, allocations: 8.188 kB / 0.5206 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.4659, allocations: 51.89 kB / 0.5207 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.4659, allocations: 0 / 0.5207 GB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.4662, allocations: 15.98 kB / 0.5207 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.4663, allocations: 15.98 kB / 0.5207 GB, free: 1.535 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.4664, allocations: 125.7 kB / 0.5208 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.058e-05/0.4664, allocations: 15.89 kB / 0.5208 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007991/0.4672, allocations: 269 kB / 0.5211 GB, free: 1.121 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4673, allocations: 4 kB / 0.5211 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4673, allocations: 0 / 0.5211 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4673, allocations: 0 / 0.5211 GB, free: 1.117 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.4686, allocations: 0.5828 MB / 0.5217 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4686, allocations: 0 / 0.5217 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.4689, allocations: 47.89 kB / 0.5217 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.4689, allocations: 0 / 0.5217 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.469, allocations: 11.98 kB / 0.5217 GB, free: 424 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/0.469, allocations: 8.062 kB / 0.5217 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.469, allocations: 0 / 0.5217 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006812/0.4697, allocations: 330.2 kB / 0.522 GB, free: 64 kB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.4698, allocations: 85.02 kB / 0.5221 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.4698, allocations: 8 kB / 0.5221 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.4701, allocations: 11.92 kB / 0.5221 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.4702, allocations: 19.92 kB / 0.5222 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.4702, allocations: 11.98 kB / 0.5222 GB, free: 15.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.014e-05/0.4702, allocations: 83.28 kB / 0.5223 GB, free: 15.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4702, allocations: 4 kB / 0.5223 GB, free: 15.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003408/0.4706, allocations: 40 kB / 0.5223 GB, free: 15.79 MB / 462.1 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 (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.0002495/0.4709, allocations: 127.2 kB / 0.5224 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000641/0.4715, allocations: 195.7 kB / 0.5226 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.4715, allocations: 0 / 0.5226 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.4718, allocations: 108.2 kB / 0.5227 GB, free: 15.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.4723, allocations: 41.11 kB / 0.5227 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008602/0.4732, allocations: 296.7 kB / 0.523 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.4734, allocations: 0.6928 MB / 0.5237 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.4736, allocations: 39.41 kB / 0.5237 GB, free: 14.23 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4736, allocations: 0 / 0.5237 GB, free: 14.23 MB / 462.1 MB Notification: Performance of Templates: time 0.00478/0.4784, allocations: 2.353 MB / 0.526 GB, free: 11.88 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches