Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001632/0.001632, allocations: 119.5 kB / 17.09 MB, free: 5.973 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.001881/0.001881, allocations: 197.2 kB / 18.02 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2255/0.2255, allocations: 43.51 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 73.45 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1752, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4344/0.6096, allocations: 151 MB / 0.636 GB, free: 3.711 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.6122, allocations: 2.092 MB / 0.638 GB, free: 1.633 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.82e-05/0.6124, allocations: 0 / 0.638 GB, free: 1.633 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.6127, allocations: 62.39 kB / 0.6381 GB, free: 1.574 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.6144, allocations: 0.6103 MB / 0.6387 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.6147, allocations: 104.6 kB / 0.6388 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003659/0.6151, allocations: 259 kB / 0.639 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.6152, allocations: 11.98 kB / 0.639 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.6155, allocations: 139.4 kB / 0.6392 GB, free: 476 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.6157, allocations: 91.66 kB / 0.6392 GB, free: 384 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.6157, allocations: 8 kB / 0.6392 GB, free: 376 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.6174, allocations: 0.8301 MB / 0.6401 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.6175, allocations: 79.75 kB / 0.6401 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.6176, allocations: 95.66 kB / 0.6402 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.6187, allocations: 0.6383 MB / 0.6409 GB, free: 14.73 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6187, allocations: 4 kB / 0.6409 GB, free: 14.72 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6187, allocations: 0 / 0.6409 GB, free: 14.72 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.6187, allocations: 0 / 0.6409 GB, free: 14.72 MB / 494.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.0008535/0.6196, allocations: 0.5025 MB / 0.6413 GB, free: 14.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.6196, allocations: 8.031 kB / 0.6414 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.6217, allocations: 266.9 kB / 0.6416 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.6221, allocations: 283.9 kB / 0.6419 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.6221, allocations: 12.89 kB / 0.6419 GB, free: 13.58 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.944e-05/0.6222, allocations: 19.94 kB / 0.6419 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007603/0.623, allocations: 0.5045 MB / 0.6424 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.623, allocations: 0 / 0.6424 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.738e-05/0.6231, allocations: 7.984 kB / 0.6424 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.6231, allocations: 8 kB / 0.6424 GB, free: 13.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008253/0.6239, allocations: 0.5938 MB / 0.643 GB, free: 12.44 MB / 494.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.002398/0.6263, allocations: 1.008 MB / 0.644 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.6267, allocations: 241 kB / 0.6442 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.627, allocations: 187.8 kB / 0.6444 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000756/0.6277, allocations: 282.2 kB / 0.6447 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.6278, allocations: 38.56 kB / 0.6447 GB, free: 10.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/0.6278, allocations: 0 / 0.6447 GB, free: 10.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001994/0.6298, allocations: 0.5894 MB / 0.6453 GB, free: 9.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.6299, allocations: 89.09 kB / 0.6454 GB, free: 9.875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.63, allocations: 127.5 kB / 0.6455 GB, free: 9.742 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.771e-05/0.63, allocations: 33.69 kB / 0.6455 GB, free: 9.703 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.6301, allocations: 112.4 kB / 0.6456 GB, free: 9.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.972e-05/0.6302, allocations: 110.4 kB / 0.6457 GB, free: 9.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.6304, allocations: 65.69 kB / 0.6458 GB, free: 9.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6305, allocations: 326.8 kB / 0.6461 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/0.6308, allocations: 183.9 kB / 0.6463 GB, free: 8.902 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.6312, allocations: 284.7 kB / 0.6465 GB, free: 8.578 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007286/0.632, allocations: 496 kB / 0.647 GB, free: 8.051 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.632, allocations: 0 / 0.647 GB, free: 8.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000938/0.6329, allocations: 0.5204 MB / 0.6475 GB, free: 7.523 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.633, allocations: 4 kB / 0.6475 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.633, allocations: 4 kB / 0.6475 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.633, allocations: 12.39 kB / 0.6475 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.6335, allocations: 83.83 kB / 0.6476 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.6336, allocations: 4 kB / 0.6476 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.634, allocations: 39.67 kB / 0.6477 GB, free: 7.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.085e-05/0.634, allocations: 16.55 kB / 0.6477 GB, free: 7.363 MB / 494.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.0001709/0.6342, allocations: 141.8 kB / 0.6478 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.6343, allocations: 27.77 kB / 0.6478 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009403/0.6353, allocations: 0.493 MB / 0.6483 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.6353, allocations: 0 / 0.6483 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.6353, allocations: 4 kB / 0.6483 GB, free: 6.688 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.6353, allocations: 4 kB / 0.6483 GB, free: 6.684 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007171/0.636, allocations: 454.1 kB / 0.6488 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.636, allocations: 7.938 kB / 0.6488 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005308/0.6366, allocations: 60.64 kB / 0.6488 GB, free: 6.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.6366, allocations: 7.938 kB / 0.6488 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.6366, allocations: 8 kB / 0.6488 GB, free: 6.105 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.6367, allocations: 3.984 kB / 0.6488 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6367, allocations: 0 / 0.6488 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.6378, allocations: 0.6987 MB / 0.6495 GB, free: 5.387 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.6378, allocations: 96.86 kB / 0.6496 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.6379, allocations: 4.875 kB / 0.6496 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005195/0.6384, allocations: 23.97 kB / 0.6497 GB, free: 5.246 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/0.6385, allocations: 15.98 kB / 0.6497 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.6385, allocations: 11.98 kB / 0.6497 GB, free: 5.219 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.994e-05/0.6386, allocations: 111.2 kB / 0.6498 GB, free: 5.109 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6386, allocations: 0 / 0.6498 GB, free: 5.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000652/0.6393, allocations: 147.9 kB / 0.6499 GB, free: 4.965 MB / 494.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.0008279/0.6401, allocations: 331.7 kB / 0.6502 GB, free: 4.629 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007485/0.6409, allocations: 448.3 kB / 0.6507 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6409, allocations: 0 / 0.6507 GB, free: 4.191 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.6412, allocations: 223.3 kB / 0.6509 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000696/0.6419, allocations: 105.4 kB / 0.651 GB, free: 3.875 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.6432, allocations: 0.9002 MB / 0.6519 GB, free: 2.941 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.6435, allocations: 0.744 MB / 0.6526 GB, free: 2.172 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002026/0.6437, allocations: 35.42 kB / 0.6526 GB, free: 2.133 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6437, allocations: 0 / 0.6526 GB, free: 2.133 MB / 494.1 MB Notification: Performance of Templates: time 0.009601/0.6533, allocations: 6.663 MB / 0.6591 GB, free: 11.47 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches