Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001014/0.001014, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001467/0.001467, allocations: 165.7 kB / 24.84 MB, free: 8.711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.012/1.012, allocations: 158.6 MB / 186.7 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1229/0.1229, allocations: 32.37 MB / 271.5 MB, free: 14.41 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.421e-05, allocations: 2.312 kB / 348.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.318/0.318, allocations: 142 MB / 490.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005286/0.3233, allocations: 6.269 MB / 497.2 MB, free: 8.793 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.3235, allocations: 6.531 kB / 497.2 MB, free: 8.789 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004251/0.3239, allocations: 78.05 kB / 497.2 MB, free: 8.734 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00542/0.3293, allocations: 2.568 MB / 499.8 MB, free: 7.539 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.3296, allocations: 152.6 kB / 499.9 MB, free: 7.504 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006301/0.3302, allocations: 0.52 MB / 0.4887 GB, free: 7.312 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.483e-05/0.3302, allocations: 9.875 kB / 0.4887 GB, free: 7.312 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004055/0.3307, allocations: 303.4 kB / 0.489 GB, free: 7.207 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006675/0.3313, allocations: 464.5 kB / 0.4895 GB, free: 7.059 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.3314, allocations: 13.81 kB / 0.4895 GB, free: 7.059 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004309/0.3357, allocations: 2.592 MB / 0.492 GB, free: 6.203 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.3358, allocations: 177.2 kB / 0.4922 GB, free: 6.141 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.336, allocations: 167.8 kB / 0.4924 GB, free: 6.098 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004268/0.3402, allocations: 2.131 MB / 0.4944 GB, free: 5.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.3402, allocations: 0 / 0.4944 GB, free: 5.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3402, allocations: 0 / 0.4944 GB, free: 5.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3403, allocations: 0 / 0.4944 GB, free: 5.27 MB / 362.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.002077/0.3423, allocations: 0.9791 MB / 0.4954 GB, free: 4.508 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3424, allocations: 10.84 kB / 0.4954 GB, free: 4.508 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/0.3449, allocations: 0.5681 MB / 0.496 GB, free: 4.238 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.3454, allocations: 299.8 kB / 0.4962 GB, free: 3.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.973e-05/0.3455, allocations: 242.8 kB / 0.4965 GB, free: 3.645 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.3456, allocations: 36.38 kB / 0.4965 GB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008838/0.3465, allocations: 1.001 MB / 0.4975 GB, free: 2.492 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.3465, allocations: 0 / 0.4975 GB, free: 2.492 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.926e-05/0.3466, allocations: 15.98 kB / 0.4975 GB, free: 2.477 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-05/0.3466, allocations: 56.97 kB / 0.4976 GB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.3482, allocations: 1.173 MB / 0.4987 GB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.3506, allocations: 2.204 MB / 0.5009 GB, free: 14.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.3508, allocations: 104.5 kB / 0.501 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.905e-05/0.3509, allocations: 47.83 kB / 0.501 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002415/0.3533, allocations: 1.401 MB / 0.5024 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.3534, allocations: 45.52 kB / 0.5024 GB, free: 13.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.603e-06/0.3534, allocations: 0 / 0.5024 GB, free: 13.33 MB / 378.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=22): time 0.0008665/0.3542, allocations: 329.6 kB / 0.5027 GB, free: 13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.3543, allocations: 55.41 kB / 0.5028 GB, free: 12.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.3546, allocations: 433.5 kB / 0.5032 GB, free: 12.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.3546, allocations: 33.7 kB / 0.5032 GB, free: 12.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.3548, allocations: 413.6 kB / 0.5036 GB, free: 12.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.3548, allocations: 91.31 kB / 0.5037 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.355, allocations: 168.1 kB / 0.5039 GB, free: 11.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.3552, allocations: 0.5351 MB / 0.5044 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.953e-05/0.3552, allocations: 61.94 kB / 0.5044 GB, free: 11.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.3557, allocations: 0.7166 MB / 0.5051 GB, free: 10.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006752/0.3564, allocations: 0.8737 MB / 0.506 GB, free: 8.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.3564, allocations: 4 kB / 0.506 GB, free: 8.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001004/0.3574, allocations: 0.6491 MB / 0.5066 GB, free: 8.316 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.3574, allocations: 13 kB / 0.5067 GB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.3574, allocations: 16 kB / 0.5067 GB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.3574, allocations: 24 kB / 0.5067 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.3578, allocations: 187.7 kB / 0.5069 GB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003735/0.3582, allocations: 0.9205 MB / 0.5078 GB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/0.3586, allocations: 95.3 kB / 0.5079 GB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/0.3586, allocations: 55.98 kB / 0.5079 GB, free: 6.984 MB / 378.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.000152/0.3588, allocations: 216.1 kB / 0.5081 GB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002891/0.359, allocations: 95.75 kB / 0.5082 GB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004005/0.3594, allocations: 276.7 kB / 0.5085 GB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3595, allocations: 3.938 kB / 0.5085 GB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3595, allocations: 4 kB / 0.5085 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3595, allocations: 3.875 kB / 0.5085 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.3601, allocations: 0.5983 MB / 0.5091 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3601, allocations: 4 kB / 0.5091 GB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.3603, allocations: 47.91 kB / 0.5091 GB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.3603, allocations: 8.031 kB / 0.5091 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3603, allocations: 4 kB / 0.5091 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003048/0.3606, allocations: 0.9014 MB / 0.51 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.3606, allocations: 7.938 kB / 0.51 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.3609, allocations: 372.6 kB / 0.5104 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.3609, allocations: 43.72 kB / 0.5104 GB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.361, allocations: 15.89 kB / 0.5104 GB, free: 4.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.3612, allocations: 11.98 kB / 0.5104 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.3612, allocations: 19.92 kB / 0.5105 GB, free: 4.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.3612, allocations: 15.98 kB / 0.5105 GB, free: 4.176 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001314/0.3613, allocations: 231 kB / 0.5107 GB, free: 3.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3613, allocations: 0 / 0.5107 GB, free: 3.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001259/0.3626, allocations: 399.1 kB / 0.5111 GB, free: 3.559 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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.001654/0.3643, allocations: 0.7928 MB / 0.5118 GB, free: 2.766 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004456/0.3647, allocations: 309.8 kB / 0.5121 GB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3647, allocations: 0 / 0.5121 GB, free: 2.465 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.3648, allocations: 78.05 kB / 0.5122 GB, free: 2.387 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.3653, allocations: 92.44 kB / 0.5123 GB, free: 2.305 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/0.3721, allocations: 5.517 MB / 0.5177 GB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.34e-05/0.3722, allocations: 97.3 kB / 0.5178 GB, free: 12.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003152/0.3725, allocations: 107.4 kB / 0.5179 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.3727, allocations: 182.1 kB / 0.5181 GB, free: 12.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/0.3727, allocations: 4 kB / 0.5181 GB, free: 12.31 MB / 394.7 MB Notification: Performance of Templates: time 0.01854/0.3913, allocations: 13.46 MB / 0.5312 GB, free: 14.9 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.217588844709098]