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.001052/0.001052, allocations: 179.4 kB / 16.41 MB, free: 5.707 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.551/1.551, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008817/0.0008817, allocations: 99.88 kB / 270.9 MB, free: 8.355 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.3903/0.3903, allocations: 43.55 MB / 362.7 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004131/0.0004131, allocations: 8 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1431, allocations: 58.85 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4712/0.6144, allocations: 136.9 MB / 0.6125 GB, free: 14.12 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005137/0.6196, allocations: 1.939 MB / 0.6144 GB, free: 12.19 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.6198, allocations: 0 / 0.6144 GB, free: 12.19 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000437/0.6203, allocations: 42.05 kB / 0.6144 GB, free: 12.15 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.6226, allocations: 430.8 kB / 0.6148 GB, free: 11.73 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.6231, allocations: 86.45 kB / 0.6149 GB, free: 11.65 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006561/0.6238, allocations: 306.9 kB / 0.6152 GB, free: 11.35 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.238e-05/0.6239, allocations: 10.91 kB / 0.6152 GB, free: 11.34 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004902/0.6244, allocations: 123.5 kB / 0.6153 GB, free: 11.22 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.6248, allocations: 103.7 kB / 0.6154 GB, free: 11.12 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.055e-05/0.6248, allocations: 4 kB / 0.6154 GB, free: 11.11 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002682/0.6275, allocations: 0.854 MB / 0.6163 GB, free: 10.26 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.6277, allocations: 83.81 kB / 0.6163 GB, free: 10.18 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.6279, allocations: 61.58 kB / 0.6164 GB, free: 10.11 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.6292, allocations: 488.6 kB / 0.6169 GB, free: 9.633 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6292, allocations: 4 kB / 0.6169 GB, free: 9.629 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.6292, allocations: 0 / 0.6169 GB, free: 9.629 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.6292, allocations: 4 kB / 0.6169 GB, free: 9.625 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.001399/0.6306, allocations: 462.9 kB / 0.6173 GB, free: 9.129 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.6307, allocations: 8.031 kB / 0.6173 GB, free: 9.121 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.6433, allocations: 0.7332 MB / 0.618 GB, free: 8.398 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008395/0.6442, allocations: 274.8 kB / 0.6183 GB, free: 8.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.6443, allocations: 12.33 kB / 0.6183 GB, free: 8.078 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/0.6445, allocations: 20 kB / 0.6183 GB, free: 8.059 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002993/0.6475, allocations: 0.7033 MB / 0.619 GB, free: 7.344 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.6476, allocations: 0 / 0.619 GB, free: 7.344 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001728/0.6478, allocations: 13.03 kB / 0.619 GB, free: 7.332 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.686e-05/0.6478, allocations: 12 kB / 0.619 GB, free: 7.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003945/0.6518, allocations: 0.9173 MB / 0.6199 GB, free: 6.402 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.008958/0.6608, allocations: 1.994 MB / 0.6219 GB, free: 4.242 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002356/0.6632, allocations: 0.5051 MB / 0.6224 GB, free: 3.719 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.6645, allocations: 325.5 kB / 0.6227 GB, free: 3.395 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/0.6658, allocations: 262.1 kB / 0.6229 GB, free: 3.102 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.355e-05/0.6659, allocations: 46.48 kB / 0.623 GB, free: 3.047 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 4.929e-06/0.6659, allocations: 0 / 0.623 GB, free: 3.047 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.004173/0.6701, allocations: 0.8956 MB / 0.6239 GB, free: 2.145 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.283e-05/0.6702, allocations: 85.05 kB / 0.6239 GB, free: 2.043 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.6705, allocations: 131.9 kB / 0.6241 GB, free: 1.906 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.6706, allocations: 33.7 kB / 0.6241 GB, free: 1.867 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.6708, allocations: 116.4 kB / 0.6242 GB, free: 1.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.671, allocations: 98.47 kB / 0.6243 GB, free: 1.652 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.183e-05/0.6711, allocations: 8 kB / 0.6243 GB, free: 1.645 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6712, allocations: 326.8 kB / 0.6246 GB, free: 1.316 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/0.6725, allocations: 299.8 kB / 0.6249 GB, free: 1.023 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.6739, allocations: 392.7 kB / 0.6253 GB, free: 0.5938 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.6753, allocations: 336.8 kB / 0.6256 GB, free: 272 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.6753, allocations: 0 / 0.6256 GB, free: 272 kB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.003182/0.6785, allocations: 0.7405 MB / 0.6263 GB, free: 15.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.6786, allocations: 8 kB / 0.6263 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.31e-05/0.6786, allocations: 4 kB / 0.6263 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.6787, allocations: 4 kB / 0.6263 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/0.6805, allocations: 100.7 kB / 0.6264 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.6806, allocations: 8 kB / 0.6264 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.6822, allocations: 51.91 kB / 0.6265 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.6824, allocations: 19.98 kB / 0.6265 GB, free: 15.33 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.0004606/0.6829, allocations: 161.6 kB / 0.6267 GB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/0.6831, allocations: 19.8 kB / 0.6267 GB, free: 15.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004027/0.6872, allocations: 0.7793 MB / 0.6274 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.6872, allocations: 4 kB / 0.6275 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.6872, allocations: 0 / 0.6275 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.6873, allocations: 4 kB / 0.6275 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.6894, allocations: 0.8068 MB / 0.6282 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/0.6895, allocations: 8 kB / 0.6283 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/0.6913, allocations: 83.03 kB / 0.6283 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/0.6913, allocations: 0 / 0.6283 GB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.6914, allocations: 11.98 kB / 0.6283 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.6914, allocations: 4 kB / 0.6283 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6914, allocations: 0 / 0.6283 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003827/0.6953, allocations: 0.9545 MB / 0.6293 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.6955, allocations: 100.8 kB / 0.6294 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.6956, allocations: 4 kB / 0.6294 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.6974, allocations: 39.95 kB / 0.6294 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.571e-05/0.6975, allocations: 15.98 kB / 0.6294 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/0.6976, allocations: 23.97 kB / 0.6295 GB, free: 12.18 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.6978, allocations: 95.27 kB / 0.6295 GB, free: 12.08 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6978, allocations: 0 / 0.6295 GB, free: 12.08 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001405/0.6992, allocations: 184 kB / 0.6297 GB, free: 11.9 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.001647/0.7009, allocations: 294.7 kB / 0.63 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002965/0.7039, allocations: 0.656 MB / 0.6306 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.7039, allocations: 7.938 kB / 0.6307 GB, free: 10.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.7052, allocations: 327.7 kB / 0.631 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.7067, allocations: 97.34 kB / 0.6311 GB, free: 10.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/0.71, allocations: 1.167 MB / 0.6322 GB, free: 9.344 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.7104, allocations: 0.7329 MB / 0.6329 GB, free: 8.586 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008273/0.7113, allocations: 47.39 kB / 0.633 GB, free: 8.539 MB / 458.7 MB Notification: Performance of SimCode: time 1.233e-06/0.7113, allocations: 0 / 0.633 GB, free: 8.539 MB / 458.7 MB Notification: Performance of Templates: time 0.02663/0.738, allocations: 9.957 MB / 0.6427 GB, free: 14.51 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