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.001824/0.001824, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 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.002162/0.002162, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 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.503/1.503, allocations: 177.1 MB / 204.7 MB, free: 8.902 MB / 190.1 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.215/0.215, allocations: 34.25 MB / 295.4 MB, free: 14.52 MB / 286.1 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.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 0.003981/0.003981, allocations: 83.86 kB / 443.1 MB, free: 6.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3118, allocations: 66.05 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1604/0.4722, allocations: 131.6 MB / 0.6258 GB, free: 1.543 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.00304/0.4753, allocations: 1.97 MB / 0.6277 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.061e-05/0.4753, allocations: 4 kB / 0.6277 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.4757, allocations: 47.73 kB / 0.6278 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.4775, allocations: 0.6414 MB / 0.6284 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.4779, allocations: 111.5 kB / 0.6285 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003842/0.4783, allocations: 263 kB / 0.6288 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.4783, allocations: 4 kB / 0.6288 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003394/0.4786, allocations: 151.4 kB / 0.6289 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.4789, allocations: 95.64 kB / 0.629 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.944e-05/0.4789, allocations: 8 kB / 0.629 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001601/0.4805, allocations: 0.7597 MB / 0.6298 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.4806, allocations: 91.75 kB / 0.6298 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.4808, allocations: 87.7 kB / 0.6299 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.482, allocations: 0.6424 MB / 0.6306 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.482, allocations: 4 kB / 0.6306 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.482, allocations: 0 / 0.6306 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.482, allocations: 0 / 0.6306 GB, free: 12.68 MB / 0.5294 GB 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.0008978/0.4829, allocations: 445.4 kB / 0.631 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.483, allocations: 15.97 kB / 0.631 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/0.4851, allocations: 280.5 kB / 0.6313 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.4856, allocations: 222 kB / 0.6315 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.4856, allocations: 16.33 kB / 0.6315 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.052e-05/0.4857, allocations: 12 kB / 0.6315 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009439/0.4867, allocations: 0.6396 MB / 0.6321 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4867, allocations: 0 / 0.6321 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.739e-05/0.4867, allocations: 8 kB / 0.6321 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.4868, allocations: 8.5 kB / 0.6321 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009304/0.4877, allocations: 0.5816 MB / 0.6327 GB, free: 10.37 MB / 0.5294 GB 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.002395/0.4901, allocations: 0.9064 MB / 0.6336 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004356/0.4905, allocations: 245 kB / 0.6338 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.4908, allocations: 185.6 kB / 0.634 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008622/0.4917, allocations: 156 kB / 0.6342 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/0.4917, allocations: 38.56 kB / 0.6342 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.743e-06/0.4917, allocations: 0 / 0.6342 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.00215/0.4939, allocations: 0.5993 MB / 0.6348 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.4939, allocations: 81.11 kB / 0.6349 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.4941, allocations: 133.6 kB / 0.635 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.4941, allocations: 37.7 kB / 0.635 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/0.4942, allocations: 120.5 kB / 0.6351 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.4943, allocations: 111 kB / 0.6352 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.4944, allocations: 69.48 kB / 0.6353 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4946, allocations: 326.8 kB / 0.6356 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.495, allocations: 183.9 kB / 0.6358 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.4954, allocations: 288.7 kB / 0.6361 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008573/0.4963, allocations: 492.2 kB / 0.6365 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4963, allocations: 4 kB / 0.6365 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001071/0.4973, allocations: 0.5166 MB / 0.637 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.4974, allocations: 6.812 kB / 0.637 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.4974, allocations: 4.406 kB / 0.6371 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.4974, allocations: 12 kB / 0.6371 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.498, allocations: 87.81 kB / 0.6371 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.498, allocations: 4.391 kB / 0.6372 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.4984, allocations: 35.77 kB / 0.6372 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.875e-05/0.4985, allocations: 20 kB / 0.6372 GB, free: 5.543 MB / 0.5294 GB 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.0001915/0.4987, allocations: 141.7 kB / 0.6373 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.4988, allocations: 15.91 kB / 0.6374 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.4998, allocations: 0.4902 MB / 0.6378 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.4998, allocations: 4 kB / 0.6378 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4998, allocations: 3.938 kB / 0.6378 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.4998, allocations: 8 kB / 0.6379 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007204/0.5006, allocations: 334.1 kB / 0.6382 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.5006, allocations: 7.938 kB / 0.6382 GB, free: 4.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.5011, allocations: 55.95 kB / 0.6382 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.5011, allocations: 11.88 kB / 0.6382 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.09e-05/0.5012, allocations: 11.98 kB / 0.6383 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.5012, allocations: 0 / 0.6383 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5012, allocations: 3.938 kB / 0.6383 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.5024, allocations: 0.6958 MB / 0.6389 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.662e-05/0.5024, allocations: 19.89 kB / 0.639 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.5025, allocations: 8 kB / 0.639 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/0.503, allocations: 23.95 kB / 0.639 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.5031, allocations: 19.97 kB / 0.639 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.5031, allocations: 11.98 kB / 0.639 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.833e-05/0.5032, allocations: 111.6 kB / 0.6391 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5032, allocations: 0 / 0.6391 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000775/0.504, allocations: 159.6 kB / 0.6393 GB, free: 3.363 MB / 0.5294 GB 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.0009471/0.5049, allocations: 342.8 kB / 0.6396 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008578/0.5058, allocations: 415.6 kB / 0.64 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5058, allocations: 0 / 0.64 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.5062, allocations: 211.8 kB / 0.6402 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007351/0.5069, allocations: 101 kB / 0.6403 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.5084, allocations: 0.8798 MB / 0.6412 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.5086, allocations: 135.5 kB / 0.6413 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004691/0.509, allocations: 105.8 kB / 0.6414 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.5092, allocations: 28.5 kB / 0.6414 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.5092, allocations: 0 / 0.6414 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of Templates: time 0.0162/0.5254, allocations: 8.183 MB / 0.6494 GB, free: 9.008 MB / 0.545 GB " [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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/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.549577480996959]