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.002054/0.002054, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002531/0.002531, allocations: 156.9 kB / 24.27 MB, free: 172 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 1.525/1.525, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3997/0.3997, allocations: 34.26 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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.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=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_trunk_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 377.2 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.195e-05/4.398e-05, allocations: 2.312 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4716/0.4716, allocations: 131.7 MB / 0.4969 GB, free: 25.09 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002919/0.4746, allocations: 1.972 MB / 0.4989 GB, free: 23.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.01e-05/0.4747, allocations: 5.156 kB / 0.4989 GB, free: 23.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004788/0.4751, allocations: 46.66 kB / 0.4989 GB, free: 23.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.4773, allocations: 0.6668 MB / 0.4996 GB, free: 23.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.4777, allocations: 110.5 kB / 0.4997 GB, free: 23.4 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004298/0.4781, allocations: 254.4 kB / 0.4999 GB, free: 23.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.893e-05/0.4782, allocations: 4.641 kB / 0.4999 GB, free: 23.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004037/0.4786, allocations: 185.1 kB / 0.5001 GB, free: 23.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.4788, allocations: 86.73 kB / 0.5002 GB, free: 23.2 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.4788, allocations: 8.688 kB / 0.5002 GB, free: 23.2 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001932/0.4807, allocations: 0.7665 MB / 0.5009 GB, free: 22.95 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.4809, allocations: 91.61 kB / 0.501 GB, free: 22.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.481, allocations: 77.67 kB / 0.5011 GB, free: 22.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.4825, allocations: 0.719 MB / 0.5018 GB, free: 22.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4825, allocations: 0 / 0.5018 GB, free: 22.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4825, allocations: 1 kB / 0.5018 GB, free: 22.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.4825, allocations: 0 / 0.5018 GB, free: 22.66 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.0009136/0.4834, allocations: 443.4 kB / 0.5022 GB, free: 22.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.4835, allocations: 9.781 kB / 0.5022 GB, free: 22.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002311/0.4858, allocations: 350.6 kB / 0.5026 GB, free: 22.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.4862, allocations: 221.2 kB / 0.5028 GB, free: 22.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.4863, allocations: 15.58 kB / 0.5028 GB, free: 22.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.4864, allocations: 18.72 kB / 0.5028 GB, free: 22.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009386/0.4873, allocations: 0.6478 MB / 0.5034 GB, free: 21.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4873, allocations: 0 / 0.5034 GB, free: 21.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.275e-05/0.4874, allocations: 6.438 kB / 0.5034 GB, free: 21.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.4874, allocations: 8.859 kB / 0.5034 GB, free: 21.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009451/0.4884, allocations: 0.5732 MB / 0.504 GB, free: 21.55 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.00227/0.4906, allocations: 0.9062 MB / 0.5049 GB, free: 21.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.491, allocations: 240.5 kB / 0.5051 GB, free: 20.94 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.4913, allocations: 180.2 kB / 0.5053 GB, free: 20.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009346/0.4922, allocations: 150.7 kB / 0.5054 GB, free: 20.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.4923, allocations: 41.31 kB / 0.5055 GB, free: 20.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.713e-06/0.4923, allocations: 0 / 0.5055 GB, free: 20.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.002019/0.4943, allocations: 0.6227 MB / 0.5061 GB, free: 20.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.4943, allocations: 81.42 kB / 0.5062 GB, free: 20.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.4944, allocations: 138.1 kB / 0.5063 GB, free: 20.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.4945, allocations: 32.42 kB / 0.5063 GB, free: 20.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.4946, allocations: 109.5 kB / 0.5064 GB, free: 20.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.086e-05/0.4946, allocations: 112.7 kB / 0.5065 GB, free: 20.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.4948, allocations: 67.36 kB / 0.5066 GB, free: 20.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.54e-05/0.4949, allocations: 327.4 kB / 0.5069 GB, free: 19.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.4952, allocations: 183.7 kB / 0.5071 GB, free: 19.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/0.4956, allocations: 295.1 kB / 0.5074 GB, free: 19.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006981/0.4963, allocations: 495 kB / 0.5078 GB, free: 19.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.4963, allocations: 1.562 kB / 0.5078 GB, free: 19.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009078/0.4972, allocations: 0.54 MB / 0.5084 GB, free: 18.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.4972, allocations: 5.562 kB / 0.5084 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.4972, allocations: 9.062 kB / 0.5084 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.4972, allocations: 5.469 kB / 0.5084 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/0.4978, allocations: 81.81 kB / 0.5085 GB, free: 18.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.4978, allocations: 19.72 kB / 0.5085 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.4982, allocations: 35.52 kB / 0.5085 GB, free: 18.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.103e-05/0.4982, allocations: 20.42 kB / 0.5085 GB, free: 18.93 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.0001428/0.4983, allocations: 140.7 kB / 0.5087 GB, free: 18.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.4985, allocations: 40.08 kB / 0.5087 GB, free: 18.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008935/0.4994, allocations: 496.1 kB / 0.5092 GB, free: 18.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4994, allocations: 2.906 kB / 0.5092 GB, free: 18.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4994, allocations: 0 / 0.5092 GB, free: 18.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4994, allocations: 0 / 0.5092 GB, free: 18.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.5, allocations: 354.1 kB / 0.5095 GB, free: 18.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5, allocations: 0.7812 kB / 0.5095 GB, free: 18.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.5005, allocations: 63.53 kB / 0.5096 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5005, allocations: 0 / 0.5096 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.5005, allocations: 11.03 kB / 0.5096 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.709e-05/0.5005, allocations: 8.562 kB / 0.5096 GB, free: 18.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5005, allocations: 3.203 kB / 0.5096 GB, free: 18.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.5016, allocations: 0.7042 MB / 0.5103 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.46e-05/0.5016, allocations: 24.09 kB / 0.5103 GB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.385e-05/0.5016, allocations: 12.56 kB / 0.5103 GB, free: 17.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.5021, allocations: 21.73 kB / 0.5104 GB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.5022, allocations: 19.17 kB / 0.5104 GB, free: 17.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.446e-05/0.5022, allocations: 17.09 kB / 0.5104 GB, free: 17.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.85e-05/0.5023, allocations: 100.7 kB / 0.5105 GB, free: 17.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5023, allocations: 0 / 0.5105 GB, free: 17.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009527/0.5032, allocations: 164.6 kB / 0.5106 GB, free: 17.76 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.000839/0.504, allocations: 348.5 kB / 0.511 GB, free: 17.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000735/0.5048, allocations: 426.5 kB / 0.5114 GB, free: 17.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5048, allocations: 0 / 0.5114 GB, free: 17.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.5051, allocations: 207 kB / 0.5116 GB, free: 17.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000738/0.5058, allocations: 104 kB / 0.5117 GB, free: 17.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.5069, allocations: 0.715 MB / 0.5124 GB, free: 16.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.5071, allocations: 124.5 kB / 0.5125 GB, free: 16.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004532/0.5075, allocations: 110.6 kB / 0.5126 GB, free: 16.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.5077, allocations: 29.38 kB / 0.5126 GB, free: 16.75 MB / 410.7 MB Notification: Performance of SimCode: time 5.72e-07/0.5077, allocations: 0 / 0.5126 GB, free: 16.75 MB / 410.7 MB Notification: Performance of Templates: time 0.0129/0.5206, allocations: 8.28 MB / 0.5207 GB, free: 15.29 MB / 410.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 5.919040651060641]