Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009543/0.0009543, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008885/0.0008887, allocations: 97.67 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 45.15 MB / 383.8 MB, free: 244 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.549e-05/1.55e-05, allocations: 4 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1143, allocations: 63.25 MB / 0.5044 GB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.854/1.969, allocations: 0.8331 GB / 1.337 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/1.969, allocations: 75.83 kB / 1.338 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4543/2.423, allocations: 101.2 MB / 1.436 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/2.423, allocations: 7.938 kB / 1.436 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.496e-05/2.423, allocations: 4 kB / 1.436 GB, free: 131.5 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.002736/2.426, allocations: 1.001 MB / 1.437 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/2.426, allocations: 8.031 kB / 1.437 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009009/2.435, allocations: 1.303 MB / 1.439 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009525/2.436, allocations: 402.2 kB / 1.439 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/2.436, allocations: 119.6 kB / 1.439 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003065/2.437, allocations: 16 kB / 1.439 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002565/2.439, allocations: 1.677 MB / 1.441 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/2.44, allocations: 0.8688 MB / 1.442 GB, free: 126 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/2.441, allocations: 3.938 kB / 1.442 GB, free: 126 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/2.441, allocations: 0 / 1.442 GB, free: 126 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.305e-05/2.441, allocations: 52.75 kB / 1.442 GB, free: 126 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.004039/2.445, allocations: 3.585 MB / 1.445 GB, free: 122 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/2.445, allocations: 74.58 kB / 1.445 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.671e-05/2.445, allocations: 24.92 kB / 1.445 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001874/2.445, allocations: 202.2 kB / 1.445 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/2.445, allocations: 34.52 kB / 1.445 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/2.445, allocations: 3.984 kB / 1.445 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.003988/2.449, allocations: 0.8472 MB / 1.446 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.087e-05/2.449, allocations: 51.41 kB / 1.446 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/2.449, allocations: 337.8 kB / 1.447 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/2.45, allocations: 25.7 kB / 1.447 GB, free: 120.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/2.45, allocations: 381 kB / 1.447 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/2.45, allocations: 51.44 kB / 1.447 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/2.45, allocations: 0 / 1.447 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.957e-05/2.45, allocations: 342.8 kB / 1.447 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/2.45, allocations: 105.5 kB / 1.448 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/2.45, allocations: 0.5476 MB / 1.448 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006984/2.451, allocations: 283.6 kB / 1.448 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/2.451, allocations: 4 kB / 1.448 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001221/2.452, allocations: 0.6678 MB / 1.449 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/2.452, allocations: 12 kB / 1.449 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/2.452, allocations: 19.95 kB / 1.449 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/2.452, allocations: 24 kB / 1.449 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/2.453, allocations: 211.6 kB / 1.449 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002454/2.453, allocations: 0.6177 MB / 1.45 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/2.453, allocations: 16 kB / 1.45 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/2.453, allocations: 60 kB / 1.45 GB, free: 116.7 MB / 0.5261 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 9.853e-05/2.454, allocations: 152.5 kB / 1.45 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.365e-05/2.454, allocations: 35.62 kB / 1.45 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/2.454, allocations: 173.5 kB / 1.45 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/2.454, allocations: 3.984 kB / 1.45 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/2.454, allocations: 192 / 1.45 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/2.454, allocations: 3.938 kB / 1.45 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/2.455, allocations: 0.5639 MB / 1.451 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/2.455, allocations: 0 / 1.451 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/2.455, allocations: 35.98 kB / 1.451 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/2.455, allocations: 4 kB / 1.451 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/2.455, allocations: 0 / 1.451 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001721/2.455, allocations: 0.5899 MB / 1.451 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/2.455, allocations: 4.031 kB / 1.451 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/2.455, allocations: 244.4 kB / 1.452 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/2.455, allocations: 124.7 kB / 1.452 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.078e-05/2.455, allocations: 3.953 kB / 1.452 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/2.456, allocations: 4 kB / 1.452 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/2.456, allocations: 15.92 kB / 1.452 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/2.456, allocations: 15.98 kB / 1.452 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000154/2.456, allocations: 224.6 kB / 1.452 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.21e-07/2.456, allocations: 0 / 1.452 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001515/2.457, allocations: 423.6 kB / 1.452 GB, free: 114 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 (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.002937/2.46, allocations: 1.225 MB / 1.454 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004689/2.461, allocations: 299.2 kB / 1.454 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/2.461, allocations: 4 kB / 1.454 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/2.461, allocations: 47.92 kB / 1.454 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/2.461, allocations: 34.14 kB / 1.454 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09924/2.561, allocations: 55.15 MB / 1.508 GB, free: 56.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/2.561, allocations: 0.7918 MB / 1.509 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008005/2.562, allocations: 267 kB / 1.509 GB, free: 55.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/2.562, allocations: 51.42 kB / 1.509 GB, free: 55.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.422e-06/2.562, allocations: 3.938 kB / 1.509 GB, free: 55.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.01897/2.581, allocations: 13.56 MB / 1.522 GB, free: 41.73 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_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