Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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) 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(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 102.9 kB / 17.16 MB, free: 6.316 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.001209/0.001209, allocations: 190 kB / 18.07 MB, free: 5.414 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.371/1.371, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.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.00113/0.00113, allocations: 47.92 kB / 280 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08301/0.08416, allocations: 46.61 MB / 326.6 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3149/0.3991, allocations: 148.8 MB / 475.3 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.4015, allocations: 2.153 MB / 477.5 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.4016, allocations: 4 kB / 477.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.402, allocations: 51.78 kB / 477.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.4033, allocations: 0.5524 MB / 478.1 MB, free: 136 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.4036, allocations: 96.55 kB / 478.2 MB, free: 40 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004003/0.404, allocations: 366.9 kB / 478.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.404, allocations: 8 kB / 478.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002656/0.4043, allocations: 133 kB / 478.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.4045, allocations: 95.7 kB / 478.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.4045, allocations: 4 kB / 478.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.4063, allocations: 1.201 MB / 480 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/0.4064, allocations: 83.75 kB / 480.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.4065, allocations: 95.52 kB / 480.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.4076, allocations: 0.752 MB / 480.9 MB, free: 13.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.4076, allocations: 0 / 480.9 MB, free: 13.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4076, allocations: 0 / 480.9 MB, free: 13.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.4076, allocations: 0 / 480.9 MB, free: 13.31 MB / 382.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.0007717/0.4084, allocations: 0.4999 MB / 481.4 MB, free: 12.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4085, allocations: 16.03 kB / 481.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007268/0.4157, allocations: 0.7344 MB / 482.2 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.4162, allocations: 276.1 kB / 482.4 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.4162, allocations: 12.89 kB / 482.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.4163, allocations: 23.94 kB / 482.5 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.4178, allocations: 0.7112 MB / 483.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.4178, allocations: 0 / 483.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.23e-05/0.4179, allocations: 8 kB / 483.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.418, allocations: 8 kB / 483.2 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.42, allocations: 0.9212 MB / 484.1 MB, free: 10.01 MB / 382.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.00491/0.4249, allocations: 2.016 MB / 486.1 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.4261, allocations: 0.5053 MB / 486.6 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006569/0.4268, allocations: 325.6 kB / 487 MB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00076/0.4275, allocations: 270 kB / 487.2 MB, free: 6.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.4276, allocations: 40.56 kB / 487.3 MB, free: 6.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.466e-06/0.4276, allocations: 3.938 kB / 487.3 MB, free: 6.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002235/0.4298, allocations: 0.888 MB / 488.2 MB, free: 5.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.4299, allocations: 85.05 kB / 488.2 MB, free: 5.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.43, allocations: 131.4 kB / 488.4 MB, free: 5.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.41e-05/0.4301, allocations: 37.7 kB / 488.4 MB, free: 5.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.4301, allocations: 116.6 kB / 488.5 MB, free: 5.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.4302, allocations: 106.4 kB / 488.6 MB, free: 5.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.4305, allocations: 77.67 kB / 488.7 MB, free: 5.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4306, allocations: 322.8 kB / 489 MB, free: 4.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006392/0.4312, allocations: 295.8 kB / 489.3 MB, free: 4.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/0.432, allocations: 404.2 kB / 489.7 MB, free: 4.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.4334, allocations: 0.6957 MB / 490.4 MB, free: 3.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4334, allocations: 0 / 490.4 MB, free: 3.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001686/0.4351, allocations: 0.7469 MB / 491.1 MB, free: 2.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4351, allocations: 8 kB / 491.1 MB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.4351, allocations: 4 kB / 491.1 MB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.4351, allocations: 4 kB / 491.2 MB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.4362, allocations: 100.1 kB / 491.3 MB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.4362, allocations: 12 kB / 491.3 MB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008654/0.4371, allocations: 55.64 kB / 491.3 MB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.941e-05/0.4372, allocations: 19.98 kB / 491.3 MB, free: 2.387 MB / 382.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.0002223/0.4374, allocations: 149.7 kB / 491.5 MB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.4376, allocations: 19.84 kB / 491.5 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.4396, allocations: 0.7711 MB / 492.3 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.4396, allocations: 4 kB / 492.3 MB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4397, allocations: 3.984 kB / 492.3 MB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4397, allocations: 4 kB / 492.3 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.4407, allocations: 0.8135 MB / 493.1 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4407, allocations: 3.938 kB / 493.1 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.4418, allocations: 75.86 kB / 493.2 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4418, allocations: 0 / 493.2 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.32e-05/0.4419, allocations: 23.97 kB / 493.2 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.4419, allocations: 0 / 493.2 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4419, allocations: 0 / 493.2 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.4439, allocations: 0.9529 MB / 494.2 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.444, allocations: 100.9 kB / 494.3 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.547e-05/0.4441, allocations: 11.94 kB / 494.3 MB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00095/0.4451, allocations: 35.89 kB / 494.3 MB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.4452, allocations: 23.91 kB / 494.3 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.983e-05/0.4452, allocations: 23.97 kB / 494.3 MB, free: 15.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.468e-05/0.4453, allocations: 95.81 kB / 494.4 MB, free: 15.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4453, allocations: 8 kB / 494.4 MB, free: 15.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007925/0.4461, allocations: 180 kB / 494.6 MB, free: 14.95 MB / 398.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.0009517/0.4471, allocations: 335.7 kB / 494.9 MB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001474/0.4486, allocations: 0.6602 MB / 495.6 MB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4486, allocations: 4.062 kB / 495.6 MB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006965/0.4493, allocations: 331.7 kB / 495.9 MB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007616/0.4501, allocations: 95.78 kB / 496 MB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.4518, allocations: 0.9972 MB / 497 MB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.4521, allocations: 0.7368 MB / 497.8 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001374/0.4535, allocations: 186.6 kB / 497.9 MB, free: 11.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003307/0.4538, allocations: 39.41 kB / 498 MB, free: 11.53 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4538, allocations: 4 kB / 498 MB, free: 11.52 MB / 398.1 MB Notification: Performance of Templates: time 0.01583/0.4697, allocations: 10.23 MB / 0.4963 GB, free: 1.246 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches