Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009058/0.0009059, allocations: 182.6 kB / 18.09 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 223.3 MB / 242.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007902/0.0007904, allocations: 95.55 kB / 293.3 MB, free: 10.6 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3968/0.3968, allocations: 44.15 MB / 388.5 MB, free: 38.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003772, allocations: 12 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3777, allocations: 61.88 MB / 0.5107 GB, free: 37.73 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.677/2.055, allocations: 0.8329 GB / 1.344 GB, free: 175.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/2.055, allocations: 84.59 kB / 1.344 GB, free: 175.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2085/2.264, allocations: 102.5 MB / 1.444 GB, free: 73.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.996e-06/2.264, allocations: 0 / 1.444 GB, free: 73.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.516e-05/2.264, allocations: 7.938 kB / 1.444 GB, free: 73.06 MB / 0.5261 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.00273/2.267, allocations: 0.9988 MB / 1.445 GB, free: 72.01 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/2.267, allocations: 11.97 kB / 1.445 GB, free: 72 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008277/2.275, allocations: 1.249 MB / 1.446 GB, free: 70.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009062/2.276, allocations: 391.7 kB / 1.446 GB, free: 70.33 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/2.276, allocations: 136.4 kB / 1.447 GB, free: 70.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/2.276, allocations: 32.38 kB / 1.447 GB, free: 70.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/2.279, allocations: 1.4 MB / 1.448 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/2.279, allocations: 3.938 kB / 1.448 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/2.279, allocations: 16 kB / 1.448 GB, free: 68.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/2.279, allocations: 48.97 kB / 1.448 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003169/2.282, allocations: 2.119 MB / 1.45 GB, free: 66.52 MB / 0.5261 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.00308/2.285, allocations: 3.18 MB / 1.453 GB, free: 63.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/2.285, allocations: 83.77 kB / 1.453 GB, free: 62.95 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.943e-05/2.285, allocations: 40.98 kB / 1.453 GB, free: 62.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002622/2.288, allocations: 3.199 MB / 1.456 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/2.288, allocations: 38.56 kB / 1.456 GB, free: 59.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.285e-06/2.288, allocations: 0 / 1.456 GB, free: 59.16 MB / 0.5261 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.001037/2.289, allocations: 337.3 kB / 1.457 GB, free: 58.83 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/2.289, allocations: 51.41 kB / 1.457 GB, free: 58.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/2.289, allocations: 368 kB / 1.457 GB, free: 58.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/2.289, allocations: 25.7 kB / 1.457 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/2.29, allocations: 361.2 kB / 1.458 GB, free: 58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/2.29, allocations: 55.36 kB / 1.458 GB, free: 57.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/2.29, allocations: 16 kB / 1.458 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.349e-05/2.29, allocations: 342.7 kB / 1.458 GB, free: 57.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/2.29, allocations: 113.9 kB / 1.458 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/2.29, allocations: 0.5385 MB / 1.459 GB, free: 56.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/2.291, allocations: 0.6987 MB / 1.459 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/2.291, allocations: 4 kB / 1.459 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000796/2.291, allocations: 0.6498 MB / 1.46 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/2.292, allocations: 13.41 kB / 1.46 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/2.292, allocations: 12 kB / 1.46 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/2.292, allocations: 20 kB / 1.46 GB, free: 55.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/2.292, allocations: 179.7 kB / 1.46 GB, free: 54.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002518/2.292, allocations: 0.6213 MB / 1.461 GB, free: 54.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005107/2.293, allocations: 107 kB / 1.461 GB, free: 54.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.878e-05/2.293, allocations: 64 kB / 1.461 GB, free: 54.13 MB / 0.5261 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.0001761/2.293, allocations: 193.5 kB / 1.461 GB, free: 53.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/2.293, allocations: 31.66 kB / 1.461 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/2.294, allocations: 178.8 kB / 1.461 GB, free: 53.71 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/2.294, allocations: 7.938 kB / 1.461 GB, free: 53.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/2.294, allocations: 0 / 1.461 GB, free: 53.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/2.294, allocations: 0 / 1.461 GB, free: 53.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/2.294, allocations: 491.9 kB / 1.462 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/2.294, allocations: 0 / 1.462 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/2.294, allocations: 23.98 kB / 1.462 GB, free: 53.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/2.294, allocations: 0 / 1.462 GB, free: 53.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/2.294, allocations: 4 kB / 1.462 GB, free: 53.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001827/2.294, allocations: 0.586 MB / 1.462 GB, free: 52.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/2.294, allocations: 4.062 kB / 1.462 GB, free: 52.52 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/2.295, allocations: 212.9 kB / 1.463 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/2.295, allocations: 124.6 kB / 1.463 GB, free: 52.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/2.295, allocations: 0 / 1.463 GB, free: 52.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/2.295, allocations: 15.98 kB / 1.463 GB, free: 52.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/2.295, allocations: 7.938 kB / 1.463 GB, free: 52.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/2.295, allocations: 11.98 kB / 1.463 GB, free: 52.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002045/2.295, allocations: 235 kB / 1.463 GB, free: 51.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/2.295, allocations: 0 / 1.463 GB, free: 51.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001268/2.297, allocations: 391.7 kB / 1.463 GB, free: 51.5 MB / 0.5261 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.001938/2.299, allocations: 0.9269 MB / 1.464 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004685/2.299, allocations: 317.3 kB / 1.464 GB, free: 50.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/2.299, allocations: 0 / 1.464 GB, free: 50.27 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.205e-05/2.299, allocations: 39.92 kB / 1.465 GB, free: 50.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/2.3, allocations: 39.3 kB / 1.465 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07845/2.378, allocations: 46.97 MB / 1.51 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/2.378, allocations: 0.7843 MB / 1.511 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008103/2.379, allocations: 235 kB / 1.511 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/2.379, allocations: 47.42 kB / 1.511 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of SimCode: time 8.41e-07/2.379, allocations: 4 kB / 1.511 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of Templates: time 0.2735/2.653, allocations: 16.27 MB / 1.527 GB, free: 122.1 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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