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.001158/0.001158, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009232/0.0009232, allocations: 92.39 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3128/0.3128, allocations: 45.23 MB / 394.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003168, allocations: 8 kB / 468.4 MB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3081, allocations: 63.23 MB / 0.5192 GB, free: 43.8 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.588/1.896, allocations: 0.8338 GB / 1.353 GB, free: 158 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/1.897, allocations: 78.34 kB / 1.353 GB, free: 158 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2037/2.1, allocations: 102.8 MB / 1.453 GB, free: 91.61 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.543e-06/2.1, allocations: 0 / 1.453 GB, free: 91.61 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.458e-05/2.1, allocations: 8 kB / 1.453 GB, free: 91.6 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.002734/2.103, allocations: 1.01 MB / 1.454 GB, free: 90.54 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/2.103, allocations: 11.97 kB / 1.454 GB, free: 90.53 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009084/2.112, allocations: 1.307 MB / 1.456 GB, free: 89.22 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008718/2.113, allocations: 382.5 kB / 1.456 GB, free: 88.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/2.113, allocations: 135.8 kB / 1.456 GB, free: 88.65 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/2.113, allocations: 39.83 kB / 1.456 GB, free: 88.61 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/2.116, allocations: 1.396 MB / 1.458 GB, free: 87.18 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/2.116, allocations: 3.938 kB / 1.458 GB, free: 87.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/2.116, allocations: 20 kB / 1.458 GB, free: 87.16 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.592e-05/2.116, allocations: 48.97 kB / 1.458 GB, free: 87.11 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003373/2.119, allocations: 2.123 MB / 1.46 GB, free: 84.98 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.003202/2.123, allocations: 3.168 MB / 1.463 GB, free: 81.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/2.123, allocations: 82.52 kB / 1.463 GB, free: 81.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/2.124, allocations: 1.19 MB / 1.464 GB, free: 80.04 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/2.124, allocations: 38.5 kB / 1.464 GB, free: 80 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=12): time 1.944e-06/2.124, allocations: 0 / 1.464 GB, free: 80 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.001068/2.125, allocations: 341 kB / 1.464 GB, free: 79.66 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/2.125, allocations: 59.36 kB / 1.464 GB, free: 79.59 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/2.126, allocations: 323.3 kB / 1.465 GB, free: 79.26 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/2.126, allocations: 29.7 kB / 1.465 GB, free: 79.23 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/2.126, allocations: 373.1 kB / 1.465 GB, free: 78.86 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/2.126, allocations: 55.34 kB / 1.465 GB, free: 78.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/2.126, allocations: 12 kB / 1.465 GB, free: 78.79 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.409e-05/2.126, allocations: 338.8 kB / 1.466 GB, free: 78.45 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/2.126, allocations: 109.9 kB / 1.466 GB, free: 78.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/2.126, allocations: 0.5424 MB / 1.466 GB, free: 77.59 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/2.127, allocations: 211.7 kB / 1.466 GB, free: 77.38 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/2.127, allocations: 4 kB / 1.466 GB, free: 77.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008072/2.127, allocations: 0.6488 MB / 1.467 GB, free: 76.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/2.127, allocations: 12.03 kB / 1.467 GB, free: 76.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/2.127, allocations: 16 kB / 1.467 GB, free: 76.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-05/2.127, allocations: 24 kB / 1.467 GB, free: 76.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/2.128, allocations: 183.7 kB / 1.467 GB, free: 76.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002534/2.128, allocations: 0.6171 MB / 1.468 GB, free: 75.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/2.129, allocations: 99.06 kB / 1.468 GB, free: 75.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.354e-05/2.129, allocations: 63.98 kB / 1.468 GB, free: 75.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.0001662/2.129, allocations: 202.6 kB / 1.468 GB, free: 75.49 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.082e-05/2.129, allocations: 27.72 kB / 1.468 GB, free: 75.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003017/2.129, allocations: 183 kB / 1.468 GB, free: 75.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/2.129, allocations: 4 kB / 1.468 GB, free: 75.26 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/2.129, allocations: 0 / 1.468 GB, free: 75.26 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/2.129, allocations: 7.984 kB / 1.468 GB, free: 75.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/2.13, allocations: 480 kB / 1.469 GB, free: 74.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/2.13, allocations: 7.953 kB / 1.469 GB, free: 74.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.969e-05/2.13, allocations: 23.98 kB / 1.469 GB, free: 74.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/2.13, allocations: 4 kB / 1.469 GB, free: 74.69 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/2.13, allocations: 0 / 1.469 GB, free: 74.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001646/2.13, allocations: 0.59 MB / 1.469 GB, free: 74.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/2.13, allocations: 3.984 kB / 1.469 GB, free: 74.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/2.13, allocations: 232.3 kB / 1.47 GB, free: 73.81 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/2.13, allocations: 124.8 kB / 1.47 GB, free: 73.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/2.13, allocations: 4 kB / 1.47 GB, free: 73.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/2.131, allocations: 11.98 kB / 1.47 GB, free: 73.65 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/2.131, allocations: 7.953 kB / 1.47 GB, free: 73.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/2.131, allocations: 11.98 kB / 1.47 GB, free: 73.63 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001705/2.131, allocations: 231 kB / 1.47 GB, free: 73.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/2.131, allocations: 3.938 kB / 1.47 GB, free: 73.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001403/2.132, allocations: 411.9 kB / 1.47 GB, free: 73 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.002167/2.134, allocations: 0.9274 MB / 1.471 GB, free: 72.08 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004778/2.135, allocations: 305.9 kB / 1.472 GB, free: 71.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/2.135, allocations: 7.938 kB / 1.472 GB, free: 71.78 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.024e-05/2.135, allocations: 33.55 kB / 1.472 GB, free: 71.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/2.135, allocations: 37.42 kB / 1.472 GB, free: 71.71 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09622/2.232, allocations: 56.34 MB / 1.527 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/2.232, allocations: 0.796 MB / 1.528 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007289/2.233, allocations: 246.9 kB / 1.528 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/2.233, allocations: 47.42 kB / 1.528 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of SimCode: time 9.02e-07/2.233, allocations: 0 / 1.528 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of Templates: time 0.2539/2.487, allocations: 15.97 MB / 1.543 GB, free: 127.2 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/jenkins/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