Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009146/0.0009146, allocations: 80.41 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009945/0.0009945, allocations: 174.4 kB / 25.61 MB, free: 8.914 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9946/0.9946, allocations: 177.2 MB / 206.1 MB, free: 4.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1409/0.1409, allocations: 34.26 MB / 296.9 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/3.027e-05, allocations: 5.547 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3075/0.3075, allocations: 145.3 MB / 0.5124 GB, free: 13.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004777/0.3123, allocations: 6.358 MB / 0.5186 GB, free: 13.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.3124, allocations: 6.688 kB / 0.5186 GB, free: 13.39 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003277/0.3127, allocations: 86.95 kB / 0.5187 GB, free: 13.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004515/0.3173, allocations: 2.573 MB / 0.5212 GB, free: 13.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.3175, allocations: 175.9 kB / 0.5213 GB, free: 13.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006011/0.3181, allocations: 0.5648 MB / 0.5219 GB, free: 13.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.3182, allocations: 13.06 kB / 0.5219 GB, free: 13.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003741/0.3186, allocations: 313.1 kB / 0.5222 GB, free: 13.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/0.3191, allocations: 382.2 kB / 0.5226 GB, free: 13.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.3191, allocations: 15.08 kB / 0.5226 GB, free: 13.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003479/0.3226, allocations: 2.961 MB / 0.5255 GB, free: 12.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3227, allocations: 108.2 kB / 0.5256 GB, free: 12.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.3228, allocations: 119.4 kB / 0.5257 GB, free: 12.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.3253, allocations: 1.958 MB / 0.5276 GB, free: 12.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3253, allocations: 2.578 kB / 0.5276 GB, free: 12.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3253, allocations: 4 kB / 0.5276 GB, free: 12.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3253, allocations: 0 / 0.5276 GB, free: 12.69 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.001535/0.3269, allocations: 1.006 MB / 0.5286 GB, free: 12.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.3269, allocations: 8.469 kB / 0.5286 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/0.3271, allocations: 73.67 kB / 0.5287 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.3273, allocations: 191.4 kB / 0.5288 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.211e-05/0.3274, allocations: 240.8 kB / 0.5291 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.3274, allocations: 31.38 kB / 0.5291 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.3278, allocations: 0.5558 MB / 0.5296 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3278, allocations: 0 / 0.5296 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.3278, allocations: 16.75 kB / 0.5297 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-05/0.3278, allocations: 27.36 kB / 0.5297 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/0.3283, allocations: 0.593 MB / 0.5303 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.3295, allocations: 1.852 MB / 0.5321 GB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.3299, allocations: 213.3 kB / 0.5323 GB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.167e-05/0.3299, allocations: 75.45 kB / 0.5324 GB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.3311, allocations: 1.092 MB / 0.5334 GB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.3311, allocations: 39.8 kB / 0.5335 GB, free: 8.785 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/0.3311, allocations: 3.984 kB / 0.5335 GB, free: 8.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001007/0.3321, allocations: 0.6129 MB / 0.5341 GB, free: 8.504 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.3321, allocations: 60.59 kB / 0.5341 GB, free: 8.438 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3323, allocations: 286.3 kB / 0.5344 GB, free: 8.223 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3323, allocations: 32.45 kB / 0.5344 GB, free: 8.191 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.3323, allocations: 247 kB / 0.5347 GB, free: 7.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.3324, allocations: 162.3 kB / 0.5348 GB, free: 7.863 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.3325, allocations: 150.3 kB / 0.535 GB, free: 7.812 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.3325, allocations: 0.5094 MB / 0.5355 GB, free: 7.312 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-05/0.3326, allocations: 61.75 kB / 0.5355 GB, free: 7.293 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.3328, allocations: 0.4976 MB / 0.536 GB, free: 6.699 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.3331, allocations: 0.6414 MB / 0.5366 GB, free: 6.055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.3331, allocations: 3.375 kB / 0.5366 GB, free: 6.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0004991/0.3336, allocations: 0.4934 MB / 0.5371 GB, free: 5.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3336, allocations: 10.66 kB / 0.5371 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3337, allocations: 11.53 kB / 0.5371 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3337, allocations: 14.56 kB / 0.5371 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/0.334, allocations: 193.8 kB / 0.5373 GB, free: 5.832 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002779/0.3343, allocations: 1.81 MB / 0.5391 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.3345, allocations: 34.61 kB / 0.5391 GB, free: 4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.3345, allocations: 49.48 kB / 0.5392 GB, free: 3.996 MB / 410.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.0001007/0.3346, allocations: 198.6 kB / 0.5394 GB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.242e-05/0.3347, allocations: 43.67 kB / 0.5394 GB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005592/0.3353, allocations: 0.6289 MB / 0.54 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.3353, allocations: 13.41 kB / 0.54 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.3353, allocations: 0 / 0.54 GB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.3353, allocations: 3.984 kB / 0.54 GB, free: 3.469 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.3357, allocations: 0.5633 MB / 0.5406 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3357, allocations: 3.406 kB / 0.5406 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002224/0.336, allocations: 97.59 kB / 0.5407 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.336, allocations: 6.969 kB / 0.5407 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.336, allocations: 10.73 kB / 0.5407 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002174/0.3362, allocations: 1.792 MB / 0.5424 GB, free: 1.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3362, allocations: 6.625 kB / 0.5425 GB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.3364, allocations: 386.3 kB / 0.5428 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.442e-05/0.3365, allocations: 40.3 kB / 0.5429 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.3365, allocations: 10.48 kB / 0.5429 GB, free: 0.957 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3366, allocations: 16.52 kB / 0.5429 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.3367, allocations: 29.61 kB / 0.5429 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.3367, allocations: 12.16 kB / 0.5429 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.298e-05/0.3368, allocations: 198.5 kB / 0.5431 GB, free: 0.793 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3368, allocations: 0 / 0.5431 GB, free: 0.793 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00111/0.3379, allocations: 432.1 kB / 0.5435 GB, free: 0.6992 MB / 410.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.001154/0.339, allocations: 0.6733 MB / 0.5442 GB, free: 416 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004458/0.3395, allocations: 318.7 kB / 0.5445 GB, free: 312 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3395, allocations: 0.875 kB / 0.5445 GB, free: 312 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.3396, allocations: 142.1 kB / 0.5446 GB, free: 256 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.3401, allocations: 143.9 kB / 0.5448 GB, free: 200 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005796/0.3459, allocations: 5.982 MB / 0.5506 GB, free: 13.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.69e-05/0.3459, allocations: 96.88 kB / 0.5507 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003616/0.3463, allocations: 171.2 kB / 0.5509 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.3466, allocations: 235.1 kB / 0.5511 GB, free: 13.43 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3466, allocations: 0 / 0.5511 GB, free: 13.43 MB / 426.7 MB Notification: Performance of Templates: time 0.01558/0.3622, allocations: 16.19 MB / 0.5669 GB, free: 1.879 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.119535274337977]