Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001082/0.001082, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001158/0.001158, allocations: 161.5 kB / 25.61 MB, free: 8.582 MB / 18.57 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 0.9802/0.9802, allocations: 177 MB / 205.9 MB, free: 4.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.153/0.153, allocations: 34.87 MB / 297.4 MB, free: 13.35 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.214e-05/1.37e-05, allocations: 2.312 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3987/0.3987, allocations: 148.1 MB / 0.5158 GB, free: 13.56 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003798/0.4025, allocations: 2.903 MB / 0.5186 GB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004643/0.403, allocations: 29.62 kB / 0.5187 GB, free: 13.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005928/0.4036, allocations: 241.5 kB / 0.5189 GB, free: 13.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.4067, allocations: 1.76 MB / 0.5206 GB, free: 12.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.4083, allocations: 1.027 MB / 0.5216 GB, free: 12.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.4104, allocations: 2.281 MB / 0.5238 GB, free: 12.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007061/0.4111, allocations: 0.5464 MB / 0.5244 GB, free: 12.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.4133, allocations: 1.437 MB / 0.5258 GB, free: 12.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000979/0.4142, allocations: 0.7809 MB / 0.5265 GB, free: 12.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.4144, allocations: 91.34 kB / 0.5266 GB, free: 12.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.4167, allocations: 1.446 MB / 0.528 GB, free: 12.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003763/0.417, allocations: 463.5 kB / 0.5285 GB, free: 12.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004078/0.4175, allocations: 404.7 kB / 0.5289 GB, free: 12.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002123/0.4196, allocations: 1.873 MB / 0.5307 GB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4196, allocations: 2.906 kB / 0.5307 GB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.4196, allocations: 0 / 0.5307 GB, free: 11.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.4196, allocations: 0 / 0.5307 GB, free: 11.9 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001971/0.4216, allocations: 1.477 MB / 0.5321 GB, free: 10.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4216, allocations: 11.28 kB / 0.5321 GB, free: 10.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000319/0.4219, allocations: 189.4 kB / 0.5323 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000552/0.4225, allocations: 0.5444 MB / 0.5329 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.283e-05/0.4226, allocations: 170 kB / 0.533 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.586e-05/0.4227, allocations: 79.48 kB / 0.5331 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000764/0.4234, allocations: 1.133 MB / 0.5342 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.4235, allocations: 5.203 kB / 0.5342 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.975e-05/0.4235, allocations: 34.09 kB / 0.5342 GB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.524e-05/0.4236, allocations: 68.72 kB / 0.5343 GB, free: 9.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.4241, allocations: 450.7 kB / 0.5347 GB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002756/0.4269, allocations: 3.553 MB / 0.5382 GB, free: 6.621 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006005/0.4275, allocations: 447.5 kB / 0.5386 GB, free: 6.449 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.4276, allocations: 155.6 kB / 0.5388 GB, free: 6.398 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.4278, allocations: 106.9 kB / 0.5389 GB, free: 6.359 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.4279, allocations: 52.75 kB / 0.5389 GB, free: 6.297 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.104e-06/0.4279, allocations: 2.594 kB / 0.5389 GB, free: 6.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.003881/0.4318, allocations: 2.123 MB / 0.541 GB, free: 5.359 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.4318, allocations: 119.8 kB / 0.5411 GB, free: 5.223 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.4321, allocations: 0.5475 MB / 0.5417 GB, free: 4.918 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.4321, allocations: 40.52 kB / 0.5417 GB, free: 4.875 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.4323, allocations: 461.1 kB / 0.5421 GB, free: 4.488 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.4324, allocations: 308.6 kB / 0.5424 GB, free: 4.242 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.4326, allocations: 211.8 kB / 0.5426 GB, free: 4.129 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.821e-05/0.4327, allocations: 0.5622 MB / 0.5432 GB, free: 3.613 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.4329, allocations: 152.1 kB / 0.5433 GB, free: 3.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.4332, allocations: 0.6095 MB / 0.5439 GB, free: 2.965 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/0.4337, allocations: 0.7557 MB / 0.5447 GB, free: 2.352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.4337, allocations: 3.156 kB / 0.5447 GB, free: 2.352 MB / 410.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.000986/0.4347, allocations: 0.8861 MB / 0.5455 GB, free: 1.992 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4347, allocations: 8.5 kB / 0.5455 GB, free: 1.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.4347, allocations: 11.91 kB / 0.5455 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002483/0.4372, allocations: 0.9539 MB / 0.5465 GB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003133/0.4375, allocations: 156.9 kB / 0.5466 GB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007227/0.4383, allocations: 1.152 MB / 0.5478 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.4386, allocations: 50.33 kB / 0.5478 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/0.4387, allocations: 41.98 kB / 0.5478 GB, free: 0.6016 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.4389, allocations: 226.2 kB / 0.5481 GB, free: 400 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.439, allocations: 110 kB / 0.5482 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.4402, allocations: 1.016 MB / 0.5492 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.4402, allocations: 11.98 kB / 0.5492 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.4402, allocations: 4 kB / 0.5492 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.4402, allocations: 6.766 kB / 0.5492 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.4418, allocations: 1.372 MB / 0.5505 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.4419, allocations: 3.344 kB / 0.5505 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/0.4424, allocations: 225.6 kB / 0.5507 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006288/0.4431, allocations: 238.6 kB / 0.551 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.4431, allocations: 30.67 kB / 0.551 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.4447, allocations: 2.681 MB / 0.5536 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.4447, allocations: 7.094 kB / 0.5536 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.4459, allocations: 0.9823 MB / 0.5546 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.4462, allocations: 169.7 kB / 0.5547 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.103e-05/0.4463, allocations: 24.48 kB / 0.5548 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.4466, allocations: 39.28 kB / 0.5548 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.4467, allocations: 69.08 kB / 0.5549 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.24e-05/0.4468, allocations: 42.22 kB / 0.5549 GB, free: 11.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002228/0.447, allocations: 336.4 kB / 0.5552 GB, free: 11.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.447, allocations: 0 / 0.5552 GB, free: 11.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001209/0.4482, allocations: 496.5 kB / 0.5557 GB, free: 11.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (80): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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 {1} * 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008151/0.449, allocations: 0.5123 MB / 0.5562 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009376/0.45, allocations: 0.6056 MB / 0.5568 GB, free: 10.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.45, allocations: 4.156 kB / 0.5568 GB, free: 10.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006997/0.4507, allocations: 377.8 kB / 0.5572 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.4519, allocations: 449.1 kB / 0.5576 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.455, allocations: 1.715 MB / 0.5593 GB, free: 8.906 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.4552, allocations: 225.8 kB / 0.5595 GB, free: 8.664 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005788/0.4557, allocations: 238.3 kB / 0.5597 GB, free: 8.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007906/0.4565, allocations: 485.7 kB / 0.5602 GB, free: 7.953 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4565, allocations: 0 / 0.5602 GB, free: 7.953 MB / 426.7 MB Notification: Performance of Templates: time 0.03174/0.4883, allocations: 28.82 MB / 0.5883 GB, free: 11.48 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","",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.905207652132958]