Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 110.9 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 193.3 kB / 18.25 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1973/0.1973, allocations: 44.19 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 65.69 kB / 407.9 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1176, allocations: 60.82 MB / 468.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3703/0.4879, allocations: 148.8 MB / 0.6031 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.4897, allocations: 1.338 MB / 0.6044 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.606e-05/0.4897, allocations: 0 / 0.6044 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.49, allocations: 35.61 kB / 0.6044 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002555/0.4927, allocations: 0.9247 MB / 0.6053 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.668e-06/0.4927, allocations: 0 / 0.6053 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.4928, allocations: 43.73 kB / 0.6054 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.797e-05/0.4929, allocations: 3.984 kB / 0.6054 GB, free: 9.938 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.707e-05/0.4929, allocations: 27.92 kB / 0.6054 GB, free: 9.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.783e-05/0.493, allocations: 31.84 kB / 0.6054 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.493, allocations: 0 / 0.6054 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002908/0.4959, allocations: 1.813 MB / 0.6072 GB, free: 8.062 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.496, allocations: 7.984 kB / 0.6072 GB, free: 8.055 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.496, allocations: 15.94 kB / 0.6072 GB, free: 8.039 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.4976, allocations: 0.9316 MB / 0.6081 GB, free: 7.105 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4976, allocations: 0 / 0.6081 GB, free: 7.105 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4976, allocations: 0 / 0.6081 GB, free: 7.105 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.4976, allocations: 8 kB / 0.6081 GB, free: 7.098 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007506/0.4983, allocations: 479.2 kB / 0.6086 GB, free: 6.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4984, allocations: 12.03 kB / 0.6086 GB, free: 6.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.4984, allocations: 9.219 kB / 0.6086 GB, free: 6.566 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.4986, allocations: 171.9 kB / 0.6088 GB, free: 6.359 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.4986, allocations: 8 kB / 0.6088 GB, free: 6.352 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.4986, allocations: 4 kB / 0.6088 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.4988, allocations: 69.61 kB / 0.6089 GB, free: 6.273 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.4988, allocations: 0 / 0.6089 GB, free: 6.273 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.4988, allocations: 8 kB / 0.6089 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.4988, allocations: 4 kB / 0.6089 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.261e-05/0.4989, allocations: 51.97 kB / 0.6089 GB, free: 6.211 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.4994, allocations: 300.7 kB / 0.6092 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.38e-05/0.4994, allocations: 38.5 kB / 0.6092 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.4995, allocations: 12.86 kB / 0.6093 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.4998, allocations: 259.4 kB / 0.6095 GB, free: 5.496 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.4998, allocations: 30.56 kB / 0.6095 GB, free: 5.457 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4998, allocations: 0 / 0.6095 GB, free: 5.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002444/0.5001, allocations: 61.56 kB / 0.6096 GB, free: 5.391 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.5001, allocations: 55.41 kB / 0.6096 GB, free: 5.324 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.5003, allocations: 101.8 kB / 0.6097 GB, free: 5.215 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.5003, allocations: 25.7 kB / 0.6098 GB, free: 5.184 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.5004, allocations: 103.9 kB / 0.6099 GB, free: 5.078 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.5004, allocations: 15.75 kB / 0.6099 GB, free: 5.062 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.5004, allocations: 21.72 kB / 0.6099 GB, free: 5.035 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5006, allocations: 314.8 kB / 0.6102 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.877e-05/0.5006, allocations: 8 kB / 0.6102 GB, free: 4.711 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.66e-05/0.5007, allocations: 31.42 kB / 0.6102 GB, free: 4.668 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.465e-05/0.5008, allocations: 51.75 kB / 0.6103 GB, free: 4.605 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5008, allocations: 0 / 0.6103 GB, free: 4.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00013/0.5009, allocations: 73.59 kB / 0.6104 GB, free: 4.527 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.5009, allocations: 11.94 kB / 0.6104 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.5009, allocations: 0 / 0.6104 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.501, allocations: 0 / 0.6104 GB, free: 4.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.5011, allocations: 20.03 kB / 0.6104 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.5011, allocations: 5.891 kB / 0.6104 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.921e-05/0.5011, allocations: 11.91 kB / 0.6104 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.5012, allocations: 4 kB / 0.6104 GB, free: 4.477 MB / 446.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 (7): * Single equations (assignments): 7 * 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 9.497e-05/0.5013, allocations: 113.8 kB / 0.6105 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.5013, allocations: 3.938 kB / 0.6105 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.5015, allocations: 75.31 kB / 0.6106 GB, free: 4.277 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5015, allocations: 4 kB / 0.6106 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.5015, allocations: 0 / 0.6106 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5015, allocations: 0 / 0.6106 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.5017, allocations: 161.8 kB / 0.6108 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.5017, allocations: 4.812 kB / 0.6108 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.346e-05/0.5018, allocations: 11.98 kB / 0.6108 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5018, allocations: 3.938 kB / 0.6108 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.5018, allocations: 0 / 0.6108 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5018, allocations: 0 / 0.6108 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5018, allocations: 4 kB / 0.6108 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.502, allocations: 147.5 kB / 0.6109 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.014e-05/0.502, allocations: 84.98 kB / 0.611 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.502, allocations: 11.88 kB / 0.611 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.385e-05/0.5021, allocations: 4 kB / 0.611 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.5021, allocations: 3.984 kB / 0.611 GB, free: 3.766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.5021, allocations: 4 kB / 0.611 GB, free: 3.762 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.244e-05/0.5022, allocations: 83.28 kB / 0.6111 GB, free: 3.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5022, allocations: 0 / 0.6111 GB, free: 3.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005296/0.5027, allocations: 135.9 kB / 0.6112 GB, free: 3.547 MB / 446.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 (4): * Single equations (assignments): 4 * 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.001137/0.5039, allocations: 307 kB / 0.6115 GB, free: 3.246 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.504, allocations: 35.91 kB / 0.6116 GB, free: 3.211 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5041, allocations: 4.125 kB / 0.6116 GB, free: 3.207 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.196e-05/0.5041, allocations: 12 kB / 0.6116 GB, free: 3.195 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.5044, allocations: 14.28 kB / 0.6116 GB, free: 3.184 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.5049, allocations: 153.2 kB / 0.6117 GB, free: 3.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.5054, allocations: 0.6807 MB / 0.6124 GB, free: 2.301 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.754e-05/0.5054, allocations: 20.12 kB / 0.6124 GB, free: 2.281 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.5055, allocations: 11.44 kB / 0.6124 GB, free: 2.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5055, allocations: 0 / 0.6124 GB, free: 2.27 MB / 446.1 MB Notification: Performance of Templates: time 0.007849/0.5133, allocations: 3.286 MB / 0.6156 GB, free: 14.99 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches