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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 185.3 kB / 24.47 MB, free: 4.074 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
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=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir") [Timeout 660]
"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.002004/0.002004, allocations: 50.73 kB / 347.7 MB, free: 9.527 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3069, allocations: 49.16 MB / 396.9 MB, free: 9.527 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5271/0.834, allocations: 187.5 MB / 0.5707 GB, free: 1.73 MB / 478.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005661/0.8397, allocations: 4.848 MB / 0.5754 GB, free: 1.711 MB / 478.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.8399, allocations: 8.156 kB / 0.5754 GB, free: 1.711 MB / 478.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009102/0.8408, allocations: 247.8 kB / 0.5756 GB, free: 1.711 MB / 478.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006896/0.8415, allocations: 384.6 kB / 0.576 GB, free: 1.707 MB / 478.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.008737/0.8502, allocations: 2.925 MB / 0.5789 GB, free: 1.605 MB / 478.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002187/0.8524, allocations: 1.18 MB / 0.58 GB, free: 1.605 MB / 478.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.8527, allocations: 112.3 kB / 0.5801 GB, free: 1.578 MB / 478.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.004707/0.8574, allocations: 1.479 MB / 0.5816 GB, free: 1.551 MB / 478.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007812/0.8582, allocations: 453.1 kB / 0.582 GB, free: 1.551 MB / 478.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.8583, allocations: 63.19 kB / 0.5821 GB, free: 1.551 MB / 478.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.009552/0.8679, allocations: 4.376 MB / 0.5863 GB, free: 1.516 MB / 478.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0004745/0.8684, allocations: 241.6 kB / 0.5866 GB, free: 1.512 MB / 478.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0006438/0.869, allocations: 323.6 kB / 0.5869 GB, free: 1.512 MB / 478.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.005862/0.8749, allocations: 2.915 MB / 0.5897 GB, free: 1.359 MB / 478.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8749, allocations: 2.625 kB / 0.5897 GB, free: 1.359 MB / 478.1 MB
Notification: Performance of FrontEnd: time 2.304e-06/0.8749, allocations: 3.656 kB / 0.5897 GB, free: 1.359 MB / 478.1 MB
Notification: Performance of Transformations before backend: time 1.64e-05/0.8749, allocations: 0 / 0.5897 GB, free: 1.359 MB / 478.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.002133/0.877, allocations: 1.102 MB / 0.5908 GB, free: 16.72 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.8771, allocations: 12.52 kB / 0.5908 GB, free: 16.71 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/0.8774, allocations: 67.44 kB / 0.5909 GB, free: 16.69 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.8779, allocations: 307 kB / 0.5912 GB, free: 16.52 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.8779, allocations: 31.38 kB / 0.5912 GB, free: 16.52 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.392e-05/0.878, allocations: 44.38 kB / 0.5912 GB, free: 16.52 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007533/0.8787, allocations: 0.5038 MB / 0.5917 GB, free: 16.48 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.8787, allocations: 1.906 kB / 0.5917 GB, free: 16.48 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.319e-05/0.8788, allocations: 19.38 kB / 0.5917 GB, free: 16.48 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.8788, allocations: 10.97 kB / 0.5918 GB, free: 16.48 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008096/0.8796, allocations: 0.6121 MB / 0.5924 GB, free: 16.47 MB / 494.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.8826, allocations: 1.846 MB / 0.5942 GB, free: 15.66 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.8837, allocations: 0.515 MB / 0.5947 GB, free: 15.63 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/0.8841, allocations: 247.6 kB / 0.5949 GB, free: 15.62 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.8844, allocations: 104.9 kB / 0.595 GB, free: 15.62 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.8844, allocations: 37.41 kB / 0.595 GB, free: 15.58 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=53): time 1.763e-06/0.8844, allocations: 0 / 0.595 GB, free: 15.58 MB / 494.1 MB
Notification: Performance of matching and sorting (n=65): time 0.01306/0.8975, allocations: 3.42 MB / 0.5984 GB, free: 15.26 MB / 494.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.8975, allocations: 61.58 kB / 0.5984 GB, free: 15.2 MB / 494.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.8978, allocations: 289.8 kB / 0.5987 GB, free: 15.09 MB / 494.1 MB
Notification: Performance of collectPreVariables (initialization): time 7.021e-05/0.8979, allocations: 40.39 kB / 0.5987 GB, free: 15.06 MB / 494.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.898, allocations: 197 kB / 0.5989 GB, free: 14.93 MB / 494.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.8981, allocations: 237.7 kB / 0.5992 GB, free: 14.77 MB / 494.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.8983, allocations: 116.1 kB / 0.5993 GB, free: 14.76 MB / 494.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001699/0.8985, allocations: 353.6 kB / 0.5996 GB, free: 14.44 MB / 494.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006136/0.8991, allocations: 314.3 kB / 0.5999 GB, free: 14.44 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000668/0.8998, allocations: 388.8 kB / 0.6003 GB, free: 14.38 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.9011, allocations: 0.7112 MB / 0.601 GB, free: 14.33 MB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.9011, allocations: 0 / 0.601 GB, free: 14.33 MB / 494.1 MB
Notification: Performance of matching and sorting (n=77) (initialization): time 0.001999/0.9031, allocations: 0.9566 MB / 0.6019 GB, free: 14.23 MB / 494.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.9031, allocations: 9.531 kB / 0.6019 GB, free: 14.23 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.9032, allocations: 1.406 kB / 0.6019 GB, free: 14.23 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/0.9046, allocations: 333.5 kB / 0.6022 GB, free: 14.21 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.9052, allocations: 125.8 kB / 0.6024 GB, free: 14.21 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003686/0.9089, allocations: 3.508 MB / 0.6058 GB, free: 11.25 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005814/0.9094, allocations: 35.84 kB / 0.6058 GB, free: 11.25 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.9095, allocations: 23.88 kB / 0.6058 GB, free: 11.25 MB / 494.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.0003777/0.9099, allocations: 194 kB / 0.606 GB, free: 11.14 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.91, allocations: 47.59 kB / 0.6061 GB, free: 11.11 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/0.9124, allocations: 1.017 MB / 0.6071 GB, free: 11.02 MB / 494.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.9124, allocations: 9.781 kB / 0.6071 GB, free: 11.02 MB / 494.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.9124, allocations: 0 / 0.6071 GB, free: 11.02 MB / 494.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002076/0.9145, allocations: 1.068 MB / 0.6081 GB, free: 10.65 MB / 494.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.9173, allocations: 1.672 MB / 0.6097 GB, free: 10.35 MB / 494.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.9173, allocations: 0 / 0.6097 GB, free: 10.35 MB / 494.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.9179, allocations: 117.5 kB / 0.6099 GB, free: 10.35 MB / 494.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001675/0.9195, allocations: 366.8 kB / 0.6102 GB, free: 10.33 MB / 494.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/0.9196, allocations: 27.64 kB / 0.6102 GB, free: 10.33 MB / 494.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.921, allocations: 0.8684 MB / 0.6111 GB, free: 9.809 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.921, allocations: 2.281 kB / 0.6111 GB, free: 9.809 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.9236, allocations: 1.347 MB / 0.6124 GB, free: 9.609 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.9238, allocations: 34.7 kB / 0.6124 GB, free: 9.59 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.179e-05/0.9239, allocations: 26.83 kB / 0.6125 GB, free: 9.586 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/0.9245, allocations: 42.25 kB / 0.6125 GB, free: 9.586 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.239e-05/0.9246, allocations: 43.95 kB / 0.6125 GB, free: 9.586 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.464e-05/0.9247, allocations: 30.59 kB / 0.6126 GB, free: 9.586 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.0002622/0.9249, allocations: 226.6 kB / 0.6128 GB, free: 9.504 MB / 494.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.9249, allocations: 1 kB / 0.6128 GB, free: 9.504 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.001591/0.9265, allocations: 460 kB / 0.6132 GB, free: 9.426 MB / 494.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.001293/0.9278, allocations: 0.5818 MB / 0.6138 GB, free: 9.254 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.002034/0.9299, allocations: 0.966 MB / 0.6147 GB, free: 9.012 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.9299, allocations: 2.609 kB / 0.6147 GB, free: 9.012 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0009215/0.9308, allocations: 404.5 kB / 0.6151 GB, free: 9.004 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.9322, allocations: 305.1 kB / 0.6154 GB, free: 8.945 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.935, allocations: 1.333 MB / 0.6167 GB, free: 8.418 MB / 494.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.9355, allocations: 0.8496 MB / 0.6175 GB, free: 7.711 MB / 494.1 MB
Notification: Performance of simCode: alias equations: time 0.0005283/0.936, allocations: 128.1 kB / 0.6177 GB, free: 7.68 MB / 494.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.9362, allocations: 60.19 kB / 0.6177 GB, free: 7.668 MB / 494.1 MB
Notification: Performance of SimCode: time 1.162e-06/0.9362, allocations: 0 / 0.6177 GB, free: 7.668 MB / 494.1 MB
Notification: Performance of Templates: time 0.03874/0.9749, allocations: 22.68 MB / 0.6399 GB, free: 4.582 MB / 0.4981 GB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile [Timeout 660]
(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) [Timeout 480]
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","/var/lib/jenkins/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) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 6.211335901170969]