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.001009/0.001009, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001063/0.001063, allocations: 168.7 kB / 25.61 MB, free: 8.582 MB / 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.9553/0.9553, allocations: 177.1 MB / 206 MB, free: 4.473 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.1307/0.1307, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.603e-06/1.603e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.365e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3004/0.3004, allocations: 143.6 MB / 0.5087 GB, free: 14.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00554/0.3059, allocations: 6.869 MB / 0.5154 GB, free: 14.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.3061, allocations: 7.938 kB / 0.5154 GB, free: 14.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.3064, allocations: 72.12 kB / 0.5154 GB, free: 14.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004575/0.311, allocations: 2.315 MB / 0.5177 GB, free: 13.97 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.3113, allocations: 145.1 kB / 0.5178 GB, free: 13.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005957/0.3119, allocations: 0.5303 MB / 0.5184 GB, free: 13.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.3119, allocations: 14.25 kB / 0.5184 GB, free: 13.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004301/0.3123, allocations: 321 kB / 0.5187 GB, free: 13.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006029/0.3129, allocations: 466.1 kB / 0.5191 GB, free: 13.92 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.313, allocations: 17.91 kB / 0.5191 GB, free: 13.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/0.3165, allocations: 2.34 MB / 0.5214 GB, free: 13.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.3167, allocations: 181 kB / 0.5216 GB, free: 13.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.3168, allocations: 156.6 kB / 0.5218 GB, free: 13.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.3194, allocations: 1.949 MB / 0.5237 GB, free: 13.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3194, allocations: 0 / 0.5237 GB, free: 13.58 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3194, allocations: 0 / 0.5237 GB, free: 13.58 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.3194, allocations: 3.25 kB / 0.5237 GB, free: 13.58 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.001782/0.3212, allocations: 1.019 MB / 0.5247 GB, free: 13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.3212, allocations: 14.8 kB / 0.5247 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.3232, allocations: 0.5907 MB / 0.5252 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004078/0.3236, allocations: 301.9 kB / 0.5255 GB, free: 12.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-05/0.3236, allocations: 235.7 kB / 0.5258 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-05/0.3237, allocations: 38.09 kB / 0.5258 GB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006964/0.3244, allocations: 1.011 MB / 0.5268 GB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3244, allocations: 3.938 kB / 0.5268 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.942e-05/0.3245, allocations: 19.78 kB / 0.5268 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.794e-05/0.3246, allocations: 53.39 kB / 0.5269 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.3258, allocations: 1.177 MB / 0.528 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.3275, allocations: 2.203 MB / 0.5302 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.3277, allocations: 88 kB / 0.5302 GB, free: 10.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.3277, allocations: 42.31 kB / 0.5303 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001601/0.3293, allocations: 1.461 MB / 0.5317 GB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.3293, allocations: 35.39 kB / 0.5317 GB, free: 9.547 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.3293, allocations: 0 / 0.5317 GB, free: 9.547 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.0005785/0.3299, allocations: 277.3 kB / 0.532 GB, free: 9.441 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.806e-05/0.3299, allocations: 54.53 kB / 0.5321 GB, free: 9.379 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.3301, allocations: 471 kB / 0.5325 GB, free: 9.105 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.3301, allocations: 29.33 kB / 0.5325 GB, free: 9.074 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.3302, allocations: 427.8 kB / 0.5329 GB, free: 8.727 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.3302, allocations: 73.3 kB / 0.533 GB, free: 8.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.3304, allocations: 174.4 kB / 0.5332 GB, free: 8.629 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.01e-05/0.3304, allocations: 0.5275 MB / 0.5337 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/0.3305, allocations: 62.09 kB / 0.5338 GB, free: 8.109 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.3307, allocations: 0.7244 MB / 0.5345 GB, free: 7.219 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00039/0.3311, allocations: 0.8615 MB / 0.5353 GB, free: 6.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3311, allocations: 5.719 kB / 0.5353 GB, free: 6.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007126/0.3318, allocations: 0.6585 MB / 0.5359 GB, free: 6.023 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3318, allocations: 14.03 kB / 0.536 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.3318, allocations: 18.45 kB / 0.536 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.3319, allocations: 21.91 kB / 0.536 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.3321, allocations: 185.5 kB / 0.5362 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001823/0.3323, allocations: 0.9347 MB / 0.5371 GB, free: 5.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.3325, allocations: 94.39 kB / 0.5372 GB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.3326, allocations: 55.03 kB / 0.5372 GB, free: 5.004 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 9.203e-05/0.3327, allocations: 212.2 kB / 0.5374 GB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.3329, allocations: 100.4 kB / 0.5375 GB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.3331, allocations: 198.6 kB / 0.5377 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3331, allocations: 0 / 0.5377 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.3331, allocations: 0 / 0.5377 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3331, allocations: 0 / 0.5377 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.3335, allocations: 493.9 kB / 0.5382 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.3335, allocations: 2.781 kB / 0.5382 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.45e-05/0.3335, allocations: 32.23 kB / 0.5382 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3335, allocations: 2.75 kB / 0.5382 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.3335, allocations: 6.125 kB / 0.5382 GB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001829/0.3337, allocations: 0.9026 MB / 0.5391 GB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3337, allocations: 6.688 kB / 0.5391 GB, free: 3.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.3339, allocations: 315.3 kB / 0.5394 GB, free: 3.059 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.334, allocations: 38.42 kB / 0.5395 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.334, allocations: 10.19 kB / 0.5395 GB, free: 3.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.3341, allocations: 14.23 kB / 0.5395 GB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.3341, allocations: 9.297 kB / 0.5395 GB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.3341, allocations: 8.531 kB / 0.5395 GB, free: 3.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.73e-05/0.3342, allocations: 243.7 kB / 0.5397 GB, free: 2.871 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3342, allocations: 2 kB / 0.5397 GB, free: 2.871 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001057/0.3353, allocations: 353.6 kB / 0.5401 GB, free: 2.812 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.0009881/0.3363, allocations: 0.6586 MB / 0.5407 GB, free: 2.496 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003321/0.3366, allocations: 310.4 kB / 0.541 GB, free: 2.383 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3366, allocations: 0 / 0.541 GB, free: 2.383 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.411e-05/0.3367, allocations: 55 kB / 0.5411 GB, free: 2.355 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.337, allocations: 70.28 kB / 0.5411 GB, free: 2.336 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006278/0.3433, allocations: 6.978 MB / 0.5479 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.38e-05/0.3434, allocations: 108 kB / 0.548 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003423/0.3437, allocations: 178.4 kB / 0.5482 GB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.3439, allocations: 178.1 kB / 0.5484 GB, free: 15.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.873e-06/0.3439, allocations: 0 / 0.5484 GB, free: 15.48 MB / 426.7 MB Notification: Performance of Templates: time 0.01434/0.3582, allocations: 11.17 MB / 0.5593 GB, free: 8.547 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: 3.946165931876749]