Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001268, allocations: 197.7 kB / 16.79 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 226.5 MB / 244.1 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007294/0.0007295, allocations: 100.5 kB / 296.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.315/0.315, allocations: 44.83 MB / 393 MB, free: 35.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002927, allocations: 12 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3072, allocations: 62.95 MB / 0.5165 GB, free: 37.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.536/1.843, allocations: 0.8338 GB / 1.35 GB, free: 199.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/1.843, allocations: 72.89 kB / 1.35 GB, free: 199.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2022/2.045, allocations: 102.6 MB / 1.45 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.964e-06/2.045, allocations: 0 / 1.45 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.479e-05/2.045, allocations: 15.94 kB / 1.45 GB, free: 109.7 MB / 0.5417 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.002945/2.048, allocations: 0.9987 MB / 1.451 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/2.048, allocations: 16.03 kB / 1.451 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008418/2.057, allocations: 1.249 MB / 1.453 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007901/2.058, allocations: 391.7 kB / 1.453 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/2.058, allocations: 132.4 kB / 1.453 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002609/2.058, allocations: 36.36 kB / 1.453 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/2.061, allocations: 1.389 MB / 1.455 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/2.061, allocations: 11.94 kB / 1.455 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/2.061, allocations: 19.98 kB / 1.455 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/2.061, allocations: 48.97 kB / 1.455 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003438/2.064, allocations: 2.115 MB / 1.457 GB, free: 103.1 MB / 0.5417 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003124/2.067, allocations: 3.176 MB / 1.46 GB, free: 99.62 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/2.068, allocations: 86.58 kB / 1.46 GB, free: 99.53 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.073e-05/2.068, allocations: 32.94 kB / 1.46 GB, free: 99.49 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003154/2.071, allocations: 3.218 MB / 1.463 GB, free: 95.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/2.071, allocations: 42.44 kB / 1.463 GB, free: 95.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=12): time 2.164e-06/2.071, allocations: 0 / 1.463 GB, free: 95.73 MB / 0.5417 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.001104/2.072, allocations: 343.6 kB / 1.463 GB, free: 95.39 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/2.072, allocations: 55.39 kB / 1.464 GB, free: 95.33 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/2.072, allocations: 360.1 kB / 1.464 GB, free: 94.96 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/2.072, allocations: 33.7 kB / 1.464 GB, free: 94.93 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/2.072, allocations: 361.1 kB / 1.464 GB, free: 94.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/2.072, allocations: 55.34 kB / 1.464 GB, free: 94.51 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/2.073, allocations: 16 kB / 1.464 GB, free: 94.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.702e-05/2.073, allocations: 338.8 kB / 1.465 GB, free: 94.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/2.073, allocations: 121.9 kB / 1.465 GB, free: 94.04 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/2.073, allocations: 0.5385 MB / 1.465 GB, free: 93.29 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/2.073, allocations: 0.6887 MB / 1.466 GB, free: 92.39 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/2.074, allocations: 12 kB / 1.466 GB, free: 92.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000864/2.074, allocations: 0.6422 MB / 1.467 GB, free: 91.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/2.074, allocations: 12 kB / 1.467 GB, free: 91.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/2.074, allocations: 24.06 kB / 1.467 GB, free: 91.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/2.074, allocations: 23.98 kB / 1.467 GB, free: 91.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004186/2.075, allocations: 183.7 kB / 1.467 GB, free: 91.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002493/2.075, allocations: 0.6171 MB / 1.467 GB, free: 90.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/2.076, allocations: 95.06 kB / 1.467 GB, free: 90.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.403e-05/2.076, allocations: 67.98 kB / 1.468 GB, free: 90.69 MB / 0.5417 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 () * Number of clocked 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 0.0001711/2.076, allocations: 201.4 kB / 1.468 GB, free: 90.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/2.076, allocations: 27.72 kB / 1.468 GB, free: 90.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/2.076, allocations: 174.8 kB / 1.468 GB, free: 90.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/2.076, allocations: 3.938 kB / 1.468 GB, free: 90.26 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/2.076, allocations: 0 / 1.468 GB, free: 90.26 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/2.076, allocations: 3.984 kB / 1.468 GB, free: 90.26 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/2.077, allocations: 483.9 kB / 1.468 GB, free: 89.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/2.077, allocations: 0 / 1.468 GB, free: 89.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.926e-05/2.077, allocations: 24.08 kB / 1.468 GB, free: 89.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/2.077, allocations: 8 kB / 1.468 GB, free: 89.69 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/2.077, allocations: 8 kB / 1.468 GB, free: 89.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001647/2.077, allocations: 0.586 MB / 1.469 GB, free: 89.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/2.077, allocations: 4.031 kB / 1.469 GB, free: 89.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/2.077, allocations: 216.9 kB / 1.469 GB, free: 88.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/2.077, allocations: 120.7 kB / 1.469 GB, free: 88.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/2.077, allocations: 0 / 1.469 GB, free: 88.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/2.078, allocations: 8 kB / 1.469 GB, free: 88.69 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/2.078, allocations: 11.92 kB / 1.469 GB, free: 88.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/2.078, allocations: 8 kB / 1.469 GB, free: 88.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000181/2.078, allocations: 231 kB / 1.47 GB, free: 88.45 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/2.078, allocations: 4 kB / 1.47 GB, free: 88.45 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001466/2.079, allocations: 407.6 kB / 1.47 GB, free: 88.05 MB / 0.5417 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 () * Number of clocked 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.002135/2.082, allocations: 0.9404 MB / 1.471 GB, free: 87.11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005243/2.082, allocations: 310.9 kB / 1.471 GB, free: 86.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/2.082, allocations: 0 / 1.471 GB, free: 86.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.282e-05/2.082, allocations: 36.55 kB / 1.471 GB, free: 86.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/2.083, allocations: 41.53 kB / 1.471 GB, free: 86.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07847/2.161, allocations: 48.76 MB / 1.519 GB, free: 37.17 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/2.161, allocations: 0.7959 MB / 1.52 GB, free: 36.35 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/2.162, allocations: 63.41 kB / 1.52 GB, free: 36.29 MB / 0.5417 GB Notification: Performance of SimCode: time 1.112e-06/2.162, allocations: 0 / 1.52 GB, free: 36.29 MB / 0.5417 GB Notification: Performance of Templates: time 0.01528/2.177, allocations: 12.44 MB / 1.532 GB, free: 23.84 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","../files/ModelicaTest_trunk_cpp_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,err_T,err_d,err_h_is,err_u,eta,f,g,h,h2,h_is,kappa,kappa2,lambda,p,s,s_is,time,u