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.001255/0.001255, allocations: 91.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.001435/0.001435, 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 1.026/1.026, allocations: 177 MB / 204.8 MB, free: 5.598 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.269/0.269, allocations: 34.86 MB / 296.3 MB, free: 0.5352 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 1.743e-06/1.743e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.451e-05, allocations: 3.438 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.343/0.343, allocations: 148.1 MB / 0.5145 GB, free: 15.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004862/0.3478, allocations: 6.413 MB / 0.5208 GB, free: 11.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.3479, allocations: 11.25 kB / 0.5208 GB, free: 11.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.3483, allocations: 80.83 kB / 0.5209 GB, free: 11.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004327/0.3526, allocations: 2.569 MB / 0.5234 GB, free: 10.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.3529, allocations: 172.4 kB / 0.5235 GB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005403/0.3534, allocations: 0.5644 MB / 0.5241 GB, free: 9.969 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.3535, allocations: 12.88 kB / 0.5241 GB, free: 9.965 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003296/0.3538, allocations: 318.8 kB / 0.5244 GB, free: 9.844 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005055/0.3543, allocations: 377.4 kB / 0.5248 GB, free: 9.738 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.3544, allocations: 14.03 kB / 0.5248 GB, free: 9.738 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.3578, allocations: 2.963 MB / 0.5277 GB, free: 8.852 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.583e-05/0.3579, allocations: 107.4 kB / 0.5278 GB, free: 8.801 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.358, allocations: 121.8 kB / 0.5279 GB, free: 8.766 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.3602, allocations: 1.96 MB / 0.5298 GB, free: 8.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3602, allocations: 6.906 kB / 0.5298 GB, free: 8.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3602, allocations: 0 / 0.5298 GB, free: 8.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3602, allocations: 0 / 0.5298 GB, free: 8.16 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.001571/0.3618, allocations: 0.9994 MB / 0.5308 GB, free: 7.492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3619, allocations: 15.12 kB / 0.5308 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.362, allocations: 70.11 kB / 0.5309 GB, free: 7.457 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.3622, allocations: 191.7 kB / 0.5311 GB, free: 7.289 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.022e-05/0.3623, allocations: 238.5 kB / 0.5313 GB, free: 7.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.3624, allocations: 34.89 kB / 0.5313 GB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004661/0.3628, allocations: 0.5958 MB / 0.5319 GB, free: 6.543 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3629, allocations: 0 / 0.5319 GB, free: 6.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.3629, allocations: 11.19 kB / 0.5319 GB, free: 6.535 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.951e-05/0.3629, allocations: 32.77 kB / 0.5319 GB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005634/0.3635, allocations: 0.6903 MB / 0.5326 GB, free: 6.453 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.3648, allocations: 1.885 MB / 0.5345 GB, free: 4.969 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.3652, allocations: 233.9 kB / 0.5347 GB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.734e-05/0.3653, allocations: 89.53 kB / 0.5348 GB, free: 4.859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.3664, allocations: 1.082 MB / 0.5358 GB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.3664, allocations: 44.23 kB / 0.5359 GB, free: 4.27 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.523e-06/0.3664, allocations: 0 / 0.5359 GB, free: 4.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001124/0.3676, allocations: 0.6637 MB / 0.5365 GB, free: 3.973 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.956e-05/0.3676, allocations: 54.06 kB / 0.5366 GB, free: 3.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.3677, allocations: 285.9 kB / 0.5368 GB, free: 3.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3677, allocations: 32.27 kB / 0.5369 GB, free: 3.648 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.635e-05/0.3678, allocations: 247.3 kB / 0.5371 GB, free: 3.426 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.3679, allocations: 162.1 kB / 0.5373 GB, free: 3.297 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.368, allocations: 143.8 kB / 0.5374 GB, free: 3.227 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.092e-05/0.368, allocations: 0.5076 MB / 0.5379 GB, free: 2.723 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.753e-05/0.3681, allocations: 75.56 kB / 0.538 GB, free: 2.711 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.3683, allocations: 0.5092 MB / 0.5385 GB, free: 2.109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000442/0.3688, allocations: 0.6571 MB / 0.5391 GB, free: 1.422 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3688, allocations: 2.688 kB / 0.5391 GB, free: 1.422 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005511/0.3693, allocations: 0.522 MB / 0.5396 GB, free: 1.223 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.3694, allocations: 14.91 kB / 0.5396 GB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.3694, allocations: 11.91 kB / 0.5396 GB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.3694, allocations: 21.23 kB / 0.5397 GB, free: 1.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.3698, allocations: 197.2 kB / 0.5399 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004434/0.3702, allocations: 1.817 MB / 0.5416 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.3704, allocations: 19.38 kB / 0.5416 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.3704, allocations: 51.39 kB / 0.5417 GB, free: 15.33 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.0001287/0.3706, allocations: 206.9 kB / 0.5419 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.3706, allocations: 38.61 kB / 0.5419 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007853/0.3714, allocations: 0.6324 MB / 0.5425 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.3714, allocations: 7 kB / 0.5426 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3714, allocations: 0 / 0.5426 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3714, allocations: 0 / 0.5426 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006068/0.372, allocations: 0.6268 MB / 0.5432 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.372, allocations: 3.5 kB / 0.5432 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.3723, allocations: 100.4 kB / 0.5433 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3723, allocations: 3 kB / 0.5433 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.3723, allocations: 9.719 kB / 0.5433 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005215/0.3728, allocations: 1.792 MB / 0.545 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3728, allocations: 0 / 0.545 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.3735, allocations: 400.2 kB / 0.5454 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.3735, allocations: 42.22 kB / 0.5454 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.3736, allocations: 13.66 kB / 0.5455 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.3737, allocations: 13.67 kB / 0.5455 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.3737, allocations: 28.11 kB / 0.5455 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.3737, allocations: 19.92 kB / 0.5455 GB, free: 11.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.3739, allocations: 199.6 kB / 0.5457 GB, free: 11.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3739, allocations: 4 kB / 0.5457 GB, free: 11.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009607/0.3748, allocations: 428.6 kB / 0.5461 GB, free: 11.65 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.0009664/0.3758, allocations: 0.6669 MB / 0.5468 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005087/0.3763, allocations: 341.1 kB / 0.5471 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3763, allocations: 0 / 0.5471 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.3765, allocations: 145.6 kB / 0.5472 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.3769, allocations: 148 kB / 0.5474 GB, free: 11.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006621/0.3836, allocations: 5.983 MB / 0.5532 GB, free: 5.652 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.978e-05/0.3836, allocations: 102.7 kB / 0.5533 GB, free: 5.531 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003466/0.384, allocations: 195 kB / 0.5535 GB, free: 5.344 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.3841, allocations: 68.47 kB / 0.5536 GB, free: 5.277 MB / 426.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3841, allocations: 0 / 0.5536 GB, free: 5.277 MB / 426.7 MB Notification: Performance of Templates: time 0.01335/0.3974, allocations: 13.55 MB / 0.5668 GB, free: 7.895 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.160668236203492]