Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.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.001299/0.001299, allocations: 112 kB / 20.43 MB, free: 1.449 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.00136/0.00136, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O")
translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001556/0.001556, allocations: 43.92 kB / 370.9 MB, free: 9.383 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2284, allocations: 52.18 MB / 423.1 MB, free: 14.7 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3825/0.6109, allocations: 149.7 MB / 0.5594 GB, free: 15.63 MB / 462.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00194/0.6128, allocations: 2.547 MB / 0.5619 GB, free: 15.59 MB / 462.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.6129, allocations: 0 / 0.5619 GB, free: 15.59 MB / 462.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000145/0.613, allocations: 21.3 kB / 0.5619 GB, free: 15.59 MB / 462.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008139/0.6138, allocations: 323.2 kB / 0.5622 GB, free: 15.58 MB / 462.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.614, allocations: 59.25 kB / 0.5622 GB, free: 15.58 MB / 462.1 MB
Notification: Performance of NFFlatten.flatten: time 8.289e-05/0.6141, allocations: 78.17 kB / 0.5623 GB, free: 15.57 MB / 462.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.6141, allocations: 5.875 kB / 0.5623 GB, free: 15.57 MB / 462.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.458e-05/0.6142, allocations: 40.59 kB / 0.5624 GB, free: 15.57 MB / 462.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.673e-05/0.6142, allocations: 22.7 kB / 0.5624 GB, free: 15.57 MB / 462.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.6143, allocations: 5.703 kB / 0.5624 GB, free: 15.57 MB / 462.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000606/0.6149, allocations: 364.7 kB / 0.5627 GB, free: 15.57 MB / 462.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.6149, allocations: 8.172 kB / 0.5627 GB, free: 15.57 MB / 462.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.6149, allocations: 26.27 kB / 0.5628 GB, free: 15.57 MB / 462.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004261/0.6153, allocations: 302.6 kB / 0.5631 GB, free: 15.56 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6153, allocations: 0 / 0.5631 GB, free: 15.56 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.834e-06/0.6153, allocations: 3.516 kB / 0.5631 GB, free: 15.56 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 8.586e-06/0.6154, allocations: 4 kB / 0.5631 GB, free: 15.55 MB / 462.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 17
 * Number of variables: 17
Notification: Performance of Generate backend data structure: time 0.0008521/0.6162, allocations: 353.4 kB / 0.5634 GB, free: 15.27 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.011e-05/0.6162, allocations: 10.22 kB / 0.5634 GB, free: 15.27 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00666/0.6229, allocations: 456.5 kB / 0.5638 GB, free: 15.26 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.623, allocations: 122.1 kB / 0.564 GB, free: 15.12 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.623, allocations: 6.797 kB / 0.564 GB, free: 15.12 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.6231, allocations: 6.5 kB / 0.564 GB, free: 15.12 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007754/0.6239, allocations: 296.7 kB / 0.5643 GB, free: 15.09 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.6239, allocations: 0 / 0.5643 GB, free: 15.09 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.889e-05/0.624, allocations: 3.188 kB / 0.5643 GB, free: 15.09 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.624, allocations: 2.812 kB / 0.5643 GB, free: 15.09 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007884/0.6248, allocations: 283.2 kB / 0.5645 GB, free: 15.09 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.6258, allocations: 403.5 kB / 0.5649 GB, free: 14.82 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.6269, allocations: 197.5 kB / 0.5651 GB, free: 14.8 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.6271, allocations: 65.55 kB / 0.5652 GB, free: 14.79 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.6271, allocations: 4 kB / 0.5652 GB, free: 14.79 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.6271, allocations: 36.03 kB / 0.5652 GB, free: 14.75 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.6271, allocations: 0 / 0.5652 GB, free: 14.75 MB / 462.1 MB
Notification: Performance of matching and sorting (n=17): time 0.001763/0.6289, allocations: 417.9 kB / 0.5656 GB, free: 14.7 MB / 462.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.6289, allocations: 58.12 kB / 0.5657 GB, free: 14.63 MB / 462.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.707e-05/0.629, allocations: 103.1 kB / 0.5658 GB, free: 14.53 MB / 462.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.629, allocations: 29.39 kB / 0.5658 GB, free: 14.5 MB / 462.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.6291, allocations: 91.23 kB / 0.5659 GB, free: 14.41 MB / 462.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.6292, allocations: 66.83 kB / 0.5659 GB, free: 14.37 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.6293, allocations: 46.64 kB / 0.566 GB, free: 14.35 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001382/0.6294, allocations: 318.9 kB / 0.5663 GB, free: 14.04 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.6297, allocations: 82.88 kB / 0.5664 GB, free: 14.04 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.63, allocations: 112.8 kB / 0.5665 GB, free: 14 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005606/0.6305, allocations: 210 kB / 0.5667 GB, free: 13.95 MB / 462.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.6305, allocations: 0 / 0.5667 GB, free: 13.95 MB / 462.1 MB
Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006745/0.6312, allocations: 242.6 kB / 0.5669 GB, free: 13.91 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.6312, allocations: 4.781 kB / 0.5669 GB, free: 13.91 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6312, allocations: 3.594 kB / 0.5669 GB, free: 13.91 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.6312, allocations: 0 / 0.5669 GB, free: 13.91 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.6316, allocations: 59.34 kB / 0.567 GB, free: 13.9 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.6316, allocations: 7.641 kB / 0.567 GB, free: 13.9 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.6319, allocations: 11.95 kB / 0.567 GB, free: 13.9 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.6319, allocations: 15.23 kB / 0.567 GB, free: 13.9 MB / 462.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * 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 (21):
 * Single equations (assignments): 21
 * 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.0001335/0.6321, allocations: 121.2 kB / 0.5671 GB, free: 13.79 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.6321, allocations: 10.39 kB / 0.5671 GB, free: 13.78 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008191/0.6329, allocations: 284.3 kB / 0.5674 GB, free: 13.73 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.633, allocations: 0 / 0.5674 GB, free: 13.73 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.633, allocations: 0 / 0.5674 GB, free: 13.73 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.633, allocations: 2.031 kB / 0.5674 GB, free: 13.73 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.6344, allocations: 0.5497 MB / 0.5679 GB, free: 13.43 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.6344, allocations: 0 / 0.5679 GB, free: 13.43 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003594/0.6347, allocations: 45.58 kB / 0.568 GB, free: 13.43 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.6347, allocations: 3.344 kB / 0.568 GB, free: 13.43 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.6347, allocations: 12.73 kB / 0.568 GB, free: 13.43 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6347, allocations: 1.203 kB / 0.568 GB, free: 13.43 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6348, allocations: 10.44 kB / 0.568 GB, free: 13.42 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006804/0.6354, allocations: 330 kB / 0.5683 GB, free: 13.27 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.6354, allocations: 14.11 kB / 0.5683 GB, free: 13.26 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.6355, allocations: 6.219 kB / 0.5683 GB, free: 13.26 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.6358, allocations: 13.89 kB / 0.5684 GB, free: 13.26 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.6358, allocations: 20.36 kB / 0.5684 GB, free: 13.25 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.6358, allocations: 14.62 kB / 0.5684 GB, free: 13.25 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 5.363e-05/0.6359, allocations: 77.09 kB / 0.5685 GB, free: 13.18 MB / 462.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.6359, allocations: 0 / 0.5685 GB, free: 13.18 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.0003384/0.6362, allocations: 44.66 kB / 0.5685 GB, free: 13.18 MB / 462.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * 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 (18):
 * Single equations (assignments): 18
 * 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.0002231/0.6365, allocations: 130.8 kB / 0.5686 GB, free: 13.09 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006605/0.6371, allocations: 189.8 kB / 0.5688 GB, free: 13.08 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6371, allocations: 2.344 kB / 0.5688 GB, free: 13.08 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.6374, allocations: 97.14 kB / 0.5689 GB, free: 13.08 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.6379, allocations: 37.31 kB / 0.5689 GB, free: 13.07 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008143/0.6387, allocations: 270.6 kB / 0.5692 GB, free: 12.92 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.639, allocations: 0.6918 MB / 0.5699 GB, free: 12.23 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.0002861/0.6393, allocations: 60.27 kB / 0.5699 GB, free: 12.19 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.6394, allocations: 34.14 kB / 0.57 GB, free: 12.18 MB / 462.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.6394, allocations: 1.203 kB / 0.57 GB, free: 12.18 MB / 462.1 MB
Notification: Performance of Templates: time 0.005992/0.6454, allocations: 3.182 MB / 0.5731 GB, free: 11.99 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.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: 4.790941294282675]