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.0009864/0.0009864, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001393/0.001393, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 1.037/1.037, allocations: 177 MB / 204.8 MB, free: 5.586 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.259/0.259, allocations: 34.87 MB / 296.3 MB, free: 0.543 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 8.91e-07/8.91e-07, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.411e-05/1.5e-05, allocations: 4.844 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3243/0.3243, allocations: 151 MB / 0.5173 GB, free: 14.07 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003752/0.3281, allocations: 2.922 MB / 0.5202 GB, free: 12.14 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003918/0.3285, allocations: 27.44 kB / 0.5202 GB, free: 12.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006184/0.3291, allocations: 243.8 kB / 0.5204 GB, free: 12.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.3324, allocations: 1.766 MB / 0.5222 GB, free: 11.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.3343, allocations: 1.021 MB / 0.5232 GB, free: 10.55 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.3363, allocations: 2.268 MB / 0.5254 GB, free: 9.512 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007583/0.337, allocations: 0.5623 MB / 0.5259 GB, free: 9.145 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.339, allocations: 1.428 MB / 0.5273 GB, free: 8.586 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008264/0.3398, allocations: 0.7788 MB / 0.5281 GB, free: 8.348 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.3399, allocations: 96.31 kB / 0.5282 GB, free: 8.344 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.3417, allocations: 1.444 MB / 0.5296 GB, free: 7.969 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003114/0.342, allocations: 475.5 kB / 0.53 GB, free: 7.746 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003359/0.3424, allocations: 398.8 kB / 0.5304 GB, free: 7.594 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.3444, allocations: 1.87 MB / 0.5322 GB, free: 6.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3444, allocations: 4 kB / 0.5322 GB, free: 6.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3444, allocations: 0 / 0.5322 GB, free: 6.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.304e-05/0.3444, allocations: 0 / 0.5322 GB, free: 6.91 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.002057/0.3465, allocations: 1.491 MB / 0.5337 GB, free: 5.977 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.3465, allocations: 8.688 kB / 0.5337 GB, free: 5.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/0.3469, allocations: 186 kB / 0.5339 GB, free: 5.895 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005924/0.3475, allocations: 0.566 MB / 0.5344 GB, free: 5.555 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.075e-05/0.3476, allocations: 168.3 kB / 0.5346 GB, free: 5.402 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.988e-05/0.3477, allocations: 83.72 kB / 0.5347 GB, free: 5.371 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009103/0.3486, allocations: 1.201 MB / 0.5358 GB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.3486, allocations: 4 kB / 0.5358 GB, free: 4.477 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.859e-05/0.3486, allocations: 30.75 kB / 0.5359 GB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-05/0.3487, allocations: 58.45 kB / 0.5359 GB, free: 4.449 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007434/0.3495, allocations: 0.5495 MB / 0.5365 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002738/0.3522, allocations: 3.692 MB / 0.5401 GB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007101/0.3529, allocations: 488.7 kB / 0.5405 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.3531, allocations: 184.4 kB / 0.5407 GB, free: 1.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.3533, allocations: 107.4 kB / 0.5408 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.3533, allocations: 47.61 kB / 0.5409 GB, free: 1.156 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 1.944e-06/0.3533, allocations: 0 / 0.5409 GB, free: 1.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.004246/0.3576, allocations: 2.39 MB / 0.5432 GB, free: 48 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/0.3577, allocations: 112.4 kB / 0.5433 GB, free: 15.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.3581, allocations: 0.5519 MB / 0.5438 GB, free: 15.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/0.3581, allocations: 42.95 kB / 0.5439 GB, free: 15.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.3583, allocations: 464.8 kB / 0.5443 GB, free: 15.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.3585, allocations: 302.8 kB / 0.5446 GB, free: 14.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.3587, allocations: 203.7 kB / 0.5448 GB, free: 14.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3589, allocations: 0.559 MB / 0.5454 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.3592, allocations: 193.1 kB / 0.5455 GB, free: 14.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004937/0.3597, allocations: 0.65 MB / 0.5462 GB, free: 13.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008169/0.3605, allocations: 0.8302 MB / 0.547 GB, free: 12.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3605, allocations: 0 / 0.547 GB, free: 12.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001278/0.3618, allocations: 0.9887 MB / 0.548 GB, free: 11.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3618, allocations: 11.94 kB / 0.548 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3618, allocations: 11.94 kB / 0.548 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/0.3644, allocations: 0.9597 MB / 0.5489 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.3647, allocations: 155.7 kB / 0.5491 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009884/0.3657, allocations: 1.199 MB / 0.5502 GB, free: 8.988 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.366, allocations: 51.97 kB / 0.5503 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.57e-05/0.3661, allocations: 56.03 kB / 0.5503 GB, free: 8.883 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.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[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.0002127/0.3663, allocations: 224.2 kB / 0.5505 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.3665, allocations: 107.5 kB / 0.5506 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.3679, allocations: 1.09 MB / 0.5517 GB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.3679, allocations: 15.98 kB / 0.5517 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3679, allocations: 0 / 0.5517 GB, free: 7.426 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3679, allocations: 3.984 kB / 0.5517 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.3697, allocations: 1.551 MB / 0.5532 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3697, allocations: 0 / 0.5532 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/0.3703, allocations: 251.8 kB / 0.5535 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007021/0.371, allocations: 247.3 kB / 0.5537 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.02e-05/0.3711, allocations: 31.92 kB / 0.5538 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.3724, allocations: 2.699 MB / 0.5564 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3724, allocations: 12.03 kB / 0.5564 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.3737, allocations: 1.084 MB / 0.5575 GB, free: 1.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002264/0.3739, allocations: 183.3 kB / 0.5576 GB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.89e-05/0.374, allocations: 23.98 kB / 0.5577 GB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.3744, allocations: 43.91 kB / 0.5577 GB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.3745, allocations: 68.47 kB / 0.5578 GB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.139e-05/0.3745, allocations: 43.97 kB / 0.5578 GB, free: 0.9141 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002675/0.3748, allocations: 358.8 kB / 0.5581 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3748, allocations: 0 / 0.5581 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001194/0.376, allocations: 495 kB / 0.5586 GB, free: 84 kB / 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.0008135/0.3768, allocations: 0.5244 MB / 0.5591 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.3778, allocations: 0.6819 MB / 0.5598 GB, free: 14.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3778, allocations: 1.875 kB / 0.5598 GB, free: 14.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006768/0.3785, allocations: 426.9 kB / 0.5602 GB, free: 14.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.3795, allocations: 447.6 kB / 0.5606 GB, free: 14.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.3822, allocations: 1.725 MB / 0.5623 GB, free: 12.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.3823, allocations: 229.8 kB / 0.5625 GB, free: 12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005474/0.3829, allocations: 308.5 kB / 0.5628 GB, free: 11.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.383, allocations: 84.48 kB / 0.5629 GB, free: 11.62 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.383, allocations: 0 / 0.5629 GB, free: 11.62 MB / 442.7 MB Notification: Performance of Templates: time 0.02728/0.4103, allocations: 27.99 MB / 0.5902 GB, free: 15.92 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.403934159781784]