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.002122/0.002122, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002849/0.002849, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.209/2.209, allocations: 227.4 MB / 246.9 MB, free: 9.012 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3609/0.3609, allocations: 46.1 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 72.78 kB / 417.5 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1891, allocations: 62.45 MB / 479.9 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.6548/0.8439, allocations: 150.3 MB / 0.6155 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004518/0.8485, allocations: 2.262 MB / 0.6177 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.8487, allocations: 4 kB / 0.6177 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005282/0.8492, allocations: 49.03 kB / 0.6178 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002594/0.8519, allocations: 0.5772 MB / 0.6183 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.8524, allocations: 99.69 kB / 0.6184 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006794/0.8531, allocations: 366.9 kB / 0.6188 GB, free: 10.17 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.372e-05/0.8532, allocations: 16.52 kB / 0.6188 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005316/0.8538, allocations: 133.4 kB / 0.6189 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003104/0.8541, allocations: 99.7 kB / 0.619 GB, free: 9.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.8541, allocations: 8 kB / 0.619 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003815/0.858, allocations: 1.224 MB / 0.6202 GB, free: 8.695 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.8582, allocations: 83.75 kB / 0.6203 GB, free: 8.613 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.8584, allocations: 87.64 kB / 0.6204 GB, free: 8.527 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.8602, allocations: 0.53 MB / 0.6209 GB, free: 7.996 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.8602, allocations: 0 / 0.6209 GB, free: 7.996 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.8603, allocations: 4 kB / 0.6209 GB, free: 7.992 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.8603, allocations: 0 / 0.6209 GB, free: 7.992 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.001567/0.8618, allocations: 0.507 MB / 0.6214 GB, free: 7.438 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/0.8619, allocations: 16.88 kB / 0.6214 GB, free: 7.422 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.8731, allocations: 0.7312 MB / 0.6221 GB, free: 6.691 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008791/0.874, allocations: 280.2 kB / 0.6224 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.8741, allocations: 23.81 kB / 0.6224 GB, free: 6.359 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.8743, allocations: 16 kB / 0.6224 GB, free: 6.344 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.8766, allocations: 0.7006 MB / 0.6231 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.8767, allocations: 3.938 kB / 0.6231 GB, free: 5.629 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.8768, allocations: 8 kB / 0.6231 GB, free: 5.621 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.8769, allocations: 8 kB / 0.6231 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003216/0.8801, allocations: 0.9134 MB / 0.624 GB, free: 4.699 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.007788/0.8879, allocations: 2.008 MB / 0.626 GB, free: 2.508 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.8898, allocations: 0.5008 MB / 0.6265 GB, free: 1.988 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.8909, allocations: 329.5 kB / 0.6268 GB, free: 1.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/0.8923, allocations: 379.2 kB / 0.6271 GB, free: 1.234 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.8924, allocations: 42.56 kB / 0.6272 GB, free: 1.184 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 4.268e-06/0.8924, allocations: 0 / 0.6272 GB, free: 1.184 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.003685/0.8961, allocations: 0.8852 MB / 0.6281 GB, free: 300 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.8962, allocations: 81.11 kB / 0.6281 GB, free: 200 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.8965, allocations: 137.7 kB / 0.6283 GB, free: 52 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.8966, allocations: 29.7 kB / 0.6283 GB, free: 16 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.8968, allocations: 120.4 kB / 0.6284 GB, free: 15.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001877/0.897, allocations: 110.4 kB / 0.6285 GB, free: 15.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003308/0.8973, allocations: 69.67 kB / 0.6286 GB, free: 15.71 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.8975, allocations: 330.8 kB / 0.6289 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.8985, allocations: 291.8 kB / 0.6292 GB, free: 15.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.8997, allocations: 404.5 kB / 0.6296 GB, free: 14.65 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.9019, allocations: 0.6926 MB / 0.6302 GB, free: 13.92 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/0.902, allocations: 0 / 0.6302 GB, free: 13.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002845/0.9048, allocations: 0.7497 MB / 0.631 GB, free: 13.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/0.9049, allocations: 8 kB / 0.631 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.9049, allocations: 7.938 kB / 0.631 GB, free: 13.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.9049, allocations: 8 kB / 0.631 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.9065, allocations: 95.84 kB / 0.6311 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.9065, allocations: 7.938 kB / 0.6311 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.9078, allocations: 63.64 kB / 0.6311 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.908, allocations: 19.98 kB / 0.6312 GB, free: 12.96 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.0004029/0.9084, allocations: 149.6 kB / 0.6313 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.9087, allocations: 15.91 kB / 0.6313 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003284/0.912, allocations: 0.7716 MB / 0.6321 GB, free: 12.01 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.912, allocations: 4 kB / 0.6321 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.912, allocations: 3.875 kB / 0.6321 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.912, allocations: 3.984 kB / 0.6321 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001865/0.9139, allocations: 0.81 MB / 0.6329 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.9139, allocations: 0 / 0.6329 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/0.9155, allocations: 75.86 kB / 0.633 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.9155, allocations: 8 kB / 0.633 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.9157, allocations: 15.97 kB / 0.633 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.9157, allocations: 4 kB / 0.633 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9157, allocations: 0 / 0.633 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003397/0.9191, allocations: 0.9637 MB / 0.6339 GB, free: 10.01 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.9193, allocations: 88.95 kB / 0.634 GB, free: 9.902 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.9194, allocations: 11.94 kB / 0.634 GB, free: 9.891 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.9209, allocations: 43.84 kB / 0.6341 GB, free: 9.848 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.9211, allocations: 19.97 kB / 0.6341 GB, free: 9.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/0.9212, allocations: 23.91 kB / 0.6341 GB, free: 9.805 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.9213, allocations: 104.1 kB / 0.6342 GB, free: 9.703 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.9214, allocations: 0 / 0.6342 GB, free: 9.703 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00133/0.9227, allocations: 179.9 kB / 0.6344 GB, free: 9.527 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.001535/0.9242, allocations: 345.6 kB / 0.6347 GB, free: 9.184 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002362/0.9266, allocations: 0.6557 MB / 0.6353 GB, free: 8.527 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.9266, allocations: 0 / 0.6353 GB, free: 8.527 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.9278, allocations: 331.4 kB / 0.6357 GB, free: 8.207 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.9291, allocations: 99.78 kB / 0.6358 GB, free: 8.109 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.932, allocations: 1.029 MB / 0.6368 GB, free: 7.047 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.9325, allocations: 0.7481 MB / 0.6375 GB, free: 6.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007158/0.9332, allocations: 51.39 kB / 0.6375 GB, free: 6.223 MB / 478.1 MB Notification: Performance of SimCode: time 1.803e-06/0.9332, allocations: 0 / 0.6375 GB, free: 6.223 MB / 478.1 MB Notification: Performance of Templates: time 0.02419/0.9575, allocations: 10.1 MB / 0.6474 GB, free: 12.05 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