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.0009382/0.0009382, allocations: 85.91 kB / 21.43 MB, free: 3.066 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.0009896/0.0009896, allocations: 163.1 kB / 24.82 MB, free: 8.875 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.9298/0.9298, allocations: 177 MB / 205.1 MB, free: 5.492 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.333/0.333, allocations: 34.87 MB / 296.6 MB, free: 0.5078 MB / 266.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 2.635e-06/2.635e-06, allocations: 4 kB / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.797e-05, allocations: 4.281 kB / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.305/0.305, allocations: 148.2 MB / 0.515 GB, free: 15.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003829/0.3089, allocations: 2.899 MB / 0.5179 GB, free: 13.47 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005576/0.3094, allocations: 31.38 kB / 0.5179 GB, free: 13.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006156/0.31, allocations: 245.8 kB / 0.5181 GB, free: 13.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.3131, allocations: 1.761 MB / 0.5199 GB, free: 12.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.3148, allocations: 1.018 MB / 0.5209 GB, free: 11.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.3166, allocations: 2.28 MB / 0.5231 GB, free: 10.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006895/0.3173, allocations: 0.5537 MB / 0.5236 GB, free: 10.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002176/0.3195, allocations: 1.428 MB / 0.525 GB, free: 9.914 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.3206, allocations: 0.7819 MB / 0.5258 GB, free: 9.672 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.3209, allocations: 97.41 kB / 0.5259 GB, free: 9.668 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.3232, allocations: 1.446 MB / 0.5273 GB, free: 9.289 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003643/0.3235, allocations: 467.1 kB / 0.5277 GB, free: 9.074 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.324, allocations: 401.3 kB / 0.5281 GB, free: 8.922 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002423/0.3264, allocations: 1.867 MB / 0.5299 GB, free: 8.242 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3264, allocations: 0 / 0.5299 GB, free: 8.242 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3264, allocations: 0 / 0.5299 GB, free: 8.242 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.942e-05/0.3264, allocations: 2.531 kB / 0.5299 GB, free: 8.242 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.002261/0.3287, allocations: 1.489 MB / 0.5314 GB, free: 7.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3287, allocations: 8.75 kB / 0.5314 GB, free: 7.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003638/0.3291, allocations: 191.5 kB / 0.5316 GB, free: 7.207 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.3297, allocations: 0.5385 MB / 0.5321 GB, free: 6.875 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.658e-05/0.3298, allocations: 172.7 kB / 0.5323 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.304e-05/0.3299, allocations: 88.91 kB / 0.5324 GB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000808/0.3307, allocations: 1.123 MB / 0.5335 GB, free: 5.828 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.3307, allocations: 10.84 kB / 0.5335 GB, free: 5.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.886e-05/0.3308, allocations: 35.67 kB / 0.5335 GB, free: 5.793 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-05/0.3309, allocations: 57.45 kB / 0.5336 GB, free: 5.785 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006169/0.3315, allocations: 460 kB / 0.534 GB, free: 5.727 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/0.3344, allocations: 3.542 MB / 0.5375 GB, free: 3.059 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006065/0.335, allocations: 441.4 kB / 0.5379 GB, free: 2.914 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3352, allocations: 151.2 kB / 0.538 GB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000248/0.3354, allocations: 129.3 kB / 0.5381 GB, free: 2.812 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.3355, allocations: 47.39 kB / 0.5382 GB, free: 2.758 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.074e-06/0.3355, allocations: 0 / 0.5382 GB, free: 2.758 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.004657/0.3401, allocations: 2.368 MB / 0.5405 GB, free: 1.695 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.3401, allocations: 112.1 kB / 0.5406 GB, free: 1.566 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/0.3405, allocations: 0.5465 MB / 0.5411 GB, free: 1.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/0.3405, allocations: 43.64 kB / 0.5412 GB, free: 1.137 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3407, allocations: 469.5 kB / 0.5416 GB, free: 0.7148 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.3408, allocations: 303.8 kB / 0.5419 GB, free: 464 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001874/0.341, allocations: 211.5 kB / 0.5421 GB, free: 328 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3411, allocations: 0.5643 MB / 0.5427 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.3413, allocations: 154.3 kB / 0.5428 GB, free: 15.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.3417, allocations: 0.6015 MB / 0.5434 GB, free: 15.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006779/0.3424, allocations: 0.764 MB / 0.5441 GB, free: 14.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.3424, allocations: 2.438 kB / 0.5442 GB, free: 14.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001069/0.3435, allocations: 0.8906 MB / 0.545 GB, free: 14.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3435, allocations: 8 kB / 0.545 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3435, allocations: 8 kB / 0.545 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002519/0.346, allocations: 0.9436 MB / 0.546 GB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.3464, allocations: 167.5 kB / 0.5461 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008794/0.3473, allocations: 1.148 MB / 0.5472 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.3477, allocations: 47.97 kB / 0.5473 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/0.3477, allocations: 51.98 kB / 0.5473 GB, free: 11.64 MB / 426.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.0002716/0.348, allocations: 216.3 kB / 0.5475 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.3481, allocations: 111.5 kB / 0.5476 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.35, allocations: 1.235 MB / 0.5489 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.35, allocations: 12 kB / 0.5489 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.35, allocations: 4 kB / 0.5489 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.35, allocations: 3.984 kB / 0.5489 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.3525, allocations: 1.602 MB / 0.5504 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3525, allocations: 4 kB / 0.5504 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/0.353, allocations: 223.8 kB / 0.5507 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/0.3543, allocations: 451.2 kB / 0.5511 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.445e-05/0.3543, allocations: 27.97 kB / 0.5511 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003053/0.3574, allocations: 4.304 MB / 0.5553 GB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3574, allocations: 0 / 0.5553 GB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.3592, allocations: 1.212 MB / 0.5565 GB, free: 1.871 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.3595, allocations: 171.3 kB / 0.5567 GB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-05/0.3596, allocations: 27.98 kB / 0.5567 GB, free: 1.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.3599, allocations: 39.97 kB / 0.5567 GB, free: 1.637 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.36, allocations: 68.47 kB / 0.5568 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.711e-05/0.3601, allocations: 39.97 kB / 0.5568 GB, free: 1.531 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002368/0.3603, allocations: 334.7 kB / 0.5571 GB, free: 1.207 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3603, allocations: 0 / 0.5571 GB, free: 1.207 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001359/0.3617, allocations: 0.4951 MB / 0.5576 GB, free: 0.7109 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): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008205/0.3625, allocations: 0.5174 MB / 0.5581 GB, free: 184 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009419/0.3634, allocations: 0.6036 MB / 0.5587 GB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.3634, allocations: 1.875 kB / 0.5587 GB, free: 15.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007149/0.3642, allocations: 0.5633 MB / 0.5593 GB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.3652, allocations: 447.4 kB / 0.5597 GB, free: 14.58 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.3684, allocations: 1.721 MB / 0.5614 GB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/0.369, allocations: 225.9 kB / 0.5616 GB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006614/0.3697, allocations: 232.8 kB / 0.5618 GB, free: 12.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007833/0.3705, allocations: 481.7 kB / 0.5623 GB, free: 11.85 MB / 442.7 MB Notification: Performance of SimCode: time 1.332e-06/0.3705, allocations: 3.938 kB / 0.5623 GB, free: 11.85 MB / 442.7 MB Notification: Performance of Templates: time 0.0334/0.4039, allocations: 29.22 MB / 0.5908 GB, free: 14.94 MB / 474.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.374656547326595]