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.001192/0.001192, allocations: 176.1 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.678/1.678, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009155/0.0009153, allocations: 86.62 kB / 261.8 MB, free: 1.684 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.2291/0.2291, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.884e-05, allocations: 4 kB / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 58.85 MB / 477.1 MB, free: 1.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.195/2.312, allocations: 0.8664 GB / 1.332 GB, free: 160.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/2.312, allocations: 79.23 kB / 1.332 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2149/2.527, allocations: 109.1 MB / 1.439 GB, free: 50.26 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.243e-06/2.527, allocations: 0 / 1.439 GB, free: 50.26 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.513e-05/2.527, allocations: 8 kB / 1.439 GB, free: 50.25 MB / 0.4948 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.002495/2.529, allocations: 0.9193 MB / 1.44 GB, free: 49.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/2.529, allocations: 8.031 kB / 1.44 GB, free: 49.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/2.54, allocations: 1.268 MB / 1.441 GB, free: 48.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009433/2.541, allocations: 382.3 kB / 1.441 GB, free: 47.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001275/2.541, allocations: 123.6 kB / 1.442 GB, free: 47.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/2.541, allocations: 24 kB / 1.442 GB, free: 47.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002701/2.544, allocations: 1.693 MB / 1.443 GB, free: 45.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/2.545, allocations: 0.8765 MB / 1.444 GB, free: 44.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/2.545, allocations: 0 / 1.444 GB, free: 44.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.993e-05/2.545, allocations: 7.938 kB / 1.444 GB, free: 44.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.016e-05/2.545, allocations: 48.75 kB / 1.444 GB, free: 44.77 MB / 0.4948 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.004329/2.55, allocations: 3.664 MB / 1.448 GB, free: 40.75 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/2.55, allocations: 78.55 kB / 1.448 GB, free: 40.67 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.818e-05/2.55, allocations: 20.92 kB / 1.448 GB, free: 40.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002751/2.55, allocations: 230.9 kB / 1.448 GB, free: 40.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/2.55, allocations: 42.56 kB / 1.448 GB, free: 40.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 2.916e-06/2.55, allocations: 0 / 1.448 GB, free: 40.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.004273/2.554, allocations: 0.8394 MB / 1.449 GB, free: 39.44 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/2.555, allocations: 51.41 kB / 1.449 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/2.555, allocations: 333.9 kB / 1.449 GB, free: 39.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/2.555, allocations: 25.7 kB / 1.449 GB, free: 39.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/2.555, allocations: 373 kB / 1.45 GB, free: 38.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/2.555, allocations: 55.38 kB / 1.45 GB, free: 38.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.065e-05/2.555, allocations: 0 / 1.45 GB, free: 38.58 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001031/2.555, allocations: 346.8 kB / 1.45 GB, free: 38.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/2.555, allocations: 101.5 kB / 1.45 GB, free: 38.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004147/2.556, allocations: 0.5476 MB / 1.451 GB, free: 37.36 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005786/2.556, allocations: 235.6 kB / 1.451 GB, free: 37.13 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/2.556, allocations: 11.98 kB / 1.451 GB, free: 37.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001026/2.557, allocations: 0.6175 MB / 1.452 GB, free: 36.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/2.557, allocations: 12 kB / 1.452 GB, free: 36.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/2.558, allocations: 16 kB / 1.452 GB, free: 36.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.696e-05/2.558, allocations: 24 kB / 1.452 GB, free: 36.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006165/2.558, allocations: 199.7 kB / 1.452 GB, free: 36.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003828/2.559, allocations: 0.6133 MB / 1.452 GB, free: 35.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005182/2.559, allocations: 28.02 kB / 1.452 GB, free: 35.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/2.559, allocations: 67.98 kB / 1.452 GB, free: 35.52 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0001563/2.559, allocations: 140.5 kB / 1.453 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.463e-05/2.559, allocations: 35.62 kB / 1.453 GB, free: 35.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/2.56, allocations: 157.5 kB / 1.453 GB, free: 35.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/2.56, allocations: 4 kB / 1.453 GB, free: 35.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/2.56, allocations: 0 / 1.453 GB, free: 35.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/2.56, allocations: 0 / 1.453 GB, free: 35.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008071/2.561, allocations: 0.5524 MB / 1.453 GB, free: 34.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/2.561, allocations: 64 / 1.453 GB, free: 34.56 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/2.561, allocations: 39.97 kB / 1.453 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/2.561, allocations: 4 kB / 1.453 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/2.561, allocations: 0 / 1.453 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002386/2.561, allocations: 0.5898 MB / 1.454 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/2.561, allocations: 0 / 1.454 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/2.561, allocations: 252.3 kB / 1.454 GB, free: 33.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/2.562, allocations: 128.7 kB / 1.454 GB, free: 33.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/2.562, allocations: 0 / 1.454 GB, free: 33.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/2.562, allocations: 7.984 kB / 1.454 GB, free: 33.47 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/2.562, allocations: 15.94 kB / 1.454 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/2.562, allocations: 15.98 kB / 1.454 GB, free: 33.44 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002494/2.562, allocations: 220.6 kB / 1.455 GB, free: 33.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.3e-07/2.562, allocations: 96 / 1.455 GB, free: 33.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002297/2.564, allocations: 479.5 kB / 1.455 GB, free: 32.75 MB / 0.4948 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 (11): * Single equations (assignments): 10 * 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.002886/2.567, allocations: 1.326 MB / 1.456 GB, free: 31.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006601/2.568, allocations: 306.8 kB / 1.457 GB, free: 31.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/2.568, allocations: 0 / 1.457 GB, free: 31.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/2.568, allocations: 52.98 kB / 1.457 GB, free: 31.08 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/2.568, allocations: 37.2 kB / 1.457 GB, free: 31.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4198/2.988, allocations: 51.28 MB / 1.507 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/2.989, allocations: 0.7927 MB / 1.508 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0007483/2.989, allocations: 179.1 kB / 1.508 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/2.99, allocations: 47.83 kB / 1.508 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.433e-06/2.99, allocations: 3.938 kB / 1.508 GB, free: 115.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.02164/3.011, allocations: 14.76 MB / 1.522 GB, free: 114.8 MB / 0.4948 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