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.001497/0.001497, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001655/0.001655, allocations: 169 kB / 24.24 MB, free: 312 kB / 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 0.8859/0.8859, allocations: 158.6 MB / 186 MB, free: 2.914 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.1248/0.1248, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.873e-06/1.873e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.028e-05, allocations: 6.312 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3027/0.3027, allocations: 144.4 MB / 492.1 MB, free: 9.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0049/0.3076, allocations: 6.352 MB / 498.5 MB, free: 7.875 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.3078, allocations: 10.66 kB / 498.5 MB, free: 7.867 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.3082, allocations: 74.23 kB / 498.5 MB, free: 7.812 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.313, allocations: 2.562 MB / 0.4894 GB, free: 6.289 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.3132, allocations: 146.8 kB / 0.4895 GB, free: 6.223 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005533/0.3138, allocations: 0.5159 MB / 0.49 GB, free: 6.008 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.36e-05/0.3138, allocations: 17.36 kB / 0.49 GB, free: 6.004 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004377/0.3143, allocations: 307.9 kB / 0.4903 GB, free: 5.879 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006618/0.3149, allocations: 459.7 kB / 0.4907 GB, free: 5.699 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.315, allocations: 10.97 kB / 0.4908 GB, free: 5.699 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003762/0.3187, allocations: 2.589 MB / 0.4933 GB, free: 4.609 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.3189, allocations: 183.2 kB / 0.4935 GB, free: 4.543 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.3191, allocations: 162.1 kB / 0.4936 GB, free: 4.504 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.3224, allocations: 2.141 MB / 0.4957 GB, free: 3.492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3224, allocations: 0 / 0.4957 GB, free: 3.492 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3224, allocations: 0 / 0.4957 GB, free: 3.492 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.3224, allocations: 0 / 0.4957 GB, free: 3.492 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.001858/0.3243, allocations: 0.9674 MB / 0.4966 GB, free: 2.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3243, allocations: 8.719 kB / 0.4967 GB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.3265, allocations: 0.643 MB / 0.4973 GB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.3269, allocations: 318 kB / 0.4976 GB, free: 2.184 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.698e-05/0.327, allocations: 229.2 kB / 0.4978 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.05e-05/0.3271, allocations: 34.06 kB / 0.4978 GB, free: 1.918 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007702/0.3279, allocations: 1.073 MB / 0.4989 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3279, allocations: 0 / 0.4989 GB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.328e-05/0.3279, allocations: 16 kB / 0.4989 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.624e-05/0.328, allocations: 56.95 kB / 0.499 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.3294, allocations: 1.313 MB / 0.5002 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002214/0.3316, allocations: 2.259 MB / 0.5024 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.3318, allocations: 119.1 kB / 0.5026 GB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.937e-05/0.3319, allocations: 54.97 kB / 0.5026 GB, free: 13.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001864/0.3338, allocations: 1.421 MB / 0.504 GB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.3338, allocations: 49.27 kB / 0.504 GB, free: 11.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.893e-06/0.3338, allocations: 0 / 0.504 GB, free: 11.56 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.0007998/0.3346, allocations: 353.7 kB / 0.5044 GB, free: 11.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.3346, allocations: 51.41 kB / 0.5044 GB, free: 11.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.3349, allocations: 441.7 kB / 0.5049 GB, free: 10.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3349, allocations: 29.7 kB / 0.5049 GB, free: 10.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.3351, allocations: 405.7 kB / 0.5053 GB, free: 10.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.3351, allocations: 91.31 kB / 0.5054 GB, free: 10.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.3353, allocations: 168.2 kB / 0.5055 GB, free: 10 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004027/0.3357, allocations: 0.5235 MB / 0.506 GB, free: 9.465 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3358, allocations: 85.88 kB / 0.5061 GB, free: 9.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003557/0.3361, allocations: 0.7285 MB / 0.5068 GB, free: 8.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005678/0.3367, allocations: 0.8815 MB / 0.5077 GB, free: 7.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.3367, allocations: 4 kB / 0.5077 GB, free: 7.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0008283/0.3375, allocations: 0.696 MB / 0.5084 GB, free: 6.461 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.3376, allocations: 15.44 kB / 0.5084 GB, free: 6.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.3376, allocations: 16 kB / 0.5084 GB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.3376, allocations: 20 kB / 0.5084 GB, free: 6.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.3379, allocations: 187.7 kB / 0.5086 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003356/0.3382, allocations: 0.9321 MB / 0.5095 GB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.3385, allocations: 95.3 kB / 0.5096 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.3385, allocations: 55.98 kB / 0.5096 GB, free: 5.121 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.0001428/0.3387, allocations: 216.2 kB / 0.5099 GB, free: 4.898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.3389, allocations: 103.7 kB / 0.51 GB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.3392, allocations: 271.7 kB / 0.5102 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3392, allocations: 4 kB / 0.5102 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3392, allocations: 3.984 kB / 0.5102 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3392, allocations: 0 / 0.5102 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006718/0.3399, allocations: 0.664 MB / 0.5109 GB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3399, allocations: 4 kB / 0.5109 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.109e-05/0.34, allocations: 47.91 kB / 0.5109 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.34, allocations: 4 kB / 0.5109 GB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.34, allocations: 4 kB / 0.5109 GB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002675/0.3403, allocations: 0.9052 MB / 0.5118 GB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3403, allocations: 7.625 kB / 0.5118 GB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.3406, allocations: 376.7 kB / 0.5122 GB, free: 2.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.803e-05/0.3406, allocations: 39.78 kB / 0.5122 GB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.3407, allocations: 11.95 kB / 0.5122 GB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.3408, allocations: 15.92 kB / 0.5122 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.3408, allocations: 23.95 kB / 0.5123 GB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.3408, allocations: 19.98 kB / 0.5123 GB, free: 2.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003918/0.3412, allocations: 231 kB / 0.5125 GB, free: 1.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3412, allocations: 4.062 kB / 0.5125 GB, free: 1.992 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009917/0.3422, allocations: 403 kB / 0.5129 GB, free: 1.598 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.001528/0.3438, allocations: 0.7844 MB / 0.5137 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004454/0.3442, allocations: 318.6 kB / 0.514 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.3442, allocations: 8 kB / 0.514 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.957e-05/0.3443, allocations: 77.23 kB / 0.514 GB, free: 428 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004047/0.3447, allocations: 96.27 kB / 0.5141 GB, free: 340 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005411/0.3501, allocations: 5.439 MB / 0.5194 GB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.3504, allocations: 101.3 kB / 0.5195 GB, free: 10.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003289/0.3508, allocations: 151.3 kB / 0.5197 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.848e-05/0.3508, allocations: 48.48 kB / 0.5197 GB, free: 10.51 MB / 394.7 MB Notification: Performance of SimCode: time 1.913e-06/0.3508, allocations: 0 / 0.5197 GB, free: 10.51 MB / 394.7 MB Notification: Performance of Templates: time 0.01257/0.3634, allocations: 10.95 MB / 0.5304 GB, free: 15.61 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: 3.9156626518815756]