Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2121/0.2121, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 79.88 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1036, allocations: 62.44 MB / 481.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3361/0.4398, allocations: 153.9 MB / 0.6204 GB, free: 8.82 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.4415, allocations: 1.468 MB / 0.6219 GB, free: 7.355 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.4416, allocations: 0 / 0.6219 GB, free: 7.355 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.4419, allocations: 47.8 kB / 0.6219 GB, free: 7.309 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.4445, allocations: 1.075 MB / 0.623 GB, free: 6.266 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.01e-06/0.4445, allocations: 0 / 0.623 GB, free: 6.266 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.4446, allocations: 67.64 kB / 0.623 GB, free: 6.199 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.4447, allocations: 7.984 kB / 0.623 GB, free: 6.191 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.878e-05/0.4447, allocations: 27.86 kB / 0.6231 GB, free: 6.164 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.311e-05/0.4448, allocations: 27.91 kB / 0.6231 GB, free: 6.137 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.4448, allocations: 0 / 0.6231 GB, free: 6.137 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.4477, allocations: 1.883 MB / 0.6249 GB, free: 4.254 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.4477, allocations: 11.92 kB / 0.6249 GB, free: 4.242 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.4478, allocations: 19.94 kB / 0.625 GB, free: 4.223 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.4491, allocations: 0.9279 MB / 0.6259 GB, free: 3.293 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4491, allocations: 0 / 0.6259 GB, free: 3.293 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4491, allocations: 0 / 0.6259 GB, free: 3.293 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.926e-06/0.4491, allocations: 0 / 0.6259 GB, free: 3.293 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006299/0.4498, allocations: 0.4913 MB / 0.6264 GB, free: 2.754 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.4498, allocations: 12.03 kB / 0.6264 GB, free: 2.742 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.4498, allocations: 0.9375 kB / 0.6264 GB, free: 2.742 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.45, allocations: 175.8 kB / 0.6265 GB, free: 2.531 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.45, allocations: 8 kB / 0.6265 GB, free: 2.523 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.45, allocations: 7.938 kB / 0.6265 GB, free: 2.516 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.4501, allocations: 81.66 kB / 0.6266 GB, free: 2.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.4502, allocations: 0 / 0.6266 GB, free: 2.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.4502, allocations: 0 / 0.6266 GB, free: 2.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.916e-05/0.4502, allocations: 15.98 kB / 0.6266 GB, free: 2.414 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.465e-05/0.4503, allocations: 63.95 kB / 0.6267 GB, free: 2.352 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.4507, allocations: 312.5 kB / 0.627 GB, free: 1.996 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.786e-05/0.4508, allocations: 42.56 kB / 0.627 GB, free: 1.945 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.4508, allocations: 16.98 kB / 0.6271 GB, free: 1.926 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.4511, allocations: 263.3 kB / 0.6273 GB, free: 1.613 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.4511, allocations: 30.56 kB / 0.6273 GB, free: 1.574 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.4511, allocations: 0 / 0.6273 GB, free: 1.574 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001876/0.4513, allocations: 73.56 kB / 0.6274 GB, free: 1.496 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.4513, allocations: 51.41 kB / 0.6275 GB, free: 1.434 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.969e-05/0.4514, allocations: 109.8 kB / 0.6276 GB, free: 1.316 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.4514, allocations: 25.7 kB / 0.6276 GB, free: 1.285 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.4515, allocations: 99.88 kB / 0.6277 GB, free: 1.184 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.4515, allocations: 11.81 kB / 0.6277 GB, free: 1.172 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.4516, allocations: 25.72 kB / 0.6277 GB, free: 1.141 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.4517, allocations: 314.8 kB / 0.628 GB, free: 0.8242 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.871e-05/0.4517, allocations: 12.88 kB / 0.628 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.525e-05/0.4518, allocations: 39.42 kB / 0.6281 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.673e-05/0.4519, allocations: 56.22 kB / 0.6281 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4519, allocations: 3.938 kB / 0.6281 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001343/0.452, allocations: 89.45 kB / 0.6282 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.452, allocations: 12.03 kB / 0.6282 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.452, allocations: 6.562 kB / 0.6282 GB, free: 0.582 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.4521, allocations: 0 / 0.6282 GB, free: 0.582 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.4521, allocations: 12 kB / 0.6282 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4522, allocations: 0 / 0.6282 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.4522, allocations: 7.938 kB / 0.6282 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.4522, allocations: 7.984 kB / 0.6283 GB, free: 0.5547 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 7.366e-05/0.4523, allocations: 113.8 kB / 0.6284 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.4524, allocations: 11.78 kB / 0.6284 GB, free: 432 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.4525, allocations: 82.23 kB / 0.6285 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.4525, allocations: 0 / 0.6285 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4526, allocations: 0 / 0.6285 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4526, allocations: 0 / 0.6285 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.4527, allocations: 169.6 kB / 0.6286 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4527, allocations: 0 / 0.6286 GB, free: 128 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.4528, allocations: 8 kB / 0.6286 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4528, allocations: 11.92 kB / 0.6286 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.4528, allocations: 0 / 0.6286 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4528, allocations: 0 / 0.6286 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4528, allocations: 0.75 kB / 0.6286 GB, free: 108 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.453, allocations: 163.5 kB / 0.6288 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.27e-05/0.453, allocations: 81.02 kB / 0.6289 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.453, allocations: 4.625 kB / 0.6289 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.021e-05/0.4531, allocations: 0 / 0.6289 GB, free: 15.83 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.4531, allocations: 8 kB / 0.6289 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.4531, allocations: 4 kB / 0.6289 GB, free: 15.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 3.663e-05/0.4532, allocations: 87.95 kB / 0.629 GB, free: 15.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4532, allocations: 0 / 0.629 GB, free: 15.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004577/0.4536, allocations: 155.8 kB / 0.6291 GB, free: 15.58 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 4 * Array equations: 1 * 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.0007304/0.4544, allocations: 332.9 kB / 0.6294 GB, free: 15.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001139/0.4545, allocations: 35.91 kB / 0.6295 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4545, allocations: 0 / 0.6295 GB, free: 15.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 3.079e-05/0.4546, allocations: 16 kB / 0.6295 GB, free: 15.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.4548, allocations: 24.3 kB / 0.6295 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.4552, allocations: 165.5 kB / 0.6297 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.4554, allocations: 0.6929 MB / 0.6303 GB, free: 14.28 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.4555, allocations: 16.14 kB / 0.6304 GB, free: 14.26 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.4555, allocations: 11.44 kB / 0.6304 GB, free: 14.25 MB / 478.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4555, allocations: 0 / 0.6304 GB, free: 14.25 MB / 478.1 MB Notification: Performance of Templates: time 0.006564/0.4621, allocations: 3.672 MB / 0.634 GB, free: 10.58 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches