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.001002/0.001002, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001034/0.001034, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9308/0.9308, allocations: 177 MB / 204.8 MB, free: 5.566 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.2807/0.2807, allocations: 34.86 MB / 296.3 MB, free: 0.5508 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 1.784e-06/1.784e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.036e-05, allocations: 4.984 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2881/0.2881, allocations: 151 MB / 0.5173 GB, free: 13.83 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00397/0.2921, allocations: 2.914 MB / 0.5202 GB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004098/0.2925, allocations: 27.59 kB / 0.5202 GB, free: 11.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006405/0.2931, allocations: 246 kB / 0.5204 GB, free: 11.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.2963, allocations: 1.762 MB / 0.5222 GB, free: 10.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.298, allocations: 1.023 MB / 0.5232 GB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.2998, allocations: 2.278 MB / 0.5254 GB, free: 9.266 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006854/0.3005, allocations: 0.5475 MB / 0.5259 GB, free: 8.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.3022, allocations: 1.319 MB / 0.5272 GB, free: 8.371 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009028/0.3031, allocations: 0.8416 MB / 0.528 GB, free: 8.121 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.3032, allocations: 92.47 kB / 0.5281 GB, free: 8.121 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.3051, allocations: 1.448 MB / 0.5295 GB, free: 7.742 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.3054, allocations: 467.3 kB / 0.53 GB, free: 7.527 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.3057, allocations: 408.8 kB / 0.5304 GB, free: 7.371 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.3074, allocations: 1.878 MB / 0.5322 GB, free: 6.684 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3074, allocations: 3.5 kB / 0.5322 GB, free: 6.684 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3075, allocations: 0 / 0.5322 GB, free: 6.684 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.3075, allocations: 0 / 0.5322 GB, free: 6.684 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.001673/0.3091, allocations: 1.492 MB / 0.5337 GB, free: 5.754 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.3092, allocations: 8.562 kB / 0.5337 GB, free: 5.754 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002934/0.3095, allocations: 195.8 kB / 0.5338 GB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.31, allocations: 0.5631 MB / 0.5344 GB, free: 5.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.082e-05/0.3101, allocations: 170.5 kB / 0.5346 GB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.6e-05/0.3102, allocations: 79.56 kB / 0.5346 GB, free: 5.141 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008759/0.3111, allocations: 1.229 MB / 0.5358 GB, free: 4.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.3111, allocations: 3.938 kB / 0.5358 GB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.697e-05/0.3112, allocations: 30.94 kB / 0.5359 GB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.218e-05/0.3112, allocations: 62.39 kB / 0.5359 GB, free: 4.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00072/0.3119, allocations: 0.551 MB / 0.5365 GB, free: 4.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/0.3146, allocations: 3.689 MB / 0.5401 GB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007025/0.3153, allocations: 489.7 kB / 0.5405 GB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.3155, allocations: 199 kB / 0.5407 GB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/0.3157, allocations: 107.5 kB / 0.5408 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.3157, allocations: 47.7 kB / 0.5409 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 1.713e-06/0.3157, allocations: 0 / 0.5409 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.004516/0.3202, allocations: 2.378 MB / 0.5432 GB, free: 15.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.3203, allocations: 109.3 kB / 0.5433 GB, free: 15.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003801/0.3207, allocations: 0.537 MB / 0.5438 GB, free: 15.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.3207, allocations: 44.05 kB / 0.5439 GB, free: 15.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.3209, allocations: 460.9 kB / 0.5443 GB, free: 14.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001646/0.3211, allocations: 302.8 kB / 0.5446 GB, free: 14.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.3214, allocations: 200 kB / 0.5448 GB, free: 14.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.3216, allocations: 0.5551 MB / 0.5453 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.3219, allocations: 193.9 kB / 0.5455 GB, free: 13.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.3224, allocations: 0.6175 MB / 0.5461 GB, free: 13.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008214/0.3232, allocations: 0.7999 MB / 0.5469 GB, free: 12.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3232, allocations: 0 / 0.5469 GB, free: 12.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001283/0.3245, allocations: 0.9694 MB / 0.5478 GB, free: 11.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.3245, allocations: 12.06 kB / 0.5479 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.3245, allocations: 12 kB / 0.5479 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002563/0.3271, allocations: 0.9588 MB / 0.5488 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.3274, allocations: 151.7 kB / 0.5489 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009497/0.3283, allocations: 1.199 MB / 0.5501 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.3286, allocations: 39.98 kB / 0.5502 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/0.3287, allocations: 55.97 kB / 0.5502 GB, free: 8.855 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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.0002001/0.3289, allocations: 220.2 kB / 0.5504 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.329, allocations: 107.5 kB / 0.5505 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.3304, allocations: 1.088 MB / 0.5516 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.3304, allocations: 8 kB / 0.5516 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.3304, allocations: 0 / 0.5516 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.3304, allocations: 3.984 kB / 0.5516 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.3322, allocations: 1.561 MB / 0.5531 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3322, allocations: 4 kB / 0.5531 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006009/0.3328, allocations: 243.7 kB / 0.5534 GB, free: 5.539 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006344/0.3334, allocations: 255.4 kB / 0.5536 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.061e-05/0.3335, allocations: 31.97 kB / 0.5536 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.3347, allocations: 2.703 MB / 0.5563 GB, free: 2.387 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3347, allocations: 4 kB / 0.5563 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.3359, allocations: 1.084 MB / 0.5573 GB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.3361, allocations: 187.3 kB / 0.5575 GB, free: 1.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/0.3362, allocations: 23.98 kB / 0.5575 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.3365, allocations: 43.91 kB / 0.5576 GB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.3366, allocations: 64.48 kB / 0.5576 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.404e-05/0.3367, allocations: 51.95 kB / 0.5577 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002447/0.3369, allocations: 350.8 kB / 0.558 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3369, allocations: 0 / 0.558 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009696/0.3379, allocations: 499 kB / 0.5585 GB, free: 64 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.0007595/0.3387, allocations: 0.5126 MB / 0.559 GB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009692/0.3396, allocations: 0.6744 MB / 0.5597 GB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3396, allocations: 4.125 kB / 0.5597 GB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006924/0.3403, allocations: 429.8 kB / 0.5601 GB, free: 14.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.3414, allocations: 448.2 kB / 0.5605 GB, free: 14.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.3439, allocations: 1.734 MB / 0.5622 GB, free: 12.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.344, allocations: 225.8 kB / 0.5624 GB, free: 12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004757/0.3445, allocations: 304.1 kB / 0.5627 GB, free: 11.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.3446, allocations: 80.48 kB / 0.5628 GB, free: 11.62 MB / 442.7 MB Notification: Performance of SimCode: time 8.01e-07/0.3446, allocations: 0 / 0.5628 GB, free: 11.62 MB / 442.7 MB Notification: Performance of Templates: time 0.02278/0.3674, allocations: 25.31 MB / 0.5875 GB, free: 2.609 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.4329543500207365]