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.001461/0.001461, allocations: 113.4 kB / 17.04 MB, free: 6.129 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.001547/0.001547, allocations: 193.7 kB / 17.98 MB, free: 5.227 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.509/1.509, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2144/0.2144, allocations: 43.52 MB / 314.7 MB, free: 488 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.001398/0.001398, allocations: 65.45 kB / 442.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1287, allocations: 57.79 MB / 0.4885 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4545/0.5832, allocations: 151 MB / 0.6359 GB, free: 3.863 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002574/0.5858, allocations: 2.087 MB / 0.638 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.235e-05/0.586, allocations: 0 / 0.638 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.5864, allocations: 55.66 kB / 0.638 GB, free: 1.73 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.5881, allocations: 0.612 MB / 0.6386 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.5884, allocations: 110.6 kB / 0.6387 GB, free: 1.016 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.5888, allocations: 263 kB / 0.639 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.733e-05/0.5889, allocations: 7.984 kB / 0.639 GB, free: 0.75 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002943/0.5892, allocations: 143.4 kB / 0.6391 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.5894, allocations: 87.72 kB / 0.6392 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.5894, allocations: 8 kB / 0.6392 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.591, allocations: 0.83 MB / 0.64 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.5912, allocations: 79.83 kB / 0.6401 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.5913, allocations: 95.58 kB / 0.6402 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.5923, allocations: 0.6383 MB / 0.6408 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5924, allocations: 0 / 0.6408 GB, free: 14.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5924, allocations: 0 / 0.6408 GB, free: 14.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.056e-06/0.5924, allocations: 4 kB / 0.6408 GB, free: 14.87 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.0009161/0.5933, allocations: 0.4986 MB / 0.6413 GB, free: 14.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.5934, allocations: 12.03 kB / 0.6413 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.5954, allocations: 268.4 kB / 0.6416 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.5958, allocations: 280 kB / 0.6418 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.5958, allocations: 12.89 kB / 0.6418 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.634e-05/0.5959, allocations: 19.94 kB / 0.6419 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000801/0.5967, allocations: 0.5044 MB / 0.6423 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5967, allocations: 0 / 0.6423 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.677e-05/0.5968, allocations: 15.27 kB / 0.6424 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/0.5968, allocations: 8 kB / 0.6424 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008706/0.5977, allocations: 0.5821 MB / 0.6429 GB, free: 12.59 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.002201/0.5999, allocations: 1.011 MB / 0.6439 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.6003, allocations: 245 kB / 0.6442 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002635/0.6006, allocations: 177.6 kB / 0.6443 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000785/0.6014, allocations: 290.1 kB / 0.6446 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.6014, allocations: 38.44 kB / 0.6446 GB, free: 10.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 2.004e-06/0.6015, allocations: 0 / 0.6446 GB, free: 10.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001963/0.6034, allocations: 0.5875 MB / 0.6452 GB, free: 10.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.6035, allocations: 81.11 kB / 0.6453 GB, free: 10.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.6036, allocations: 133.8 kB / 0.6454 GB, free: 9.895 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.396e-05/0.6037, allocations: 33.7 kB / 0.6455 GB, free: 9.855 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.6038, allocations: 108.4 kB / 0.6456 GB, free: 9.746 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.6039, allocations: 114.4 kB / 0.6457 GB, free: 9.633 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.604, allocations: 61.7 kB / 0.6457 GB, free: 9.566 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6041, allocations: 330.8 kB / 0.646 GB, free: 9.234 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.6045, allocations: 183.9 kB / 0.6462 GB, free: 9.055 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.6049, allocations: 289.7 kB / 0.6465 GB, free: 8.727 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007569/0.6057, allocations: 496 kB / 0.647 GB, free: 8.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6057, allocations: 0 / 0.647 GB, free: 8.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000965/0.6066, allocations: 0.5165 MB / 0.6475 GB, free: 7.676 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.6067, allocations: 8 kB / 0.6475 GB, free: 7.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.6067, allocations: 4 kB / 0.6475 GB, free: 7.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.6067, allocations: 4 kB / 0.6475 GB, free: 7.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005547/0.6073, allocations: 76.3 kB / 0.6476 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.648e-05/0.6073, allocations: 15.92 kB / 0.6476 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003904/0.6077, allocations: 39.67 kB / 0.6476 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.6078, allocations: 16 kB / 0.6476 GB, free: 7.516 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.0001706/0.608, allocations: 145.8 kB / 0.6478 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.6081, allocations: 15.84 kB / 0.6478 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000979/0.6091, allocations: 0.4977 MB / 0.6483 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.6091, allocations: 4 kB / 0.6483 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.6091, allocations: 0 / 0.6483 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.6091, allocations: 0 / 0.6483 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007371/0.6098, allocations: 462 kB / 0.6487 GB, free: 6.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6099, allocations: 3.938 kB / 0.6487 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.6104, allocations: 63.89 kB / 0.6488 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.6104, allocations: 0 / 0.6488 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.6104, allocations: 8 kB / 0.6488 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.6104, allocations: 4 kB / 0.6488 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6104, allocations: 0 / 0.6488 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001134/0.6116, allocations: 0.6948 MB / 0.6495 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.216e-05/0.6117, allocations: 100.8 kB / 0.6496 GB, free: 5.434 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.6117, allocations: 8 kB / 0.6496 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/0.6122, allocations: 21.09 kB / 0.6496 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.6123, allocations: 15.98 kB / 0.6496 GB, free: 5.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.6123, allocations: 15.98 kB / 0.6496 GB, free: 5.375 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.56e-05/0.6124, allocations: 106 kB / 0.6497 GB, free: 5.273 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6124, allocations: 0 / 0.6497 GB, free: 5.273 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007478/0.6131, allocations: 160 kB / 0.6499 GB, free: 5.117 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.0007729/0.6139, allocations: 334.9 kB / 0.6502 GB, free: 4.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007953/0.6147, allocations: 448.2 kB / 0.6506 GB, free: 4.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6147, allocations: 4.812 kB / 0.6506 GB, free: 4.336 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.6151, allocations: 207.3 kB / 0.6508 GB, free: 4.137 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.6158, allocations: 103.7 kB / 0.6509 GB, free: 4.039 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.6173, allocations: 0.8991 MB / 0.6518 GB, free: 3.109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.6176, allocations: 0.7518 MB / 0.6525 GB, free: 2.332 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.6178, allocations: 31.42 kB / 0.6526 GB, free: 2.301 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6178, allocations: 0 / 0.6526 GB, free: 2.301 MB / 494.1 MB Notification: Performance of Templates: time 0.009815/0.6276, allocations: 6.646 MB / 0.6591 GB, free: 11.66 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