Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002111/0.002111, allocations: 76.5 kB / 19.93 MB, free: 1.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00288/0.00288, allocations: 162.2 kB / 23.21 MB, free: 4.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2748/0.2748, allocations: 32.38 MB / 269.6 MB, free: 4.664 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 407.3 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.958e-05/4.19e-05, allocations: 6.281 kB / 407.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5421/0.5422, allocations: 129.9 MB / 0.5246 GB, free: 9.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.545, allocations: 1.877 MB / 0.5265 GB, free: 8.555 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.27e-05/0.5451, allocations: 2.312 kB / 0.5265 GB, free: 8.555 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004427/0.5456, allocations: 53.98 kB / 0.5265 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.5474, allocations: 0.6435 MB / 0.5272 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.5477, allocations: 107 kB / 0.5273 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.5481, allocations: 260.2 kB / 0.5275 GB, free: 7.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.905e-05/0.5482, allocations: 6.75 kB / 0.5275 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.5486, allocations: 163.4 kB / 0.5277 GB, free: 7.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002163/0.5488, allocations: 91.89 kB / 0.5278 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.5488, allocations: 10.62 kB / 0.5278 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.5505, allocations: 0.7509 MB / 0.5285 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.5506, allocations: 88.11 kB / 0.5286 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.5508, allocations: 76.83 kB / 0.5287 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.5519, allocations: 0.6962 MB / 0.5293 GB, free: 6.789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5519, allocations: 0 / 0.5293 GB, free: 6.789 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5519, allocations: 0 / 0.5293 GB, free: 6.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.552, allocations: 0 / 0.5293 GB, free: 6.789 MB / 414.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.0009615/0.5529, allocations: 442.8 kB / 0.5298 GB, free: 6.402 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.553, allocations: 11.47 kB / 0.5298 GB, free: 6.398 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.5551, allocations: 275.8 kB / 0.53 GB, free: 6.277 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004491/0.5555, allocations: 221.2 kB / 0.5302 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.5555, allocations: 10.17 kB / 0.5303 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-05/0.5556, allocations: 21.78 kB / 0.5303 GB, free: 6.078 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009885/0.5566, allocations: 0.6396 MB / 0.5309 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5566, allocations: 3.938 kB / 0.5309 GB, free: 5.605 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/0.5567, allocations: 11.06 kB / 0.5309 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.5567, allocations: 8.031 kB / 0.5309 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008802/0.5576, allocations: 0.5865 MB / 0.5315 GB, free: 5.344 MB / 414.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.002319/0.5599, allocations: 0.9165 MB / 0.5324 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005222/0.5604, allocations: 237.7 kB / 0.5326 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.5607, allocations: 176.5 kB / 0.5328 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007534/0.5615, allocations: 125.1 kB / 0.5329 GB, free: 4.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.5615, allocations: 35.75 kB / 0.5329 GB, free: 4.391 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.215e-06/0.5615, allocations: 1.406 kB / 0.5329 GB, free: 4.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.002393/0.5639, allocations: 0.6082 MB / 0.5335 GB, free: 4.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.564, allocations: 82.7 kB / 0.5336 GB, free: 3.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.5642, allocations: 132.6 kB / 0.5337 GB, free: 3.867 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.5642, allocations: 32.58 kB / 0.5338 GB, free: 3.832 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.965e-05/0.5643, allocations: 119.2 kB / 0.5339 GB, free: 3.715 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.5645, allocations: 108.5 kB / 0.534 GB, free: 3.621 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.5646, allocations: 64.33 kB / 0.534 GB, free: 3.578 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.5648, allocations: 332 kB / 0.5344 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/0.5653, allocations: 186 kB / 0.5345 GB, free: 3.156 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/0.5657, allocations: 288.3 kB / 0.5348 GB, free: 2.934 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008056/0.5666, allocations: 489.8 kB / 0.5353 GB, free: 2.605 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5666, allocations: 2.938 kB / 0.5353 GB, free: 2.605 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009871/0.5675, allocations: 0.5227 MB / 0.5358 GB, free: 2.324 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.5676, allocations: 7.469 kB / 0.5358 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5676, allocations: 6.5 kB / 0.5358 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/0.5676, allocations: 9.75 kB / 0.5358 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.5681, allocations: 81.08 kB / 0.5359 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.5682, allocations: 9.109 kB / 0.5359 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.5686, allocations: 42.95 kB / 0.5359 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.5686, allocations: 22.16 kB / 0.536 GB, free: 2.258 MB / 414.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.0001975/0.5688, allocations: 147.1 kB / 0.5361 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.5689, allocations: 16.12 kB / 0.5361 GB, free: 2.109 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.57, allocations: 498.6 kB / 0.5366 GB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.57, allocations: 6.156 kB / 0.5366 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.57, allocations: 0 / 0.5366 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.57, allocations: 2.938 kB / 0.5366 GB, free: 1.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007906/0.5708, allocations: 343.6 kB / 0.5369 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5708, allocations: 0 / 0.5369 GB, free: 1.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.5713, allocations: 60.98 kB / 0.537 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5713, allocations: 0 / 0.537 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.057e-05/0.5714, allocations: 16.83 kB / 0.537 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.5714, allocations: 3.25 kB / 0.537 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.5714, allocations: 3.938 kB / 0.537 GB, free: 1.508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.5726, allocations: 0.6881 MB / 0.5377 GB, free: 1.055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.5727, allocations: 14.11 kB / 0.5377 GB, free: 1.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.38e-05/0.5727, allocations: 10.06 kB / 0.5377 GB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.5732, allocations: 24.06 kB / 0.5377 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.5733, allocations: 19.22 kB / 0.5377 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/0.5733, allocations: 23.06 kB / 0.5378 GB, free: 1.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.606e-05/0.5734, allocations: 107.5 kB / 0.5379 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5734, allocations: 3.938 kB / 0.5379 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007778/0.5742, allocations: 158.1 kB / 0.538 GB, free: 0.875 MB / 414.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.001121/0.5753, allocations: 339.4 kB / 0.5384 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008704/0.5762, allocations: 414 kB / 0.5387 GB, free: 496 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5762, allocations: 0 / 0.5387 GB, free: 496 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.5766, allocations: 217.5 kB / 0.539 GB, free: 316 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007588/0.5773, allocations: 93.25 kB / 0.539 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.5789, allocations: 0.7011 MB / 0.5397 GB, free: 15.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.579, allocations: 127.6 kB / 0.5398 GB, free: 15.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000519/0.5796, allocations: 109.8 kB / 0.54 GB, free: 15.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.5797, allocations: 28.5 kB / 0.54 GB, free: 15.21 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5797, allocations: 0 / 0.54 GB, free: 15.21 MB / 430.1 MB Notification: Performance of Templates: time 0.01678/0.5965, allocations: 8.224 MB / 0.548 GB, free: 7.051 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.49736337736249]