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.001561/0.001561, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.694/1.694, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009923/0.0009925, allocations: 90.86 kB / 270.2 MB, free: 13.37 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.2471/0.2471, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1242, allocations: 58.85 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.195/2.319, allocations: 0.8671 GB / 1.346 GB, free: 195.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/2.319, allocations: 78.91 kB / 1.346 GB, free: 195.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2259/2.545, allocations: 110.7 MB / 1.454 GB, free: 85.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.896e-06/2.545, allocations: 0 / 1.454 GB, free: 85.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.343e-05/2.545, allocations: 15.88 kB / 1.454 GB, free: 85.61 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.003297/2.549, allocations: 0.9281 MB / 1.455 GB, free: 84.63 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/2.549, allocations: 11.97 kB / 1.455 GB, free: 84.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009179/2.558, allocations: 1.268 MB / 1.456 GB, free: 83.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/2.559, allocations: 378.4 kB / 1.457 GB, free: 82.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/2.559, allocations: 131.8 kB / 1.457 GB, free: 82.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002596/2.559, allocations: 35.98 kB / 1.457 GB, free: 82.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/2.562, allocations: 1.415 MB / 1.458 GB, free: 81.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/2.562, allocations: 0 / 1.458 GB, free: 81.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/2.563, allocations: 23.98 kB / 1.458 GB, free: 81.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.121e-05/2.563, allocations: 48.97 kB / 1.458 GB, free: 81.23 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003625/2.566, allocations: 2.143 MB / 1.46 GB, free: 79.09 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.003664/2.57, allocations: 3.01 MB / 1.463 GB, free: 75.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/2.57, allocations: 102.6 kB / 1.463 GB, free: 75.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001466/2.572, allocations: 1.164 MB / 1.464 GB, free: 74.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/2.572, allocations: 38.72 kB / 1.465 GB, free: 74.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 3.947e-06/2.572, allocations: 0 / 1.465 GB, free: 74.3 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.001245/2.573, allocations: 400.8 kB / 1.465 GB, free: 73.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/2.573, allocations: 51.41 kB / 1.465 GB, free: 73.84 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/2.573, allocations: 311.3 kB / 1.465 GB, free: 73.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/2.573, allocations: 33.7 kB / 1.465 GB, free: 73.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/2.573, allocations: 341.5 kB / 1.466 GB, free: 73.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/2.573, allocations: 75.08 kB / 1.466 GB, free: 73.08 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.302e-05/2.573, allocations: 16 kB / 1.466 GB, free: 73.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/2.574, allocations: 338.8 kB / 1.466 GB, free: 72.73 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/2.574, allocations: 113.9 kB / 1.466 GB, free: 72.61 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/2.574, allocations: 0.5384 MB / 1.467 GB, free: 71.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/2.574, allocations: 207.7 kB / 1.467 GB, free: 71.66 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/2.574, allocations: 4 kB / 1.467 GB, free: 71.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008909/2.575, allocations: 0.6522 MB / 1.468 GB, free: 71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/2.575, allocations: 8 kB / 1.468 GB, free: 71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/2.575, allocations: 16 kB / 1.468 GB, free: 70.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.654e-05/2.575, allocations: 31.98 kB / 1.468 GB, free: 70.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004354/2.576, allocations: 175.7 kB / 1.468 GB, free: 70.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002716/2.576, allocations: 0.6094 MB / 1.468 GB, free: 70.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/2.577, allocations: 95.11 kB / 1.468 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/2.577, allocations: 60.09 kB / 1.468 GB, free: 69.99 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.0001843/2.577, allocations: 209.4 kB / 1.469 GB, free: 69.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-05/2.577, allocations: 39.58 kB / 1.469 GB, free: 69.74 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/2.577, allocations: 247.6 kB / 1.469 GB, free: 69.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/2.577, allocations: 4 kB / 1.469 GB, free: 69.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/2.577, allocations: 0 / 1.469 GB, free: 69.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/2.577, allocations: 0 / 1.469 GB, free: 69.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008629/2.578, allocations: 0.78 MB / 1.47 GB, free: 68.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/2.578, allocations: 4 kB / 1.47 GB, free: 68.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/2.578, allocations: 44.16 kB / 1.47 GB, free: 68.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/2.578, allocations: 8 kB / 1.47 GB, free: 68.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/2.578, allocations: 7.938 kB / 1.47 GB, free: 68.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002065/2.579, allocations: 0.5937 MB / 1.47 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/2.579, allocations: 0 / 1.47 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/2.579, allocations: 346.6 kB / 1.471 GB, free: 67.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/2.579, allocations: 124.6 kB / 1.471 GB, free: 67.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.862e-05/2.579, allocations: 15.94 kB / 1.471 GB, free: 67.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/2.579, allocations: 4 kB / 1.471 GB, free: 67.34 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/2.579, allocations: 15.98 kB / 1.471 GB, free: 67.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/2.58, allocations: 19.98 kB / 1.471 GB, free: 67.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001604/2.58, allocations: 215 kB / 1.471 GB, free: 67.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/2.58, allocations: 0 / 1.471 GB, free: 67.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001754/2.581, allocations: 455.5 kB / 1.471 GB, free: 66.65 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.002846/2.584, allocations: 1.042 MB / 1.473 GB, free: 65.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000527/2.585, allocations: 324.1 kB / 1.473 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/2.585, allocations: 1.812 kB / 1.473 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001098/2.585, allocations: 55.84 kB / 1.473 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/2.585, allocations: 69.31 kB / 1.473 GB, free: 65.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09953/2.685, allocations: 52.58 MB / 1.524 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/2.685, allocations: 0.7966 MB / 1.525 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007722/2.686, allocations: 171 kB / 1.525 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/2.686, allocations: 47.42 kB / 1.525 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of SimCode: time 2.675e-06/2.686, allocations: 0 / 1.525 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.3134/3, allocations: 17.65 MB / 1.543 GB, free: 126.2 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/jenkins/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