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.001379/0.001379, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001469/0.001469, allocations: 211.2 kB / 24.47 MB, free: 3.977 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.453/1.453, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.249/0.249, allocations: 46.96 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] 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.001953/0.001953, allocations: 59.89 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3836, allocations: 66.03 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1859/0.5695, allocations: 131.6 MB / 0.6903 GB, free: 12 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002928/0.5724, allocations: 1.97 MB / 0.6923 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.5725, allocations: 4 kB / 0.6923 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.5729, allocations: 51.69 kB / 0.6923 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.5745, allocations: 0.6454 MB / 0.6929 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.5748, allocations: 115.5 kB / 0.6931 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004081/0.5752, allocations: 263 kB / 0.6933 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.5752, allocations: 7.984 kB / 0.6933 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003333/0.5756, allocations: 143.4 kB / 0.6935 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.5758, allocations: 95.7 kB / 0.6935 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.5758, allocations: 12 kB / 0.6936 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.5774, allocations: 0.7792 MB / 0.6943 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.5775, allocations: 83.77 kB / 0.6944 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.5776, allocations: 87.7 kB / 0.6945 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.5787, allocations: 0.6531 MB / 0.6951 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5787, allocations: 0 / 0.6951 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5787, allocations: 0 / 0.6951 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.5787, allocations: 4 kB / 0.6951 GB, free: 11.11 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.0008833/0.5796, allocations: 445.4 kB / 0.6955 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.5796, allocations: 12.03 kB / 0.6956 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.5818, allocations: 272.5 kB / 0.6958 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.5823, allocations: 218 kB / 0.696 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.5824, allocations: 12.33 kB / 0.696 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.5825, allocations: 20 kB / 0.6961 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.5835, allocations: 0.6395 MB / 0.6967 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.5835, allocations: 0 / 0.6967 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.805e-05/0.5836, allocations: 8 kB / 0.6967 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.669e-05/0.5836, allocations: 12 kB / 0.6967 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009192/0.5846, allocations: 0.5739 MB / 0.6973 GB, free: 8.82 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.00242/0.587, allocations: 0.9098 MB / 0.6981 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/0.5875, allocations: 245 kB / 0.6984 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.5877, allocations: 177.6 kB / 0.6986 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009036/0.5886, allocations: 159.8 kB / 0.6987 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.5887, allocations: 38.5 kB / 0.6987 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.5887, allocations: 0 / 0.6987 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.00203/0.5907, allocations: 0.6018 MB / 0.6993 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.5908, allocations: 85.09 kB / 0.6994 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.591, allocations: 125.8 kB / 0.6995 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.591, allocations: 29.7 kB / 0.6996 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.5911, allocations: 124.4 kB / 0.6997 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.5912, allocations: 111.1 kB / 0.6998 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/0.5914, allocations: 65.47 kB / 0.6998 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.5915, allocations: 330.8 kB / 0.7002 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000353/0.5919, allocations: 179.9 kB / 0.7003 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004406/0.5923, allocations: 292.5 kB / 0.7006 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008943/0.5932, allocations: 494.7 kB / 0.7011 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.5932, allocations: 0 / 0.7011 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001071/0.5943, allocations: 0.5289 MB / 0.7016 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.5943, allocations: 8 kB / 0.7016 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.5943, allocations: 4 kB / 0.7016 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.5944, allocations: 4 kB / 0.7016 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/0.5949, allocations: 83.81 kB / 0.7017 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.5949, allocations: 7.938 kB / 0.7017 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.5953, allocations: 35.77 kB / 0.7017 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.5953, allocations: 20 kB / 0.7018 GB, free: 3.992 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.0002002/0.5955, allocations: 149.7 kB / 0.7019 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.5957, allocations: 20 kB / 0.7019 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/0.5967, allocations: 496.3 kB / 0.7024 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.5967, allocations: 4 kB / 0.7024 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.5967, allocations: 0 / 0.7024 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.5967, allocations: 0 / 0.7024 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007259/0.5975, allocations: 349.8 kB / 0.7027 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.5975, allocations: 3.938 kB / 0.7027 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/0.598, allocations: 59.91 kB / 0.7028 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.598, allocations: 0 / 0.7028 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.598, allocations: 11.98 kB / 0.7028 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.598, allocations: 4 kB / 0.7028 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.598, allocations: 4 kB / 0.7028 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.5992, allocations: 0.6878 MB / 0.7035 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.5992, allocations: 19.89 kB / 0.7035 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/0.5993, allocations: 11.98 kB / 0.7035 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/0.5998, allocations: 19.97 kB / 0.7035 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.5998, allocations: 19.95 kB / 0.7035 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.167e-05/0.5999, allocations: 19.98 kB / 0.7036 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.156e-05/0.6, allocations: 99.2 kB / 0.7037 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6, allocations: 7.938 kB / 0.7037 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007708/0.6007, allocations: 171.6 kB / 0.7038 GB, free: 1.805 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.0008607/0.6016, allocations: 334.8 kB / 0.7042 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008133/0.6024, allocations: 411.6 kB / 0.7045 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6024, allocations: 0.8125 kB / 0.7045 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.6028, allocations: 204.3 kB / 0.7047 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006911/0.6035, allocations: 99.97 kB / 0.7048 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.6051, allocations: 0.8876 MB / 0.7057 GB, free: 15.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.6052, allocations: 123.4 kB / 0.7058 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004808/0.6057, allocations: 109.8 kB / 0.7059 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.6058, allocations: 31.44 kB / 0.706 GB, free: 15.57 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.6058, allocations: 0 / 0.706 GB, free: 15.57 MB / 0.545 GB Notification: Performance of Templates: time 0.01494/0.6208, allocations: 8.552 MB / 0.7143 GB, free: 7.105 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 -s cvode -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: 5.585099097996135]