Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.513/1.513, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2361/0.2361, allocations: 46.97 MB / 361.6 MB, free: 4.035 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 67.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3527, allocations: 66.02 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1734/0.5262, allocations: 131.6 MB / 0.6903 GB, free: 52 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002727/0.5289, allocations: 1.978 MB / 0.6923 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.529, allocations: 4 kB / 0.6923 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003657/0.5293, allocations: 51.73 kB / 0.6923 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.5309, allocations: 0.6414 MB / 0.6929 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.5313, allocations: 111.3 kB / 0.6931 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003524/0.5316, allocations: 267 kB / 0.6933 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.5317, allocations: 4 kB / 0.6933 GB, free: 13 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.5319, allocations: 147.4 kB / 0.6935 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.5321, allocations: 99.69 kB / 0.6935 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.5322, allocations: 8 kB / 0.6936 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.5336, allocations: 0.7597 MB / 0.6943 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.5337, allocations: 83.77 kB / 0.6944 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.5338, allocations: 91.7 kB / 0.6945 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009678/0.5348, allocations: 0.6492 MB / 0.6951 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.5348, allocations: 0 / 0.6951 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5348, allocations: 0 / 0.6951 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.5348, allocations: 0 / 0.6951 GB, free: 11.17 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.0007937/0.5356, allocations: 449.4 kB / 0.6955 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.5356, allocations: 8.031 kB / 0.6955 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001905/0.5376, allocations: 268.5 kB / 0.6958 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004978/0.538, allocations: 234 kB / 0.696 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.5381, allocations: 12.33 kB / 0.696 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.5381, allocations: 16 kB / 0.696 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008772/0.539, allocations: 0.6396 MB / 0.6967 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.539, allocations: 4 kB / 0.6967 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.018e-05/0.5391, allocations: 4 kB / 0.6967 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.5391, allocations: 8 kB / 0.6967 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008635/0.54, allocations: 0.5816 MB / 0.6973 GB, free: 8.867 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.002203/0.5422, allocations: 0.902 MB / 0.6981 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.5426, allocations: 249 kB / 0.6984 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.5429, allocations: 177.6 kB / 0.6985 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008217/0.5437, allocations: 164 kB / 0.6987 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.5437, allocations: 38.56 kB / 0.6987 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.735e-06/0.5437, allocations: 0 / 0.6987 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001958/0.5457, allocations: 0.5937 MB / 0.6993 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.5457, allocations: 81.11 kB / 0.6994 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.5459, allocations: 129.8 kB / 0.6995 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/0.5459, allocations: 33.7 kB / 0.6995 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.546, allocations: 120.4 kB / 0.6997 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.5461, allocations: 115.1 kB / 0.6998 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.5462, allocations: 69.47 kB / 0.6998 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5464, allocations: 326.8 kB / 0.7001 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.5467, allocations: 183.9 kB / 0.7003 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.5471, allocations: 288.5 kB / 0.7006 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007572/0.5479, allocations: 490.5 kB / 0.7011 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.5479, allocations: 4 kB / 0.7011 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009482/0.5488, allocations: 0.5204 MB / 0.7016 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.5488, allocations: 8 kB / 0.7016 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.5489, allocations: 4 kB / 0.7016 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.5489, allocations: 4 kB / 0.7016 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.5494, allocations: 84.23 kB / 0.7017 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.5494, allocations: 12 kB / 0.7017 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003724/0.5498, allocations: 35.77 kB / 0.7017 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.5498, allocations: 19.98 kB / 0.7017 GB, free: 4.047 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.0001701/0.55, allocations: 149.7 kB / 0.7019 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.5501, allocations: 15.91 kB / 0.7019 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009771/0.5511, allocations: 0.4892 MB / 0.7024 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.5511, allocations: 4 kB / 0.7024 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5511, allocations: 0 / 0.7024 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.5511, allocations: 7.969 kB / 0.7024 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006582/0.5518, allocations: 345.8 kB / 0.7027 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.5518, allocations: 7.938 kB / 0.7027 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004916/0.5523, allocations: 59.89 kB / 0.7028 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.5523, allocations: 4 kB / 0.7028 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.5523, allocations: 12 kB / 0.7028 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.5523, allocations: 3.984 kB / 0.7028 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5523, allocations: 0 / 0.7028 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.5534, allocations: 0.6878 MB / 0.7035 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.5535, allocations: 15.89 kB / 0.7035 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.5535, allocations: 12 kB / 0.7035 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004678/0.554, allocations: 23.97 kB / 0.7035 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.554, allocations: 23.91 kB / 0.7035 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.5541, allocations: 15.98 kB / 0.7036 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.777e-05/0.5541, allocations: 99.27 kB / 0.7037 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5541, allocations: 3.938 kB / 0.7037 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007094/0.5549, allocations: 167.6 kB / 0.7038 GB, free: 1.859 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.0008383/0.5557, allocations: 338.8 kB / 0.7041 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008006/0.5565, allocations: 419.7 kB / 0.7045 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5565, allocations: 0 / 0.7045 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.5569, allocations: 211.8 kB / 0.7047 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006868/0.5575, allocations: 89.14 kB / 0.7048 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.559, allocations: 0.9166 MB / 0.7057 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.5592, allocations: 127.4 kB / 0.7058 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.5594, allocations: 31.42 kB / 0.7059 GB, free: 15.68 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.5594, allocations: 3.938 kB / 0.7059 GB, free: 15.68 MB / 0.545 GB Notification: Performance of Templates: time 0.01527/0.5746, allocations: 6.767 MB / 0.7125 GB, free: 8.914 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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: 9.124816475901753]