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.001524/0.001524, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 247.5 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 64.52 kB / 307.6 MB, free: 0.6406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1075, allocations: 50.55 MB / 358.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3432/0.4508, allocations: 152.2 MB / 0.4984 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002901/0.4537, allocations: 2.541 MB / 0.5009 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.4538, allocations: 0 / 0.5009 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.454, allocations: 27.83 kB / 0.5009 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009581/0.455, allocations: 346 kB / 0.5013 GB, free: 164 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.4552, allocations: 64.23 kB / 0.5013 GB, free: 100 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.4554, allocations: 103.4 kB / 0.5014 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.4554, allocations: 4 kB / 0.5014 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.4555, allocations: 47.72 kB / 0.5015 GB, free: 15.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.706e-05/0.4556, allocations: 35.8 kB / 0.5015 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.4557, allocations: 4 kB / 0.5015 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007363/0.4564, allocations: 363.5 kB / 0.5018 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.4564, allocations: 19.86 kB / 0.5019 GB, free: 15.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.4565, allocations: 27.88 kB / 0.5019 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000521/0.457, allocations: 324.7 kB / 0.5022 GB, free: 15.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.457, allocations: 4 kB / 0.5022 GB, free: 15.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.457, allocations: 0 / 0.5022 GB, free: 15.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.4571, allocations: 0 / 0.5022 GB, free: 15.18 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.0009663/0.458, allocations: 451.8 kB / 0.5026 GB, free: 14.7 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.4581, allocations: 12.03 kB / 0.5026 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006488/0.4646, allocations: 460.6 kB / 0.5031 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.4648, allocations: 179.5 kB / 0.5033 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.4648, allocations: 11.94 kB / 0.5033 GB, free: 14.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/0.4649, allocations: 7.938 kB / 0.5033 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008113/0.4657, allocations: 305.3 kB / 0.5036 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4658, allocations: 0 / 0.5036 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/0.4658, allocations: 0 / 0.5036 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.4658, allocations: 0 / 0.5036 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008458/0.4667, allocations: 279.8 kB / 0.5038 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.467, allocations: 250.2 kB / 0.5041 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.4675, allocations: 162.8 kB / 0.5042 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.4677, allocations: 80.81 kB / 0.5043 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.812e-05/0.4677, allocations: 15.98 kB / 0.5043 GB, free: 12.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.4678, allocations: 30.56 kB / 0.5043 GB, free: 12.82 MB / 430.1 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.4678, allocations: 0 / 0.5043 GB, free: 12.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.002821/0.4706, allocations: 0.5766 MB / 0.5049 GB, free: 12.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.4707, allocations: 59.34 kB / 0.505 GB, free: 12.18 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.634e-05/0.4708, allocations: 107.5 kB / 0.5051 GB, free: 12.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.4708, allocations: 33.7 kB / 0.5051 GB, free: 12.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.4709, allocations: 84.58 kB / 0.5052 GB, free: 11.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.556e-05/0.471, allocations: 86.73 kB / 0.5053 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.4711, allocations: 45.69 kB / 0.5053 GB, free: 11.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4713, allocations: 318.8 kB / 0.5056 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.4716, allocations: 99.92 kB / 0.5057 GB, free: 11.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.4719, allocations: 103.9 kB / 0.5058 GB, free: 11.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.4726, allocations: 227.7 kB / 0.506 GB, free: 11.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4726, allocations: 0 / 0.506 GB, free: 11.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008182/0.4734, allocations: 285.3 kB / 0.5063 GB, free: 10.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.4734, allocations: 8 kB / 0.5063 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.4735, allocations: 0 / 0.5063 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.4735, allocations: 0 / 0.5063 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.474, allocations: 59.89 kB / 0.5064 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.474, allocations: 3.938 kB / 0.5064 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.4743, allocations: 23.97 kB / 0.5064 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.4743, allocations: 11.98 kB / 0.5064 GB, free: 10.67 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.0001443/0.4745, allocations: 121.8 kB / 0.5065 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.4745, allocations: 7.906 kB / 0.5065 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/0.4755, allocations: 347.9 kB / 0.5069 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4756, allocations: 7.938 kB / 0.5069 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.4756, allocations: 3.984 kB / 0.5069 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4756, allocations: 0 / 0.5069 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.4772, allocations: 0.7323 MB / 0.5076 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.4772, allocations: 0.75 kB / 0.5076 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.4777, allocations: 59.89 kB / 0.5076 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.4777, allocations: 3.938 kB / 0.5076 GB, free: 9.312 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.4777, allocations: 15.98 kB / 0.5077 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4777, allocations: 1.875 kB / 0.5077 GB, free: 9.297 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.4777, allocations: 7.938 kB / 0.5077 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/0.4786, allocations: 415.8 kB / 0.5081 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.4787, allocations: 85.02 kB / 0.5081 GB, free: 8.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.4787, allocations: 8 kB / 0.5082 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.479, allocations: 11.98 kB / 0.5082 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.4791, allocations: 31.83 kB / 0.5082 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.4791, allocations: 11.98 kB / 0.5082 GB, free: 8.688 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.885e-05/0.4792, allocations: 95.58 kB / 0.5083 GB, free: 8.594 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4792, allocations: 0 / 0.5083 GB, free: 8.594 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.4796, allocations: 56 kB / 0.5084 GB, free: 8.539 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.0002616/0.4798, allocations: 135.1 kB / 0.5085 GB, free: 8.398 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007675/0.4806, allocations: 251.7 kB / 0.5087 GB, free: 8.152 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4806, allocations: 7.938 kB / 0.5087 GB, free: 8.145 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000375/0.481, allocations: 136.1 kB / 0.5089 GB, free: 8.012 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/0.4816, allocations: 55.83 kB / 0.5089 GB, free: 7.961 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009583/0.4825, allocations: 379.9 kB / 0.5093 GB, free: 7.543 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.4829, allocations: 0.7047 MB / 0.51 GB, free: 6.812 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.4831, allocations: 39.42 kB / 0.51 GB, free: 6.773 MB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4831, allocations: 0 / 0.51 GB, free: 6.773 MB / 430.1 MB Notification: Performance of Templates: time 0.005439/0.4886, allocations: 2.889 MB / 0.5128 GB, free: 3.879 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.1.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