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.001243/0.001243, allocations: 83.67 kB / 21.7 MB, free: 2.852 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.00119/0.00119, allocations: 160.2 kB / 24.99 MB, free: 9.289 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 1.087/1.087, allocations: 177 MB / 205.2 MB, free: 5.617 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.2806/0.2806, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 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 3.126e-06/3.126e-06, allocations: 0 / 378.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.548e-05/3.86e-05, allocations: 2.312 kB / 378.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3228/0.3229, allocations: 147.8 MB / 0.5143 GB, free: 16.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007701/0.3306, allocations: 10.68 MB / 0.5247 GB, free: 9.133 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.3307, allocations: 6.625 kB / 0.5247 GB, free: 9.129 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.3311, allocations: 76.97 kB / 0.5248 GB, free: 9.094 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005184/0.3363, allocations: 3.17 MB / 0.5279 GB, free: 7.539 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.3365, allocations: 160.1 kB / 0.528 GB, free: 7.465 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004983/0.337, allocations: 0.5419 MB / 0.5285 GB, free: 7.219 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.74e-05/0.3371, allocations: 16.59 kB / 0.5286 GB, free: 7.211 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.3373, allocations: 304.5 kB / 0.5288 GB, free: 7.105 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004906/0.3378, allocations: 371.4 kB / 0.5292 GB, free: 7.004 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.3379, allocations: 14.34 kB / 0.5292 GB, free: 7.004 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004493/0.3424, allocations: 4.041 MB / 0.5332 GB, free: 5.844 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.3425, allocations: 99.52 kB / 0.5333 GB, free: 5.801 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001128/0.3426, allocations: 122 kB / 0.5334 GB, free: 5.766 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003365/0.3459, allocations: 2.61 MB / 0.5359 GB, free: 4.992 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.346, allocations: 0 / 0.5359 GB, free: 4.992 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.346, allocations: 0 / 0.5359 GB, free: 4.992 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.346, allocations: 0 / 0.5359 GB, free: 4.992 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.001863/0.3478, allocations: 1.117 MB / 0.537 GB, free: 4.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.3479, allocations: 8.031 kB / 0.537 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.3481, allocations: 77.84 kB / 0.5371 GB, free: 4.113 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.3483, allocations: 192.9 kB / 0.5373 GB, free: 3.922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.472e-05/0.3483, allocations: 232.7 kB / 0.5375 GB, free: 3.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.3484, allocations: 30.62 kB / 0.5375 GB, free: 3.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.3488, allocations: 0.6032 MB / 0.5381 GB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3488, allocations: 0 / 0.5381 GB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.3488, allocations: 13.53 kB / 0.5381 GB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.253e-05/0.3489, allocations: 32.8 kB / 0.5382 GB, free: 3.094 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005638/0.3494, allocations: 0.6918 MB / 0.5388 GB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.3508, allocations: 1.884 MB / 0.5407 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004102/0.3513, allocations: 230 kB / 0.5409 GB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.687e-05/0.3513, allocations: 91.86 kB / 0.541 GB, free: 1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/0.3525, allocations: 1.087 MB / 0.542 GB, free: 272 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.3525, allocations: 43.89 kB / 0.5421 GB, free: 224 kB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.533e-06/0.3525, allocations: 0 / 0.5421 GB, free: 224 kB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001181/0.3537, allocations: 0.67 MB / 0.5427 GB, free: 15.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.3537, allocations: 61.14 kB / 0.5428 GB, free: 15.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.3539, allocations: 269.7 kB / 0.5431 GB, free: 15.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.3539, allocations: 41.19 kB / 0.5431 GB, free: 15.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.354, allocations: 245 kB / 0.5433 GB, free: 15.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.356e-05/0.3541, allocations: 158.5 kB / 0.5435 GB, free: 15.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.3542, allocations: 140 kB / 0.5436 GB, free: 15.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.3544, allocations: 0.5083 MB / 0.5441 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3545, allocations: 75.23 kB / 0.5442 GB, free: 14.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.3547, allocations: 0.5145 MB / 0.5447 GB, free: 13.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005123/0.3553, allocations: 0.6627 MB / 0.5453 GB, free: 13.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.3553, allocations: 5.719 kB / 0.5453 GB, free: 13.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006037/0.3559, allocations: 0.5262 MB / 0.5458 GB, free: 12.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3559, allocations: 11.34 kB / 0.5459 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.3559, allocations: 12.34 kB / 0.5459 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.3559, allocations: 13.91 kB / 0.5459 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.3563, allocations: 200.2 kB / 0.5461 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000546/0.3568, allocations: 1.812 MB / 0.5478 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.357, allocations: 19.75 kB / 0.5479 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.357, allocations: 57.92 kB / 0.5479 GB, free: 10.99 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.0001202/0.3572, allocations: 203.4 kB / 0.5481 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.3572, allocations: 46.7 kB / 0.5482 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000693/0.3579, allocations: 0.6417 MB / 0.5488 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.056e-06/0.3579, allocations: 3.125 kB / 0.5488 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3579, allocations: 0 / 0.5488 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3579, allocations: 0 / 0.5488 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/0.3585, allocations: 0.6233 MB / 0.5494 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3585, allocations: 10.08 kB / 0.5494 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.3587, allocations: 96 kB / 0.5495 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3587, allocations: 4 kB / 0.5495 GB, free: 9.742 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3588, allocations: 12.09 kB / 0.5495 GB, free: 9.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004953/0.3593, allocations: 1.786 MB / 0.5513 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3593, allocations: 3.984 kB / 0.5513 GB, free: 7.883 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.3596, allocations: 400 kB / 0.5516 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.328e-05/0.3596, allocations: 47.75 kB / 0.5517 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.3597, allocations: 11.98 kB / 0.5517 GB, free: 7.406 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.3598, allocations: 8 kB / 0.5517 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.3598, allocations: 32.02 kB / 0.5517 GB, free: 7.367 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.3599, allocations: 23.98 kB / 0.5518 GB, free: 7.344 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.36, allocations: 201.1 kB / 0.552 GB, free: 7.145 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.36, allocations: 0 / 0.552 GB, free: 7.145 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001051/0.361, allocations: 0.5022 MB / 0.5524 GB, free: 6.641 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.001161/0.3622, allocations: 0.7938 MB / 0.5532 GB, free: 5.836 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005283/0.3627, allocations: 350.6 kB / 0.5536 GB, free: 5.496 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3627, allocations: 0 / 0.5536 GB, free: 5.496 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.3629, allocations: 143.6 kB / 0.5537 GB, free: 5.352 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.3634, allocations: 144.3 kB / 0.5538 GB, free: 5.215 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006811/0.3702, allocations: 5.881 MB / 0.5596 GB, free: 15.28 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.607e-05/0.3703, allocations: 94.81 kB / 0.5597 GB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004689/0.3707, allocations: 201.7 kB / 0.5599 GB, free: 14.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.3709, allocations: 68.47 kB / 0.5599 GB, free: 14.9 MB / 442.7 MB Notification: Performance of SimCode: time 9.41e-07/0.3709, allocations: 0 / 0.5599 GB, free: 14.9 MB / 442.7 MB Notification: Performance of Templates: time 0.02033/0.3912, allocations: 15.52 MB / 0.5751 GB, free: 15.53 MB / 458.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.336460501886904]