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.001051/0.001051, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.254/1.254, allocations: 221.3 MB / 236 MB, free: 2.918 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008452/0.0008452, allocations: 97.8 kB / 287 MB, free: 176 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.179/0.179, allocations: 44.15 MB / 382 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.65e-05/2.652e-05, allocations: 7.984 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.919/2.04, allocations: 0.8327 GB / 1.334 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/2.04, allocations: 71.77 kB / 1.334 GB, free: 160.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.2012/2.242, allocations: 102.7 MB / 1.435 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.384e-06/2.242, allocations: 0 / 1.435 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.451e-05/2.242, allocations: 7.938 kB / 1.435 GB, free: 100.6 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.002757/2.245, allocations: 0.9856 MB / 1.436 GB, free: 99.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/2.245, allocations: 12.03 kB / 1.436 GB, free: 99.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008695/2.253, allocations: 1.306 MB / 1.437 GB, free: 98.21 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000702/2.254, allocations: 394.3 kB / 1.437 GB, free: 97.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.045e-05/2.254, allocations: 131.6 kB / 1.437 GB, free: 97.64 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/2.254, allocations: 31.98 kB / 1.438 GB, free: 97.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/2.256, allocations: 1.329 MB / 1.439 GB, free: 96.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/2.256, allocations: 0 / 1.439 GB, free: 96.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/2.256, allocations: 19.98 kB / 1.439 GB, free: 96.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-05/2.256, allocations: 56.64 kB / 1.439 GB, free: 96.17 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002598/2.259, allocations: 2.029 MB / 1.441 GB, free: 94.14 MB / 0.5261 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.002687/2.261, allocations: 3.17 MB / 1.444 GB, free: 90.65 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/2.262, allocations: 70.59 kB / 1.444 GB, free: 90.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.756e-05/2.262, allocations: 42.38 kB / 1.444 GB, free: 90.53 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/2.263, allocations: 1.202 MB / 1.445 GB, free: 89.15 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/2.263, allocations: 34.56 kB / 1.445 GB, free: 89.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.224e-06/2.263, allocations: 0 / 1.445 GB, free: 89.11 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.0009453/2.264, allocations: 313.5 kB / 1.446 GB, free: 88.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/2.264, allocations: 59.41 kB / 1.446 GB, free: 88.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/2.264, allocations: 326.2 kB / 1.446 GB, free: 88.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/2.264, allocations: 33.69 kB / 1.446 GB, free: 88.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/2.264, allocations: 357.2 kB / 1.446 GB, free: 88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/2.264, allocations: 51.42 kB / 1.446 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.156e-05/2.264, allocations: 16 kB / 1.446 GB, free: 87.94 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.221e-05/2.264, allocations: 346.7 kB / 1.447 GB, free: 87.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/2.264, allocations: 105.5 kB / 1.447 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/2.265, allocations: 0.5285 MB / 1.447 GB, free: 86.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/2.265, allocations: 216.7 kB / 1.448 GB, free: 86.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/2.265, allocations: 4 kB / 1.448 GB, free: 86.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007363/2.266, allocations: 0.6475 MB / 1.448 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/2.266, allocations: 12 kB / 1.448 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/2.266, allocations: 12 kB / 1.448 GB, free: 85.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/2.266, allocations: 24 kB / 1.448 GB, free: 85.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/2.266, allocations: 175.7 kB / 1.448 GB, free: 85.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002447/2.266, allocations: 0.6171 MB / 1.449 GB, free: 85.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/2.267, allocations: 107.2 kB / 1.449 GB, free: 84.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/2.267, allocations: 56 kB / 1.449 GB, free: 84.87 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 () * 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.745e-05/2.267, allocations: 152.7 kB / 1.449 GB, free: 84.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/2.267, allocations: 39.61 kB / 1.449 GB, free: 84.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/2.267, allocations: 174.8 kB / 1.45 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/2.267, allocations: 0 / 1.45 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/2.267, allocations: 0 / 1.45 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/2.267, allocations: 4.094 kB / 1.45 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000378/2.268, allocations: 488 kB / 1.45 GB, free: 83.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/2.268, allocations: 0 / 1.45 GB, free: 83.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.473e-05/2.268, allocations: 27.92 kB / 1.45 GB, free: 83.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/2.268, allocations: 0 / 1.45 GB, free: 83.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/2.268, allocations: 4 kB / 1.45 GB, free: 83.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000147/2.268, allocations: 0.5899 MB / 1.451 GB, free: 83.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/2.268, allocations: 7.969 kB / 1.451 GB, free: 83.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/2.268, allocations: 232.3 kB / 1.451 GB, free: 83.03 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/2.268, allocations: 128.8 kB / 1.451 GB, free: 82.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/2.268, allocations: 4 kB / 1.451 GB, free: 82.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/2.268, allocations: 12.02 kB / 1.451 GB, free: 82.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/2.268, allocations: 11.92 kB / 1.451 GB, free: 82.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/2.268, allocations: 4 kB / 1.451 GB, free: 82.85 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000155/2.269, allocations: 238.1 kB / 1.451 GB, free: 82.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/2.269, allocations: 0 / 1.451 GB, free: 82.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001213/2.27, allocations: 399.9 kB / 1.452 GB, free: 82.23 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 () * 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.001432/2.271, allocations: 0.9223 MB / 1.452 GB, free: 81.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003893/2.272, allocations: 305.9 kB / 1.453 GB, free: 81.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/2.272, allocations: 96 / 1.453 GB, free: 81.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.59e-05/2.272, allocations: 37.48 kB / 1.453 GB, free: 80.98 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/2.272, allocations: 35.22 kB / 1.453 GB, free: 80.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08914/2.361, allocations: 53.27 MB / 1.505 GB, free: 26.88 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/2.361, allocations: 0.7921 MB / 1.506 GB, free: 26.06 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006651/2.362, allocations: 246.9 kB / 1.506 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/2.362, allocations: 55.36 kB / 1.506 GB, free: 25.76 MB / 0.5261 GB Notification: Performance of SimCode: time 7.31e-07/2.362, allocations: 0 / 1.506 GB, free: 25.76 MB / 0.5261 GB Notification: Performance of Templates: time 0.01827/2.38, allocations: 17.9 MB / 1.523 GB, free: 7.848 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/jenkins/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