Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001644/0.001644, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001799/0.001799, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1")
translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 59.89 kB / 378.8 MB, free: 2.777 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2219, allocations: 53.37 MB / 432.1 MB, free: 7.078 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06013/0.2821, allocations: 51.17 MB / 483.3 MB, free: 3.734 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006728/0.2888, allocations: 5.246 MB / 488.5 MB, free: 14.47 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.289, allocations: 7.938 kB / 488.6 MB, free: 14.46 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0007539/0.2897, allocations: 250.6 kB / 488.8 MB, free: 14.22 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006923/0.2904, allocations: 377.9 kB / 489.2 MB, free: 13.85 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.01854/0.309, allocations: 7.206 MB / 496.4 MB, free: 6.645 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001436/0.3104, allocations: 1.107 MB / 497.5 MB, free: 5.535 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.3106, allocations: 97.83 kB / 497.6 MB, free: 5.434 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.007532/0.3182, allocations: 3.607 MB / 0.4894 GB, free: 1.82 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006196/0.3188, allocations: 434.5 kB / 0.4898 GB, free: 1.395 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.3189, allocations: 56 kB / 0.4899 GB, free: 1.34 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.01844/0.3373, allocations: 10.18 MB / 0.4998 GB, free: 7.145 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003479/0.3377, allocations: 231.4 kB / 0.5001 GB, free: 6.918 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004643/0.3381, allocations: 314.8 kB / 0.5004 GB, free: 6.609 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01173/0.3499, allocations: 5.526 MB / 0.5058 GB, free: 1.07 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.3499, allocations: 8 kB / 0.5058 GB, free: 1.062 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.643e-06/0.3499, allocations: 0 / 0.5058 GB, free: 1.062 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.45e-05/0.3499, allocations: 0 / 0.5058 GB, free: 1.062 MB / 414.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.003371/0.3533, allocations: 1.327 MB / 0.5071 GB, free: 15.7 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3533, allocations: 8.031 kB / 0.5071 GB, free: 15.69 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/0.3537, allocations: 71.66 kB / 0.5071 GB, free: 15.62 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005768/0.3542, allocations: 304.4 kB / 0.5074 GB, free: 15.3 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.296e-05/0.3543, allocations: 29 kB / 0.5075 GB, free: 15.27 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.527e-05/0.3544, allocations: 44 kB / 0.5075 GB, free: 15.23 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.3559, allocations: 0.5842 MB / 0.5081 GB, free: 14.64 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3559, allocations: 4 kB / 0.5081 GB, free: 14.63 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/0.3559, allocations: 24 kB / 0.5081 GB, free: 14.61 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.3559, allocations: 12 kB / 0.5081 GB, free: 14.6 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.3574, allocations: 0.7456 MB / 0.5088 GB, free: 13.85 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0134/0.3708, allocations: 4.172 MB / 0.5129 GB, free: 9.535 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.3723, allocations: 0.5076 MB / 0.5134 GB, free: 9.02 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004122/0.3727, allocations: 249.6 kB / 0.5136 GB, free: 8.777 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01097/0.3837, allocations: 2.545 MB / 0.5161 GB, free: 6.23 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.3837, allocations: 43 kB / 0.5162 GB, free: 6.18 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=50): time 2.124e-06/0.3837, allocations: 0 / 0.5162 GB, free: 6.18 MB / 430.1 MB
Notification: Performance of matching and sorting (n=55): time 0.00606/0.3898, allocations: 1.897 MB / 0.518 GB, free: 4.242 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.3898, allocations: 59.91 kB / 0.5181 GB, free: 4.172 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004171/0.3903, allocations: 316.2 kB / 0.5184 GB, free: 3.855 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.3903, allocations: 37.7 kB / 0.5184 GB, free: 3.812 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.3905, allocations: 200.7 kB / 0.5186 GB, free: 3.613 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001743/0.3907, allocations: 202.3 kB / 0.5188 GB, free: 3.414 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.3909, allocations: 118.3 kB / 0.5189 GB, free: 3.293 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001683/0.391, allocations: 346.8 kB / 0.5192 GB, free: 2.945 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/0.3914, allocations: 241.2 kB / 0.5195 GB, free: 2.711 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006958/0.3921, allocations: 340.3 kB / 0.5198 GB, free: 2.348 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.3934, allocations: 0.5995 MB / 0.5204 GB, free: 1.715 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3934, allocations: 0 / 0.5204 GB, free: 1.715 MB / 430.1 MB
Notification: Performance of matching and sorting (n=70) (initialization): time 0.001945/0.3953, allocations: 0.7561 MB / 0.5211 GB, free: 0.9453 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3954, allocations: 11.94 kB / 0.5211 GB, free: 0.9336 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3954, allocations: 0 / 0.5211 GB, free: 0.9336 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005111/0.3959, allocations: 106.5 kB / 0.5212 GB, free: 0.8203 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/0.3964, allocations: 127.8 kB / 0.5214 GB, free: 0.6953 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.3992, allocations: 3.27 MB / 0.5246 GB, free: 13.17 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.3995, allocations: 12 kB / 0.5246 GB, free: 13.16 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.3996, allocations: 31.98 kB / 0.5246 GB, free: 13.13 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 11
 * 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 (67):
 * Single equations (assignments): 64
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {2}
 * Without analytic Jacobian (size): 0 systems
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): 2 systems
   {(1,1), (1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.00028/0.3999, allocations: 205.5 kB / 0.5248 GB, free: 12.92 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/0.4002, allocations: 47.77 kB / 0.5248 GB, free: 12.87 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/0.4019, allocations: 0.8153 MB / 0.5256 GB, free: 12.02 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.4019, allocations: 4 kB / 0.5256 GB, free: 12.02 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4019, allocations: 4 kB / 0.5256 GB, free: 12.01 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001237/0.4032, allocations: 0.7557 MB / 0.5264 GB, free: 11.19 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/0.4055, allocations: 1.273 MB / 0.5276 GB, free: 9.852 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.4055, allocations: 12.05 kB / 0.5276 GB, free: 9.84 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004735/0.4059, allocations: 99.88 kB / 0.5277 GB, free: 9.742 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0009515/0.4069, allocations: 148.6 kB / 0.5279 GB, free: 9.594 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.4069, allocations: 15.98 kB / 0.5279 GB, free: 9.578 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004872/0.4074, allocations: 0.6484 MB / 0.5285 GB, free: 8.906 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4074, allocations: 0 / 0.5285 GB, free: 8.906 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.4092, allocations: 0.9093 MB / 0.5294 GB, free: 7.973 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.998e-05/0.4093, allocations: 35.8 kB / 0.5294 GB, free: 7.938 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.138e-05/0.4094, allocations: 15.98 kB / 0.5295 GB, free: 7.922 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000419/0.4098, allocations: 23.98 kB / 0.5295 GB, free: 7.898 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.4099, allocations: 32.38 kB / 0.5295 GB, free: 7.867 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.24e-05/0.41, allocations: 23.98 kB / 0.5295 GB, free: 7.844 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.0003131/0.4103, allocations: 267 kB / 0.5298 GB, free: 7.586 MB / 446.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4103, allocations: 0 / 0.5298 GB, free: 7.586 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.003499/0.4138, allocations: 1.333 MB / 0.5311 GB, free: 6.25 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * 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 (51):
 * Single equations (assignments): 50
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {2}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.005708/0.4195, allocations: 1.698 MB / 0.5328 GB, free: 4.539 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.001617/0.4211, allocations: 0.7763 MB / 0.5335 GB, free: 3.734 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4211, allocations: 3.938 kB / 0.5335 GB, free: 3.73 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006034/0.4217, allocations: 275.9 kB / 0.5338 GB, free: 3.461 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.4232, allocations: 277.2 kB / 0.534 GB, free: 3.188 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.4253, allocations: 1.117 MB / 0.5351 GB, free: 2.035 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.4258, allocations: 0.8364 MB / 0.5359 GB, free: 1.168 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.0005109/0.4263, allocations: 152.1 kB / 0.5361 GB, free: 1.016 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.4265, allocations: 63.41 kB / 0.5362 GB, free: 0.957 MB / 446.1 MB
Notification: Performance of SimCode: time 8.92e-07/0.4265, allocations: 0 / 0.5362 GB, free: 0.957 MB / 446.1 MB
Notification: Performance of Templates: time 0.2212/0.6476, allocations: 45.62 MB / 0.5807 GB, free: 70 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 13.160269794985652]