Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.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.001848/0.001848, allocations: 113.7 kB / 19.69 MB, free: 2.199 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.002156/0.002156, allocations: 186.8 kB / 22.98 MB, free: 5.078 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.711/1.711, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2429/0.2429, allocations: 44.24 MB / 330.2 MB, free: 9.562 MB / 270.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo)
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(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir")
translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.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.002484/0.002484, allocations: 74.86 kB / 467.9 MB, free: 4.062 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1275, allocations: 61.03 MB / 0.5166 GB, free: 6.895 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4576/0.5851, allocations: 152.7 MB / 0.6657 GB, free: 10.81 MB / 0.4981 GB
Notification: Performance of NFInst.instExpressions: time 0.001902/0.587, allocations: 1.219 MB / 0.6669 GB, free: 9.594 MB / 0.4981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.587, allocations: 0 / 0.6669 GB, free: 9.594 MB / 0.4981 GB
Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.5874, allocations: 43.8 kB / 0.6669 GB, free: 9.551 MB / 0.4981 GB
Notification: Performance of NFTyping.typeBindings: time 0.00286/0.5903, allocations: 0.902 MB / 0.6678 GB, free: 8.664 MB / 0.4981 GB
Notification: Performance of NFTyping.typeClassSections: time 5.851e-06/0.5903, allocations: 0 / 0.6678 GB, free: 8.664 MB / 0.4981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001351/0.5904, allocations: 43.78 kB / 0.6679 GB, free: 8.621 MB / 0.4981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.5904, allocations: 0 / 0.6679 GB, free: 8.621 MB / 0.4981 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.195e-05/0.5905, allocations: 23.86 kB / 0.6679 GB, free: 8.598 MB / 0.4981 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.5906, allocations: 19.97 kB / 0.6679 GB, free: 8.578 MB / 0.4981 GB
Notification: Performance of NFPackage.collectConstants: time 8.325e-06/0.5906, allocations: 7.938 kB / 0.6679 GB, free: 8.57 MB / 0.4981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003567/0.5941, allocations: 1.692 MB / 0.6696 GB, free: 6.875 MB / 0.4981 GB
Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.5942, allocations: 7.984 kB / 0.6696 GB, free: 6.867 MB / 0.4981 GB
Notification: Performance of NFVerifyModel.verify: time 6.151e-05/0.5943, allocations: 19.92 kB / 0.6696 GB, free: 6.848 MB / 0.4981 GB
Notification: Performance of NFConvertDAE.convert: time 0.001927/0.5962, allocations: 0.7819 MB / 0.6704 GB, free: 6.07 MB / 0.4981 GB
Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.5962, allocations: 0 / 0.6704 GB, free: 6.07 MB / 0.4981 GB
Notification: Performance of FrontEnd: time 1.953e-06/0.5962, allocations: 0 / 0.6704 GB, free: 6.07 MB / 0.4981 GB
Notification: Performance of Transformations before backend: time 6.772e-06/0.5962, allocations: 0 / 0.6704 GB, free: 6.07 MB / 0.4981 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.0008316/0.597, allocations: 393 kB / 0.6707 GB, free: 5.656 MB / 0.4981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5971, allocations: 12.03 kB / 0.6707 GB, free: 5.645 MB / 0.4981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.5971, allocations: 11.27 kB / 0.6708 GB, free: 5.637 MB / 0.4981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.5972, allocations: 106.5 kB / 0.6709 GB, free: 5.508 MB / 0.4981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.5972, allocations: 11.92 kB / 0.6709 GB, free: 5.496 MB / 0.4981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.5973, allocations: 4 kB / 0.6709 GB, free: 5.492 MB / 0.4981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.5974, allocations: 69.61 kB / 0.6709 GB, free: 5.418 MB / 0.4981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5974, allocations: 0 / 0.6709 GB, free: 5.418 MB / 0.4981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5974, allocations: 4 kB / 0.6709 GB, free: 5.414 MB / 0.4981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.5974, allocations: 4 kB / 0.6709 GB, free: 5.41 MB / 0.4981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.162e-05/0.5975, allocations: 55.97 kB / 0.671 GB, free: 5.355 MB / 0.4981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.598, allocations: 271.7 kB / 0.6713 GB, free: 5.047 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.591e-05/0.5981, allocations: 26.58 kB / 0.6713 GB, free: 5.012 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.01e-05/0.5981, allocations: 16.91 kB / 0.6713 GB, free: 4.992 MB / 0.4981 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.78e-05/0.5982, allocations: 8 kB / 0.6713 GB, free: 4.984 MB / 0.4981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.5983, allocations: 38.55 kB / 0.6713 GB, free: 4.938 MB / 0.4981 GB
Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.5983, allocations: 0 / 0.6713 GB, free: 4.938 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=3): time 0.0001961/0.5985, allocations: 65.83 kB / 0.6714 GB, free: 4.867 MB / 0.4981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.5985, allocations: 51.41 kB / 0.6715 GB, free: 4.805 MB / 0.4981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/0.5986, allocations: 93.86 kB / 0.6715 GB, free: 4.703 MB / 0.4981 GB
Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.5986, allocations: 25.7 kB / 0.6716 GB, free: 4.672 MB / 0.4981 GB
Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.5987, allocations: 100 kB / 0.6717 GB, free: 4.57 MB / 0.4981 GB
Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.5987, allocations: 11.84 kB / 0.6717 GB, free: 4.559 MB / 0.4981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.5987, allocations: 25.72 kB / 0.6717 GB, free: 4.527 MB / 0.4981 GB
Notification: Performance of setup shared object (initialization): time 0.0001491/0.5989, allocations: 322.6 kB / 0.672 GB, free: 4.207 MB / 0.4981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.5989, allocations: 4 kB / 0.672 GB, free: 4.203 MB / 0.4981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.143e-05/0.599, allocations: 35.42 kB / 0.672 GB, free: 4.156 MB / 0.4981 GB
Notification: Performance of analyzeInitialSystem (initialization): time 7.632e-05/0.599, allocations: 47.38 kB / 0.6721 GB, free: 4.098 MB / 0.4981 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.599, allocations: 0 / 0.6721 GB, free: 4.098 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001146/0.5992, allocations: 73.55 kB / 0.6722 GB, free: 4.02 MB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.5992, allocations: 4 kB / 0.6722 GB, free: 4.016 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5992, allocations: 0 / 0.6722 GB, free: 4.016 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.5992, allocations: 7.938 kB / 0.6722 GB, free: 4.008 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.625e-05/0.5993, allocations: 9.25 kB / 0.6722 GB, free: 4 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5993, allocations: 0 / 0.6722 GB, free: 4 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.5993, allocations: 4 kB / 0.6722 GB, free: 3.996 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.5993, allocations: 12.09 kB / 0.6722 GB, free: 3.984 MB / 0.4981 GB
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 (6):
 * Single equations (assignments): 6
 * 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 0.0001091/0.5994, allocations: 109.8 kB / 0.6723 GB, free: 3.867 MB / 0.4981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.836e-05/0.5995, allocations: 11.89 kB / 0.6723 GB, free: 3.855 MB / 0.4981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.5996, allocations: 62.81 kB / 0.6724 GB, free: 3.793 MB / 0.4981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.5996, allocations: 0 / 0.6724 GB, free: 3.793 MB / 0.4981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5996, allocations: 0 / 0.6724 GB, free: 3.793 MB / 0.4981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5996, allocations: 8 kB / 0.6724 GB, free: 3.785 MB / 0.4981 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.5998, allocations: 132.7 kB / 0.6725 GB, free: 3.613 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5998, allocations: 0.6875 kB / 0.6725 GB, free: 3.613 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.857e-05/0.5998, allocations: 4 kB / 0.6725 GB, free: 3.609 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.5998, allocations: 0 / 0.6725 GB, free: 3.609 MB / 0.4981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.5999, allocations: 3.938 kB / 0.6725 GB, free: 3.605 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5999, allocations: 2 kB / 0.6725 GB, free: 3.605 MB / 0.4981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5999, allocations: 0 / 0.6725 GB, free: 3.605 MB / 0.4981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.6, allocations: 151.5 kB / 0.6727 GB, free: 3.441 MB / 0.4981 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.031e-05/0.6001, allocations: 3.938 kB / 0.6727 GB, free: 3.438 MB / 0.4981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.6001, allocations: 3.938 kB / 0.6727 GB, free: 3.434 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.621e-05/0.6001, allocations: 0 / 0.6727 GB, free: 3.434 MB / 0.4981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.6001, allocations: 7.984 kB / 0.6727 GB, free: 3.426 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.6001, allocations: 0 / 0.6727 GB, free: 3.426 MB / 0.4981 GB
Notification: Performance of sorting global known variables: time 5.569e-05/0.6002, allocations: 83.61 kB / 0.6728 GB, free: 3.344 MB / 0.4981 GB
Notification: Performance of sort global known variables: time 6.1e-08/0.6002, allocations: 0 / 0.6728 GB, free: 3.344 MB / 0.4981 GB
Notification: Performance of remove unused functions: time 0.0004837/0.6007, allocations: 95.62 kB / 0.6728 GB, free: 3.25 MB / 0.4981 GB
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 (3):
 * Single equations (assignments): 3
 * 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.0006544/0.6013, allocations: 262.8 kB / 0.6731 GB, free: 2.984 MB / 0.4981 GB
Notification: Performance of simCode: created initialization part: time 0.0001113/0.6015, allocations: 23.92 kB / 0.6731 GB, free: 2.961 MB / 0.4981 GB
Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.6015, allocations: 3.938 kB / 0.6731 GB, free: 2.957 MB / 0.4981 GB
Notification: Performance of simCode: created simulation system equations: time 2.243e-05/0.6015, allocations: 11.98 kB / 0.6731 GB, free: 2.945 MB / 0.4981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.6017, allocations: 4 kB / 0.6731 GB, free: 2.941 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.6021, allocations: 136.3 kB / 0.6733 GB, free: 2.785 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.6024, allocations: 0.6885 MB / 0.6739 GB, free: 2.07 MB / 0.4981 GB
Notification: Performance of simCode: alias equations: time 4.914e-05/0.6025, allocations: 5.406 kB / 0.6739 GB, free: 2.066 MB / 0.4981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.6025, allocations: 11.44 kB / 0.674 GB, free: 2.055 MB / 0.4981 GB
Notification: Performance of SimCode: time 3.31e-07/0.6025, allocations: 4 kB / 0.674 GB, free: 2.051 MB / 0.4981 GB
Notification: Performance of Templates: time 0.006428/0.6089, allocations: 2.695 MB / 0.6766 GB, free: 15.36 MB / 0.5137 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.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: 5.850667343474925]