Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 104.5 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001107, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.2 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2143/0.2143, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.91 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1213, allocations: 60.84 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3895/0.5108, allocations: 149.7 MB / 0.6044 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002761/0.5136, allocations: 2.192 MB / 0.6066 GB, free: 8.922 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.5138, allocations: 0 / 0.6066 GB, free: 8.922 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004005/0.5142, allocations: 51.72 kB / 0.6066 GB, free: 8.871 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.516, allocations: 0.63 MB / 0.6072 GB, free: 8.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.5163, allocations: 99.72 kB / 0.6073 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003443/0.5167, allocations: 259 kB / 0.6076 GB, free: 7.887 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.5167, allocations: 7.984 kB / 0.6076 GB, free: 7.879 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/0.5171, allocations: 137.4 kB / 0.6077 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.5173, allocations: 91.66 kB / 0.6078 GB, free: 7.656 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.5173, allocations: 12 kB / 0.6078 GB, free: 7.645 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.519, allocations: 0.9393 MB / 0.6087 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.5192, allocations: 79.7 kB / 0.6088 GB, free: 6.625 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.5193, allocations: 99.64 kB / 0.6089 GB, free: 6.527 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.5206, allocations: 0.6781 MB / 0.6096 GB, free: 5.848 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5206, allocations: 0 / 0.6096 GB, free: 5.848 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5207, allocations: 3.938 kB / 0.6096 GB, free: 5.844 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.5207, allocations: 0 / 0.6096 GB, free: 5.844 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001364/0.522, allocations: 0.4999 MB / 0.6101 GB, free: 5.297 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.5221, allocations: 8.031 kB / 0.6101 GB, free: 5.289 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007788/0.5299, allocations: 0.7418 MB / 0.6108 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004939/0.5304, allocations: 284.2 kB / 0.6111 GB, free: 4.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.5305, allocations: 28.14 kB / 0.6111 GB, free: 4.203 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.5306, allocations: 12 kB / 0.6111 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.5321, allocations: 0.6996 MB / 0.6118 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.5321, allocations: 0 / 0.6118 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.998e-05/0.5322, allocations: 8 kB / 0.6118 GB, free: 3.473 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.609e-05/0.5322, allocations: 12.88 kB / 0.6118 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.5343, allocations: 0.9134 MB / 0.6127 GB, free: 2.547 MB / 446.1 MB 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.005282/0.5395, allocations: 2.001 MB / 0.6147 GB, free: 368 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.5407, allocations: 0.5164 MB / 0.6152 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000655/0.5414, allocations: 325.5 kB / 0.6155 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009477/0.5423, allocations: 377.8 kB / 0.6158 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.5424, allocations: 38.56 kB / 0.6159 GB, free: 15.03 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.595e-06/0.5424, allocations: 0 / 0.6159 GB, free: 15.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002199/0.5446, allocations: 0.8882 MB / 0.6167 GB, free: 14.14 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.5447, allocations: 81.11 kB / 0.6168 GB, free: 14.04 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.5448, allocations: 125.8 kB / 0.6169 GB, free: 13.91 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.397e-05/0.5449, allocations: 33.7 kB / 0.617 GB, free: 13.87 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.545, allocations: 124.3 kB / 0.6171 GB, free: 13.74 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.5451, allocations: 94.56 kB / 0.6172 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.5453, allocations: 77.58 kB / 0.6172 GB, free: 13.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5454, allocations: 326.8 kB / 0.6176 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000635/0.5461, allocations: 295.8 kB / 0.6178 GB, free: 12.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007036/0.5468, allocations: 409.2 kB / 0.6182 GB, free: 12.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.5481, allocations: 0.6952 MB / 0.6189 GB, free: 11.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5482, allocations: 0 / 0.6189 GB, free: 11.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001659/0.5498, allocations: 0.7486 MB / 0.6196 GB, free: 11.01 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.5499, allocations: 7.438 kB / 0.6196 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5499, allocations: 4 kB / 0.6196 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.5499, allocations: 8 kB / 0.6197 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.551, allocations: 99.84 kB / 0.6197 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.551, allocations: 8.125 kB / 0.6198 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009076/0.552, allocations: 47.75 kB / 0.6198 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.036e-05/0.552, allocations: 27.92 kB / 0.6198 GB, free: 10.82 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002264/0.5523, allocations: 141.7 kB / 0.62 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.5524, allocations: 23.81 kB / 0.62 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.5544, allocations: 0.7741 MB / 0.6207 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.5544, allocations: 7.938 kB / 0.6208 GB, free: 9.859 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.5544, allocations: 0 / 0.6208 GB, free: 9.859 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5545, allocations: 0 / 0.6208 GB, free: 9.859 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.5555, allocations: 0.8134 MB / 0.6215 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5555, allocations: 1.688 kB / 0.6215 GB, free: 8.941 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.5566, allocations: 83.86 kB / 0.6216 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.5566, allocations: 4 kB / 0.6216 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.096e-05/0.5567, allocations: 15.97 kB / 0.6216 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.5567, allocations: 4 kB / 0.6217 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5567, allocations: 0 / 0.6217 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.5587, allocations: 0.9552 MB / 0.6226 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.66e-05/0.5588, allocations: 88.95 kB / 0.6227 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.414e-05/0.5589, allocations: 11.98 kB / 0.6227 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009725/0.5599, allocations: 35.95 kB / 0.6227 GB, free: 7.715 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.5599, allocations: 19.97 kB / 0.6227 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/0.56, allocations: 23.97 kB / 0.6228 GB, free: 7.672 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.658e-05/0.5601, allocations: 95.27 kB / 0.6228 GB, free: 7.578 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5601, allocations: 0 / 0.6228 GB, free: 7.578 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007794/0.5609, allocations: 187.8 kB / 0.623 GB, free: 7.395 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009933/0.5619, allocations: 352.8 kB / 0.6234 GB, free: 7.047 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.5634, allocations: 0.6676 MB / 0.624 GB, free: 6.379 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5634, allocations: 3.938 kB / 0.624 GB, free: 6.375 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.5641, allocations: 328.4 kB / 0.6243 GB, free: 6.055 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007389/0.5648, allocations: 96.33 kB / 0.6244 GB, free: 5.961 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.5666, allocations: 0.9417 MB / 0.6253 GB, free: 4.996 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.5669, allocations: 0.7327 MB / 0.6261 GB, free: 4.238 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001276/0.5682, allocations: 185.7 kB / 0.6262 GB, free: 4.051 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.5685, allocations: 39.41 kB / 0.6263 GB, free: 4.012 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5685, allocations: 0 / 0.6263 GB, free: 4.012 MB / 462.1 MB Notification: Performance of Templates: time 0.017/0.5856, allocations: 10.43 MB / 0.6365 GB, free: 9.586 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches