Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.001145/0.001145, allocations: 79.59 kB / 21.18 MB, free: 3.379 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.001209/0.001209, allocations: 161 kB / 24.56 MB, free: 8 kB / 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 1.025/1.025, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3085/0.3085, allocations: 32.81 MB / 294.3 MB, free: 1.266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.317e-05, allocations: 6.312 kB / 376 MB, free: 4.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3372/0.3373, allocations: 146.3 MB / 0.5101 GB, free: 19.78 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005492/0.3428, allocations: 6.949 MB / 0.5169 GB, free: 15.17 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.3429, allocations: 0 / 0.5169 GB, free: 15.17 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000397/0.3433, allocations: 72.73 kB / 0.517 GB, free: 15.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004657/0.348, allocations: 2.319 MB / 0.5192 GB, free: 13.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.3483, allocations: 148.9 kB / 0.5194 GB, free: 13.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.3488, allocations: 0.5265 MB / 0.5199 GB, free: 13.69 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.3489, allocations: 10.03 kB / 0.5199 GB, free: 13.69 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004669/0.3493, allocations: 324.3 kB / 0.5202 GB, free: 13.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006442/0.35, allocations: 471.5 kB / 0.5207 GB, free: 13.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.518e-05/0.35, allocations: 12.09 kB / 0.5207 GB, free: 13.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/0.3535, allocations: 2.335 MB / 0.5229 GB, free: 12.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.3536, allocations: 175.4 kB / 0.5231 GB, free: 12.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.3538, allocations: 162.4 kB / 0.5233 GB, free: 12.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00351/0.3573, allocations: 1.949 MB / 0.5252 GB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.3573, allocations: 0 / 0.5252 GB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3573, allocations: 3.938 kB / 0.5252 GB, free: 11.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.3573, allocations: 0 / 0.5252 GB, free: 11.94 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.002117/0.3594, allocations: 1.018 MB / 0.5262 GB, free: 11.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3595, allocations: 8.562 kB / 0.5262 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002506/0.362, allocations: 0.6631 MB / 0.5268 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/0.3626, allocations: 319.3 kB / 0.5271 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.3627, allocations: 234.2 kB / 0.5274 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.61e-05/0.3628, allocations: 33.69 kB / 0.5274 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.3638, allocations: 1.075 MB / 0.5284 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3639, allocations: 0 / 0.5284 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.592e-05/0.3639, allocations: 13.72 kB / 0.5284 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.906e-05/0.364, allocations: 54.05 kB / 0.5285 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.3656, allocations: 1.318 MB / 0.5298 GB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.3681, allocations: 2.26 MB / 0.532 GB, free: 8.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.3683, allocations: 93.36 kB / 0.5321 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.616e-05/0.3684, allocations: 46.47 kB / 0.5321 GB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002087/0.3705, allocations: 1.488 MB / 0.5336 GB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.3705, allocations: 36.77 kB / 0.5336 GB, free: 7.559 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.954e-06/0.3705, allocations: 0 / 0.5336 GB, free: 7.559 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.0007568/0.3713, allocations: 297 kB / 0.5339 GB, free: 7.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.3713, allocations: 54.09 kB / 0.534 GB, free: 7.406 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.3715, allocations: 464.2 kB / 0.5344 GB, free: 7.102 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3716, allocations: 27.92 kB / 0.5344 GB, free: 7.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3717, allocations: 430.4 kB / 0.5348 GB, free: 6.703 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.3717, allocations: 78.3 kB / 0.5349 GB, free: 6.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.3718, allocations: 171.5 kB / 0.5351 GB, free: 6.559 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.3719, allocations: 0.5236 MB / 0.5356 GB, free: 6.047 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.372, allocations: 79.09 kB / 0.5357 GB, free: 6.035 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.3723, allocations: 0.7336 MB / 0.5364 GB, free: 5.133 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005515/0.3728, allocations: 0.8802 MB / 0.5372 GB, free: 4.125 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.3729, allocations: 6.75 kB / 0.5372 GB, free: 4.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009257/0.3738, allocations: 0.6876 MB / 0.5379 GB, free: 3.871 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.3738, allocations: 15.09 kB / 0.5379 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.3738, allocations: 14.5 kB / 0.5379 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/0.3739, allocations: 23.25 kB / 0.538 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.3741, allocations: 188.2 kB / 0.5381 GB, free: 3.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002501/0.3744, allocations: 0.928 MB / 0.539 GB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.3747, allocations: 98.58 kB / 0.5391 GB, free: 2.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.3747, allocations: 62.16 kB / 0.5392 GB, free: 2.855 MB / 410.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.0001172/0.3749, allocations: 214.4 kB / 0.5394 GB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/0.3751, allocations: 100.8 kB / 0.5395 GB, free: 2.621 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.3753, allocations: 196.4 kB / 0.5397 GB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3753, allocations: 2.875 kB / 0.5397 GB, free: 2.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3753, allocations: 4 kB / 0.5397 GB, free: 2.496 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3753, allocations: 6.422 kB / 0.5397 GB, free: 2.492 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.3758, allocations: 0.534 MB / 0.5402 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3758, allocations: 6.797 kB / 0.5402 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.974e-05/0.3758, allocations: 31.33 kB / 0.5403 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.3759, allocations: 7 kB / 0.5403 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3759, allocations: 2.312 kB / 0.5403 GB, free: 2.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002024/0.3761, allocations: 0.9039 MB / 0.5411 GB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3761, allocations: 2.344 kB / 0.5412 GB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.3763, allocations: 321.9 kB / 0.5415 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.3764, allocations: 38.11 kB / 0.5415 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.3764, allocations: 6.781 kB / 0.5415 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3765, allocations: 9.578 kB / 0.5415 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.921e-05/0.3766, allocations: 13.45 kB / 0.5415 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.3766, allocations: 17.23 kB / 0.5415 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.3767, allocations: 251.6 kB / 0.5418 GB, free: 0.582 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3767, allocations: 4.062 kB / 0.5418 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001173/0.3779, allocations: 347.7 kB / 0.5421 GB, free: 0.5039 MB / 410.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.001177/0.3791, allocations: 0.6604 MB / 0.5428 GB, free: 156 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000446/0.3795, allocations: 319.9 kB / 0.5431 GB, free: 8 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3795, allocations: 0 / 0.5431 GB, free: 8 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.847e-05/0.3796, allocations: 52.8 kB / 0.5431 GB, free: 15.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.38, allocations: 80.02 kB / 0.5432 GB, free: 15.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008126/0.3881, allocations: 6.964 MB / 0.55 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.914e-05/0.3882, allocations: 101.3 kB / 0.5501 GB, free: 10.06 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004681/0.3886, allocations: 231.7 kB / 0.5503 GB, free: 9.844 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.361e-05/0.3887, allocations: 48.48 kB / 0.5504 GB, free: 9.797 MB / 426.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3887, allocations: 0 / 0.5504 GB, free: 9.797 MB / 426.7 MB Notification: Performance of Templates: time 0.01307/0.4018, allocations: 9.168 MB / 0.5593 GB, free: 0.707 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 4.321239208802581]