Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.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.00147/0.00147, 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.001717/0.001717, 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.9467/0.9467, allocations: 177 MB / 204.8 MB, free: 5.594 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.2905/0.2905, allocations: 34.86 MB / 296.3 MB, free: 0.5469 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.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|s_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|s_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.368e-05/4.609e-05, allocations: 3.156 kB / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3136/0.3136, allocations: 148.1 MB / 0.5145 GB, free: 15.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005067/0.3187, allocations: 6.411 MB / 0.5208 GB, free: 11.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.3189, allocations: 0 / 0.5208 GB, free: 11.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.3193, allocations: 92.94 kB / 0.5209 GB, free: 11.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00542/0.3247, allocations: 2.569 MB / 0.5234 GB, free: 10.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.3251, allocations: 173.5 kB / 0.5236 GB, free: 9.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005921/0.3257, allocations: 0.5594 MB / 0.5241 GB, free: 9.723 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.3257, allocations: 15.59 kB / 0.5241 GB, free: 9.719 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003252/0.326, allocations: 317.7 kB / 0.5244 GB, free: 9.598 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005655/0.3266, allocations: 384.9 kB / 0.5248 GB, free: 9.484 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.3266, allocations: 14.66 kB / 0.5248 GB, free: 9.484 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004512/0.3311, allocations: 2.955 MB / 0.5277 GB, free: 8.605 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.3313, allocations: 114.7 kB / 0.5278 GB, free: 8.551 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.3314, allocations: 120 kB / 0.5279 GB, free: 8.516 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00409/0.3355, allocations: 1.96 MB / 0.5298 GB, free: 7.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3355, allocations: 0 / 0.5298 GB, free: 7.914 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3355, allocations: 0 / 0.5298 GB, free: 7.914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.3355, allocations: 4 kB / 0.5298 GB, free: 7.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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001641/0.3371, allocations: 1.005 MB / 0.5308 GB, free: 7.238 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.3372, allocations: 11.44 kB / 0.5308 GB, free: 7.238 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.3374, allocations: 65.61 kB / 0.5309 GB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.3376, allocations: 199.2 kB / 0.5311 GB, free: 7.035 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.204e-05/0.3377, allocations: 238.6 kB / 0.5313 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.3377, allocations: 35.27 kB / 0.5313 GB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.3382, allocations: 0.5925 MB / 0.5319 GB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3382, allocations: 0 / 0.5319 GB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.3382, allocations: 13.69 kB / 0.5319 GB, free: 6.285 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/0.3383, allocations: 29.31 kB / 0.532 GB, free: 6.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005378/0.3388, allocations: 0.6837 MB / 0.5326 GB, free: 6.211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.3401, allocations: 1.897 MB / 0.5345 GB, free: 4.715 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004301/0.3405, allocations: 227.6 kB / 0.5347 GB, free: 4.641 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.364e-05/0.3406, allocations: 92.03 kB / 0.5348 GB, free: 4.609 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/0.342, allocations: 1.076 MB / 0.5358 GB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.342, allocations: 46.61 kB / 0.5359 GB, free: 4.023 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.984e-06/0.342, allocations: 0 / 0.5359 GB, free: 4.023 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.00114/0.3432, allocations: 0.6578 MB / 0.5365 GB, free: 3.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.3432, allocations: 57.22 kB / 0.5366 GB, free: 3.668 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.3433, allocations: 281.3 kB / 0.5368 GB, free: 3.445 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.3433, allocations: 40.7 kB / 0.5369 GB, free: 3.402 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.3434, allocations: 247.1 kB / 0.5371 GB, free: 3.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.3434, allocations: 163.4 kB / 0.5373 GB, free: 3.051 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.861e-05/0.3435, allocations: 143.6 kB / 0.5374 GB, free: 2.977 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.251e-05/0.3436, allocations: 0.5083 MB / 0.5379 GB, free: 2.473 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.122e-05/0.3437, allocations: 74.25 kB / 0.538 GB, free: 2.465 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.3439, allocations: 0.5134 MB / 0.5385 GB, free: 1.859 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.3442, allocations: 0.6608 MB / 0.5391 GB, free: 1.168 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3442, allocations: 3 kB / 0.5391 GB, free: 1.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005279/0.3448, allocations: 0.5221 MB / 0.5396 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3448, allocations: 15.53 kB / 0.5397 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3448, allocations: 8.625 kB / 0.5397 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.3448, allocations: 20.62 kB / 0.5397 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003936/0.3452, allocations: 190.5 kB / 0.5399 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005514/0.3458, allocations: 1.818 MB / 0.5416 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.3459, allocations: 19.62 kB / 0.5417 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.688e-05/0.346, allocations: 55.38 kB / 0.5417 GB, free: 15.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.3461, allocations: 198.8 kB / 0.5419 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.3462, allocations: 45.55 kB / 0.5419 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/0.3469, allocations: 0.6357 MB / 0.5426 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.3469, allocations: 3.062 kB / 0.5426 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3469, allocations: 0 / 0.5426 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3469, allocations: 4 kB / 0.5426 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.3476, allocations: 0.619 MB / 0.5432 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3476, allocations: 3.344 kB / 0.5432 GB, free: 14.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/0.3478, allocations: 100.6 kB / 0.5433 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3479, allocations: 3 kB / 0.5433 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.3479, allocations: 9.5 kB / 0.5433 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005509/0.3484, allocations: 1.792 MB / 0.545 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.3484, allocations: 8.156 kB / 0.545 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003051/0.3487, allocations: 392.2 kB / 0.5454 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.3488, allocations: 46.36 kB / 0.5455 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.3488, allocations: 13.16 kB / 0.5455 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.349, allocations: 13.5 kB / 0.5455 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.349, allocations: 20.86 kB / 0.5455 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.349, allocations: 19.45 kB / 0.5455 GB, free: 11.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001016/0.3491, allocations: 200.2 kB / 0.5457 GB, free: 11.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3491, allocations: 3.938 kB / 0.5457 GB, free: 11.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001173/0.3503, allocations: 433 kB / 0.5461 GB, free: 11.49 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001159/0.3515, allocations: 0.6665 MB / 0.5468 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006021/0.3521, allocations: 343.8 kB / 0.5471 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3521, allocations: 0 / 0.5471 GB, free: 11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.3522, allocations: 141.5 kB / 0.5472 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005706/0.3528, allocations: 152 kB / 0.5474 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007955/0.3608, allocations: 5.984 MB / 0.5532 GB, free: 5.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.023e-05/0.3609, allocations: 98.75 kB / 0.5533 GB, free: 5.402 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005615/0.3614, allocations: 191 kB / 0.5535 GB, free: 5.219 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.3616, allocations: 68.47 kB / 0.5536 GB, free: 5.152 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3616, allocations: 0 / 0.5536 GB, free: 5.152 MB / 426.7 MB Notification: Performance of Templates: time 0.02129/0.3829, allocations: 15.9 MB / 0.5691 GB, free: 5.422 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.191947265062481]