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.001536/0.001536, allocations: 182.3 kB / 13.66 MB, free: 1.664 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.978/1.978, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001071/0.001071, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2786/0.2786, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.294e-05/3.296e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 58.86 MB / 484.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.758/2.877, allocations: 0.8671 GB / 1.34 GB, free: 160.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/2.877, allocations: 83.41 kB / 1.34 GB, free: 160.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4084/3.285, allocations: 110.7 MB / 1.448 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.555e-06/3.285, allocations: 0 / 1.448 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.847e-05/3.286, allocations: 4 kB / 1.448 GB, free: 65.05 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.003565/3.289, allocations: 0.927 MB / 1.449 GB, free: 64.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/3.289, allocations: 12.03 kB / 1.449 GB, free: 64.06 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/3.305, allocations: 1.264 MB / 1.45 GB, free: 62.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/3.307, allocations: 386.3 kB / 1.451 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/3.307, allocations: 135.6 kB / 1.451 GB, free: 62.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003206/3.307, allocations: 28 kB / 1.451 GB, free: 62.19 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00319/3.31, allocations: 1.352 MB / 1.452 GB, free: 60.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/3.31, allocations: 0 / 1.452 GB, free: 60.81 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/3.311, allocations: 16 kB / 1.452 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.408e-05/3.311, allocations: 48.75 kB / 1.452 GB, free: 60.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005395/3.316, allocations: 2.049 MB / 1.454 GB, free: 58.7 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.004739/3.321, allocations: 3.004 MB / 1.457 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/3.321, allocations: 113.9 kB / 1.457 GB, free: 55.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/3.321, allocations: 48.94 kB / 1.457 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001821/3.323, allocations: 1.173 MB / 1.458 GB, free: 53.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/3.323, allocations: 38.45 kB / 1.458 GB, free: 53.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.955e-06/3.323, allocations: 0 / 1.458 GB, free: 53.86 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.001812/3.325, allocations: 361 kB / 1.459 GB, free: 53.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/3.325, allocations: 51.41 kB / 1.459 GB, free: 53.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/3.326, allocations: 310.3 kB / 1.459 GB, free: 53.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/3.326, allocations: 29.7 kB / 1.459 GB, free: 53.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/3.326, allocations: 419.9 kB / 1.459 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/3.326, allocations: 67.09 kB / 1.46 GB, free: 52.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/3.326, allocations: 16 kB / 1.46 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.821e-05/3.326, allocations: 346.7 kB / 1.46 GB, free: 52.24 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/3.326, allocations: 105.5 kB / 1.46 GB, free: 52.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/3.327, allocations: 0.5246 MB / 1.461 GB, free: 51.41 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/3.327, allocations: 215.7 kB / 1.461 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/3.327, allocations: 4 kB / 1.461 GB, free: 51.19 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001439/3.329, allocations: 0.6364 MB / 1.461 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/3.329, allocations: 12 kB / 1.461 GB, free: 50.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/3.329, allocations: 16.91 kB / 1.461 GB, free: 50.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.81e-05/3.329, allocations: 27.95 kB / 1.461 GB, free: 50.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009081/3.33, allocations: 179.7 kB / 1.462 GB, free: 50.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000369/3.33, allocations: 0.6124 MB / 1.462 GB, free: 49.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007907/3.331, allocations: 99.02 kB / 1.462 GB, free: 49.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/3.331, allocations: 56 kB / 1.462 GB, free: 49.54 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 () * 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.0001704/3.331, allocations: 164.6 kB / 1.462 GB, free: 49.37 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/3.331, allocations: 35.67 kB / 1.462 GB, free: 49.33 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007826/3.332, allocations: 236.4 kB / 1.463 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/3.332, allocations: 0 / 1.463 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/3.332, allocations: 7.938 kB / 1.463 GB, free: 49.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/3.332, allocations: 11.97 kB / 1.463 GB, free: 49.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/3.333, allocations: 0.7802 MB / 1.464 GB, free: 48.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/3.333, allocations: 4 kB / 1.464 GB, free: 48.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/3.334, allocations: 39.92 kB / 1.464 GB, free: 48.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/3.334, allocations: 8.188 kB / 1.464 GB, free: 48.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/3.334, allocations: 7.984 kB / 1.464 GB, free: 48.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000255/3.334, allocations: 0.5899 MB / 1.464 GB, free: 47.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/3.334, allocations: 0 / 1.464 GB, free: 47.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006582/3.335, allocations: 350.5 kB / 1.464 GB, free: 47.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/3.335, allocations: 120.7 kB / 1.465 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/3.335, allocations: 12 kB / 1.465 GB, free: 46.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/3.336, allocations: 11.98 kB / 1.465 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/3.336, allocations: 15.98 kB / 1.465 GB, free: 46.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/3.336, allocations: 12 kB / 1.465 GB, free: 46.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002984/3.336, allocations: 222.1 kB / 1.465 GB, free: 46.69 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.233e-06/3.336, allocations: 0 / 1.465 GB, free: 46.69 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002003/3.338, allocations: 455.4 kB / 1.465 GB, free: 46.24 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 () * 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.003065/3.341, allocations: 1.042 MB / 1.466 GB, free: 45.19 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009517/3.342, allocations: 318 kB / 1.467 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/3.342, allocations: 4 kB / 1.467 GB, free: 44.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001845/3.343, allocations: 53.55 kB / 1.467 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006665/3.343, allocations: 57.38 kB / 1.467 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5042/3.847, allocations: 52.19 MB / 1.518 GB, free: 131.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/3.848, allocations: 0.7953 MB / 1.518 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/3.848, allocations: 64.64 kB / 1.519 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.723e-06/3.848, allocations: 0 / 1.519 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.03301/3.881, allocations: 13.68 MB / 1.532 GB, free: 130.6 MB / 0.5105 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