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.001674/0.001674, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002055/0.002055, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2448/0.2448, allocations: 46.11 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00223/0.002231, allocations: 81.25 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1385, allocations: 62.46 MB / 480.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.41/0.5485, allocations: 152.6 MB / 0.6185 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.5514, allocations: 2.186 MB / 0.6206 GB, free: 8.582 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.5515, allocations: 3.938 kB / 0.6206 GB, free: 8.578 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003483/0.5518, allocations: 54.34 kB / 0.6207 GB, free: 8.527 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.5534, allocations: 0.6323 MB / 0.6213 GB, free: 7.895 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.5538, allocations: 104.5 kB / 0.6214 GB, free: 7.797 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.5541, allocations: 259 kB / 0.6216 GB, free: 7.543 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.021e-05/0.5542, allocations: 8.531 kB / 0.6217 GB, free: 7.535 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.5545, allocations: 149.4 kB / 0.6218 GB, free: 7.391 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.5547, allocations: 87.72 kB / 0.6219 GB, free: 7.305 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.273e-05/0.5547, allocations: 8 kB / 0.6219 GB, free: 7.297 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.5565, allocations: 0.947 MB / 0.6228 GB, free: 6.348 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.5566, allocations: 75.77 kB / 0.6229 GB, free: 6.273 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.5567, allocations: 103.6 kB / 0.623 GB, free: 6.172 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.5578, allocations: 0.6781 MB / 0.6236 GB, free: 5.492 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.5578, allocations: 0 / 0.6236 GB, free: 5.492 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.5578, allocations: 7.938 kB / 0.6237 GB, free: 5.484 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.5579, allocations: 0 / 0.6237 GB, free: 5.484 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.0008804/0.5587, allocations: 0.507 MB / 0.6241 GB, free: 4.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.5588, allocations: 12.03 kB / 0.6242 GB, free: 4.918 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007703/0.5665, allocations: 0.7346 MB / 0.6249 GB, free: 4.184 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005329/0.5671, allocations: 280.2 kB / 0.6251 GB, free: 3.871 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.5671, allocations: 16.95 kB / 0.6252 GB, free: 3.855 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.5672, allocations: 20 kB / 0.6252 GB, free: 3.836 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.5687, allocations: 0.6967 MB / 0.6259 GB, free: 3.129 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.5687, allocations: 0 / 0.6259 GB, free: 3.129 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.199e-05/0.5688, allocations: 8 kB / 0.6259 GB, free: 3.121 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.5689, allocations: 8 kB / 0.6259 GB, free: 3.113 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.571, allocations: 0.9212 MB / 0.6268 GB, free: 2.191 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.005545/0.5766, allocations: 2.018 MB / 0.6287 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.5779, allocations: 0.5047 MB / 0.6292 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007315/0.5786, allocations: 325.5 kB / 0.6295 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.5797, allocations: 379.2 kB / 0.6299 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.5797, allocations: 38.56 kB / 0.6299 GB, free: 14.67 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 1.984e-06/0.5797, allocations: 0 / 0.6299 GB, free: 14.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002477/0.5822, allocations: 0.8911 MB / 0.6308 GB, free: 13.78 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.5823, allocations: 77.11 kB / 0.6309 GB, free: 13.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.5824, allocations: 137.7 kB / 0.631 GB, free: 13.54 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.028e-05/0.5825, allocations: 29.7 kB / 0.631 GB, free: 13.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.5826, allocations: 112.4 kB / 0.6312 GB, free: 13.39 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.5828, allocations: 106.5 kB / 0.6313 GB, free: 13.29 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.583, allocations: 77.67 kB / 0.6313 GB, free: 13.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5832, allocations: 326.8 kB / 0.6316 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007231/0.5839, allocations: 295.8 kB / 0.6319 GB, free: 12.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008069/0.5847, allocations: 404.4 kB / 0.6323 GB, free: 12.14 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.5863, allocations: 0.702 MB / 0.633 GB, free: 11.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.5863, allocations: 4 kB / 0.633 GB, free: 11.39 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001874/0.5882, allocations: 0.7354 MB / 0.6337 GB, free: 10.65 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.5882, allocations: 11.98 kB / 0.6337 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.5882, allocations: 4 kB / 0.6337 GB, free: 10.64 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.5883, allocations: 4 kB / 0.6337 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.5894, allocations: 95.8 kB / 0.6338 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.5894, allocations: 11.98 kB / 0.6338 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009236/0.5904, allocations: 51.81 kB / 0.6339 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.751e-05/0.5905, allocations: 19.98 kB / 0.6339 GB, free: 10.46 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.0002536/0.5907, allocations: 149.7 kB / 0.6341 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.5909, allocations: 11.91 kB / 0.6341 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.5931, allocations: 0.7776 MB / 0.6348 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.5931, allocations: 0 / 0.6348 GB, free: 9.508 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5931, allocations: 7.938 kB / 0.6348 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.5931, allocations: 5.734 kB / 0.6348 GB, free: 9.496 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.5943, allocations: 0.806 MB / 0.6356 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5943, allocations: 0 / 0.6356 GB, free: 8.586 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.5955, allocations: 75.86 kB / 0.6357 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.5955, allocations: 0 / 0.6357 GB, free: 8.512 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.5956, allocations: 19.98 kB / 0.6357 GB, free: 8.492 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.5956, allocations: 0 / 0.6357 GB, free: 8.492 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5956, allocations: 3.938 kB / 0.6357 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.5979, allocations: 0.9671 MB / 0.6367 GB, free: 7.508 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/0.598, allocations: 88.95 kB / 0.6367 GB, free: 7.402 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.431e-05/0.5981, allocations: 8 kB / 0.6368 GB, free: 7.395 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.5991, allocations: 31.95 kB / 0.6368 GB, free: 7.363 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.5992, allocations: 15.97 kB / 0.6368 GB, free: 7.348 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-05/0.5993, allocations: 27.92 kB / 0.6368 GB, free: 7.324 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.666e-05/0.5994, allocations: 103.2 kB / 0.6369 GB, free: 7.223 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5994, allocations: 4 kB / 0.6369 GB, free: 7.219 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009211/0.6003, allocations: 179.8 kB / 0.6371 GB, free: 7.043 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.0009883/0.6013, allocations: 352.3 kB / 0.6374 GB, free: 6.691 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001708/0.603, allocations: 0.6796 MB / 0.6381 GB, free: 6.012 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.603, allocations: 4 kB / 0.6381 GB, free: 6.008 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007702/0.6038, allocations: 327.8 kB / 0.6384 GB, free: 5.688 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007998/0.6046, allocations: 96.52 kB / 0.6385 GB, free: 5.594 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.6066, allocations: 0.9762 MB / 0.6395 GB, free: 4.582 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.607, allocations: 0.7401 MB / 0.6402 GB, free: 3.816 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/0.6074, allocations: 47.39 kB / 0.6402 GB, free: 3.773 MB / 478.1 MB Notification: Performance of SimCode: time 2.415e-06/0.6074, allocations: 0 / 0.6402 GB, free: 3.773 MB / 478.1 MB Notification: Performance of Templates: time 0.01571/0.6232, allocations: 10.11 MB / 0.6501 GB, free: 9.582 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