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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.1.|dddX.2.|dddX.3.|dddX.4.|dddX.5.|dddX.6.|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=5000,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.1.|dddX.2.|dddX.3.|dddX.4.|dddX.5.|dddX.6.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 177 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001005, allocations: 89.48 kB / 292.1 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3562/0.3562, allocations: 44.22 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 8 kB / 459.9 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4309, allocations: 61.9 MB / 0.5096 GB, free: 38.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.869/2.3, allocations: 0.8328 GB / 1.342 GB, free: 175.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/2.3, allocations: 75.16 kB / 1.342 GB, free: 175.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.198/2.498, allocations: 102.6 MB / 1.443 GB, free: 72.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.874e-06/2.498, allocations: 0 / 1.443 GB, free: 72.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.548e-05/2.498, allocations: 4 kB / 1.443 GB, free: 72.81 MB / 0.5261 GB 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.002694/2.501, allocations: 1.01 MB / 1.444 GB, free: 71.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/2.501, allocations: 12.03 kB / 1.444 GB, free: 71.74 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009061/2.51, allocations: 1.31 MB / 1.445 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009496/2.511, allocations: 386.5 kB / 1.445 GB, free: 70.01 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/2.511, allocations: 131.8 kB / 1.445 GB, free: 69.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/2.511, allocations: 43.92 kB / 1.445 GB, free: 69.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/2.513, allocations: 1.388 MB / 1.447 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/2.513, allocations: 7.938 kB / 1.447 GB, free: 68.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/2.513, allocations: 19.98 kB / 1.447 GB, free: 68.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-05/2.513, allocations: 52.92 kB / 1.447 GB, free: 68.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003443/2.517, allocations: 2.123 MB / 1.449 GB, free: 66.19 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003976/2.521, allocations: 3.168 MB / 1.452 GB, free: 62.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/2.521, allocations: 90.5 kB / 1.452 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001347/2.522, allocations: 1.182 MB / 1.453 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/2.523, allocations: 38.56 kB / 1.453 GB, free: 61.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.836e-06/2.523, allocations: 0 / 1.453 GB, free: 61.21 MB / 0.5261 GB 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=12): time 0.001119/2.524, allocations: 341 kB / 1.454 GB, free: 60.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/2.524, allocations: 55.39 kB / 1.454 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/2.524, allocations: 327.2 kB / 1.454 GB, free: 60.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/2.524, allocations: 29.7 kB / 1.454 GB, free: 60.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/2.524, allocations: 357.2 kB / 1.454 GB, free: 60.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/2.524, allocations: 55.42 kB / 1.454 GB, free: 60.03 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/2.524, allocations: 12 kB / 1.454 GB, free: 60.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.964e-05/2.524, allocations: 342.8 kB / 1.455 GB, free: 59.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/2.524, allocations: 113.9 kB / 1.455 GB, free: 59.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/2.525, allocations: 0.5385 MB / 1.455 GB, free: 58.81 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/2.525, allocations: 217 kB / 1.456 GB, free: 58.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/2.525, allocations: 4 kB / 1.456 GB, free: 58.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007758/2.526, allocations: 0.6538 MB / 1.456 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/2.526, allocations: 13.72 kB / 1.456 GB, free: 57.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/2.526, allocations: 12 kB / 1.456 GB, free: 57.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/2.526, allocations: 24 kB / 1.456 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004281/2.526, allocations: 183.7 kB / 1.457 GB, free: 57.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002739/2.527, allocations: 0.6136 MB / 1.457 GB, free: 57.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/2.527, allocations: 102.9 kB / 1.457 GB, free: 56.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/2.527, allocations: 63.98 kB / 1.457 GB, free: 56.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000166/2.527, allocations: 203.3 kB / 1.457 GB, free: 56.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/2.527, allocations: 27.72 kB / 1.457 GB, free: 56.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/2.528, allocations: 179.1 kB / 1.458 GB, free: 56.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/2.528, allocations: 11.94 kB / 1.458 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/2.528, allocations: 0 / 1.458 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/2.528, allocations: 0 / 1.458 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004341/2.528, allocations: 476 kB / 1.458 GB, free: 55.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/2.528, allocations: 4 kB / 1.458 GB, free: 55.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.811e-05/2.528, allocations: 20 kB / 1.458 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/2.528, allocations: 4 kB / 1.458 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/2.528, allocations: 3.984 kB / 1.458 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001639/2.528, allocations: 0.5938 MB / 1.459 GB, free: 55.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/2.528, allocations: 80 / 1.459 GB, free: 55.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/2.529, allocations: 244.4 kB / 1.459 GB, free: 55.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/2.529, allocations: 132.6 kB / 1.459 GB, free: 54.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/2.529, allocations: 0 / 1.459 GB, free: 54.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/2.529, allocations: 8 kB / 1.459 GB, free: 54.86 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/2.529, allocations: 7.984 kB / 1.459 GB, free: 54.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/2.529, allocations: 8 kB / 1.459 GB, free: 54.85 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000175/2.529, allocations: 231 kB / 1.459 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/2.529, allocations: 4 kB / 1.459 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001495/2.531, allocations: 395.9 kB / 1.46 GB, free: 54.23 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001573/2.532, allocations: 0.9209 MB / 1.461 GB, free: 53.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004411/2.533, allocations: 320.6 kB / 1.461 GB, free: 53.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/2.533, allocations: 0 / 1.461 GB, free: 53.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/2.533, allocations: 31.92 kB / 1.461 GB, free: 52.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/2.533, allocations: 37.92 kB / 1.461 GB, free: 52.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4422/2.975, allocations: 53.68 MB / 1.513 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005582/2.976, allocations: 0.7915 MB / 1.514 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001423/2.977, allocations: 239.8 kB / 1.514 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/2.978, allocations: 52 kB / 1.514 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.674e-06/2.978, allocations: 1.422 kB / 1.514 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.03668/3.014, allocations: 15.97 MB / 1.53 GB, free: 117.3 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) 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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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[1],dddX[2],dddX[3],dddX[4],dddX[5],dddX[6],MM,h2,d2,err_T,err_d,err_u,s_is,err_h_is Variables in the result:MM,Pr,T,a,beta,beta2,cp,cp2,cv,cv2,d,d2,ddTp,dddX[1],dddX[2],dddX[3],dddX[4],dddX[5],dddX[6],ddpT,eps_h_is,err_T,err_d,err_h_is,err_u,eta,f,g,h,h2,h_is,kappa,kappa2,lambda,medium.preferredMediumStates,medium.standardOrderComponents,p,s,s_is,state.T,state.p,time,u