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.001633/0.001633, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001782/0.001783, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 72.94 kB / 417.7 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1209, allocations: 62.45 MB / 480.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4354/0.5563, allocations: 151.8 MB / 0.6171 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.5585, allocations: 1.456 MB / 0.6186 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.344e-05/0.5585, allocations: 0 / 0.6186 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.5589, allocations: 51.17 kB / 0.6186 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003098/0.5621, allocations: 0.9676 MB / 0.6195 GB, free: 9.445 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.452e-06/0.5621, allocations: 0 / 0.6195 GB, free: 9.445 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.5622, allocations: 71.58 kB / 0.6196 GB, free: 9.375 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.715e-05/0.5623, allocations: 11.98 kB / 0.6196 GB, free: 9.363 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.232e-05/0.5624, allocations: 23.88 kB / 0.6196 GB, free: 9.34 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.498e-05/0.5625, allocations: 35.89 kB / 0.6197 GB, free: 9.305 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.5625, allocations: 0 / 0.6197 GB, free: 9.305 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003222/0.5657, allocations: 1.903 MB / 0.6215 GB, free: 7.398 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.907e-05/0.5658, allocations: 11.98 kB / 0.6216 GB, free: 7.387 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.5658, allocations: 19.88 kB / 0.6216 GB, free: 7.367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.5671, allocations: 0.6472 MB / 0.6222 GB, free: 6.719 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.5671, allocations: 4 kB / 0.6222 GB, free: 6.715 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5671, allocations: 4 kB / 0.6222 GB, free: 6.711 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.5671, allocations: 0 / 0.6222 GB, free: 6.711 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.0009554/0.5681, allocations: 499.7 kB / 0.6227 GB, free: 6.176 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5682, allocations: 12.03 kB / 0.6227 GB, free: 6.164 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.5682, allocations: 4.922 kB / 0.6227 GB, free: 6.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.5684, allocations: 175.8 kB / 0.6229 GB, free: 5.949 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.5684, allocations: 0 / 0.6229 GB, free: 5.949 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.5684, allocations: 8 kB / 0.6229 GB, free: 5.941 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.5688, allocations: 89.41 kB / 0.623 GB, free: 5.852 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5688, allocations: 0 / 0.623 GB, free: 5.852 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5688, allocations: 0 / 0.623 GB, free: 5.852 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/0.5688, allocations: 11.98 kB / 0.623 GB, free: 5.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.569, allocations: 63.97 kB / 0.623 GB, free: 5.777 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.5695, allocations: 316.5 kB / 0.6233 GB, free: 5.418 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.725e-05/0.5696, allocations: 46.61 kB / 0.6234 GB, free: 5.363 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.5697, allocations: 20.97 kB / 0.6234 GB, free: 5.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.5699, allocations: 259.3 kB / 0.6236 GB, free: 5.031 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.57, allocations: 30.56 kB / 0.6237 GB, free: 4.992 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.57, allocations: 0 / 0.6237 GB, free: 4.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002212/0.5702, allocations: 69.56 kB / 0.6237 GB, free: 4.918 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.5702, allocations: 55.41 kB / 0.6238 GB, free: 4.852 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.384e-05/0.5703, allocations: 102.7 kB / 0.6239 GB, free: 4.742 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.5704, allocations: 33.7 kB / 0.6239 GB, free: 4.703 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.976e-05/0.5704, allocations: 99.88 kB / 0.624 GB, free: 4.602 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.5705, allocations: 11.81 kB / 0.624 GB, free: 4.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.5705, allocations: 17.72 kB / 0.6241 GB, free: 4.566 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5707, allocations: 322.8 kB / 0.6244 GB, free: 4.242 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.927e-05/0.5707, allocations: 8 kB / 0.6244 GB, free: 4.234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.013e-05/0.5707, allocations: 39.3 kB / 0.6244 GB, free: 4.188 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.688e-05/0.5708, allocations: 63.36 kB / 0.6245 GB, free: 4.113 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5708, allocations: 0 / 0.6245 GB, free: 4.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001363/0.571, allocations: 85.45 kB / 0.6245 GB, free: 4.023 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.571, allocations: 7.938 kB / 0.6246 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.571, allocations: 4.094 kB / 0.6246 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.571, allocations: 4 kB / 0.6246 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.042e-05/0.5711, allocations: 16 kB / 0.6246 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5712, allocations: 0 / 0.6246 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.654e-05/0.5712, allocations: 3.938 kB / 0.6246 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.5712, allocations: 6.266 kB / 0.6246 GB, free: 3.984 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 9.655e-05/0.5713, allocations: 121.8 kB / 0.6247 GB, free: 3.855 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.5714, allocations: 11.84 kB / 0.6247 GB, free: 3.844 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001966/0.5716, allocations: 85.11 kB / 0.6248 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.5716, allocations: 0 / 0.6248 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5716, allocations: 0 / 0.6248 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5716, allocations: 0 / 0.6248 GB, free: 3.758 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.5718, allocations: 165.7 kB / 0.625 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5718, allocations: 0 / 0.625 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.5718, allocations: 4 kB / 0.625 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.5719, allocations: 7.938 kB / 0.625 GB, free: 3.535 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.5719, allocations: 3.938 kB / 0.625 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.5719, allocations: 5.125 kB / 0.625 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5719, allocations: 0 / 0.625 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.572, allocations: 163.5 kB / 0.6251 GB, free: 3.352 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.5721, allocations: 81.02 kB / 0.6252 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.5721, allocations: 3.938 kB / 0.6252 GB, free: 3.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.723e-05/0.5722, allocations: 4.75 kB / 0.6252 GB, free: 3.246 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.5722, allocations: 4 kB / 0.6252 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.5722, allocations: 8 kB / 0.6252 GB, free: 3.234 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.484e-05/0.5723, allocations: 88.7 kB / 0.6253 GB, free: 3.148 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5723, allocations: 0 / 0.6253 GB, free: 3.148 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005215/0.5728, allocations: 143.9 kB / 0.6254 GB, free: 3.008 MB / 462.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.0009687/0.5738, allocations: 337.6 kB / 0.6258 GB, free: 2.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.5739, allocations: 43.91 kB / 0.6258 GB, free: 2.637 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.574, allocations: 3.938 kB / 0.6258 GB, free: 2.633 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.574, allocations: 23.88 kB / 0.6258 GB, free: 2.609 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.5743, allocations: 17 kB / 0.6259 GB, free: 2.594 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005063/0.5748, allocations: 207.2 kB / 0.6261 GB, free: 2.359 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.5751, allocations: 0.689 MB / 0.6267 GB, free: 1.645 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.5752, allocations: 19.44 kB / 0.6267 GB, free: 1.625 MB / 462.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5752, allocations: 0 / 0.6267 GB, free: 1.625 MB / 462.1 MB Notification: Performance of Templates: time 0.006043/0.5812, allocations: 3.192 MB / 0.6299 GB, free: 14.43 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 -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