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.001008/0.001008, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.0009716/0.0009716, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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 0.957/0.957, allocations: 177 MB / 204.8 MB, free: 5.559 MB / 186.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.2647/0.2647, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 266.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.894e-06/1.894e-06, allocations: 0 / 378.7 MB, free: 2.117 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.039e-05, allocations: 6.312 kB / 378.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3684/0.3684, allocations: 145.6 MB / 0.5121 GB, free: 17.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.3709, allocations: 2.234 MB / 0.5142 GB, free: 16.15 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.371, allocations: 0 / 0.5142 GB, free: 16.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.3714, allocations: 55.53 kB / 0.5143 GB, free: 16.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.3733, allocations: 0.6711 MB / 0.5149 GB, free: 15.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.3736, allocations: 104.7 kB / 0.515 GB, free: 15.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.374, allocations: 261.9 kB / 0.5153 GB, free: 15.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.374, allocations: 5.25 kB / 0.5153 GB, free: 15.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003271/0.3744, allocations: 176.6 kB / 0.5155 GB, free: 15.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.3746, allocations: 90.48 kB / 0.5156 GB, free: 15.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.3746, allocations: 8.75 kB / 0.5156 GB, free: 15.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.3763, allocations: 0.7728 MB / 0.5163 GB, free: 15.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.3764, allocations: 86.59 kB / 0.5164 GB, free: 15.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.3765, allocations: 78.02 kB / 0.5165 GB, free: 15.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.3779, allocations: 0.6832 MB / 0.5171 GB, free: 15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3779, allocations: 6.938 kB / 0.5171 GB, free: 14.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3779, allocations: 0 / 0.5171 GB, free: 14.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.3779, allocations: 0 / 0.5171 GB, free: 14.99 MB / 410.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.000894/0.3788, allocations: 0.5423 MB / 0.5177 GB, free: 14.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.3788, allocations: 8.969 kB / 0.5177 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.3806, allocations: 331 kB / 0.518 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.381, allocations: 223.6 kB / 0.5182 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.381, allocations: 14.8 kB / 0.5182 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.581e-05/0.381, allocations: 19.19 kB / 0.5182 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006016/0.3817, allocations: 0.5026 MB / 0.5187 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3817, allocations: 0 / 0.5187 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/0.3817, allocations: 10 kB / 0.5187 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.3817, allocations: 6.312 kB / 0.5188 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/0.3823, allocations: 298.3 kB / 0.519 GB, free: 13.95 MB / 410.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.001587/0.3838, allocations: 0.8929 MB / 0.5199 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/0.3841, allocations: 177.9 kB / 0.5201 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.3843, allocations: 106.4 kB / 0.5202 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006667/0.3849, allocations: 148.9 kB / 0.5203 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.385, allocations: 46.88 kB / 0.5204 GB, free: 13.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.086e-06/0.385, allocations: 0 / 0.5204 GB, free: 13.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001302/0.3863, allocations: 464.8 kB / 0.5208 GB, free: 13.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.3863, allocations: 80.42 kB / 0.5209 GB, free: 12.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.177e-05/0.3864, allocations: 187.5 kB / 0.5211 GB, free: 12.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.3864, allocations: 33.2 kB / 0.5211 GB, free: 12.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.3865, allocations: 160.9 kB / 0.5213 GB, free: 12.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.3866, allocations: 117.2 kB / 0.5214 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.3867, allocations: 78.34 kB / 0.5214 GB, free: 12.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.659e-05/0.3867, allocations: 0.4966 MB / 0.5219 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.3869, allocations: 98.41 kB / 0.522 GB, free: 11.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.3871, allocations: 250.5 kB / 0.5223 GB, free: 11.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.3875, allocations: 376.4 kB / 0.5226 GB, free: 11.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.3875, allocations: 6.469 kB / 0.5226 GB, free: 11.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006039/0.3881, allocations: 391.7 kB / 0.523 GB, free: 11.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.3882, allocations: 5.406 kB / 0.523 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3882, allocations: 9.438 kB / 0.523 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3882, allocations: 6.25 kB / 0.523 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.3885, allocations: 76.94 kB / 0.5231 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.3885, allocations: 5.781 kB / 0.5231 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.3888, allocations: 40.81 kB / 0.5231 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.3888, allocations: 14.69 kB / 0.5231 GB, free: 11.31 MB / 410.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.0001064/0.3889, allocations: 180.7 kB / 0.5233 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.389, allocations: 41.2 kB / 0.5234 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005917/0.3896, allocations: 364.1 kB / 0.5237 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3896, allocations: 3.562 kB / 0.5237 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3896, allocations: 2.719 kB / 0.5237 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.3896, allocations: 2.438 kB / 0.5237 GB, free: 10.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005318/0.3902, allocations: 316 kB / 0.524 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3902, allocations: 0 / 0.524 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/0.3905, allocations: 57.83 kB / 0.5241 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.3905, allocations: 3 kB / 0.5241 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.3905, allocations: 12.67 kB / 0.5241 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.3905, allocations: 7 kB / 0.5241 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.3905, allocations: 1.5 kB / 0.5241 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007891/0.3913, allocations: 0.6669 MB / 0.5247 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.3914, allocations: 17.28 kB / 0.5248 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.3914, allocations: 14.59 kB / 0.5248 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.3917, allocations: 22.56 kB / 0.5248 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.3917, allocations: 21.67 kB / 0.5248 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.3918, allocations: 24.64 kB / 0.5248 GB, free: 10.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.613e-05/0.3918, allocations: 134.8 kB / 0.525 GB, free: 10.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3918, allocations: 0 / 0.525 GB, free: 10.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007407/0.3926, allocations: 162.2 kB / 0.5251 GB, free: 10.16 MB / 410.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.000758/0.3933, allocations: 354.5 kB / 0.5255 GB, free: 9.992 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005094/0.3938, allocations: 289.5 kB / 0.5257 GB, free: 9.938 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.3938, allocations: 0 / 0.5257 GB, free: 9.938 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002014/0.394, allocations: 163.5 kB / 0.5259 GB, free: 9.898 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006519/0.3947, allocations: 98.91 kB / 0.526 GB, free: 9.879 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.3962, allocations: 0.6834 MB / 0.5267 GB, free: 9.391 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.498e-05/0.3963, allocations: 85.56 kB / 0.5267 GB, free: 9.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003548/0.3966, allocations: 97.89 kB / 0.5268 GB, free: 9.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.3967, allocations: 32.36 kB / 0.5269 GB, free: 9.258 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.3967, allocations: 0 / 0.5269 GB, free: 9.258 MB / 410.7 MB Notification: Performance of Templates: time 0.01346/0.4102, allocations: 9.586 MB / 0.5362 GB, free: 6.387 MB / 410.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 -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.695383418351412]