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.001155/0.001155, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.001228/0.001228, allocations: 190 kB / 18.07 MB, free: 5.414 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.325/1.325, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001323/0.001324, allocations: 43.94 kB / 280 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0931/0.09443, allocations: 46.62 MB / 326.6 MB, free: 4.875 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.377/0.4715, allocations: 185.3 MB / 0.4999 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005786/0.4773, allocations: 4.878 MB / 0.5047 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.4775, allocations: 4 kB / 0.5047 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007635/0.4783, allocations: 226.9 kB / 0.5049 GB, free: 9.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005684/0.4789, allocations: 358.1 kB / 0.5052 GB, free: 8.684 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006466/0.4854, allocations: 2.516 MB / 0.5077 GB, free: 6.164 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.487, allocations: 1.672 MB / 0.5093 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00023/0.4872, allocations: 118 kB / 0.5094 GB, free: 4.367 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003178/0.4904, allocations: 1.293 MB / 0.5107 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005391/0.491, allocations: 438.6 kB / 0.5111 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.288e-05/0.4911, allocations: 35.94 kB / 0.5111 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006725/0.4978, allocations: 4.301 MB / 0.5153 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002816/0.4981, allocations: 203.5 kB / 0.5155 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003881/0.4985, allocations: 278.9 kB / 0.5158 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0055/0.504, allocations: 2.966 MB / 0.5187 GB, free: 10.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.504, allocations: 4 kB / 0.5187 GB, free: 10.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5041, allocations: 0 / 0.5187 GB, free: 10.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.5041, allocations: 4 kB / 0.5187 GB, free: 10.84 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.002492/0.5066, allocations: 1.138 MB / 0.5198 GB, free: 9.656 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.5066, allocations: 8.031 kB / 0.5198 GB, free: 9.648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.507, allocations: 63.52 kB / 0.5199 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.5075, allocations: 369.8 kB / 0.5202 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.5075, allocations: 36.88 kB / 0.5203 GB, free: 9.145 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/0.5076, allocations: 44 kB / 0.5203 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008283/0.5084, allocations: 0.4984 MB / 0.5208 GB, free: 8.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/0.5085, allocations: 4 kB / 0.5208 GB, free: 8.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.5085, allocations: 20 kB / 0.5208 GB, free: 8.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.5086, allocations: 16 kB / 0.5208 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009126/0.5095, allocations: 0.5934 MB / 0.5214 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003087/0.5126, allocations: 2.175 MB / 0.5235 GB, free: 5.566 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.5138, allocations: 0.5476 MB / 0.5241 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003822/0.5142, allocations: 266 kB / 0.5243 GB, free: 4.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/0.5147, allocations: 0.6926 MB / 0.525 GB, free: 3.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.5148, allocations: 39 kB / 0.525 GB, free: 3.863 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 1.774e-06/0.5148, allocations: 0 / 0.525 GB, free: 3.863 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.01488/0.5297, allocations: 3.653 MB / 0.5286 GB, free: 116 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.5297, allocations: 55.97 kB / 0.5287 GB, free: 48 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1633/0.6931, allocations: 293.4 kB / 0.529 GB, free: 166.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.6933, allocations: 36.52 kB / 0.529 GB, free: 166.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.6934, allocations: 190.4 kB / 0.5292 GB, free: 166.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.6937, allocations: 228.3 kB / 0.5294 GB, free: 166.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.6939, allocations: 119.9 kB / 0.5295 GB, free: 166.4 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.783e-05/0.694, allocations: 351.1 kB / 0.5298 GB, free: 166.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007759/0.6948, allocations: 311.9 kB / 0.5301 GB, free: 166.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007947/0.6956, allocations: 385.3 kB / 0.5305 GB, free: 166 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.6973, allocations: 0.7096 MB / 0.5312 GB, free: 165.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6973, allocations: 0.5 kB / 0.5312 GB, free: 165.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002453/0.6998, allocations: 0.9644 MB / 0.5321 GB, free: 165.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.6998, allocations: 5.719 kB / 0.5321 GB, free: 165.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.6998, allocations: 1.969 kB / 0.5321 GB, free: 165.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.7015, allocations: 337.5 kB / 0.5325 GB, free: 165.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006051/0.7021, allocations: 119.7 kB / 0.5326 GB, free: 165.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003454/0.7056, allocations: 3.505 MB / 0.536 GB, free: 162.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008047/0.7064, allocations: 60.8 kB / 0.5361 GB, free: 162.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.84e-05/0.7065, allocations: 26.94 kB / 0.5361 GB, free: 162.1 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.0004502/0.707, allocations: 194.8 kB / 0.5363 GB, free: 161.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/0.7072, allocations: 42.69 kB / 0.5363 GB, free: 161.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003314/0.7105, allocations: 1.032 MB / 0.5373 GB, free: 161.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.7106, allocations: 7 kB / 0.5373 GB, free: 161.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.7106, allocations: 0.5625 kB / 0.5373 GB, free: 161.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002174/0.7128, allocations: 1.066 MB / 0.5384 GB, free: 160.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/0.7169, allocations: 1.696 MB / 0.54 GB, free: 160 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.7169, allocations: 1.812 kB / 0.54 GB, free: 160 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006182/0.7175, allocations: 117.9 kB / 0.5401 GB, free: 160 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/0.7195, allocations: 368.9 kB / 0.5405 GB, free: 160 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.518e-05/0.7196, allocations: 23.75 kB / 0.5405 GB, free: 159.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.7211, allocations: 0.871 MB / 0.5414 GB, free: 159.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.7211, allocations: 0 / 0.5414 GB, free: 159.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/0.7242, allocations: 1.34 MB / 0.5427 GB, free: 158.7 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.7244, allocations: 112.4 kB / 0.5428 GB, free: 158.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.7245, allocations: 22.56 kB / 0.5428 GB, free: 158.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007475/0.7253, allocations: 61.67 kB / 0.5429 GB, free: 158.6 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.7254, allocations: 41.3 kB / 0.5429 GB, free: 158.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.7255, allocations: 29.19 kB / 0.5429 GB, free: 158.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002943/0.7258, allocations: 231.1 kB / 0.5431 GB, free: 158.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7258, allocations: 0 / 0.5431 GB, free: 158.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001651/0.7275, allocations: 447.9 kB / 0.5436 GB, free: 158.4 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.001815/0.7293, allocations: 0.5811 MB / 0.5441 GB, free: 158.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002428/0.7318, allocations: 0.9919 MB / 0.5451 GB, free: 157.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.7318, allocations: 1.188 kB / 0.5451 GB, free: 157.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.7329, allocations: 420 kB / 0.5455 GB, free: 157.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.7346, allocations: 304.3 kB / 0.5458 GB, free: 157.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.7376, allocations: 1.497 MB / 0.5473 GB, free: 156.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.7379, allocations: 0.8436 MB / 0.5481 GB, free: 156 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000632/0.7385, allocations: 135.4 kB / 0.5482 GB, free: 155.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.7387, allocations: 59.73 kB / 0.5483 GB, free: 155.9 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.7387, allocations: 2.844 kB / 0.5483 GB, free: 155.9 MB / 430.1 MB Notification: Performance of Templates: time 0.02852/0.7672, allocations: 21.27 MB / 0.569 GB, free: 136.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","../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