Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.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.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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008717/0.0008717, allocations: 175.2 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205.4 MB / 222.9 MB, free: 8.949 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.0007074/0.0007074, allocations: 88.78 kB / 271.2 MB, free: 8.25 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.2804/0.2804, allocations: 43.56 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003787, allocations: 12 kB / 432 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0999/0.1003, allocations: 58.86 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3033/0.4036, allocations: 136.9 MB / 0.6131 GB, free: 13.98 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.4056, allocations: 1.94 MB / 0.615 GB, free: 12.05 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.4057, allocations: 0 / 0.615 GB, free: 12.05 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.406, allocations: 49.98 kB / 0.615 GB, free: 12 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.407, allocations: 0.533 MB / 0.6155 GB, free: 11.46 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.4074, allocations: 91.81 kB / 0.6156 GB, free: 11.38 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.4077, allocations: 302.9 kB / 0.6159 GB, free: 11.08 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.4077, allocations: 14.91 kB / 0.6159 GB, free: 11.07 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.408, allocations: 126.4 kB / 0.616 GB, free: 10.95 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.4081, allocations: 103.7 kB / 0.6161 GB, free: 10.84 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.4082, allocations: 4 kB / 0.6161 GB, free: 10.84 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.4099, allocations: 1.271 MB / 0.6174 GB, free: 9.566 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.058e-05/0.4101, allocations: 87.81 kB / 0.6175 GB, free: 9.48 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.4102, allocations: 113.4 kB / 0.6176 GB, free: 9.363 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005751/0.4108, allocations: 0.5005 MB / 0.6181 GB, free: 8.863 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4108, allocations: 0 / 0.6181 GB, free: 8.863 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4108, allocations: 3.938 kB / 0.6181 GB, free: 8.859 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.4108, allocations: 0 / 0.6181 GB, free: 8.859 MB / 442.7 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.000608/0.4114, allocations: 475 kB / 0.6185 GB, free: 8.352 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.4114, allocations: 8.031 kB / 0.6185 GB, free: 8.344 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006249/0.4177, allocations: 0.7206 MB / 0.6192 GB, free: 7.629 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.4181, allocations: 280.1 kB / 0.6195 GB, free: 7.316 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4181, allocations: 12.89 kB / 0.6195 GB, free: 7.305 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.4182, allocations: 23.84 kB / 0.6195 GB, free: 7.281 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.4195, allocations: 0.7034 MB / 0.6202 GB, free: 6.566 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.4196, allocations: 0 / 0.6202 GB, free: 6.566 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/0.4196, allocations: 12 kB / 0.6202 GB, free: 6.555 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.4197, allocations: 8 kB / 0.6202 GB, free: 6.547 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001858/0.4215, allocations: 0.925 MB / 0.6211 GB, free: 5.621 MB / 442.7 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.004435/0.426, allocations: 1.982 MB / 0.6231 GB, free: 3.473 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.4271, allocations: 0.5047 MB / 0.6236 GB, free: 2.949 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006057/0.4277, allocations: 321.5 kB / 0.6239 GB, free: 2.629 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006542/0.4283, allocations: 278.2 kB / 0.6241 GB, free: 2.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.4284, allocations: 43.59 kB / 0.6242 GB, free: 2.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 2.726e-06/0.4284, allocations: 0 / 0.6242 GB, free: 2.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001998/0.4304, allocations: 0.8851 MB / 0.625 GB, free: 1.379 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.4304, allocations: 85.11 kB / 0.6251 GB, free: 1.277 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.4306, allocations: 130 kB / 0.6252 GB, free: 1.141 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.17e-05/0.4306, allocations: 29.7 kB / 0.6253 GB, free: 1.105 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/0.4307, allocations: 116.4 kB / 0.6254 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.4308, allocations: 110.4 kB / 0.6255 GB, free: 0.8789 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.4309, allocations: 4 kB / 0.6255 GB, free: 0.875 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.431, allocations: 326.8 kB / 0.6258 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006181/0.4316, allocations: 295.8 kB / 0.6261 GB, free: 264 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006399/0.4322, allocations: 400.7 kB / 0.6265 GB, free: 15.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.4335, allocations: 0.698 MB / 0.6272 GB, free: 15.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.4335, allocations: 1.031 kB / 0.6272 GB, free: 15.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001551/0.4351, allocations: 0.739 MB / 0.6279 GB, free: 14.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.726e-05/0.4351, allocations: 8 kB / 0.6279 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.4352, allocations: 4.406 kB / 0.6279 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.4352, allocations: 8 kB / 0.6279 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009978/0.4362, allocations: 103.8 kB / 0.628 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.4362, allocations: 4 kB / 0.628 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008254/0.437, allocations: 55.64 kB / 0.628 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.769e-05/0.4371, allocations: 27.98 kB / 0.6281 GB, free: 14.12 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002033/0.4373, allocations: 145.7 kB / 0.6282 GB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.4375, allocations: 15.84 kB / 0.6282 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.4394, allocations: 0.7847 MB / 0.629 GB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4394, allocations: 4 kB / 0.629 GB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4394, allocations: 4.812 kB / 0.629 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.4394, allocations: 3.984 kB / 0.629 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009556/0.4404, allocations: 0.803 MB / 0.6298 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4404, allocations: 3.938 kB / 0.6298 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009253/0.4413, allocations: 75.92 kB / 0.6299 GB, free: 12.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.4413, allocations: 4 kB / 0.6299 GB, free: 12.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-05/0.4414, allocations: 15.11 kB / 0.6299 GB, free: 12.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.4414, allocations: 8 kB / 0.6299 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4414, allocations: 7.875 kB / 0.6299 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.4433, allocations: 0.958 MB / 0.6308 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.4433, allocations: 92.86 kB / 0.6309 GB, free: 11.06 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.4434, allocations: 8 kB / 0.6309 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008687/0.4443, allocations: 35.95 kB / 0.631 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.4443, allocations: 19.97 kB / 0.631 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.076e-05/0.4444, allocations: 19.98 kB / 0.631 GB, free: 10.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.412e-05/0.4445, allocations: 103.2 kB / 0.6311 GB, free: 10.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4445, allocations: 0 / 0.6311 GB, free: 10.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006664/0.4452, allocations: 179.9 kB / 0.6313 GB, free: 10.7 MB / 458.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008615/0.446, allocations: 345.1 kB / 0.6316 GB, free: 10.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.4474, allocations: 0.6599 MB / 0.6322 GB, free: 9.699 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4474, allocations: 0 / 0.6322 GB, free: 9.699 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006161/0.448, allocations: 335.1 kB / 0.6326 GB, free: 9.375 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.4487, allocations: 92.34 kB / 0.6327 GB, free: 9.285 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.4503, allocations: 1.163 MB / 0.6338 GB, free: 8.098 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.4506, allocations: 0.7369 MB / 0.6345 GB, free: 7.336 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000452/0.451, allocations: 47.39 kB / 0.6346 GB, free: 7.289 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.451, allocations: 0 / 0.6346 GB, free: 7.289 MB / 458.7 MB Notification: Performance of Templates: time 0.01263/0.4637, allocations: 10.08 MB / 0.6444 GB, free: 13.14 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches