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.001396/0.001396, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 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.001833/0.001833, allocations: 210.5 kB / 24.48 MB, free: 3.934 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.568/1.568, allocations: 230.5 MB / 258.1 MB, free: 7.805 MB / 206.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.2394/0.2394, allocations: 46.95 MB / 361.6 MB, free: 3.953 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.002413/0.002413, allocations: 87.8 kB / 0.4974 GB, free: 7.082 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.302, allocations: 66.09 MB / 0.5619 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.169/0.4711, allocations: 131.6 MB / 0.6904 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002701/0.4738, allocations: 1.967 MB / 0.6924 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.4739, allocations: 7.938 kB / 0.6924 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.4742, allocations: 47.73 kB / 0.6924 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.4758, allocations: 0.6453 MB / 0.693 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.4761, allocations: 103.8 kB / 0.6931 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.4764, allocations: 267 kB / 0.6934 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.4765, allocations: 4 kB / 0.6934 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.4768, allocations: 143.4 kB / 0.6935 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.477, allocations: 95.62 kB / 0.6936 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.477, allocations: 19.94 kB / 0.6936 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.4784, allocations: 0.7558 MB / 0.6944 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.4785, allocations: 87.77 kB / 0.6945 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.4786, allocations: 91.64 kB / 0.6946 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009621/0.4796, allocations: 0.6453 MB / 0.6952 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4796, allocations: 0 / 0.6952 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4796, allocations: 0 / 0.6952 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.4796, allocations: 0 / 0.6952 GB, free: 10.98 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.0008007/0.4804, allocations: 445.4 kB / 0.6956 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.4805, allocations: 12.03 kB / 0.6956 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.4824, allocations: 276.5 kB / 0.6959 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.4829, allocations: 226 kB / 0.6961 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.4829, allocations: 12.33 kB / 0.6961 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/0.483, allocations: 16 kB / 0.6961 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/0.4839, allocations: 0.6473 MB / 0.6968 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4839, allocations: 0 / 0.6968 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.481e-05/0.4839, allocations: 15.92 kB / 0.6968 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.794e-05/0.484, allocations: 8 kB / 0.6968 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009041/0.4849, allocations: 0.5778 MB / 0.6973 GB, free: 8.668 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.002215/0.4871, allocations: 0.9021 MB / 0.6982 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004051/0.4875, allocations: 240.9 kB / 0.6985 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.4878, allocations: 185.6 kB / 0.6986 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008064/0.4886, allocations: 151.8 kB / 0.6988 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.4886, allocations: 34.56 kB / 0.6988 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.4886, allocations: 0 / 0.6988 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001995/0.4906, allocations: 0.5983 MB / 0.6994 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.4906, allocations: 85.11 kB / 0.6995 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.4908, allocations: 133.8 kB / 0.6996 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.4908, allocations: 29.7 kB / 0.6996 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.141e-05/0.4909, allocations: 116.5 kB / 0.6997 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.491, allocations: 115.2 kB / 0.6999 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.4911, allocations: 65.47 kB / 0.6999 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.4913, allocations: 322.8 kB / 0.7002 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.4916, allocations: 187.9 kB / 0.7004 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.492, allocations: 288.7 kB / 0.7007 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007969/0.4928, allocations: 499.2 kB / 0.7012 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.4928, allocations: 0 / 0.7012 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009886/0.4938, allocations: 0.5169 MB / 0.7017 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4938, allocations: 12.03 kB / 0.7017 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.4939, allocations: 4 kB / 0.7017 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4939, allocations: 4 kB / 0.7017 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005383/0.4944, allocations: 79.89 kB / 0.7018 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.4944, allocations: 7.938 kB / 0.7018 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.4948, allocations: 35.77 kB / 0.7018 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.4949, allocations: 23.98 kB / 0.7018 GB, free: 3.863 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.0001668/0.495, allocations: 145.7 kB / 0.702 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.4952, allocations: 15.91 kB / 0.702 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009926/0.4961, allocations: 0.4901 MB / 0.7025 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4962, allocations: 7.938 kB / 0.7025 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.4962, allocations: 8 kB / 0.7025 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.4962, allocations: 3.984 kB / 0.7025 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006839/0.4969, allocations: 349.7 kB / 0.7028 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4969, allocations: 3.938 kB / 0.7028 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/0.4974, allocations: 59.89 kB / 0.7029 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4974, allocations: 0 / 0.7029 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.4974, allocations: 11.98 kB / 0.7029 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4974, allocations: 4 kB / 0.7029 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4974, allocations: 0 / 0.7029 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.4986, allocations: 0.703 MB / 0.7036 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.4986, allocations: 11.89 kB / 0.7036 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.4986, allocations: 8 kB / 0.7036 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.4991, allocations: 19.97 kB / 0.7036 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.4992, allocations: 19.97 kB / 0.7036 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.4992, allocations: 15.98 kB / 0.7036 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.237e-05/0.4993, allocations: 99.27 kB / 0.7037 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.4993, allocations: 0 / 0.7037 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006592/0.5, allocations: 167.6 kB / 0.7039 GB, free: 1.68 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.0008116/0.5008, allocations: 351.5 kB / 0.7042 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008203/0.5016, allocations: 411.6 kB / 0.7046 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5016, allocations: 0 / 0.7046 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.502, allocations: 212.6 kB / 0.7048 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007163/0.5027, allocations: 98.59 kB / 0.7049 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.5042, allocations: 0.9127 MB / 0.7058 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.5043, allocations: 127.4 kB / 0.7059 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.5045, allocations: 39.42 kB / 0.706 GB, free: 15.49 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.5045, allocations: 0 / 0.706 GB, free: 15.49 MB / 0.545 GB Notification: Performance of Templates: time 0.0101/0.5146, allocations: 6.775 MB / 0.7126 GB, free: 8.715 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 -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: 8.883227745071054]