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.00253/0.00253, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002731/0.002731, allocations: 160.8 kB / 24.27 MB, free: 156 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.59/1.59, allocations: 177 MB / 204.5 MB, free: 5.633 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.4/0.4, allocations: 34.25 MB / 295.2 MB, free: 0.625 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.054e-06/2.054e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.262e-05, allocations: 2.312 kB / 377.2 MB, free: 2.918 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4692/0.4692, allocations: 145.3 MB / 0.5102 GB, free: 18.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.4719, allocations: 2.229 MB / 0.5124 GB, free: 16.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.34e-05/0.472, allocations: 0 / 0.5124 GB, free: 16.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.4724, allocations: 52.59 kB / 0.5125 GB, free: 16.87 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.4741, allocations: 0.6615 MB / 0.5131 GB, free: 16.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.4745, allocations: 109.5 kB / 0.5132 GB, free: 16.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003511/0.4748, allocations: 264.7 kB / 0.5135 GB, free: 16.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.4749, allocations: 6.219 kB / 0.5135 GB, free: 16.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003991/0.4753, allocations: 184 kB / 0.5136 GB, free: 16.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.4755, allocations: 86.09 kB / 0.5137 GB, free: 16.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.4755, allocations: 8.656 kB / 0.5137 GB, free: 16.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.477, allocations: 0.7715 MB / 0.5145 GB, free: 16.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.4772, allocations: 81.8 kB / 0.5146 GB, free: 15.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.4773, allocations: 77.77 kB / 0.5146 GB, free: 15.96 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.4784, allocations: 0.7212 MB / 0.5153 GB, free: 15.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4784, allocations: 0 / 0.5153 GB, free: 15.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4784, allocations: 0 / 0.5153 GB, free: 15.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.4784, allocations: 0 / 0.5153 GB, free: 15.74 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.0007657/0.4791, allocations: 0.5406 MB / 0.5159 GB, free: 15.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4792, allocations: 8.531 kB / 0.5159 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001987/0.4812, allocations: 331.9 kB / 0.5162 GB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.4816, allocations: 228.4 kB / 0.5164 GB, free: 15.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.4816, allocations: 10.7 kB / 0.5164 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.157e-05/0.4817, allocations: 31.72 kB / 0.5165 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006471/0.4824, allocations: 0.5129 MB / 0.517 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.4824, allocations: 0 / 0.517 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.404e-05/0.4824, allocations: 7.375 kB / 0.517 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.4825, allocations: 14.84 kB / 0.517 GB, free: 14.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006326/0.4831, allocations: 353.1 kB / 0.5173 GB, free: 14.67 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.001964/0.4851, allocations: 0.9122 MB / 0.5182 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.4854, allocations: 197.8 kB / 0.5184 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.4856, allocations: 116.9 kB / 0.5185 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007771/0.4863, allocations: 148.9 kB / 0.5187 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.4864, allocations: 42.98 kB / 0.5187 GB, free: 13.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.323e-06/0.4864, allocations: 0 / 0.5187 GB, free: 13.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001754/0.4881, allocations: 0.4893 MB / 0.5192 GB, free: 13.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.4881, allocations: 87.31 kB / 0.5193 GB, free: 13.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.4882, allocations: 190.3 kB / 0.5194 GB, free: 13.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.4883, allocations: 32.64 kB / 0.5195 GB, free: 13.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.4883, allocations: 157.2 kB / 0.5196 GB, free: 13.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/0.4884, allocations: 125.2 kB / 0.5197 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.4886, allocations: 71.39 kB / 0.5198 GB, free: 13.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.4887, allocations: 0.5022 MB / 0.5203 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.4889, allocations: 128.3 kB / 0.5204 GB, free: 12.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.4892, allocations: 275.6 kB / 0.5207 GB, free: 12.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005819/0.4898, allocations: 447.7 kB / 0.5211 GB, free: 12.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4898, allocations: 0 / 0.5211 GB, free: 12.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007496/0.4906, allocations: 444.8 kB / 0.5215 GB, free: 11.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.4906, allocations: 8.594 kB / 0.5215 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.4906, allocations: 7.156 kB / 0.5215 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.4906, allocations: 11.91 kB / 0.5216 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.4911, allocations: 80.53 kB / 0.5216 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.4911, allocations: 13.84 kB / 0.5216 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.4915, allocations: 30.38 kB / 0.5217 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.062e-05/0.4915, allocations: 20.47 kB / 0.5217 GB, free: 11.9 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.0001196/0.4916, allocations: 178.4 kB / 0.5219 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.4918, allocations: 32.88 kB / 0.5219 GB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007905/0.4926, allocations: 416 kB / 0.5223 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.4926, allocations: 3.406 kB / 0.5223 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4926, allocations: 0 / 0.5223 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4926, allocations: 2.344 kB / 0.5223 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.4931, allocations: 336.8 kB / 0.5226 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4931, allocations: 6.766 kB / 0.5226 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.4936, allocations: 56.53 kB / 0.5227 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4936, allocations: 0 / 0.5227 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.4937, allocations: 11.69 kB / 0.5227 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.4937, allocations: 6.688 kB / 0.5227 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.4937, allocations: 6.562 kB / 0.5227 GB, free: 11.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008862/0.4946, allocations: 0.7252 MB / 0.5234 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.4946, allocations: 18.16 kB / 0.5234 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.4947, allocations: 10.62 kB / 0.5234 GB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004626/0.4951, allocations: 21.48 kB / 0.5235 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.4952, allocations: 24.05 kB / 0.5235 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.4952, allocations: 19.3 kB / 0.5235 GB, free: 10.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.134e-05/0.4953, allocations: 140.7 kB / 0.5236 GB, free: 10.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4953, allocations: 0 / 0.5236 GB, free: 10.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008014/0.4961, allocations: 163.1 kB / 0.5238 GB, free: 10.68 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.0007999/0.4969, allocations: 352.9 kB / 0.5241 GB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006239/0.4975, allocations: 340 kB / 0.5245 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4975, allocations: 7.031 kB / 0.5245 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.4978, allocations: 176.3 kB / 0.5246 GB, free: 10.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007214/0.4985, allocations: 103.9 kB / 0.5247 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.4995, allocations: 0.6858 MB / 0.5254 GB, free: 9.875 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.4997, allocations: 129.4 kB / 0.5255 GB, free: 9.793 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004102/0.5001, allocations: 101.5 kB / 0.5256 GB, free: 9.746 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.5002, allocations: 31.52 kB / 0.5256 GB, free: 9.734 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5002, allocations: 7.031 kB / 0.5257 GB, free: 9.73 MB / 410.7 MB Notification: Performance of Templates: time 0.01945/0.5197, allocations: 8.323 MB / 0.5338 GB, free: 7.605 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=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","/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.965329374070279]