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.001925/0.001925, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00258/0.00258, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.535/1.535, allocations: 230.5 MB / 257.4 MB, free: 7.812 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.2465/0.2465, allocations: 46.95 MB / 360.8 MB, free: 3.938 MB / 286.1 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 0.002488/0.002488, allocations: 84.14 kB / 0.4966 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4539, allocations: 66.09 MB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.2058/0.6597, allocations: 131.6 MB / 0.6897 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00307/0.6627, allocations: 1.974 MB / 0.6916 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.782e-05/0.6628, allocations: 0 / 0.6916 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.6632, allocations: 55.73 kB / 0.6917 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.6651, allocations: 0.6375 MB / 0.6923 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.6655, allocations: 107.1 kB / 0.6924 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004961/0.666, allocations: 259 kB / 0.6927 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.6661, allocations: 15.97 kB / 0.6927 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003176/0.6664, allocations: 143.4 kB / 0.6928 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.6666, allocations: 103.6 kB / 0.6929 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.6666, allocations: 8 kB / 0.6929 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001578/0.6682, allocations: 0.7558 MB / 0.6936 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.6683, allocations: 91.69 kB / 0.6937 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.6684, allocations: 87.72 kB / 0.6938 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.6695, allocations: 0.6531 MB / 0.6945 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.6695, allocations: 0 / 0.6945 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6695, allocations: 0 / 0.6945 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.6695, allocations: 0 / 0.6945 GB, free: 10.96 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.0008741/0.6703, allocations: 441.5 kB / 0.6949 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.6704, allocations: 8.031 kB / 0.6949 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.6724, allocations: 276.5 kB / 0.6951 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/0.673, allocations: 230 kB / 0.6954 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.673, allocations: 8.328 kB / 0.6954 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.012e-05/0.6731, allocations: 19.98 kB / 0.6954 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009698/0.674, allocations: 0.6434 MB / 0.696 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.674, allocations: 0 / 0.696 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.212e-05/0.6741, allocations: 8 kB / 0.696 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.6741, allocations: 8 kB / 0.696 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009525/0.6751, allocations: 0.5816 MB / 0.6966 GB, free: 8.652 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.002282/0.6774, allocations: 0.8982 MB / 0.6975 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.6778, allocations: 244.9 kB / 0.6977 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.6781, allocations: 177.6 kB / 0.6979 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008448/0.6789, allocations: 160 kB / 0.698 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.6789, allocations: 38.56 kB / 0.6981 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.114e-06/0.6789, allocations: 4 kB / 0.6981 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002112/0.681, allocations: 0.5979 MB / 0.6987 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.6811, allocations: 81.11 kB / 0.6987 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.6813, allocations: 129.8 kB / 0.6989 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.6813, allocations: 33.7 kB / 0.6989 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.202e-05/0.6814, allocations: 116.5 kB / 0.699 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.6815, allocations: 111.1 kB / 0.6991 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.6817, allocations: 69.47 kB / 0.6992 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.6818, allocations: 330.8 kB / 0.6995 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003569/0.6822, allocations: 187.9 kB / 0.6997 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.6826, allocations: 284.7 kB / 0.6999 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008329/0.6835, allocations: 495.4 kB / 0.7004 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/0.6835, allocations: 4 kB / 0.7004 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001028/0.6845, allocations: 0.5127 MB / 0.7009 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.6845, allocations: 11.98 kB / 0.7009 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.6845, allocations: 4 kB / 0.7009 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.6846, allocations: 4 kB / 0.7009 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/0.6851, allocations: 83.83 kB / 0.701 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.6852, allocations: 8.406 kB / 0.701 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.6855, allocations: 39.77 kB / 0.7011 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.6856, allocations: 16 kB / 0.7011 GB, free: 3.844 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.0001913/0.6858, allocations: 151 kB / 0.7012 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.6859, allocations: 19.89 kB / 0.7012 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/0.6869, allocations: 490 kB / 0.7017 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.6869, allocations: 4 kB / 0.7017 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6869, allocations: 0 / 0.7017 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.6869, allocations: 0 / 0.7017 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007357/0.6877, allocations: 361.5 kB / 0.7021 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6877, allocations: 3.938 kB / 0.7021 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.6882, allocations: 51.97 kB / 0.7021 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.6882, allocations: 7.984 kB / 0.7021 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.818e-05/0.6882, allocations: 12 kB / 0.7021 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.6882, allocations: 0 / 0.7021 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6882, allocations: 0 / 0.7021 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.6894, allocations: 0.6926 MB / 0.7028 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.6895, allocations: 15.89 kB / 0.7028 GB, free: 2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.448e-05/0.6895, allocations: 7.984 kB / 0.7028 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.69, allocations: 23.92 kB / 0.7029 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.6901, allocations: 27.95 kB / 0.7029 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.6901, allocations: 19.98 kB / 0.7029 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.552e-05/0.6902, allocations: 99.7 kB / 0.703 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6902, allocations: 0 / 0.703 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007544/0.691, allocations: 167.6 kB / 0.7032 GB, free: 1.66 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.6918, allocations: 339.3 kB / 0.7035 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000847/0.6927, allocations: 422.7 kB / 0.7039 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6927, allocations: 4 kB / 0.7039 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.693, allocations: 207.8 kB / 0.7041 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000715/0.6938, allocations: 102.5 kB / 0.7042 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.6953, allocations: 0.8837 MB / 0.705 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001676/0.6954, allocations: 131.4 kB / 0.7052 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004524/0.6959, allocations: 105.8 kB / 0.7053 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/0.696, allocations: 31.44 kB / 0.7053 GB, free: 15.4 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.696, allocations: 0 / 0.7053 GB, free: 15.4 MB / 0.545 GB Notification: Performance of Templates: time 0.01532/0.7114, allocations: 8.459 MB / 0.7136 GB, free: 7.023 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/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: 6.119794983416796]