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.001311/0.001311, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.293/1.293, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.000798/0.000798, allocations: 96.95 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.332/0.332, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.942e-05, allocations: 11.94 kB / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 58.83 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.766/1.873, allocations: 0.8671 GB / 1.34 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/1.873, allocations: 72.23 kB / 1.34 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2129/2.086, allocations: 110.7 MB / 1.448 GB, free: 78.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.102e-06/2.086, allocations: 4 kB / 1.448 GB, free: 78.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.369e-05/2.086, allocations: 8 kB / 1.448 GB, free: 78.02 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.002278/2.088, allocations: 0.927 MB / 1.449 GB, free: 77.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/2.088, allocations: 8.031 kB / 1.449 GB, free: 77.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008329/2.097, allocations: 1.273 MB / 1.45 GB, free: 75.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007236/2.098, allocations: 374.5 kB / 1.451 GB, free: 75.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/2.098, allocations: 135.5 kB / 1.451 GB, free: 75.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/2.098, allocations: 36 kB / 1.451 GB, free: 75.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/2.1, allocations: 1.344 MB / 1.452 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/2.1, allocations: 3.938 kB / 1.452 GB, free: 73.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/2.1, allocations: 16 kB / 1.452 GB, free: 73.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/2.1, allocations: 48.75 kB / 1.452 GB, free: 73.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/2.103, allocations: 2.045 MB / 1.454 GB, free: 71.68 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.002992/2.106, allocations: 3.005 MB / 1.457 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/2.106, allocations: 108.3 kB / 1.457 GB, free: 68.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.843e-05/2.106, allocations: 54.16 kB / 1.457 GB, free: 68.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/2.107, allocations: 1.174 MB / 1.458 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/2.107, allocations: 46.52 kB / 1.458 GB, free: 66.83 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.994e-06/2.107, allocations: 0 / 1.458 GB, free: 66.83 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.001051/2.108, allocations: 361.8 kB / 1.459 GB, free: 66.47 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/2.108, allocations: 55.41 kB / 1.459 GB, free: 66.41 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/2.108, allocations: 298.4 kB / 1.459 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/2.108, allocations: 33.7 kB / 1.459 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/2.109, allocations: 345.3 kB / 1.459 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/2.109, allocations: 71.09 kB / 1.46 GB, free: 65.65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/2.109, allocations: 16 kB / 1.46 GB, free: 65.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.946e-05/2.109, allocations: 342.8 kB / 1.46 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/2.109, allocations: 105.5 kB / 1.46 GB, free: 65.19 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/2.109, allocations: 0.5246 MB / 1.46 GB, free: 64.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/2.109, allocations: 219.1 kB / 1.461 GB, free: 64.25 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/2.109, allocations: 8 kB / 1.461 GB, free: 64.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007215/2.11, allocations: 0.6301 MB / 1.461 GB, free: 63.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/2.11, allocations: 12 kB / 1.461 GB, free: 63.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/2.11, allocations: 16 kB / 1.461 GB, free: 63.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/2.11, allocations: 23.95 kB / 1.461 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/2.111, allocations: 187.7 kB / 1.462 GB, free: 63.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002439/2.111, allocations: 0.6138 MB / 1.462 GB, free: 62.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/2.111, allocations: 91.03 kB / 1.462 GB, free: 62.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/2.111, allocations: 63.98 kB / 1.462 GB, free: 62.58 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 8.982e-05/2.111, allocations: 157.8 kB / 1.462 GB, free: 62.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.986e-05/2.111, allocations: 31.67 kB / 1.462 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/2.112, allocations: 242.8 kB / 1.463 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/2.112, allocations: 0 / 1.463 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/2.112, allocations: 0 / 1.463 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/2.112, allocations: 0 / 1.463 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006703/2.113, allocations: 0.7919 MB / 1.463 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/2.113, allocations: 3.984 kB / 1.463 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/2.113, allocations: 39.92 kB / 1.463 GB, free: 61.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/2.113, allocations: 0 / 1.463 GB, free: 61.19 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/2.113, allocations: 8 kB / 1.463 GB, free: 61.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001517/2.113, allocations: 0.5901 MB / 1.464 GB, free: 60.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/2.113, allocations: 7.969 kB / 1.464 GB, free: 60.56 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/2.113, allocations: 336.1 kB / 1.464 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.46e-05/2.113, allocations: 136.7 kB / 1.465 GB, free: 60.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/2.113, allocations: 8 kB / 1.465 GB, free: 60 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/2.113, allocations: 8 kB / 1.465 GB, free: 59.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.34e-05/2.114, allocations: 15.92 kB / 1.465 GB, free: 59.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/2.114, allocations: 23.92 kB / 1.465 GB, free: 59.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001394/2.114, allocations: 214.2 kB / 1.465 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/2.114, allocations: 0 / 1.465 GB, free: 59.75 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001352/2.115, allocations: 467.5 kB / 1.465 GB, free: 59.29 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.001696/2.117, allocations: 1.03 MB / 1.466 GB, free: 58.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004169/2.117, allocations: 327.2 kB / 1.467 GB, free: 57.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/2.117, allocations: 0 / 1.467 GB, free: 57.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.927e-05/2.117, allocations: 51.86 kB / 1.467 GB, free: 57.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/2.118, allocations: 64.81 kB / 1.467 GB, free: 57.83 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08787/2.206, allocations: 52.16 MB / 1.518 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/2.206, allocations: 0.8001 MB / 1.518 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006164/2.206, allocations: 163 kB / 1.519 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/2.207, allocations: 51.36 kB / 1.519 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/2.207, allocations: 0 / 1.519 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of Templates: time 0.2492/2.456, allocations: 19.65 MB / 1.538 GB, free: 113.6 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