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/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_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_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.001294/0.001294, allocations: 178.2 kB / 16.77 MB, free: 4.805 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.532/1.532, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0008308/0.0008308, allocations: 86.36 kB / 271.3 MB, free: 8.242 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.4039/0.4039, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004513, allocations: 12 kB / 432.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 58.85 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.956/2.088, allocations: 0.8673 GB / 1.347 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/2.088, allocations: 69.47 kB / 1.347 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2214/2.309, allocations: 110.6 MB / 1.455 GB, free: 39.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.064e-06/2.309, allocations: 0 / 1.455 GB, free: 39.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.96e-05/2.309, allocations: 8 kB / 1.455 GB, free: 39.45 MB / 0.5105 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.002739/2.312, allocations: 0.9203 MB / 1.456 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/2.312, allocations: 16.03 kB / 1.456 GB, free: 38.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008265/2.32, allocations: 1.22 MB / 1.457 GB, free: 37.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/2.322, allocations: 379.7 kB / 1.458 GB, free: 36.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/2.322, allocations: 140.3 kB / 1.458 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002718/2.322, allocations: 36.38 kB / 1.458 GB, free: 36.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/2.324, allocations: 1.412 MB / 1.459 GB, free: 35.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/2.324, allocations: 7.938 kB / 1.459 GB, free: 35.19 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001611/2.325, allocations: 16 kB / 1.459 GB, free: 35.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-05/2.325, allocations: 48.97 kB / 1.459 GB, free: 35.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003323/2.328, allocations: 2.139 MB / 1.461 GB, free: 32.99 MB / 0.5105 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.003197/2.331, allocations: 3.025 MB / 1.464 GB, free: 29.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/2.331, allocations: 106.6 kB / 1.465 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.965e-05/2.332, allocations: 45 kB / 1.465 GB, free: 29.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002969/2.335, allocations: 3.298 MB / 1.468 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/2.335, allocations: 30.56 kB / 1.468 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 3.046e-06/2.335, allocations: 0 / 1.468 GB, free: 25.7 MB / 0.5105 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.001168/2.336, allocations: 408.4 kB / 1.468 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/2.336, allocations: 55.41 kB / 1.468 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/2.336, allocations: 344.2 kB / 1.469 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/2.336, allocations: 25.7 kB / 1.469 GB, free: 24.85 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/2.336, allocations: 349.4 kB / 1.469 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/2.336, allocations: 67.19 kB / 1.469 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/2.336, allocations: 8 kB / 1.469 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.586e-05/2.336, allocations: 338.8 kB / 1.469 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/2.337, allocations: 113.9 kB / 1.469 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/2.337, allocations: 0.5538 MB / 1.47 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006646/2.338, allocations: 0.6975 MB / 1.471 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/2.338, allocations: 4 kB / 1.471 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001098/2.339, allocations: 0.648 MB / 1.471 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/2.339, allocations: 12 kB / 1.471 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/2.339, allocations: 16.78 kB / 1.471 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.794e-05/2.339, allocations: 20 kB / 1.471 GB, free: 21.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/2.339, allocations: 183.7 kB / 1.472 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003316/2.34, allocations: 0.6172 MB / 1.472 GB, free: 20.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/2.34, allocations: 87.12 kB / 1.472 GB, free: 20.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/2.34, allocations: 63.98 kB / 1.472 GB, free: 20.63 MB / 0.5105 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.0002196/2.341, allocations: 209.5 kB / 1.472 GB, free: 20.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/2.341, allocations: 31.62 kB / 1.473 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004736/2.341, allocations: 246.2 kB / 1.473 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/2.341, allocations: 0 / 1.473 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/2.341, allocations: 0 / 1.473 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/2.341, allocations: 0 / 1.473 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/2.342, allocations: 0.8098 MB / 1.474 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/2.342, allocations: 3.938 kB / 1.474 GB, free: 19.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/2.343, allocations: 35.92 kB / 1.474 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/2.343, allocations: 4 kB / 1.474 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/2.343, allocations: 12.08 kB / 1.474 GB, free: 19.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000248/2.343, allocations: 0.5936 MB / 1.474 GB, free: 18.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/2.343, allocations: 4.281 kB / 1.474 GB, free: 18.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/2.343, allocations: 268.3 kB / 1.474 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/2.343, allocations: 132.6 kB / 1.475 GB, free: 18.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/2.344, allocations: 4 kB / 1.475 GB, free: 18.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/2.344, allocations: 8 kB / 1.475 GB, free: 18.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/2.344, allocations: 19.92 kB / 1.475 GB, free: 18.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/2.344, allocations: 15.98 kB / 1.475 GB, free: 18.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002125/2.344, allocations: 219 kB / 1.475 GB, free: 17.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/2.344, allocations: 0 / 1.475 GB, free: 17.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001925/2.346, allocations: 463.4 kB / 1.475 GB, free: 17.37 MB / 0.5105 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.002937/2.349, allocations: 1.039 MB / 1.476 GB, free: 16.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006476/2.35, allocations: 324.6 kB / 1.477 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/2.35, allocations: 0 / 1.477 GB, free: 16.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/2.35, allocations: 59.91 kB / 1.477 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/2.35, allocations: 65.92 kB / 1.477 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3247/2.675, allocations: 45.99 MB / 1.522 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/2.676, allocations: 0.7891 MB / 1.522 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008685/2.676, allocations: 173.5 kB / 1.523 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/2.677, allocations: 46.59 kB / 1.523 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.984e-06/2.677, allocations: 0 / 1.523 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.03119/2.708, allocations: 17.99 MB / 1.54 GB, free: 115.8 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_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