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") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009078/0.0009079, allocations: 187.6 kB / 7.8 MB, free: 2.453 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9953/0.9953, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007575/0.0007575, allocations: 93.8 kB / 261.4 MB, free: 13.54 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.1556/0.1556, allocations: 43.5 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.533e-06/6.563e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.237, allocations: 58.85 MB / 476.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.451, allocations: 0.8663 GB / 1.332 GB, free: 73.39 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/1.451, allocations: 71.97 kB / 1.332 GB, free: 73.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.3682/1.82, allocations: 109.8 MB / 1.439 GB, free: 157.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.646e-05/1.82, allocations: 11.47 kB / 1.439 GB, free: 157.4 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.002649/1.822, allocations: 0.9597 MB / 1.44 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/1.822, allocations: 8.688 kB / 1.44 GB, free: 156.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009824/1.832, allocations: 1.475 MB / 1.441 GB, free: 156.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009609/1.833, allocations: 386.8 kB / 1.442 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/1.833, allocations: 119.4 kB / 1.442 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000265/1.834, allocations: 19.09 kB / 1.442 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002797/1.836, allocations: 1.705 MB / 1.444 GB, free: 154.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/1.838, allocations: 0.8943 MB / 1.444 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/1.838, allocations: 5.438 kB / 1.444 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.48e-05/1.838, allocations: 1.094 kB / 1.444 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/1.838, allocations: 53.44 kB / 1.444 GB, free: 154.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004041/1.842, allocations: 3.68 MB / 1.448 GB, free: 151 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/1.842, allocations: 69.81 kB / 1.448 GB, free: 151 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.924e-05/1.842, allocations: 32.02 kB / 1.448 GB, free: 151 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/1.842, allocations: 232.7 kB / 1.448 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/1.842, allocations: 31.97 kB / 1.448 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 2.415e-06/1.842, allocations: 1.406 kB / 1.448 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.003933/1.846, allocations: 0.851 MB / 1.449 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.467e-05/1.846, allocations: 55.34 kB / 1.449 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/1.847, allocations: 338.1 kB / 1.45 GB, free: 149.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/1.847, allocations: 27.14 kB / 1.45 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/1.847, allocations: 374.2 kB / 1.45 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/1.847, allocations: 52.72 kB / 1.45 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/1.847, allocations: 0 / 1.45 GB, free: 149.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.302e-05/1.847, allocations: 339.8 kB / 1.45 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/1.847, allocations: 104.1 kB / 1.45 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/1.847, allocations: 0.55 MB / 1.451 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005729/1.848, allocations: 245.3 kB / 1.451 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.848, allocations: 3.906 kB / 1.451 GB, free: 148.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001066/1.849, allocations: 0.6123 MB / 1.452 GB, free: 148 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/1.849, allocations: 5.688 kB / 1.452 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/1.849, allocations: 20.41 kB / 1.452 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/1.849, allocations: 23.66 kB / 1.452 GB, free: 148 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/1.85, allocations: 212.7 kB / 1.452 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002297/1.85, allocations: 0.6194 MB / 1.453 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004568/1.85, allocations: 15.47 kB / 1.453 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.199e-05/1.85, allocations: 66.84 kB / 1.453 GB, free: 147.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 9.401e-05/1.851, allocations: 155.1 kB / 1.453 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/1.851, allocations: 33.56 kB / 1.453 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/1.851, allocations: 164 kB / 1.453 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.851, allocations: 5.031 kB / 1.453 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/1.851, allocations: 0 / 1.453 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/1.851, allocations: 1.125 kB / 1.453 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006072/1.852, allocations: 0.5494 MB / 1.454 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.852, allocations: 1.219 kB / 1.454 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/1.852, allocations: 42.11 kB / 1.454 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.852, allocations: 1.312 kB / 1.454 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/1.852, allocations: 10.58 kB / 1.454 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000171/1.852, allocations: 0.5919 MB / 1.454 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.852, allocations: 0 / 1.454 GB, free: 145.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002076/1.852, allocations: 243.1 kB / 1.455 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.852, allocations: 134 kB / 1.455 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.467e-05/1.852, allocations: 0 / 1.455 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/1.853, allocations: 5.094 kB / 1.455 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/1.853, allocations: 12.61 kB / 1.455 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/1.853, allocations: 16.98 kB / 1.455 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001789/1.853, allocations: 227.5 kB / 1.455 GB, free: 145.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001635/1.855, allocations: 486.9 kB / 1.455 GB, free: 145.3 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.003575/1.858, allocations: 1.436 MB / 1.457 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004822/1.859, allocations: 302.4 kB / 1.457 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.859, allocations: 4.781 kB / 1.457 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/1.859, allocations: 51.7 kB / 1.457 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/1.859, allocations: 39.94 kB / 1.457 GB, free: 144.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.16/2.019, allocations: 51.93 MB / 1.508 GB, free: 94.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/2.02, allocations: 0.8811 MB / 1.509 GB, free: 93.25 MB / 0.4948 GB Notification: Performance of SimCode: time 6.51e-07/2.02, allocations: 4 kB / 1.509 GB, free: 93.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.01919/2.039, allocations: 16.41 MB / 1.525 GB, free: 76.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