Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.001501/0.001501, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001581/0.001581, allocations: 156.5 kB / 24.55 MB, free: 20 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.9451/0.9451, allocations: 177 MB / 204.8 MB, free: 5.559 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.2442/0.2442, allocations: 34.86 MB / 296.3 MB, free: 0.5547 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.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|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|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") translateModel(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|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|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.176e-05, allocations: 5.266 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.292/0.2921, allocations: 146.3 MB / 0.5128 GB, free: 16.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005683/0.2977, allocations: 6.949 MB / 0.5196 GB, free: 12.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.2979, allocations: 2.594 kB / 0.5196 GB, free: 12.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.2983, allocations: 84.08 kB / 0.5197 GB, free: 12.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007453/0.3057, allocations: 2.309 MB / 0.5219 GB, free: 11.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.306, allocations: 149.5 kB / 0.5221 GB, free: 11.06 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003592/0.3096, allocations: 0.5248 MB / 0.5226 GB, free: 10.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.3096, allocations: 10.22 kB / 0.5226 GB, free: 10.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004005/0.31, allocations: 318.8 kB / 0.5229 GB, free: 10.72 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000628/0.3107, allocations: 479.8 kB / 0.5233 GB, free: 10.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.3107, allocations: 11.06 kB / 0.5234 GB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006434/0.3171, allocations: 2.335 MB / 0.5256 GB, free: 9.738 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.3173, allocations: 178 kB / 0.5258 GB, free: 9.668 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.3174, allocations: 162.1 kB / 0.526 GB, free: 9.625 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005693/0.3231, allocations: 1.946 MB / 0.5279 GB, free: 9.086 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3231, allocations: 0 / 0.5279 GB, free: 9.086 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3231, allocations: 0 / 0.5279 GB, free: 9.086 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3231, allocations: 4 kB / 0.5279 GB, free: 9.082 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.004874/0.328, allocations: 1.014 MB / 0.5289 GB, free: 8.438 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.328, allocations: 8.094 kB / 0.5289 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005749/0.3338, allocations: 0.6686 MB / 0.5295 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005299/0.3343, allocations: 315.1 kB / 0.5298 GB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.701e-05/0.3344, allocations: 231.5 kB / 0.53 GB, free: 7.836 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.3345, allocations: 37.78 kB / 0.5301 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009693/0.3355, allocations: 1.073 MB / 0.5311 GB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3355, allocations: 0 / 0.5311 GB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.659e-05/0.3356, allocations: 18.31 kB / 0.5311 GB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.038e-05/0.3356, allocations: 62.98 kB / 0.5312 GB, free: 7.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.3375, allocations: 1.309 MB / 0.5325 GB, free: 7.039 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.3398, allocations: 2.263 MB / 0.5347 GB, free: 5.379 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.34, allocations: 95.91 kB / 0.5348 GB, free: 5.332 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.3401, allocations: 46.78 kB / 0.5348 GB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001715/0.3418, allocations: 1.483 MB / 0.5363 GB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.3418, allocations: 40.39 kB / 0.5363 GB, free: 4.711 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.3418, allocations: 0 / 0.5363 GB, free: 4.711 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=16): time 0.0006536/0.3424, allocations: 289.7 kB / 0.5366 GB, free: 4.625 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.3425, allocations: 57.97 kB / 0.5366 GB, free: 4.559 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.3427, allocations: 467 kB / 0.5371 GB, free: 4.254 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.3427, allocations: 29.7 kB / 0.5371 GB, free: 4.219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.3428, allocations: 425.7 kB / 0.5375 GB, free: 3.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.3429, allocations: 75.23 kB / 0.5376 GB, free: 3.777 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.343, allocations: 177.8 kB / 0.5378 GB, free: 3.672 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.261e-05/0.343, allocations: 0.5187 MB / 0.5383 GB, free: 3.152 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.044e-05/0.3431, allocations: 77.34 kB / 0.5383 GB, free: 3.125 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.3433, allocations: 0.7308 MB / 0.5391 GB, free: 2.195 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.3438, allocations: 0.8813 MB / 0.5399 GB, free: 1.172 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.3438, allocations: 6.938 kB / 0.5399 GB, free: 1.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007993/0.3446, allocations: 0.6902 MB / 0.5406 GB, free: 0.832 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.3446, allocations: 11.38 kB / 0.5406 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.3446, allocations: 17.38 kB / 0.5406 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/0.3447, allocations: 19.62 kB / 0.5406 GB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002894/0.345, allocations: 187.4 kB / 0.5408 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002494/0.3452, allocations: 0.9311 MB / 0.5417 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.3455, allocations: 102.6 kB / 0.5418 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.3455, allocations: 55.84 kB / 0.5419 GB, free: 15.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000134/0.3456, allocations: 217.1 kB / 0.5421 GB, free: 15.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.3459, allocations: 100.2 kB / 0.5422 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.3461, allocations: 204.1 kB / 0.5424 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3461, allocations: 2.531 kB / 0.5424 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3461, allocations: 0 / 0.5424 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3461, allocations: 3.938 kB / 0.5424 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.3466, allocations: 0.5379 MB / 0.5429 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3466, allocations: 0 / 0.5429 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.3467, allocations: 39.19 kB / 0.5429 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.3467, allocations: 6.281 kB / 0.5429 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3467, allocations: 3.438 kB / 0.543 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003054/0.347, allocations: 0.8978 MB / 0.5438 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.347, allocations: 7.5 kB / 0.5438 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.3472, allocations: 317.5 kB / 0.5441 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.3473, allocations: 46.23 kB / 0.5442 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.3473, allocations: 2.875 kB / 0.5442 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.3475, allocations: 17.55 kB / 0.5442 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.3475, allocations: 18.14 kB / 0.5442 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.3475, allocations: 9.609 kB / 0.5442 GB, free: 13.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001636/0.3477, allocations: 251.6 kB / 0.5445 GB, free: 13.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3477, allocations: 2.75 kB / 0.5445 GB, free: 13.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001067/0.3487, allocations: 349 kB / 0.5448 GB, free: 13.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.3499, allocations: 0.648 MB / 0.5454 GB, free: 13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.3503, allocations: 328.7 kB / 0.5458 GB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3503, allocations: 3.938 kB / 0.5458 GB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.974e-05/0.3504, allocations: 53.16 kB / 0.5458 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.3507, allocations: 75.45 kB / 0.5459 GB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007325/0.358, allocations: 6.961 MB / 0.5527 GB, free: 5.973 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.626e-05/0.3581, allocations: 101.3 kB / 0.5528 GB, free: 5.855 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003715/0.3585, allocations: 231.8 kB / 0.553 GB, free: 5.637 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.3586, allocations: 48.48 kB / 0.553 GB, free: 5.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3586, allocations: 0 / 0.553 GB, free: 5.59 MB / 426.7 MB Notification: Performance of Templates: time 0.01085/0.3694, allocations: 9.146 MB / 0.562 GB, free: 12.52 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.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: 3.9556810301728547]