Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002386/0.002386, allocations: 173.5 kB / 8.149 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 94.2 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2586/0.2586, allocations: 43.5 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.573e-06/6.733e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2743, allocations: 58.84 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.78/2.055, allocations: 0.8663 GB / 1.332 GB, free: 54.03 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/2.055, allocations: 76.33 kB / 1.332 GB, free: 53.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5691/2.624, allocations: 109.8 MB / 1.439 GB, free: 153.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.063e-05/2.624, allocations: 6 kB / 1.439 GB, free: 153.3 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.003771/2.628, allocations: 0.9643 MB / 1.44 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/2.628, allocations: 8.375 kB / 1.44 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01783/2.646, allocations: 1.482 MB / 1.441 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/2.647, allocations: 386.6 kB / 1.442 GB, free: 151.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/2.648, allocations: 120.1 kB / 1.442 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003254/2.648, allocations: 18.03 kB / 1.442 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004691/2.653, allocations: 1.711 MB / 1.444 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/2.655, allocations: 0.8898 MB / 1.444 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/2.655, allocations: 3.938 kB / 1.444 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/2.655, allocations: 7.906 kB / 1.444 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.318e-05/2.655, allocations: 52.75 kB / 1.444 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006373/2.661, allocations: 3.681 MB / 1.448 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/2.662, allocations: 70.78 kB / 1.448 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.223e-05/2.662, allocations: 28.86 kB / 1.448 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004143/2.662, allocations: 226.9 kB / 1.448 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/2.662, allocations: 34.56 kB / 1.448 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 2.435e-06/2.662, allocations: 0 / 1.448 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.007477/2.67, allocations: 0.843 MB / 1.449 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/2.67, allocations: 51.41 kB / 1.449 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/2.67, allocations: 337.6 kB / 1.45 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/2.67, allocations: 29.69 kB / 1.45 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/2.67, allocations: 443.4 kB / 1.45 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/2.67, allocations: 51.44 kB / 1.45 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/2.67, allocations: 0 / 1.45 GB, free: 142.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/2.67, allocations: 342.8 kB / 1.45 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/2.671, allocations: 101.5 kB / 1.451 GB, free: 142 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/2.671, allocations: 0.5471 MB / 1.451 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009201/2.672, allocations: 262.9 kB / 1.451 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/2.672, allocations: 4 kB / 1.451 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001708/2.674, allocations: 0.6074 MB / 1.452 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/2.674, allocations: 4 kB / 1.452 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-05/2.674, allocations: 16 kB / 1.452 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.06e-05/2.674, allocations: 27.91 kB / 1.452 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/2.675, allocations: 211.5 kB / 1.452 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003419/2.675, allocations: 0.6174 MB / 1.453 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005972/2.676, allocations: 16.06 kB / 1.453 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-05/2.676, allocations: 68.17 kB / 1.453 GB, free: 139.3 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.0001418/2.676, allocations: 74.58 kB / 1.453 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/2.676, allocations: 35.56 kB / 1.453 GB, free: 139.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005651/2.677, allocations: 177.2 kB / 1.453 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/2.677, allocations: 0 / 1.453 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/2.677, allocations: 0 / 1.453 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/2.677, allocations: 0 / 1.453 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/2.678, allocations: 0.5446 MB / 1.454 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/2.678, allocations: 0 / 1.454 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/2.678, allocations: 48.06 kB / 1.454 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/2.678, allocations: 3.938 kB / 1.454 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/2.678, allocations: 4 kB / 1.454 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002577/2.679, allocations: 0.5977 MB / 1.454 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/2.679, allocations: 4.031 kB / 1.454 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003287/2.679, allocations: 248.3 kB / 1.455 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/2.679, allocations: 132.6 kB / 1.455 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/2.679, allocations: 4 kB / 1.455 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/2.68, allocations: 7.984 kB / 1.455 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/2.68, allocations: 7.938 kB / 1.455 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/2.68, allocations: 15.89 kB / 1.455 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002898/2.68, allocations: 228.6 kB / 1.455 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00234/2.683, allocations: 479.6 kB / 1.455 GB, free: 136.6 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.005345/2.688, allocations: 1.432 MB / 1.457 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000968/2.689, allocations: 314 kB / 1.457 GB, free: 135 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.279e-06/2.689, allocations: 0 / 1.457 GB, free: 135 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002189/2.689, allocations: 55.92 kB / 1.457 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/2.69, allocations: 36.48 kB / 1.457 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2703/2.96, allocations: 51.98 MB / 1.508 GB, free: 82.56 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000718/2.961, allocations: 0.8738 MB / 1.509 GB, free: 81.66 MB / 0.4948 GB Notification: Performance of SimCode: time 1.032e-06/2.961, allocations: 0 / 1.509 GB, free: 81.66 MB / 0.4948 GB Notification: Performance of Templates: time 0.03108/2.992, allocations: 15.88 MB / 1.524 GB, free: 65.75 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_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,_D_cse1,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.MM,medium.R,medium.T,medium.T_degC,medium.X[1],medium.X[2],medium.X[3],medium.X[4],medium.X[5],medium.X[6],medium.Xi[1],medium.Xi[2],medium.Xi[3],medium.Xi[4],medium.Xi[5],medium.Xi[6],medium.d,der(medium.T),medium.h,medium.p,medium.p_bar,medium.preferredMediumStates,medium.standardOrderComponents,medium.state.T,medium.state.X[1],medium.state.X[2],medium.state.X[3],medium.state.X[4],medium.state.X[5],medium.state.X[6],medium.state.p,medium.u,p,s,s_is,state.T,state.X[1],state.X[2],state.X[3],state.X[4],state.X[5],state.X[6],state.p,state2.T,state2.X[1],state2.X[2],state2.X[3],state2.X[4],state2.X[5],state2.X[6],state2.p,state3.T,state3.X[1],state3.X[2],state3.X[3],state3.X[4],state3.X[5],state3.X[6],state3.p,state4.T,state4.X[1],state4.X[2],state4.X[3],state4.X[4],state4.X[5],state4.X[6],state4.p,state5.T,state5.X[1],state5.X[2],state5.X[3],state5.X[4],state5.X[5],state5.X[6],state5.p,state_h_is.T,state_h_is.X[1],state_h_is.X[2],state_h_is.X[3],state_h_is.X[4],state_h_is.X[5],state_h_is.X[6],state_h_is.p,time,u