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.00107/0.00107, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2207/0.2207, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 80.3 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1367, allocations: 62.43 MB / 481.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4648/0.6015, allocations: 152.6 MB / 0.6192 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.6043, allocations: 2.186 MB / 0.6213 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.541e-05/0.6044, allocations: 0 / 0.6213 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003687/0.6048, allocations: 63.64 kB / 0.6213 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.6066, allocations: 0.6296 MB / 0.622 GB, free: 7.348 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.607, allocations: 101.2 kB / 0.6221 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.6073, allocations: 259 kB / 0.6223 GB, free: 6.996 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.939e-05/0.6074, allocations: 12.52 kB / 0.6223 GB, free: 6.984 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.6077, allocations: 141.3 kB / 0.6225 GB, free: 6.848 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.6079, allocations: 95.7 kB / 0.6225 GB, free: 6.754 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.6079, allocations: 8 kB / 0.6226 GB, free: 6.746 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.6094, allocations: 0.8573 MB / 0.6234 GB, free: 5.887 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.6096, allocations: 79.83 kB / 0.6235 GB, free: 5.809 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.6097, allocations: 95.58 kB / 0.6236 GB, free: 5.715 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009081/0.6106, allocations: 0.6585 MB / 0.6242 GB, free: 5.059 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6106, allocations: 0 / 0.6242 GB, free: 5.059 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.6106, allocations: 0 / 0.6242 GB, free: 5.059 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.6106, allocations: 0 / 0.6242 GB, free: 5.059 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.0008163/0.6115, allocations: 0.5031 MB / 0.6247 GB, free: 4.508 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.6115, allocations: 8.031 kB / 0.6247 GB, free: 4.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.6134, allocations: 272.5 kB / 0.625 GB, free: 4.234 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.614, allocations: 292.1 kB / 0.6252 GB, free: 3.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.065e-05/0.614, allocations: 20.27 kB / 0.6253 GB, free: 3.891 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.938e-05/0.6141, allocations: 20 kB / 0.6253 GB, free: 3.871 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000879/0.615, allocations: 498.3 kB / 0.6258 GB, free: 3.375 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.615, allocations: 0 / 0.6258 GB, free: 3.375 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.391e-05/0.6151, allocations: 8 kB / 0.6258 GB, free: 3.367 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.6151, allocations: 11.98 kB / 0.6258 GB, free: 3.355 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009159/0.616, allocations: 0.5777 MB / 0.6263 GB, free: 2.777 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.002297/0.6184, allocations: 1.024 MB / 0.6273 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.6187, allocations: 238.6 kB / 0.6276 GB, free: 1.449 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/0.6191, allocations: 185.6 kB / 0.6277 GB, free: 1.262 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009674/0.62, allocations: 383.3 kB / 0.6281 GB, free: 0.832 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.6201, allocations: 42.56 kB / 0.6281 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.523e-06/0.6201, allocations: 0 / 0.6281 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00188/0.622, allocations: 0.5904 MB / 0.6287 GB, free: 192 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/0.622, allocations: 81.11 kB / 0.6288 GB, free: 92 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.6222, allocations: 128.1 kB / 0.6289 GB, free: 15.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.6223, allocations: 33.7 kB / 0.629 GB, free: 15.92 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.6223, allocations: 124.3 kB / 0.6291 GB, free: 15.79 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.6225, allocations: 98.55 kB / 0.6292 GB, free: 15.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.6226, allocations: 77.53 kB / 0.6292 GB, free: 15.61 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.6228, allocations: 322.8 kB / 0.6295 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.6231, allocations: 183.9 kB / 0.6297 GB, free: 15.11 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/0.6235, allocations: 296.3 kB / 0.63 GB, free: 14.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/0.6243, allocations: 494.8 kB / 0.6305 GB, free: 14.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6243, allocations: 0 / 0.6305 GB, free: 14.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009184/0.6252, allocations: 0.5204 MB / 0.631 GB, free: 13.72 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.6252, allocations: 8 kB / 0.631 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6253, allocations: 0 / 0.631 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.6253, allocations: 8 kB / 0.631 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.6258, allocations: 85.52 kB / 0.6311 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.6258, allocations: 4 kB / 0.6311 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.6262, allocations: 32.14 kB / 0.6311 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/0.6262, allocations: 27.98 kB / 0.6311 GB, free: 13.56 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.0001722/0.6264, allocations: 141.7 kB / 0.6313 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.6265, allocations: 19.81 kB / 0.6313 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000919/0.6274, allocations: 496.4 kB / 0.6318 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.6275, allocations: 4 kB / 0.6318 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6275, allocations: 0 / 0.6318 GB, free: 12.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.6275, allocations: 7.984 kB / 0.6318 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007438/0.6282, allocations: 450 kB / 0.6322 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.6282, allocations: 0 / 0.6322 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.6287, allocations: 71.52 kB / 0.6323 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.6287, allocations: 4 kB / 0.6323 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.6288, allocations: 11.98 kB / 0.6323 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.6288, allocations: 0 / 0.6323 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6288, allocations: 0 / 0.6323 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.6298, allocations: 0.6979 MB / 0.633 GB, free: 11.61 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-05/0.6299, allocations: 88.95 kB / 0.6331 GB, free: 11.51 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/0.63, allocations: 8 kB / 0.6331 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004319/0.6304, allocations: 23.95 kB / 0.6331 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.6305, allocations: 19.97 kB / 0.6331 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.6305, allocations: 15.98 kB / 0.6331 GB, free: 11.44 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.725e-05/0.6306, allocations: 99.27 kB / 0.6332 GB, free: 11.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6306, allocations: 4 kB / 0.6332 GB, free: 11.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007099/0.6313, allocations: 160 kB / 0.6334 GB, free: 11.18 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.0008257/0.6322, allocations: 343.6 kB / 0.6337 GB, free: 10.84 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007743/0.6329, allocations: 439.8 kB / 0.6341 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.633, allocations: 0 / 0.6341 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.6333, allocations: 220.5 kB / 0.6343 GB, free: 10.19 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006468/0.634, allocations: 97.2 kB / 0.6344 GB, free: 10.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.6354, allocations: 0.882 MB / 0.6353 GB, free: 9.188 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.6358, allocations: 0.7443 MB / 0.636 GB, free: 8.418 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004304/0.6363, allocations: 109.8 kB / 0.6361 GB, free: 8.312 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.6364, allocations: 27.44 kB / 0.6361 GB, free: 8.285 MB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6364, allocations: 0 / 0.6361 GB, free: 8.285 MB / 478.1 MB Notification: Performance of Templates: time 0.01364/0.6501, allocations: 8 MB / 0.644 GB, free: 344 kB / 478.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 -s cvode -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