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.001007/0.001007, allocations: 111.6 kB / 17.28 MB, free: 6.199 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.000993/0.000993, allocations: 185.3 kB / 18.2 MB, free: 5.277 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.277/1.277, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001123/0.001124, allocations: 51.92 kB / 280.1 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09133/0.09247, allocations: 46.63 MB / 326.8 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3436/0.4361, allocations: 148.3 MB / 475.1 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.4378, allocations: 1.506 MB / 476.6 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.4379, allocations: 8 kB / 476.6 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001581/0.4381, allocations: 25.25 kB / 476.6 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008053/0.4389, allocations: 285.3 kB / 476.9 MB, free: 1.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.439, allocations: 55.81 kB / 477 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.4392, allocations: 75.53 kB / 477 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.4392, allocations: 8 kB / 477.1 MB, free: 1.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.377e-05/0.4393, allocations: 33.41 kB / 477.1 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.4394, allocations: 27.91 kB / 477.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.675e-06/0.4394, allocations: 0 / 477.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006803/0.4401, allocations: 371.5 kB / 477.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.4401, allocations: 11.92 kB / 477.5 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.4402, allocations: 35.05 kB / 477.5 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.4407, allocations: 299.4 kB / 477.8 MB, free: 364 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4407, allocations: 3.938 kB / 477.8 MB, free: 360 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4407, allocations: 0 / 477.8 MB, free: 360 kB / 366.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.4407, allocations: 0 / 477.8 MB, free: 360 kB / 366.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.0009544/0.4417, allocations: 439.9 kB / 478.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.4417, allocations: 8.031 kB / 478.3 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005873/0.4476, allocations: 452.8 kB / 478.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.4477, allocations: 172.5 kB / 478.9 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.4478, allocations: 11.88 kB / 478.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.4479, allocations: 8 kB / 478.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007678/0.4487, allocations: 301.2 kB / 479.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4487, allocations: 0 / 479.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.69e-05/0.4487, allocations: 0 / 479.2 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.4487, allocations: 4 kB / 479.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007835/0.4495, allocations: 279.8 kB / 479.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.4506, allocations: 422.3 kB / 479.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009715/0.4515, allocations: 210.3 kB / 480.1 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.4517, allocations: 68.81 kB / 480.1 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.4518, allocations: 8 kB / 480.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.4518, allocations: 30.56 kB / 480.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.4518, allocations: 0 / 480.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001669/0.4535, allocations: 424.2 kB / 480.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.4535, allocations: 55.41 kB / 480.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.4536, allocations: 105.8 kB / 480.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.4536, allocations: 29.7 kB / 480.8 MB, free: 13.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.4537, allocations: 99.89 kB / 480.9 MB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.783e-05/0.4538, allocations: 59.09 kB / 480.9 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.208e-05/0.4539, allocations: 45.69 kB / 481 MB, free: 12.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.454, allocations: 322.8 kB / 481.3 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.4542, allocations: 75.94 kB / 481.4 MB, free: 12.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.4545, allocations: 116.2 kB / 481.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005202/0.4551, allocations: 200.2 kB / 481.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4551, allocations: 2.75 kB / 481.7 MB, free: 12.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006309/0.4557, allocations: 249.2 kB / 481.9 MB, free: 11.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4557, allocations: 11.12 kB / 481.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4558, allocations: 0 / 481.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.4558, allocations: 0 / 481.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.4562, allocations: 55.89 kB / 482 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.4562, allocations: 7.984 kB / 482 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.4565, allocations: 15.98 kB / 482 MB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.4565, allocations: 12.12 kB / 482 MB, free: 11.89 MB / 382.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.0001204/0.4566, allocations: 125.7 kB / 482.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.4567, allocations: 4 kB / 482.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008085/0.4575, allocations: 273.8 kB / 482.4 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4575, allocations: 0 / 482.4 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4575, allocations: 3.938 kB / 482.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4575, allocations: 4 kB / 482.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.4587, allocations: 0.583 MB / 483 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.4587, allocations: 4 kB / 483 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.4591, allocations: 52.02 kB / 483.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4591, allocations: 3.938 kB / 483.1 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.4591, allocations: 4 kB / 483.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.4591, allocations: 3.938 kB / 483.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.4592, allocations: 4.172 kB / 483.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000611/0.4598, allocations: 332.9 kB / 483.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.4598, allocations: 89 kB / 483.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.4599, allocations: 4 kB / 483.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.4602, allocations: 11.98 kB / 483.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.4602, allocations: 23.92 kB / 483.5 MB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.4602, allocations: 15.92 kB / 483.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.46e-05/0.4603, allocations: 75.28 kB / 483.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4603, allocations: 4 kB / 483.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.4606, allocations: 44 kB / 483.7 MB, free: 10.14 MB / 382.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.0002109/0.4608, allocations: 127.9 kB / 483.8 MB, free: 10 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005997/0.4614, allocations: 199.8 kB / 484 MB, free: 9.809 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4614, allocations: 4.25 kB / 484 MB, free: 9.805 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.4617, allocations: 99.86 kB / 484.1 MB, free: 9.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.4622, allocations: 39.34 kB / 484.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007761/0.463, allocations: 308 kB / 484.4 MB, free: 9.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.4632, allocations: 0.6889 MB / 485.1 MB, free: 8.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004041/0.4636, allocations: 57.3 kB / 485.2 MB, free: 8.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.4638, allocations: 35.41 kB / 485.2 MB, free: 8.539 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4638, allocations: 0 / 485.2 MB, free: 8.539 MB / 382.1 MB Notification: Performance of Templates: time 0.006093/0.4699, allocations: 3.045 MB / 488.3 MB, free: 5.504 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches