Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.001581, allocations: 185.3 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 86.91 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5173/0.5173, allocations: 43.56 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004561/0.0004562, allocations: 8 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1234, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.748/2.871, allocations: 0.8672 GB / 1.346 GB, free: 73.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/2.871, allocations: 74.47 kB / 1.346 GB, free: 73.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7475/3.619, allocations: 110.7 MB / 1.454 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.014e-06/3.619, allocations: 0 / 1.454 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.822e-05/3.619, allocations: 6.156 kB / 1.454 GB, free: 133.9 MB / 0.4948 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.00399/3.623, allocations: 0.9338 MB / 1.455 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/3.623, allocations: 12.44 kB / 1.455 GB, free: 133.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01671/3.64, allocations: 1.265 MB / 1.456 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/3.641, allocations: 382.4 kB / 1.457 GB, free: 133 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/3.641, allocations: 136.2 kB / 1.457 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002751/3.641, allocations: 31.41 kB / 1.457 GB, free: 132.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004314/3.646, allocations: 1.415 MB / 1.458 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/3.646, allocations: 1.5 kB / 1.458 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002744/3.646, allocations: 23.56 kB / 1.458 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.562e-05/3.646, allocations: 48.73 kB / 1.458 GB, free: 132.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007492/3.654, allocations: 2.135 MB / 1.46 GB, free: 132.8 MB / 0.4948 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.005529/3.659, allocations: 3.02 MB / 1.463 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003239/3.66, allocations: 108 kB / 1.463 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002137/3.662, allocations: 1.164 MB / 1.464 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/3.662, allocations: 35.94 kB / 1.465 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 3.657e-06/3.662, allocations: 3.984 kB / 1.465 GB, free: 129.7 MB / 0.4948 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=18): time 0.002244/3.664, allocations: 398.4 kB / 1.465 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/3.664, allocations: 56.84 kB / 1.465 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/3.665, allocations: 308 kB / 1.465 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/3.665, allocations: 30.7 kB / 1.465 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/3.665, allocations: 411.1 kB / 1.466 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.198e-05/3.665, allocations: 72.64 kB / 1.466 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/3.665, allocations: 15.97 kB / 1.466 GB, free: 129.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/3.665, allocations: 347.2 kB / 1.466 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/3.666, allocations: 112.1 kB / 1.466 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/3.666, allocations: 0.5356 MB / 1.467 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/3.667, allocations: 212.5 kB / 1.467 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/3.667, allocations: 8.125 kB / 1.467 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001733/3.669, allocations: 0.6451 MB / 1.468 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/3.669, allocations: 11.44 kB / 1.468 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/3.669, allocations: 15 kB / 1.468 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.163e-05/3.669, allocations: 23.12 kB / 1.468 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009981/3.67, allocations: 176.9 kB / 1.468 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004208/3.67, allocations: 0.6171 MB / 1.468 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008297/3.671, allocations: 92.28 kB / 1.468 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/3.671, allocations: 63.64 kB / 1.469 GB, free: 127.5 MB / 0.4948 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.0003297/3.671, allocations: 207.5 kB / 1.469 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/3.672, allocations: 29 kB / 1.469 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008335/3.672, allocations: 251.1 kB / 1.469 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/3.673, allocations: 2.281 kB / 1.469 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/3.673, allocations: 3.953 kB / 1.469 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/3.673, allocations: 0 / 1.469 GB, free: 127.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/3.674, allocations: 0.7928 MB / 1.47 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/3.674, allocations: 2.062 kB / 1.47 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/3.674, allocations: 32.81 kB / 1.47 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/3.674, allocations: 2.188 kB / 1.47 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/3.675, allocations: 11.86 kB / 1.47 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002824/3.675, allocations: 0.5886 MB / 1.47 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/3.675, allocations: 1.094 kB / 1.47 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/3.675, allocations: 354.8 kB / 1.471 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/3.676, allocations: 126.4 kB / 1.471 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.548e-05/3.676, allocations: 4.031 kB / 1.471 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004015/3.676, allocations: 12.42 kB / 1.471 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/3.676, allocations: 15.84 kB / 1.471 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/3.676, allocations: 19.53 kB / 1.471 GB, free: 125.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003537/3.677, allocations: 214.5 kB / 1.471 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.192e-06/3.677, allocations: 0 / 1.471 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002671/3.679, allocations: 462.6 kB / 1.472 GB, free: 125.5 MB / 0.4948 GB 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 (15): * Single equations (assignments): 14 * 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.004364/3.684, allocations: 1.046 MB / 1.473 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001155/3.685, allocations: 325.7 kB / 1.473 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/3.685, allocations: 1.219 kB / 1.473 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/3.685, allocations: 61.92 kB / 1.473 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008138/3.686, allocations: 56.77 kB / 1.473 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1816/3.868, allocations: 52.62 MB / 1.524 GB, free: 92.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/3.868, allocations: 0.7884 MB / 1.525 GB, free: 91.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/3.868, allocations: 63.42 kB / 1.525 GB, free: 91.73 MB / 0.4948 GB Notification: Performance of SimCode: time 1.163e-06/3.868, allocations: 7.938 kB / 1.525 GB, free: 91.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.0276/3.896, allocations: 13.71 MB / 1.539 GB, free: 78.02 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","../files/ModelicaTest_3.2.3_cpp_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.MM,medium.R,medium.T,medium.T_degC,medium.X[1],medium.X[2],medium.X[3],medium.X[4],medium.X[5],medium.X[6],medium.Xi[1],medium.Xi[2],medium.Xi[3],medium.Xi[4],medium.Xi[5],medium.Xi[6],medium.d,medium.h,medium.p,medium.p_bar,medium.preferredMediumStates,medium.standardOrderComponents,medium.state.T,medium.state.X[1],medium.state.X[2],medium.state.X[3],medium.state.X[4],medium.state.X[5],medium.state.X[6],medium.state.p,medium.u,p,s,s_is,state.T,state.X[1],state.X[2],state.X[3],state.X[4],state.X[5],state.X[6],state.p,state2.T,state2.X[1],state2.X[2],state2.X[3],state2.X[4],state2.X[5],state2.X[6],state2.p,state3.T,state3.X[1],state3.X[2],state3.X[3],state3.X[4],state3.X[5],state3.X[6],state3.p,state4.T,state4.X[1],state4.X[2],state4.X[3],state4.X[4],state4.X[5],state4.X[6],state4.p,state5.T,state5.X[1],state5.X[2],state5.X[3],state5.X[4],state5.X[5],state5.X[6],state5.p,state_h_is.T,state_h_is.X[1],state_h_is.X[2],state_h_is.X[3],state_h_is.X[4],state_h_is.X[5],state_h_is.X[6],state_h_is.p,time,u