Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001032/0.001032, allocations: 75.77 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.001011/0.001011, 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 0.9557/0.9557, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2587/0.2587, allocations: 34.26 MB / 295.7 MB, free: 0.7539 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.645e-05, allocations: 5.547 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3014/0.3014, allocations: 146.3 MB / 0.5121 GB, free: 17.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004517/0.3059, allocations: 6.948 MB / 0.5189 GB, free: 13.06 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.966e-05/0.306, allocations: 3 kB / 0.5189 GB, free: 13.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003494/0.3063, allocations: 71.98 kB / 0.5189 GB, free: 13.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0033/0.3096, allocations: 2.317 MB / 0.5212 GB, free: 11.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001986/0.3098, allocations: 150.4 kB / 0.5214 GB, free: 11.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.3103, allocations: 0.5262 MB / 0.5219 GB, free: 11.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.3103, allocations: 12.97 kB / 0.5219 GB, free: 11.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003298/0.3106, allocations: 321 kB / 0.5222 GB, free: 11.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005034/0.3112, allocations: 470.4 kB / 0.5226 GB, free: 11.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.3112, allocations: 14.69 kB / 0.5226 GB, free: 11.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.3137, allocations: 2.335 MB / 0.5249 GB, free: 10.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.3138, allocations: 178.2 kB / 0.5251 GB, free: 10.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.3139, allocations: 159.2 kB / 0.5252 GB, free: 10.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.3161, allocations: 1.948 MB / 0.5272 GB, free: 9.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3161, allocations: 0 / 0.5272 GB, free: 9.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.3161, allocations: 0 / 0.5272 GB, free: 9.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.3161, allocations: 0 / 0.5272 GB, free: 9.832 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.001676/0.3178, allocations: 1.023 MB / 0.5282 GB, free: 9.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3178, allocations: 8.906 kB / 0.5282 GB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/0.3198, allocations: 0.6642 MB / 0.5288 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003732/0.3202, allocations: 309.8 kB / 0.5291 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.3203, allocations: 239.6 kB / 0.5293 GB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.989e-05/0.3204, allocations: 37.31 kB / 0.5294 GB, free: 8.566 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009123/0.3213, allocations: 1.067 MB / 0.5304 GB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.3213, allocations: 3.938 kB / 0.5304 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.671e-05/0.3214, allocations: 21.23 kB / 0.5304 GB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/0.3214, allocations: 54.59 kB / 0.5305 GB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.3229, allocations: 1.323 MB / 0.5318 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.3248, allocations: 2.249 MB / 0.534 GB, free: 6.125 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.325, allocations: 99.27 kB / 0.5341 GB, free: 6.074 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.922e-05/0.3251, allocations: 43.67 kB / 0.5341 GB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/0.3266, allocations: 1.484 MB / 0.5356 GB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3266, allocations: 44.67 kB / 0.5356 GB, free: 5.449 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.3266, allocations: 0 / 0.5356 GB, free: 5.449 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.0006623/0.3273, allocations: 288.5 kB / 0.5359 GB, free: 5.363 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.3273, allocations: 54.09 kB / 0.5359 GB, free: 5.301 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.3276, allocations: 473.1 kB / 0.5364 GB, free: 4.992 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.3276, allocations: 25.7 kB / 0.5364 GB, free: 4.961 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.3277, allocations: 428.1 kB / 0.5368 GB, free: 4.594 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.3277, allocations: 70.33 kB / 0.5369 GB, free: 4.543 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.3278, allocations: 178.4 kB / 0.5371 GB, free: 4.453 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.462e-05/0.3279, allocations: 0.5204 MB / 0.5376 GB, free: 3.941 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.328, allocations: 78.72 kB / 0.5376 GB, free: 3.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.3283, allocations: 0.7278 MB / 0.5383 GB, free: 3.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/0.3287, allocations: 0.8855 MB / 0.5392 GB, free: 1.988 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.3287, allocations: 10.78 kB / 0.5392 GB, free: 1.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0007778/0.3295, allocations: 0.6938 MB / 0.5399 GB, free: 1.641 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3295, allocations: 11.88 kB / 0.5399 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3295, allocations: 17.06 kB / 0.5399 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.3295, allocations: 20.16 kB / 0.5399 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.3298, allocations: 187.1 kB / 0.5401 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002006/0.33, allocations: 0.9265 MB / 0.541 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.3303, allocations: 99.39 kB / 0.5411 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.3303, allocations: 63.41 kB / 0.5412 GB, free: 0.5977 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 8.834e-05/0.3304, allocations: 209.5 kB / 0.5414 GB, free: 408 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.3306, allocations: 101 kB / 0.5415 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.3308, allocations: 208.2 kB / 0.5417 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3308, allocations: 3.062 kB / 0.5417 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3308, allocations: 0 / 0.5417 GB, free: 200 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3308, allocations: 3.938 kB / 0.5417 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.3313, allocations: 0.5352 MB / 0.5422 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3313, allocations: 2.656 kB / 0.5422 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.3314, allocations: 30.7 kB / 0.5422 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.3314, allocations: 10.94 kB / 0.5422 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.3314, allocations: 7.5 kB / 0.5423 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003215/0.3317, allocations: 0.9021 MB / 0.5431 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3317, allocations: 0 / 0.5431 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.3319, allocations: 319.2 kB / 0.5434 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.332, allocations: 42.08 kB / 0.5435 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.332, allocations: 6.703 kB / 0.5435 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.3322, allocations: 10.25 kB / 0.5435 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.3322, allocations: 17.64 kB / 0.5435 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.3322, allocations: 16.64 kB / 0.5435 GB, free: 14.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001457/0.3324, allocations: 251.8 kB / 0.5438 GB, free: 14.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3324, allocations: 0 / 0.5438 GB, free: 14.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008612/0.3332, allocations: 347.6 kB / 0.5441 GB, free: 14.17 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.000969/0.3342, allocations: 0.6554 MB / 0.5447 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003493/0.3345, allocations: 332.9 kB / 0.5451 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3345, allocations: 2.906 kB / 0.5451 GB, free: 13.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.732e-05/0.3346, allocations: 49.42 kB / 0.5451 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.3349, allocations: 80.14 kB / 0.5452 GB, free: 13.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00707/0.342, allocations: 6.96 MB / 0.552 GB, free: 6.973 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.874e-05/0.342, allocations: 105.3 kB / 0.5521 GB, free: 6.848 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003298/0.3424, allocations: 233.8 kB / 0.5523 GB, free: 6.633 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.3424, allocations: 48.48 kB / 0.5524 GB, free: 6.586 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.3424, allocations: 0 / 0.5524 GB, free: 6.586 MB / 426.7 MB Notification: Performance of Templates: time 0.01307/0.3555, allocations: 10.99 MB / 0.5631 GB, free: 11.66 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.890073792077601]