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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001172/0.002311, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001019/0.001019, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.002132, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.027/1.027, allocations: 177.4 MB / 189.9 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.108/1.135, allocations: 53.87 MB / 243.8 MB, free: 14.89 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3238/0.3238, allocations: 34.85 MB / 279.3 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0303/0.3541, allocations: 13.24 MB / 292.6 MB, free: 6.453 MB / 282.7 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 293.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.937e-05, allocations: 6.312 kB / 293.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1645/0.1646, allocations: 145.4 MB / 439.3 MB, free: 3.199 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.1668, allocations: 2.25 MB / 441.5 MB, free: 0.9414 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.479e-05/0.1669, allocations: 4 kB / 441.5 MB, free: 0.9375 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.1672, allocations: 55.61 kB / 441.6 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.1692, allocations: 0.641 MB / 442.2 MB, free: 244 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.1696, allocations: 104.9 kB / 442.3 MB, free: 140 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.2644/0.434, allocations: 269.5 kB / 442.6 MB, free: 4.145 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.516e-05/0.434, allocations: 5.406 kB / 442.6 MB, free: 4.145 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004718/0.4345, allocations: 180.7 kB / 442.8 MB, free: 4.145 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.4347, allocations: 86.61 kB / 442.9 MB, free: 4.145 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.4348, allocations: 8.219 kB / 442.9 MB, free: 4.145 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.4362, allocations: 0.7893 MB / 443.7 MB, free: 4.145 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.318e-05/0.4363, allocations: 73.53 kB / 443.7 MB, free: 4.145 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 7.835e-05/0.4364, allocations: 59.55 kB / 443.8 MB, free: 4.145 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008888/0.4373, allocations: 0.6034 MB / 444.4 MB, free: 4.145 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.517e-05/0.4373, allocations: 0 / 444.4 MB, free: 4.145 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4373, allocations: 0 / 444.4 MB, free: 4.145 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.4373, allocations: 0 / 444.4 MB, free: 4.145 MB / 426.7 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.0008478/0.4382, allocations: 499.6 kB / 444.9 MB, free: 19.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.4382, allocations: 13.77 kB / 444.9 MB, free: 19.85 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.4394, allocations: 389.2 kB / 445.3 MB, free: 19.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.4396, allocations: 204.9 kB / 445.5 MB, free: 19.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4397, allocations: 14.61 kB / 445.5 MB, free: 19.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.4397, allocations: 28.72 kB / 445.5 MB, free: 19.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.4401, allocations: 460.6 kB / 446 MB, free: 19.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4401, allocations: 0.6562 kB / 446 MB, free: 19.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.375e-05/0.4401, allocations: 7.062 kB / 446 MB, free: 19.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.4402, allocations: 8.719 kB / 446 MB, free: 19.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.4404, allocations: 206 kB / 446.2 MB, free: 19.35 MB / 442.7 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.001077/0.4415, allocations: 0.6641 MB / 446.8 MB, free: 19.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.4417, allocations: 170.5 kB / 447 MB, free: 18.99 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.271e-05/0.4417, allocations: 77.77 kB / 447.1 MB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003747/0.4421, allocations: 133.4 kB / 447.2 MB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.4421, allocations: 43.75 kB / 447.3 MB, free: 18.94 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 3.777e-06/0.4422, allocations: 0 / 447.3 MB, free: 18.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007905/0.4429, allocations: 354.4 kB / 447.6 MB, free: 18.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.443, allocations: 87.64 kB / 447.7 MB, free: 18.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.841e-05/0.443, allocations: 126.4 kB / 447.8 MB, free: 18.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.4431, allocations: 29.52 kB / 447.8 MB, free: 18.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.52e-05/0.4431, allocations: 112.2 kB / 448 MB, free: 18.53 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.413e-05/0.4432, allocations: 115.4 kB / 448.1 MB, free: 18.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.034e-05/0.4433, allocations: 62.08 kB / 448.1 MB, free: 18.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.4434, allocations: 329 kB / 448.4 MB, free: 18.13 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.096e-05/0.4434, allocations: 70.66 kB / 448.5 MB, free: 18.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-05/0.4435, allocations: 165.3 kB / 448.7 MB, free: 18.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.4437, allocations: 286.6 kB / 449 MB, free: 17.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4438, allocations: 0 / 449 MB, free: 17.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002945/0.444, allocations: 275.8 kB / 449.2 MB, free: 17.83 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4441, allocations: 6.75 kB / 449.2 MB, free: 17.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4441, allocations: 4.656 kB / 449.2 MB, free: 17.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.4441, allocations: 6.219 kB / 449.2 MB, free: 17.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.4443, allocations: 86.78 kB / 449.3 MB, free: 17.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.4444, allocations: 13.66 kB / 449.3 MB, free: 17.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.4445, allocations: 32.67 kB / 449.4 MB, free: 17.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.4445, allocations: 16.45 kB / 449.4 MB, free: 17.81 MB / 442.7 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.0001145/0.4446, allocations: 136.7 kB / 449.5 MB, free: 17.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.542e-05/0.4447, allocations: 32.64 kB / 449.6 MB, free: 17.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.4451, allocations: 267.2 kB / 449.8 MB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4451, allocations: 5.594 kB / 449.8 MB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4451, allocations: 4.812 kB / 449.8 MB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4451, allocations: 5.672 kB / 449.8 MB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003668/0.4455, allocations: 190.7 kB / 450 MB, free: 17.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4455, allocations: 3.156 kB / 450 MB, free: 17.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.4457, allocations: 63.38 kB / 450.1 MB, free: 17.55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.4457, allocations: 19.12 kB / 450.1 MB, free: 17.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4457, allocations: 2.688 kB / 450.1 MB, free: 17.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.4458, allocations: 7.812 kB / 450.1 MB, free: 17.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.4458, allocations: 5.516 kB / 450.1 MB, free: 17.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4458, allocations: 4 kB / 450.1 MB, free: 17.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005499/0.4463, allocations: 0.5422 MB / 450.7 MB, free: 17.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.4464, allocations: 7 kB / 450.7 MB, free: 17.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.4465, allocations: 14.2 kB / 450.7 MB, free: 17.27 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.4466, allocations: 21.92 kB / 450.7 MB, free: 17.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.4466, allocations: 15.58 kB / 450.7 MB, free: 17.26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.067e-05/0.4466, allocations: 20.12 kB / 450.7 MB, free: 17.25 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4466, allocations: 0 / 450.7 MB, free: 17.25 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005284/0.4471, allocations: 169 kB / 450.9 MB, free: 17.23 MB / 442.7 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.0006145/0.4478, allocations: 333.1 kB / 451.2 MB, free: 17.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000265/0.448, allocations: 216.6 kB / 451.4 MB, free: 17.13 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.448, allocations: 2.969 kB / 451.4 MB, free: 17.13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.747e-05/0.4481, allocations: 115.1 kB / 451.6 MB, free: 17.12 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.4485, allocations: 122.5 kB / 451.7 MB, free: 17.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.4507, allocations: 0.5052 MB / 452.2 MB, free: 16.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.8e-05/0.4508, allocations: 92.19 kB / 452.3 MB, free: 16.78 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002728/0.451, allocations: 74.31 kB / 452.3 MB, free: 16.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.4513, allocations: 147.8 kB / 452.5 MB, free: 16.71 MB / 442.7 MB Notification: Performance of SimCode: time 9.71e-07/0.4513, allocations: 2.25 kB / 452.5 MB, free: 16.71 MB / 442.7 MB Notification: Performance of Templates: time 0.01118/0.4625, allocations: 9.883 MB / 462.4 MB, free: 15.91 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.537826524116099]