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.001153/0.001153, allocations: 97.66 kB / 18 MB, free: 5.738 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.001527/0.001527, allocations: 179.8 kB / 18.91 MB, free: 4.871 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.405/1.405, allocations: 223.3 MB / 243 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1987/0.1987, allocations: 44.25 MB / 338.3 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005154/0.0005156, allocations: 8 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1202, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3919/0.5121, allocations: 145.6 MB / 0.604 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.515, allocations: 2.203 MB / 0.6062 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.245e-05/0.5152, allocations: 7.938 kB / 0.6062 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.5156, allocations: 55.77 kB / 0.6062 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.5171, allocations: 0.568 MB / 0.6068 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.5174, allocations: 106 kB / 0.6069 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004271/0.5178, allocations: 370.8 kB / 0.6072 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.5179, allocations: 8 kB / 0.6072 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.5182, allocations: 117.5 kB / 0.6073 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.5184, allocations: 99.69 kB / 0.6074 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.5185, allocations: 11.94 kB / 0.6075 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.5205, allocations: 1.228 MB / 0.6087 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.5206, allocations: 83.69 kB / 0.6087 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.5207, allocations: 117.4 kB / 0.6088 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007482/0.5215, allocations: 0.5145 MB / 0.6093 GB, free: 11.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5215, allocations: 0 / 0.6093 GB, free: 11.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5215, allocations: 0 / 0.6093 GB, free: 11.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.5215, allocations: 0 / 0.6093 GB, free: 11.66 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.0008167/0.5223, allocations: 479.9 kB / 0.6098 GB, free: 11.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.5224, allocations: 8.031 kB / 0.6098 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007427/0.5298, allocations: 0.7306 MB / 0.6105 GB, free: 10.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.5303, allocations: 276.2 kB / 0.6108 GB, free: 10.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.5303, allocations: 24.25 kB / 0.6108 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.5305, allocations: 16 kB / 0.6108 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.532, allocations: 0.7073 MB / 0.6115 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.532, allocations: 0 / 0.6115 GB, free: 9.344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.475e-05/0.5321, allocations: 8 kB / 0.6115 GB, free: 9.336 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.5322, allocations: 8 kB / 0.6115 GB, free: 9.328 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.5342, allocations: 0.9123 MB / 0.6124 GB, free: 8.418 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.005025/0.5392, allocations: 1.99 MB / 0.6144 GB, free: 6.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/0.5405, allocations: 0.5125 MB / 0.6149 GB, free: 5.711 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006755/0.5412, allocations: 321.6 kB / 0.6152 GB, free: 5.391 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008702/0.542, allocations: 379.2 kB / 0.6155 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.5421, allocations: 42.55 kB / 0.6156 GB, free: 4.914 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.884e-06/0.5421, allocations: 0 / 0.6156 GB, free: 4.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002294/0.5444, allocations: 0.8863 MB / 0.6164 GB, free: 4.023 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.5445, allocations: 81.11 kB / 0.6165 GB, free: 3.926 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.5446, allocations: 129.8 kB / 0.6166 GB, free: 3.789 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/0.5447, allocations: 33.7 kB / 0.6167 GB, free: 3.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.5447, allocations: 120.3 kB / 0.6168 GB, free: 3.629 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.5449, allocations: 106.5 kB / 0.6169 GB, free: 3.523 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.036e-05/0.545, allocations: 29.7 kB / 0.6169 GB, free: 3.488 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5451, allocations: 326.8 kB / 0.6172 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006559/0.5457, allocations: 291.8 kB / 0.6175 GB, free: 2.875 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.5465, allocations: 413.2 kB / 0.6179 GB, free: 2.426 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00141/0.5479, allocations: 0.6947 MB / 0.6186 GB, free: 1.688 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.5479, allocations: 0 / 0.6186 GB, free: 1.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001683/0.5496, allocations: 0.7469 MB / 0.6193 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5496, allocations: 8 kB / 0.6193 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.5497, allocations: 0 / 0.6193 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.5497, allocations: 11.94 kB / 0.6193 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.5509, allocations: 100.7 kB / 0.6194 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.602e-05/0.551, allocations: 12.81 kB / 0.6194 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.5522, allocations: 55.64 kB / 0.6195 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-05/0.5523, allocations: 23.98 kB / 0.6195 GB, free: 0.7266 MB / 446.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.0002269/0.5525, allocations: 141.7 kB / 0.6197 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.5527, allocations: 19.81 kB / 0.6197 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002116/0.5548, allocations: 0.7792 MB / 0.6204 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.5548, allocations: 4 kB / 0.6204 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5549, allocations: 0 / 0.6204 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.5549, allocations: 7.984 kB / 0.6204 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.556, allocations: 0.7979 MB / 0.6212 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.556, allocations: 4 kB / 0.6212 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.5572, allocations: 75.86 kB / 0.6213 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.5572, allocations: 7.984 kB / 0.6213 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-05/0.5573, allocations: 11.98 kB / 0.6213 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.5573, allocations: 4 kB / 0.6213 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5573, allocations: 0 / 0.6213 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.5595, allocations: 0.9677 MB / 0.6223 GB, free: 13.78 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.394e-05/0.5596, allocations: 96.86 kB / 0.6224 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-05/0.5597, allocations: 11.94 kB / 0.6224 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.5607, allocations: 31.95 kB / 0.6224 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.5608, allocations: 23.97 kB / 0.6224 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.621e-05/0.5608, allocations: 15.98 kB / 0.6224 GB, free: 13.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.681e-05/0.5609, allocations: 105.2 kB / 0.6225 GB, free: 13.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5609, allocations: 0 / 0.6225 GB, free: 13.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007792/0.5617, allocations: 188 kB / 0.6227 GB, free: 13.3 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.0009709/0.5627, allocations: 347.4 kB / 0.623 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.5642, allocations: 0.6445 MB / 0.6237 GB, free: 12.31 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5642, allocations: 8.25 kB / 0.6237 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007082/0.5649, allocations: 327.7 kB / 0.624 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007742/0.5657, allocations: 96.55 kB / 0.6241 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.5676, allocations: 1.177 MB / 0.6252 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.5679, allocations: 0.7368 MB / 0.626 GB, free: 9.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004359/0.5683, allocations: 47.39 kB / 0.626 GB, free: 9.863 MB / 462.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5683, allocations: 0 / 0.626 GB, free: 9.863 MB / 462.1 MB Notification: Performance of Templates: time 0.0143/0.5827, allocations: 10.02 MB / 0.6358 GB, free: 15.77 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/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