Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001882/0.001889, allocations: 117.3 kB / 17.99 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002482/0.002482, allocations: 201.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.262/2.262, allocations: 227.4 MB / 247.1 MB, free: 9.125 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2211/0.2211, allocations: 46.09 MB / 344.4 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 80.95 kB / 417.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1189, allocations: 62.44 MB / 480.1 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4027/0.5216, allocations: 150.5 MB / 0.6158 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.5241, allocations: 2.187 MB / 0.618 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.5241, allocations: 3.656 kB / 0.618 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.5245, allocations: 51.78 kB / 0.618 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.5258, allocations: 0.5823 MB / 0.6186 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.5261, allocations: 91.81 kB / 0.6187 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.5265, allocations: 263 kB / 0.6189 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.5265, allocations: 12.53 kB / 0.619 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.5268, allocations: 145.4 kB / 0.6191 GB, free: 9.98 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.527, allocations: 103.6 kB / 0.6192 GB, free: 9.879 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.527, allocations: 8 kB / 0.6192 GB, free: 9.871 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.5286, allocations: 1.099 MB / 0.6203 GB, free: 8.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.941e-05/0.5288, allocations: 79.83 kB / 0.6203 GB, free: 8.691 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.5289, allocations: 99.58 kB / 0.6204 GB, free: 8.594 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000689/0.5296, allocations: 0.5224 MB / 0.621 GB, free: 8.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5296, allocations: 0 / 0.621 GB, free: 8.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.5296, allocations: 0 / 0.621 GB, free: 8.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.5296, allocations: 7.922 kB / 0.621 GB, free: 8.062 MB / 462.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.000748/0.5304, allocations: 0.4953 MB / 0.6214 GB, free: 7.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.5304, allocations: 8.031 kB / 0.6215 GB, free: 7.512 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006898/0.5373, allocations: 0.7463 MB / 0.6222 GB, free: 6.766 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.5377, allocations: 280.2 kB / 0.6224 GB, free: 6.453 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.5377, allocations: 20.25 kB / 0.6225 GB, free: 6.434 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.5379, allocations: 20 kB / 0.6225 GB, free: 6.414 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.5393, allocations: 0.6967 MB / 0.6232 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.5393, allocations: 0 / 0.6232 GB, free: 5.707 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-05/0.5394, allocations: 12 kB / 0.6232 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.5394, allocations: 11.98 kB / 0.6232 GB, free: 5.684 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.5414, allocations: 0.9173 MB / 0.6241 GB, free: 4.766 MB / 462.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.004912/0.5463, allocations: 2 MB / 0.626 GB, free: 2.582 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.5475, allocations: 0.5086 MB / 0.6265 GB, free: 2.055 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006484/0.5481, allocations: 321.6 kB / 0.6268 GB, free: 1.734 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008882/0.549, allocations: 383.3 kB / 0.6272 GB, free: 1.305 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.5491, allocations: 34.56 kB / 0.6272 GB, free: 1.262 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.5491, allocations: 0 / 0.6272 GB, free: 1.262 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002088/0.5512, allocations: 0.892 MB / 0.6281 GB, free: 372 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.5512, allocations: 81.11 kB / 0.6282 GB, free: 272 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.5514, allocations: 143.1 kB / 0.6283 GB, free: 120 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.053e-05/0.5515, allocations: 29.7 kB / 0.6284 GB, free: 84 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.5516, allocations: 116.4 kB / 0.6285 GB, free: 15.96 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.5517, allocations: 106.5 kB / 0.6286 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002036/0.5519, allocations: 69.67 kB / 0.6286 GB, free: 15.79 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.552, allocations: 326.8 kB / 0.6289 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006545/0.5527, allocations: 299.8 kB / 0.6292 GB, free: 15.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/0.5534, allocations: 408.4 kB / 0.6296 GB, free: 14.72 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.5547, allocations: 0.6907 MB / 0.6303 GB, free: 13.98 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.5547, allocations: 0 / 0.6303 GB, free: 13.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001601/0.5563, allocations: 0.7429 MB / 0.631 GB, free: 13.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5564, allocations: 4 kB / 0.631 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.5564, allocations: 4.625 kB / 0.631 GB, free: 13.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5564, allocations: 4.406 kB / 0.631 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.5574, allocations: 111.8 kB / 0.6311 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.5575, allocations: 4 kB / 0.6311 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008314/0.5583, allocations: 51.66 kB / 0.6312 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/0.5584, allocations: 23.98 kB / 0.6312 GB, free: 13.04 MB / 478.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.0002102/0.5586, allocations: 149.7 kB / 0.6314 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.5587, allocations: 11.91 kB / 0.6314 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.5607, allocations: 0.7831 MB / 0.6321 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5607, allocations: 8 kB / 0.6321 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5607, allocations: 0 / 0.6321 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5607, allocations: 3.938 kB / 0.6321 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.5618, allocations: 0.8139 MB / 0.6329 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5618, allocations: 0 / 0.6329 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.5628, allocations: 79.91 kB / 0.633 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.5628, allocations: 4 kB / 0.633 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/0.5629, allocations: 11.98 kB / 0.633 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.5629, allocations: 0 / 0.633 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.5629, allocations: 4 kB / 0.633 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.5649, allocations: 0.9594 MB / 0.634 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.5649, allocations: 96.94 kB / 0.6341 GB, free: 9.973 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.159e-05/0.565, allocations: 8 kB / 0.6341 GB, free: 9.965 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009178/0.566, allocations: 35.86 kB / 0.6341 GB, free: 9.93 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.566, allocations: 15.98 kB / 0.6341 GB, free: 9.914 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.986e-05/0.5661, allocations: 27.91 kB / 0.6341 GB, free: 9.887 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.443e-05/0.5662, allocations: 103.3 kB / 0.6342 GB, free: 9.785 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5662, allocations: 0 / 0.6342 GB, free: 9.785 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007461/0.5669, allocations: 179.9 kB / 0.6344 GB, free: 9.609 MB / 478.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.000896/0.5678, allocations: 364.1 kB / 0.6348 GB, free: 9.246 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001438/0.5693, allocations: 0.6715 MB / 0.6354 GB, free: 8.574 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5693, allocations: 4 kB / 0.6354 GB, free: 8.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006978/0.57, allocations: 326.3 kB / 0.6357 GB, free: 8.254 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/0.5707, allocations: 103.4 kB / 0.6358 GB, free: 8.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.5724, allocations: 1.02 MB / 0.6368 GB, free: 7.109 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.5727, allocations: 0.7479 MB / 0.6376 GB, free: 6.332 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004194/0.5732, allocations: 43.39 kB / 0.6376 GB, free: 6.293 MB / 478.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5732, allocations: 0 / 0.6376 GB, free: 6.293 MB / 478.1 MB Notification: Performance of Templates: time 0.0145/0.5877, allocations: 10.12 MB / 0.6475 GB, free: 12.1 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches