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.001822/0.001822, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00221/0.00221, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 58.64 kB / 306.9 MB, free: 0.9688 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.1002, allocations: 50.53 MB / 357.4 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3417/0.442, allocations: 150 MB / 0.4955 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.4447, allocations: 2.587 MB / 0.498 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.4448, allocations: 0 / 0.498 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001795/0.445, allocations: 23.89 kB / 0.4981 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008823/0.4459, allocations: 288.2 kB / 0.4983 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.4461, allocations: 51.81 kB / 0.4984 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.4462, allocations: 95.41 kB / 0.4985 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.4462, allocations: 8 kB / 0.4985 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.4463, allocations: 39.8 kB / 0.4985 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.241e-05/0.4464, allocations: 39.84 kB / 0.4986 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.4464, allocations: 4 kB / 0.4986 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007061/0.4471, allocations: 375.4 kB / 0.4989 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.948e-05/0.4472, allocations: 12.48 kB / 0.4989 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.649e-05/0.4472, allocations: 39.75 kB / 0.499 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.4476, allocations: 225 kB / 0.4992 GB, free: 1.953 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4476, allocations: 0 / 0.4992 GB, free: 1.953 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4476, allocations: 0 / 0.4992 GB, free: 1.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.4476, allocations: 0 / 0.4992 GB, free: 1.953 MB / 414.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.0009207/0.4486, allocations: 467.4 kB / 0.4996 GB, free: 1.453 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4486, allocations: 11.97 kB / 0.4996 GB, free: 1.441 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005687/0.4543, allocations: 461.1 kB / 0.5001 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.4545, allocations: 179.6 kB / 0.5003 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.4545, allocations: 4 kB / 0.5003 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/0.4546, allocations: 16 kB / 0.5003 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/0.4554, allocations: 289.3 kB / 0.5005 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.4554, allocations: 0 / 0.5005 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/0.4555, allocations: 4 kB / 0.5006 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.4555, allocations: 7.984 kB / 0.5006 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007827/0.4563, allocations: 275.7 kB / 0.5008 GB, free: 192 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.4566, allocations: 246.3 kB / 0.5011 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.457, allocations: 162.8 kB / 0.5012 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.4572, allocations: 85.44 kB / 0.5013 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.4573, allocations: 7.938 kB / 0.5013 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.4573, allocations: 34.55 kB / 0.5013 GB, free: 15.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.663e-06/0.4573, allocations: 0 / 0.5013 GB, free: 15.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002141/0.4594, allocations: 0.5769 MB / 0.5019 GB, free: 15.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.4595, allocations: 59.34 kB / 0.502 GB, free: 14.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.4596, allocations: 109.8 kB / 0.5021 GB, free: 14.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.4596, allocations: 29.7 kB / 0.5021 GB, free: 14.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.573e-05/0.4597, allocations: 88.56 kB / 0.5022 GB, free: 14.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.055e-05/0.4598, allocations: 82.7 kB / 0.5022 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.925e-05/0.4599, allocations: 49.69 kB / 0.5023 GB, free: 14.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.46, allocations: 318.8 kB / 0.5026 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.4603, allocations: 103.9 kB / 0.5027 GB, free: 14.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002781/0.4606, allocations: 103.9 kB / 0.5028 GB, free: 14.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005827/0.4612, allocations: 224.6 kB / 0.503 GB, free: 13.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.4612, allocations: 4 kB / 0.503 GB, free: 13.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007/0.4619, allocations: 280.6 kB / 0.5033 GB, free: 13.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.4619, allocations: 4 kB / 0.5033 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.4619, allocations: 0 / 0.5033 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.462, allocations: 5 kB / 0.5033 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004626/0.4624, allocations: 59.83 kB / 0.5034 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.4624, allocations: 3.984 kB / 0.5034 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.4627, allocations: 15.98 kB / 0.5034 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.4628, allocations: 8 kB / 0.5034 GB, free: 13.45 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.4629, allocations: 121.8 kB / 0.5035 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.4629, allocations: 11.91 kB / 0.5035 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009463/0.4639, allocations: 368.3 kB / 0.5039 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.4639, allocations: 3.938 kB / 0.5039 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.4639, allocations: 4 kB / 0.5039 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4639, allocations: 2.875 kB / 0.5039 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.4655, allocations: 0.7203 MB / 0.5046 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4655, allocations: 0 / 0.5046 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.4659, allocations: 67.88 kB / 0.5046 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.4659, allocations: 8.156 kB / 0.5046 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.4659, allocations: 8 kB / 0.5046 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4659, allocations: 0.7031 kB / 0.5047 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.466, allocations: 4 kB / 0.5047 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007663/0.4667, allocations: 411.6 kB / 0.505 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.4668, allocations: 92.94 kB / 0.5051 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.851e-05/0.4668, allocations: 8 kB / 0.5051 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.4672, allocations: 19.98 kB / 0.5052 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.4672, allocations: 19.91 kB / 0.5052 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.4673, allocations: 16 kB / 0.5052 GB, free: 11.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.47e-05/0.4673, allocations: 84.52 kB / 0.5053 GB, free: 11.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4673, allocations: 0 / 0.5053 GB, free: 11.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003632/0.4677, allocations: 60 kB / 0.5053 GB, free: 11.31 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.0002524/0.4679, allocations: 131.1 kB / 0.5055 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007301/0.4687, allocations: 251.7 kB / 0.5057 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4687, allocations: 0 / 0.5057 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003513/0.469, allocations: 135.8 kB / 0.5058 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.4696, allocations: 64.69 kB / 0.5059 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009582/0.4706, allocations: 405.2 kB / 0.5063 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.4709, allocations: 0.7089 MB / 0.507 GB, free: 9.559 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.4711, allocations: 35.41 kB / 0.507 GB, free: 9.523 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4711, allocations: 0 / 0.507 GB, free: 9.523 MB / 430.1 MB Notification: Performance of Templates: time 0.004874/0.476, allocations: 2.892 MB / 0.5098 GB, free: 6.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches