Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001526/0.001526, allocations: 192.1 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 51.94 kB / 282.1 MB, free: 2.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08713/0.08842, allocations: 46.62 MB / 328.7 MB, free: 3.738 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.347/0.4354, allocations: 186.6 MB / 0.5032 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005578/0.4411, allocations: 4.792 MB / 0.5079 GB, free: 7 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.4413, allocations: 7.938 kB / 0.5079 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007994/0.4422, allocations: 254.5 kB / 0.5082 GB, free: 6.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006537/0.4429, allocations: 369.8 kB / 0.5085 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007253/0.4501, allocations: 2.859 MB / 0.5113 GB, free: 3.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00148/0.4516, allocations: 1.165 MB / 0.5124 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.4519, allocations: 146 kB / 0.5126 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003175/0.4551, allocations: 1.453 MB / 0.514 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005239/0.4556, allocations: 422.6 kB / 0.5144 GB, free: 336 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.475e-05/0.4557, allocations: 64 kB / 0.5145 GB, free: 272 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007226/0.4629, allocations: 4.216 MB / 0.5186 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002934/0.4633, allocations: 227.5 kB / 0.5188 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003909/0.4637, allocations: 322.9 kB / 0.5191 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005207/0.4689, allocations: 2.908 MB / 0.522 GB, free: 8.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4689, allocations: 0 / 0.522 GB, free: 8.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4689, allocations: 0 / 0.522 GB, free: 8.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.4689, allocations: 0 / 0.522 GB, free: 8.59 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002121/0.471, allocations: 1.146 MB / 0.5231 GB, free: 7.395 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.4711, allocations: 11.89 kB / 0.5231 GB, free: 7.383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003544/0.4715, allocations: 67.44 kB / 0.5231 GB, free: 7.316 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/0.4721, allocations: 362 kB / 0.5235 GB, free: 6.922 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.4721, allocations: 40.94 kB / 0.5235 GB, free: 6.879 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.144e-05/0.4722, allocations: 44 kB / 0.5236 GB, free: 6.836 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008201/0.473, allocations: 0.5088 MB / 0.5241 GB, free: 6.324 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.473, allocations: 0 / 0.5241 GB, free: 6.324 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-05/0.4731, allocations: 20 kB / 0.5241 GB, free: 6.305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.4731, allocations: 8 kB / 0.5241 GB, free: 6.297 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009251/0.474, allocations: 0.5973 MB / 0.5247 GB, free: 5.699 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003183/0.4772, allocations: 2.171 MB / 0.5268 GB, free: 3.301 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.4784, allocations: 0.544 MB / 0.5273 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.4788, allocations: 266 kB / 0.5276 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005492/0.4793, allocations: 0.6931 MB / 0.5283 GB, free: 1.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.4794, allocations: 50.86 kB / 0.5283 GB, free: 1.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 2.184e-06/0.4794, allocations: 0 / 0.5283 GB, free: 1.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.1575/0.6369, allocations: 3.636 MB / 0.5319 GB, free: 166.4 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.6369, allocations: 58.72 kB / 0.5319 GB, free: 166.3 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.6373, allocations: 295 kB / 0.5322 GB, free: 166.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/0.6373, allocations: 40.67 kB / 0.5322 GB, free: 166.2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.6375, allocations: 190.5 kB / 0.5324 GB, free: 166.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.6376, allocations: 228.2 kB / 0.5326 GB, free: 165.9 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.6378, allocations: 117.8 kB / 0.5327 GB, free: 165.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.6379, allocations: 348.3 kB / 0.5331 GB, free: 165.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006678/0.6385, allocations: 318.6 kB / 0.5334 GB, free: 165.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007305/0.6393, allocations: 385.4 kB / 0.5338 GB, free: 165.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001413/0.6407, allocations: 0.711 MB / 0.5344 GB, free: 164.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6407, allocations: 1.344 kB / 0.5344 GB, free: 164.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002164/0.6429, allocations: 0.9614 MB / 0.5354 GB, free: 164.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.6429, allocations: 6.062 kB / 0.5354 GB, free: 164.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.6429, allocations: 1.062 kB / 0.5354 GB, free: 164.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.6445, allocations: 336.3 kB / 0.5357 GB, free: 164.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.6451, allocations: 120.8 kB / 0.5358 GB, free: 164.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/0.6482, allocations: 3.706 MB / 0.5394 GB, free: 161 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/0.6488, allocations: 43.7 kB / 0.5395 GB, free: 161 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.754e-05/0.6489, allocations: 25.39 kB / 0.5395 GB, free: 161 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002965/0.6492, allocations: 193.8 kB / 0.5397 GB, free: 160.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.6493, allocations: 46.78 kB / 0.5397 GB, free: 160.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.6518, allocations: 1.025 MB / 0.5407 GB, free: 160.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.6518, allocations: 14.38 kB / 0.5408 GB, free: 160.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6518, allocations: 1.953 kB / 0.5408 GB, free: 160.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00193/0.6537, allocations: 1.063 MB / 0.5418 GB, free: 159.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003091/0.6568, allocations: 1.694 MB / 0.5435 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6569, allocations: 0 / 0.5435 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.6574, allocations: 114.9 kB / 0.5436 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/0.6591, allocations: 380.2 kB / 0.5439 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.423e-05/0.6592, allocations: 21.84 kB / 0.5439 GB, free: 158.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.6604, allocations: 0.8645 MB / 0.5448 GB, free: 158.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6604, allocations: 0 / 0.5448 GB, free: 158.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.663, allocations: 1.345 MB / 0.5461 GB, free: 157.6 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.6631, allocations: 114.6 kB / 0.5462 GB, free: 157.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/0.6632, allocations: 29.41 kB / 0.5462 GB, free: 157.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006013/0.6638, allocations: 47.48 kB / 0.5463 GB, free: 157.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.6639, allocations: 40.56 kB / 0.5463 GB, free: 157.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/0.664, allocations: 28.81 kB / 0.5464 GB, free: 157.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.6642, allocations: 226.1 kB / 0.5466 GB, free: 157.3 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6642, allocations: 0 / 0.5466 GB, free: 157.3 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001184/0.6654, allocations: 449.6 kB / 0.547 GB, free: 157.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00115/0.6665, allocations: 0.5804 MB / 0.5476 GB, free: 157.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.6684, allocations: 0.9931 MB / 0.5485 GB, free: 156.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.6684, allocations: 6.344 kB / 0.5485 GB, free: 156.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007934/0.6692, allocations: 422.9 kB / 0.5489 GB, free: 156.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.6704, allocations: 301.5 kB / 0.5492 GB, free: 156.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.6728, allocations: 1.304 MB / 0.5505 GB, free: 155.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.6731, allocations: 0.852 MB / 0.5513 GB, free: 154.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004381/0.6735, allocations: 133.6 kB / 0.5515 GB, free: 154.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.6737, allocations: 54.52 kB / 0.5515 GB, free: 154.7 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.6737, allocations: 3.938 kB / 0.5515 GB, free: 154.7 MB / 430.1 MB Notification: Performance of Templates: time 0.024/0.6977, allocations: 21.95 MB / 0.573 GB, free: 133.9 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches