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.001559/0.001559, allocations: 169.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.5 MB / 230.7 MB, free: 7.52 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.0008951/0.0008952, allocations: 93.22 kB / 281.6 MB, free: 5.273 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.2089/0.2089, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.92e-05, allocations: 4.219 kB / 444.6 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.137, allocations: 61.92 MB / 0.4947 GB, free: 1.27 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.488/2.625, allocations: 0.8321 GB / 1.327 GB, free: 174.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/2.625, allocations: 67.47 kB / 1.327 GB, free: 174.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2121/2.837, allocations: 101.1 MB / 1.426 GB, free: 72.99 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.765e-06/2.837, allocations: 3.938 kB / 1.426 GB, free: 72.99 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.21e-05/2.837, allocations: 4 kB / 1.426 GB, free: 72.98 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.84, allocations: 0.9895 MB / 1.427 GB, free: 71.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/2.841, allocations: 11.98 kB / 1.427 GB, free: 71.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009188/2.85, allocations: 1.306 MB / 1.428 GB, free: 70.63 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/2.851, allocations: 394.3 kB / 1.428 GB, free: 70.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/2.851, allocations: 127.6 kB / 1.428 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002967/2.851, allocations: 27.98 kB / 1.428 GB, free: 70.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002517/2.854, allocations: 1.665 MB / 1.43 GB, free: 68.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/2.855, allocations: 0.8727 MB / 1.431 GB, free: 67.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/2.855, allocations: 4 kB / 1.431 GB, free: 67.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/2.855, allocations: 4 kB / 1.431 GB, free: 67.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.938e-05/2.855, allocations: 52.7 kB / 1.431 GB, free: 67.39 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.004335/2.859, allocations: 3.578 MB / 1.434 GB, free: 63.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/2.86, allocations: 70.53 kB / 1.434 GB, free: 63.38 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.378e-05/2.86, allocations: 25 kB / 1.434 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/2.86, allocations: 194.2 kB / 1.435 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/2.86, allocations: 34.56 kB / 1.435 GB, free: 63.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 3.026e-06/2.86, allocations: 4 kB / 1.435 GB, free: 63.08 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.004084/2.864, allocations: 0.8355 MB / 1.435 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/2.864, allocations: 51.41 kB / 1.436 GB, free: 62.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/2.864, allocations: 337.9 kB / 1.436 GB, free: 61.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/2.864, allocations: 25.7 kB / 1.436 GB, free: 61.76 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/2.864, allocations: 380.9 kB / 1.436 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/2.865, allocations: 47.44 kB / 1.436 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/2.865, allocations: 0 / 1.436 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.939e-05/2.865, allocations: 350.7 kB / 1.437 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/2.865, allocations: 101.5 kB / 1.437 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/2.865, allocations: 0.5477 MB / 1.437 GB, free: 60.11 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007459/2.866, allocations: 300.8 kB / 1.438 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.768e-06/2.866, allocations: 4 kB / 1.438 GB, free: 59.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001211/2.867, allocations: 0.657 MB / 1.438 GB, free: 59.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/2.867, allocations: 12 kB / 1.438 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/2.867, allocations: 16 kB / 1.438 GB, free: 59.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/2.867, allocations: 24 kB / 1.438 GB, free: 59.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/2.868, allocations: 215.8 kB / 1.438 GB, free: 58.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002585/2.868, allocations: 0.6171 MB / 1.439 GB, free: 58.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004694/2.868, allocations: 20.19 kB / 1.439 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.955e-05/2.868, allocations: 71.94 kB / 1.439 GB, free: 58.16 MB / 0.5105 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.0001147/2.869, allocations: 140.5 kB / 1.439 GB, free: 58.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.31e-05/2.869, allocations: 35.62 kB / 1.439 GB, free: 57.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/2.869, allocations: 185.3 kB / 1.439 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/2.869, allocations: 0 / 1.439 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/2.869, allocations: 0 / 1.439 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/2.869, allocations: 3.938 kB / 1.439 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007019/2.87, allocations: 0.5524 MB / 1.44 GB, free: 57.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/2.87, allocations: 0 / 1.44 GB, free: 57.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/2.87, allocations: 35.92 kB / 1.44 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/2.87, allocations: 4 kB / 1.44 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/2.87, allocations: 4 kB / 1.44 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001935/2.87, allocations: 0.586 MB / 1.441 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/2.87, allocations: 160 / 1.441 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/2.87, allocations: 260.4 kB / 1.441 GB, free: 56.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/2.871, allocations: 124.7 kB / 1.441 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/2.871, allocations: 0 / 1.441 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/2.871, allocations: 11.98 kB / 1.441 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.409e-05/2.871, allocations: 8 kB / 1.441 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/2.871, allocations: 15.98 kB / 1.441 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001861/2.871, allocations: 220.6 kB / 1.441 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.51e-07/2.871, allocations: 0 / 1.441 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001995/2.873, allocations: 419.6 kB / 1.442 GB, free: 55.43 MB / 0.5105 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.003517/2.877, allocations: 1.201 MB / 1.443 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006487/2.877, allocations: 306.8 kB / 1.443 GB, free: 53.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.811e-05/2.877, allocations: 0 / 1.443 GB, free: 53.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/2.878, allocations: 47.86 kB / 1.443 GB, free: 53.89 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/2.878, allocations: 33.16 kB / 1.443 GB, free: 53.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09711/2.975, allocations: 52.47 MB / 1.494 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3152/3.29, allocations: 0.7859 MB / 1.495 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001085/3.291, allocations: 264.1 kB / 1.495 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/3.292, allocations: 54.56 kB / 1.495 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.964e-06/3.292, allocations: 0 / 1.495 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.02578/3.317, allocations: 13.57 MB / 1.509 GB, free: 115.9 MB / 0.5105 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