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.0008008/0.0008008, allocations: 97.05 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009196/0.0009197, allocations: 202.6 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002539/0.0002541, allocations: 7.984 kB / 308.4 MB, free: 0.8555 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.1002, allocations: 51.52 MB / 359.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3376/0.4378, allocations: 148.1 MB / 0.4961 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.4405, allocations: 2.554 MB / 0.4986 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.4405, allocations: 0 / 0.4986 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.4407, allocations: 19.89 kB / 0.4986 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008454/0.4416, allocations: 288.9 kB / 0.4989 GB, free: 4.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.4417, allocations: 51.77 kB / 0.4989 GB, free: 4.941 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.4419, allocations: 103.4 kB / 0.499 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.889e-05/0.4419, allocations: 4 kB / 0.499 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.442, allocations: 39.8 kB / 0.4991 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.695e-05/0.4421, allocations: 43.84 kB / 0.4991 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.4421, allocations: 0 / 0.4991 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000719/0.4428, allocations: 371.4 kB / 0.4994 GB, free: 4.391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.4429, allocations: 11.94 kB / 0.4995 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.007e-05/0.4429, allocations: 65.5 kB / 0.4995 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.4433, allocations: 225.1 kB / 0.4997 GB, free: 4.09 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4433, allocations: 0 / 0.4997 GB, free: 4.09 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4433, allocations: 3.938 kB / 0.4997 GB, free: 4.086 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.4433, allocations: 0 / 0.4997 GB, free: 4.086 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.0008329/0.4441, allocations: 451.7 kB / 0.5002 GB, free: 3.598 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.4442, allocations: 12.03 kB / 0.5002 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006316/0.4505, allocations: 458 kB / 0.5006 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.4507, allocations: 179.6 kB / 0.5008 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.4507, allocations: 8 kB / 0.5008 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.639e-05/0.4508, allocations: 7.906 kB / 0.5008 GB, free: 2.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007619/0.4516, allocations: 300.3 kB / 0.5011 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4516, allocations: 0 / 0.5011 GB, free: 2.613 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.948e-05/0.4516, allocations: 4 kB / 0.5011 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4517, allocations: 0 / 0.5011 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008244/0.4525, allocations: 279.8 kB / 0.5014 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.4528, allocations: 250.2 kB / 0.5016 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/0.4532, allocations: 166.3 kB / 0.5018 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.4534, allocations: 88.81 kB / 0.5018 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.4535, allocations: 4 kB / 0.5018 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.4535, allocations: 34.56 kB / 0.5019 GB, free: 1.738 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.4535, allocations: 0 / 0.5019 GB, free: 1.738 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.002138/0.4556, allocations: 0.5845 MB / 0.5025 GB, free: 1.152 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.4557, allocations: 59.34 kB / 0.5025 GB, free: 1.082 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.526e-05/0.4558, allocations: 105.8 kB / 0.5026 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.4558, allocations: 33.7 kB / 0.5026 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.4559, allocations: 88.58 kB / 0.5027 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.602e-05/0.4559, allocations: 74.84 kB / 0.5028 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-05/0.456, allocations: 29.64 kB / 0.5028 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.4561, allocations: 322.8 kB / 0.5031 GB, free: 416 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.4564, allocations: 95.94 kB / 0.5032 GB, free: 320 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/0.4567, allocations: 103.9 kB / 0.5033 GB, free: 216 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006096/0.4573, allocations: 220.7 kB / 0.5035 GB, free: 15.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4573, allocations: 0 / 0.5035 GB, free: 15.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007089/0.4581, allocations: 296.4 kB / 0.5038 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4581, allocations: 8 kB / 0.5038 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.4581, allocations: 0 / 0.5038 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.4581, allocations: 0 / 0.5038 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/0.4586, allocations: 59.88 kB / 0.5039 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.4586, allocations: 0 / 0.5039 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002788/0.4589, allocations: 19.98 kB / 0.5039 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.4589, allocations: 15.92 kB / 0.5039 GB, free: 15.59 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.0001088/0.459, allocations: 121.8 kB / 0.504 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.4591, allocations: 7.906 kB / 0.504 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009421/0.46, allocations: 355.9 kB / 0.5044 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.46, allocations: 11.88 kB / 0.5044 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.46, allocations: 0 / 0.5044 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.46, allocations: 4 kB / 0.5044 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.4615, allocations: 0.7154 MB / 0.5051 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4615, allocations: 0 / 0.5051 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.4619, allocations: 63.89 kB / 0.5052 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4619, allocations: 0 / 0.5052 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.462, allocations: 11.98 kB / 0.5052 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.462, allocations: 4 kB / 0.5052 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.462, allocations: 7.938 kB / 0.5052 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007596/0.4628, allocations: 415.7 kB / 0.5056 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.887e-05/0.4628, allocations: 85.02 kB / 0.5057 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.958e-05/0.4629, allocations: 15.92 kB / 0.5057 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.4632, allocations: 13.98 kB / 0.5057 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.4632, allocations: 27.84 kB / 0.5057 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.4633, allocations: 19.98 kB / 0.5057 GB, free: 13.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.245e-05/0.4633, allocations: 87.28 kB / 0.5058 GB, free: 13.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4633, allocations: 0 / 0.5058 GB, free: 13.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.4637, allocations: 56 kB / 0.5059 GB, free: 13.47 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.0002258/0.4639, allocations: 131.1 kB / 0.506 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007067/0.4646, allocations: 247.7 kB / 0.5062 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4646, allocations: 0 / 0.5062 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.465, allocations: 144.1 kB / 0.5064 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.4656, allocations: 51.89 kB / 0.5064 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008862/0.4665, allocations: 425.7 kB / 0.5068 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.4667, allocations: 0.705 MB / 0.5075 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002072/0.467, allocations: 43.41 kB / 0.5075 GB, free: 11.66 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.467, allocations: 0 / 0.5075 GB, free: 11.66 MB / 430.1 MB Notification: Performance of Templates: time 0.004733/0.4717, allocations: 2.873 MB / 0.5104 GB, free: 8.793 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