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.001124/0.001124, allocations: 116.9 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.001191/0.001191, allocations: 200.6 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.294/1.294, allocations: 227.4 MB / 247.5 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1989/0.1989, allocations: 46.11 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 72.45 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0975/0.09885, allocations: 62.44 MB / 481.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3409/0.4398, allocations: 152.6 MB / 0.6192 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.4422, allocations: 2.186 MB / 0.6213 GB, free: 8.102 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.4423, allocations: 0 / 0.6213 GB, free: 8.102 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.4426, allocations: 53.97 kB / 0.6213 GB, free: 8.051 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.4439, allocations: 0.6322 MB / 0.622 GB, free: 7.418 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.4442, allocations: 105.2 kB / 0.6221 GB, free: 7.316 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.4445, allocations: 259 kB / 0.6223 GB, free: 7.062 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.4445, allocations: 12.52 kB / 0.6223 GB, free: 7.051 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.4448, allocations: 153.2 kB / 0.6225 GB, free: 6.902 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.4449, allocations: 83.78 kB / 0.6225 GB, free: 6.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.445, allocations: 8 kB / 0.6226 GB, free: 6.812 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.4463, allocations: 0.8612 MB / 0.6234 GB, free: 5.949 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.185e-05/0.4464, allocations: 83.75 kB / 0.6235 GB, free: 5.867 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.4465, allocations: 95.64 kB / 0.6236 GB, free: 5.773 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008404/0.4474, allocations: 0.6585 MB / 0.6242 GB, free: 5.117 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4474, allocations: 0 / 0.6242 GB, free: 5.117 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4474, allocations: 0 / 0.6242 GB, free: 5.117 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.4474, allocations: 0 / 0.6242 GB, free: 5.117 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.0007213/0.4481, allocations: 0.507 MB / 0.6247 GB, free: 4.562 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.4482, allocations: 8.031 kB / 0.6247 GB, free: 4.555 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.4501, allocations: 272.4 kB / 0.625 GB, free: 4.289 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.4505, allocations: 280.2 kB / 0.6252 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.4506, allocations: 12.27 kB / 0.6253 GB, free: 3.965 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/0.4506, allocations: 21.88 kB / 0.6253 GB, free: 3.945 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.4513, allocations: 0.4939 MB / 0.6258 GB, free: 3.441 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4513, allocations: 3.938 kB / 0.6258 GB, free: 3.438 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.4514, allocations: 8 kB / 0.6258 GB, free: 3.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.4514, allocations: 8 kB / 0.6258 GB, free: 3.422 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.4525, allocations: 0.5739 MB / 0.6263 GB, free: 2.848 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.00224/0.4548, allocations: 1.024 MB / 0.6273 GB, free: 1.77 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.4551, allocations: 241 kB / 0.6276 GB, free: 1.516 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.4554, allocations: 189.6 kB / 0.6277 GB, free: 1.324 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008956/0.4563, allocations: 383.2 kB / 0.6281 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.4563, allocations: 42.5 kB / 0.6282 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.914e-06/0.4563, allocations: 0 / 0.6282 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001747/0.4581, allocations: 0.5828 MB / 0.6287 GB, free: 264 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.4582, allocations: 85.05 kB / 0.6288 GB, free: 160 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.4583, allocations: 129.8 kB / 0.6289 GB, free: 20 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.619e-05/0.4583, allocations: 33.7 kB / 0.629 GB, free: 15.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.4584, allocations: 120.3 kB / 0.6291 GB, free: 15.86 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.046e-05/0.4585, allocations: 102.5 kB / 0.6292 GB, free: 15.76 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.4586, allocations: 69.59 kB / 0.6292 GB, free: 15.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.4588, allocations: 326.8 kB / 0.6295 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.4591, allocations: 183.9 kB / 0.6297 GB, free: 15.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.4595, allocations: 296.3 kB / 0.63 GB, free: 14.84 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/0.4602, allocations: 494.7 kB / 0.6305 GB, free: 14.31 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.4602, allocations: 1.438 kB / 0.6305 GB, free: 14.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008797/0.4611, allocations: 0.5212 MB / 0.631 GB, free: 13.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4611, allocations: 8 kB / 0.631 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.4611, allocations: 4 kB / 0.631 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4611, allocations: 4 kB / 0.631 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.4616, allocations: 83.88 kB / 0.6311 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.4617, allocations: 4 kB / 0.6311 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003459/0.462, allocations: 32.08 kB / 0.6311 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.4621, allocations: 24 kB / 0.6311 GB, free: 13.63 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.0001657/0.4623, allocations: 153.6 kB / 0.6313 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.4624, allocations: 15.81 kB / 0.6313 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000903/0.4633, allocations: 0.4883 MB / 0.6318 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4633, allocations: 1.125 kB / 0.6318 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4633, allocations: 4 kB / 0.6318 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4633, allocations: 0 / 0.6318 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006901/0.464, allocations: 458 kB / 0.6322 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.464, allocations: 4 kB / 0.6322 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004731/0.4645, allocations: 59.89 kB / 0.6323 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4645, allocations: 4 kB / 0.6323 GB, free: 12.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.639e-05/0.4646, allocations: 8 kB / 0.6323 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.4646, allocations: 0.875 kB / 0.6323 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4646, allocations: 4 kB / 0.6323 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.4656, allocations: 0.6863 MB / 0.633 GB, free: 11.69 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.4657, allocations: 100.9 kB / 0.6331 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.4657, allocations: 4 kB / 0.6331 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.4662, allocations: 31.89 kB / 0.6331 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.4663, allocations: 15.98 kB / 0.6331 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.4663, allocations: 19.98 kB / 0.6331 GB, free: 11.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.917e-05/0.4664, allocations: 99.27 kB / 0.6332 GB, free: 11.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4664, allocations: 0 / 0.6332 GB, free: 11.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000634/0.467, allocations: 160 kB / 0.6334 GB, free: 11.25 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.0007566/0.4678, allocations: 339 kB / 0.6337 GB, free: 10.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007439/0.4685, allocations: 443.8 kB / 0.6341 GB, free: 10.47 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4686, allocations: 0 / 0.6341 GB, free: 10.47 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.4689, allocations: 216.6 kB / 0.6343 GB, free: 10.26 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006496/0.4696, allocations: 99.05 kB / 0.6344 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.4709, allocations: 0.8871 MB / 0.6353 GB, free: 9.246 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.4712, allocations: 0.7327 MB / 0.636 GB, free: 8.488 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004293/0.4716, allocations: 109.8 kB / 0.6361 GB, free: 8.383 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.4718, allocations: 31.42 kB / 0.6361 GB, free: 8.352 MB / 478.1 MB Notification: Performance of SimCode: time 1.713e-06/0.4718, allocations: 0 / 0.6361 GB, free: 8.352 MB / 478.1 MB Notification: Performance of Templates: time 0.01192/0.4837, allocations: 8.005 MB / 0.644 GB, free: 404 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 gbode -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