Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 200.8 kB / 18.11 MB, free: 3.609 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.427/1.427, allocations: 226.5 MB / 245.4 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007685/0.0007684, allocations: 99.58 kB / 297.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3898/0.3898, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002867, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4237/0.424, allocations: 62.96 MB / 0.5184 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.06/2.484, allocations: 0.8338 GB / 1.352 GB, free: 199.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/2.485, allocations: 78.22 kB / 1.352 GB, free: 199.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2148/2.7, allocations: 102.6 MB / 1.452 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.865e-06/2.7, allocations: 0 / 1.452 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.297e-05/2.7, allocations: 11.94 kB / 1.452 GB, free: 109.7 MB / 0.5417 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.003487/2.703, allocations: 0.9987 MB / 1.453 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/2.703, allocations: 8.031 kB / 1.453 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009854/2.713, allocations: 1.26 MB / 1.455 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/2.714, allocations: 391.7 kB / 1.455 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/2.714, allocations: 128.4 kB / 1.455 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003373/2.715, allocations: 32.38 kB / 1.455 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/2.718, allocations: 1.4 MB / 1.457 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/2.718, allocations: 3.938 kB / 1.457 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/2.718, allocations: 16 kB / 1.457 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-05/2.718, allocations: 48.97 kB / 1.457 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003597/2.721, allocations: 2.119 MB / 1.459 GB, free: 103.1 MB / 0.5417 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.003751/2.725, allocations: 3.172 MB / 1.462 GB, free: 99.64 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/2.725, allocations: 90.5 kB / 1.462 GB, free: 99.55 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.688e-05/2.726, allocations: 33 kB / 1.462 GB, free: 99.51 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00388/2.729, allocations: 3.222 MB / 1.465 GB, free: 95.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/2.73, allocations: 46.5 kB / 1.465 GB, free: 95.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=12): time 3.116e-06/2.73, allocations: 0 / 1.465 GB, free: 95.75 MB / 0.5417 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.00142/2.731, allocations: 340.1 kB / 1.465 GB, free: 95.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/2.731, allocations: 55.39 kB / 1.465 GB, free: 95.34 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/2.731, allocations: 360.1 kB / 1.466 GB, free: 94.98 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/2.732, allocations: 29.7 kB / 1.466 GB, free: 94.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002376/2.732, allocations: 365.2 kB / 1.466 GB, free: 94.58 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/2.732, allocations: 55.33 kB / 1.466 GB, free: 94.53 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/2.732, allocations: 20 kB / 1.466 GB, free: 94.51 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001222/2.732, allocations: 342.8 kB / 1.467 GB, free: 94.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/2.732, allocations: 113.9 kB / 1.467 GB, free: 94.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000478/2.733, allocations: 0.5385 MB / 1.467 GB, free: 93.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/2.733, allocations: 0.6897 MB / 1.468 GB, free: 92.4 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.578e-05/2.733, allocations: 4 kB / 1.468 GB, free: 92.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001083/2.734, allocations: 0.6526 MB / 1.469 GB, free: 91.74 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.824e-05/2.735, allocations: 12 kB / 1.469 GB, free: 91.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/2.735, allocations: 19.94 kB / 1.469 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.391e-05/2.735, allocations: 20 kB / 1.469 GB, free: 91.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/2.735, allocations: 183.7 kB / 1.469 GB, free: 91.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004605/2.736, allocations: 0.6171 MB / 1.469 GB, free: 90.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/2.736, allocations: 103.2 kB / 1.469 GB, free: 90.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.39e-05/2.736, allocations: 63.98 kB / 1.47 GB, free: 90.7 MB / 0.5417 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.0002404/2.737, allocations: 201.4 kB / 1.47 GB, free: 90.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/2.737, allocations: 27.72 kB / 1.47 GB, free: 90.47 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003525/2.737, allocations: 175.1 kB / 1.47 GB, free: 90.28 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/2.737, allocations: 3.938 kB / 1.47 GB, free: 90.28 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/2.737, allocations: 0 / 1.47 GB, free: 90.28 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/2.737, allocations: 3.984 kB / 1.47 GB, free: 90.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008259/2.738, allocations: 487.9 kB / 1.47 GB, free: 89.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/2.738, allocations: 0 / 1.47 GB, free: 89.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/2.738, allocations: 27.98 kB / 1.47 GB, free: 89.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/2.738, allocations: 0 / 1.47 GB, free: 89.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/2.738, allocations: 4 kB / 1.47 GB, free: 89.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002815/2.739, allocations: 0.5821 MB / 1.471 GB, free: 89.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/2.739, allocations: 4.031 kB / 1.471 GB, free: 89.09 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/2.739, allocations: 217 kB / 1.471 GB, free: 88.86 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/2.739, allocations: 120.7 kB / 1.471 GB, free: 88.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-05/2.739, allocations: 0 / 1.471 GB, free: 88.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/2.739, allocations: 8 kB / 1.471 GB, free: 88.71 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/2.739, allocations: 19.92 kB / 1.471 GB, free: 88.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/2.739, allocations: 4 kB / 1.471 GB, free: 88.69 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002045/2.74, allocations: 231 kB / 1.472 GB, free: 88.47 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/2.74, allocations: 0 / 1.472 GB, free: 88.47 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00202/2.742, allocations: 407.6 kB / 1.472 GB, free: 88.07 MB / 0.5417 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.002733/2.744, allocations: 0.9371 MB / 1.473 GB, free: 87.13 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006451/2.745, allocations: 311.4 kB / 1.473 GB, free: 86.83 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/2.745, allocations: 4.125 kB / 1.473 GB, free: 86.82 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.806e-05/2.745, allocations: 35.92 kB / 1.473 GB, free: 86.79 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/2.746, allocations: 43.92 kB / 1.473 GB, free: 86.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09594/2.842, allocations: 48.72 MB / 1.521 GB, free: 37.24 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/2.842, allocations: 0.7959 MB / 1.522 GB, free: 36.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001207/2.843, allocations: 239 kB / 1.522 GB, free: 36.18 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/2.843, allocations: 47.42 kB / 1.522 GB, free: 36.13 MB / 0.5417 GB Notification: Performance of SimCode: time 6.52e-07/2.844, allocations: 0 / 1.522 GB, free: 36.13 MB / 0.5417 GB Notification: Performance of Templates: time 0.03037/2.874, allocations: 16.31 MB / 1.538 GB, free: 19.82 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","../files/ModelicaTest_trunk_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