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.00102/0.00102, allocations: 83.58 kB / 21.19 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.001037/0.001037, allocations: 161 kB / 24.55 MB, free: 16 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 0.9609/0.9609, allocations: 177.1 MB / 205 MB, free: 5.613 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.2466/0.2466, allocations: 32.8 MB / 294.3 MB, free: 1.277 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.583e-06/1.583e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.06e-05, allocations: 6.312 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3067/0.3068, allocations: 146.3 MB / 0.5101 GB, free: 19.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005239/0.312, allocations: 6.951 MB / 0.5169 GB, free: 15.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.3121, allocations: 0 / 0.5169 GB, free: 15.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003916/0.3125, allocations: 71.97 kB / 0.517 GB, free: 15.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003761/0.3163, allocations: 2.328 MB / 0.5192 GB, free: 14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.3165, allocations: 147.8 kB / 0.5194 GB, free: 13.93 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005545/0.3171, allocations: 0.5227 MB / 0.5199 GB, free: 13.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.3171, allocations: 10.28 kB / 0.5199 GB, free: 13.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.3175, allocations: 326.9 kB / 0.5202 GB, free: 13.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005638/0.3181, allocations: 465 kB / 0.5207 GB, free: 13.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.383e-05/0.3181, allocations: 12.03 kB / 0.5207 GB, free: 13.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.3211, allocations: 2.345 MB / 0.523 GB, free: 12.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.3212, allocations: 182.4 kB / 0.5231 GB, free: 12.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.3214, allocations: 157.5 kB / 0.5233 GB, free: 12.49 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002354/0.3237, allocations: 1.941 MB / 0.5252 GB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3237, allocations: 2.578 kB / 0.5252 GB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3237, allocations: 0 / 0.5252 GB, free: 11.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.3237, allocations: 4 kB / 0.5252 GB, free: 11.95 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.001451/0.3252, allocations: 1.011 MB / 0.5262 GB, free: 11.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3252, allocations: 11.19 kB / 0.5262 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/0.3274, allocations: 0.6661 MB / 0.5268 GB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.3277, allocations: 313.7 kB / 0.5271 GB, free: 10.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.3278, allocations: 236.5 kB / 0.5274 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.951e-05/0.3279, allocations: 30.59 kB / 0.5274 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007763/0.3287, allocations: 1.08 MB / 0.5284 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3287, allocations: 3.938 kB / 0.5284 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.3288, allocations: 13.44 kB / 0.5285 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/0.3288, allocations: 59.84 kB / 0.5285 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.3302, allocations: 1.32 MB / 0.5298 GB, free: 9.898 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.332, allocations: 2.261 MB / 0.532 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.3322, allocations: 90.31 kB / 0.5321 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.3322, allocations: 46.92 kB / 0.5321 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/0.3338, allocations: 1.49 MB / 0.5336 GB, free: 7.609 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.3338, allocations: 36.33 kB / 0.5336 GB, free: 7.566 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.3339, allocations: 0 / 0.5336 GB, free: 7.566 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.0006519/0.3345, allocations: 289 kB / 0.5339 GB, free: 7.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.77e-05/0.3345, allocations: 58.31 kB / 0.534 GB, free: 7.418 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.3347, allocations: 464.2 kB / 0.5344 GB, free: 7.113 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.3347, allocations: 28.11 kB / 0.5344 GB, free: 7.082 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3349, allocations: 430.6 kB / 0.5348 GB, free: 6.715 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.3349, allocations: 74.2 kB / 0.5349 GB, free: 6.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.335, allocations: 173.6 kB / 0.5351 GB, free: 6.574 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.753e-05/0.3351, allocations: 0.5206 MB / 0.5356 GB, free: 6.062 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.859e-05/0.3352, allocations: 78.05 kB / 0.5357 GB, free: 6.051 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.3354, allocations: 0.7267 MB / 0.5364 GB, free: 5.156 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.3358, allocations: 0.8821 MB / 0.5372 GB, free: 4.148 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.3358, allocations: 6.625 kB / 0.5372 GB, free: 4.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007264/0.3365, allocations: 0.6936 MB / 0.5379 GB, free: 3.883 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3365, allocations: 11.38 kB / 0.5379 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.3366, allocations: 17.78 kB / 0.5379 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.3366, allocations: 22.97 kB / 0.538 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.3368, allocations: 192.6 kB / 0.5382 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005472/0.3374, allocations: 0.9284 MB / 0.5391 GB, free: 2.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005673/0.338, allocations: 99.17 kB / 0.5392 GB, free: 2.875 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/0.338, allocations: 59.31 kB / 0.5392 GB, free: 2.867 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.0001425/0.3382, allocations: 213.3 kB / 0.5394 GB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003254/0.3385, allocations: 96.67 kB / 0.5395 GB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.3388, allocations: 201.7 kB / 0.5397 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3389, allocations: 2.938 kB / 0.5397 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.3389, allocations: 0 / 0.5397 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3389, allocations: 5.859 kB / 0.5397 GB, free: 2.512 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.3394, allocations: 0.541 MB / 0.5402 GB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3394, allocations: 6.172 kB / 0.5402 GB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-05/0.3395, allocations: 39.7 kB / 0.5403 GB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.679e-06/0.3395, allocations: 6.594 kB / 0.5403 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3395, allocations: 2.562 kB / 0.5403 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001715/0.3397, allocations: 0.8997 MB / 0.5412 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3397, allocations: 2.844 kB / 0.5412 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.3399, allocations: 322.3 kB / 0.5415 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.3399, allocations: 34.8 kB / 0.5415 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.34, allocations: 10.09 kB / 0.5415 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3401, allocations: 13.55 kB / 0.5415 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.3401, allocations: 18.64 kB / 0.5415 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.3401, allocations: 10.62 kB / 0.5416 GB, free: 0.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001178/0.3402, allocations: 251.6 kB / 0.5418 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3402, allocations: 0 / 0.5418 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001021/0.3413, allocations: 351.2 kB / 0.5421 GB, free: 0.4922 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.001178/0.3424, allocations: 0.6522 MB / 0.5428 GB, free: 152 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000461/0.3429, allocations: 326.9 kB / 0.5431 GB, free: 0 / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3429, allocations: 0 / 0.5431 GB, free: 0 / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.898e-05/0.343, allocations: 53.78 kB / 0.5431 GB, free: 15.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.3433, allocations: 75.34 kB / 0.5432 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006733/0.35, allocations: 6.967 MB / 0.55 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.863e-05/0.3501, allocations: 105.3 kB / 0.5501 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003774/0.3505, allocations: 236.8 kB / 0.5503 GB, free: 9.805 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.3506, allocations: 48.48 kB / 0.5504 GB, free: 9.758 MB / 426.7 MB Notification: Performance of SimCode: time 1.853e-06/0.3506, allocations: 0 / 0.5504 GB, free: 9.758 MB / 426.7 MB Notification: Performance of Templates: time 0.01384/0.3644, allocations: 11.01 MB / 0.5611 GB, free: 14.82 MB / 442.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: 3.8639505370520055]