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.0008373/0.0008374, allocations: 96.31 kB / 17.3 MB, free: 6.023 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.0008078/0.0008079, allocations: 171.6 kB / 18.2 MB, free: 5.418 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.444/1.444, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004833/0.0004833, allocations: 12 kB / 281.4 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1026, allocations: 47.58 MB / 329 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4457/0.5484, allocations: 182.8 MB / 0.4997 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006834/0.5553, allocations: 4.803 MB / 0.5044 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005313/0.5559, allocations: 7.938 kB / 0.5044 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000876/0.5568, allocations: 223 kB / 0.5047 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008815/0.5577, allocations: 362.1 kB / 0.505 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008078/0.5658, allocations: 2.52 MB / 0.5075 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.5677, allocations: 1.664 MB / 0.5091 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.5679, allocations: 118 kB / 0.5092 GB, free: 9.078 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003884/0.5718, allocations: 1.289 MB / 0.5105 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006481/0.5725, allocations: 434.5 kB / 0.5109 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.5726, allocations: 24 kB / 0.5109 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007967/0.5805, allocations: 4.297 MB / 0.5151 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003507/0.5809, allocations: 195.5 kB / 0.5153 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004055/0.5813, allocations: 308.5 kB / 0.5156 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00578/0.5871, allocations: 2.946 MB / 0.5184 GB, free: 15.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5872, allocations: 0 / 0.5184 GB, free: 15.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5872, allocations: 3.938 kB / 0.5184 GB, free: 15.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.5872, allocations: 0 / 0.5184 GB, free: 15.57 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.002097/0.5893, allocations: 1.037 MB / 0.5195 GB, free: 14.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5893, allocations: 8.031 kB / 0.5195 GB, free: 14.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003215/0.5897, allocations: 63.42 kB / 0.5195 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.5901, allocations: 361.9 kB / 0.5199 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.5902, allocations: 36.94 kB / 0.5199 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-05/0.5902, allocations: 40 kB / 0.5199 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008636/0.5911, allocations: 0.5023 MB / 0.5204 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.5911, allocations: 4 kB / 0.5204 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.949e-05/0.5912, allocations: 16 kB / 0.5205 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/0.5912, allocations: 15.94 kB / 0.5205 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009376/0.5922, allocations: 0.6051 MB / 0.5211 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003107/0.5953, allocations: 2.172 MB / 0.5232 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.5965, allocations: 0.5588 MB / 0.5237 GB, free: 9.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003846/0.5969, allocations: 254.1 kB / 0.524 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005434/0.5974, allocations: 0.7009 MB / 0.5247 GB, free: 8.738 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.5975, allocations: 47 kB / 0.5247 GB, free: 8.684 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 3.847e-06/0.5975, allocations: 3.984 kB / 0.5247 GB, free: 8.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.01462/0.6121, allocations: 3.813 MB / 0.5284 GB, free: 4.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.6122, allocations: 63.97 kB / 0.5285 GB, free: 4.695 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.6126, allocations: 294.6 kB / 0.5288 GB, free: 4.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.364e-05/0.6126, allocations: 37.7 kB / 0.5288 GB, free: 4.355 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.6128, allocations: 189.2 kB / 0.529 GB, free: 4.168 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.613, allocations: 228.7 kB / 0.5292 GB, free: 3.941 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.066e-05/0.6131, allocations: 61.62 kB / 0.5293 GB, free: 3.875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.6132, allocations: 346.8 kB / 0.5296 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/0.6139, allocations: 325.1 kB / 0.5299 GB, free: 3.211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000744/0.6147, allocations: 392.1 kB / 0.5303 GB, free: 2.809 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.6161, allocations: 0.7164 MB / 0.531 GB, free: 2.078 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6161, allocations: 0 / 0.531 GB, free: 2.078 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002135/0.6183, allocations: 0.9763 MB / 0.5319 GB, free: 1.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.6183, allocations: 8.094 kB / 0.5319 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.6183, allocations: 4 kB / 0.5319 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001782/0.6201, allocations: 358.2 kB / 0.5323 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/0.6207, allocations: 115.9 kB / 0.5324 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1999/0.8206, allocations: 3.527 MB / 0.5358 GB, free: 162 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007544/0.8214, allocations: 62.44 kB / 0.5359 GB, free: 162 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/0.8214, allocations: 28.92 kB / 0.5359 GB, free: 162 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.0003084/0.8218, allocations: 195.4 kB / 0.5361 GB, free: 161.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.8219, allocations: 45.97 kB / 0.5362 GB, free: 161.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/0.8247, allocations: 1.039 MB / 0.5372 GB, free: 161.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.8247, allocations: 7.438 kB / 0.5372 GB, free: 161.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8248, allocations: 3.938 kB / 0.5372 GB, free: 161.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002056/0.8268, allocations: 1.083 MB / 0.5382 GB, free: 161.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002943/0.8298, allocations: 1.711 MB / 0.5399 GB, free: 160.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.8298, allocations: 0 / 0.5399 GB, free: 160.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/0.8303, allocations: 115.6 kB / 0.54 GB, free: 160.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002035/0.8324, allocations: 394.8 kB / 0.5404 GB, free: 160.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.385e-05/0.8325, allocations: 28.17 kB / 0.5404 GB, free: 160.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/0.8338, allocations: 0.8842 MB / 0.5413 GB, free: 160 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8338, allocations: 0 / 0.5413 GB, free: 160 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/0.8366, allocations: 1.363 MB / 0.5426 GB, free: 159.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.8367, allocations: 127.3 kB / 0.5427 GB, free: 159.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.174e-05/0.8368, allocations: 19.53 kB / 0.5428 GB, free: 159.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006956/0.8375, allocations: 64.55 kB / 0.5428 GB, free: 159.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.8377, allocations: 40.06 kB / 0.5429 GB, free: 159.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.539e-05/0.8377, allocations: 33.97 kB / 0.5429 GB, free: 159.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002712/0.838, allocations: 222.5 kB / 0.5431 GB, free: 159.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.838, allocations: 3.938 kB / 0.5431 GB, free: 159.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001678/0.8397, allocations: 455.2 kB / 0.5435 GB, free: 159.1 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.001372/0.8411, allocations: 0.5671 MB / 0.5441 GB, free: 159 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.8431, allocations: 1.004 MB / 0.5451 GB, free: 158.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.8432, allocations: 1 kB / 0.5451 GB, free: 158.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009464/0.8441, allocations: 431.3 kB / 0.5455 GB, free: 158.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.8457, allocations: 297.3 kB / 0.5458 GB, free: 158.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.8487, allocations: 1.6 MB / 0.5473 GB, free: 157.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.8491, allocations: 0.8489 MB / 0.5482 GB, free: 156.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006423/0.8498, allocations: 129.7 kB / 0.5483 GB, free: 156.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.8499, allocations: 54.88 kB / 0.5483 GB, free: 156.7 MB / 430.1 MB Notification: Performance of SimCode: time 9.01e-07/0.85, allocations: 1.375 kB / 0.5483 GB, free: 156.7 MB / 430.1 MB Notification: Performance of Templates: time 0.02878/0.8787, allocations: 21.14 MB / 0.569 GB, free: 139.8 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