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.001645/0.001645, allocations: 117 kB / 19.12 MB, free: 3.922 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.001751/0.001751, allocations: 214.6 kB / 22.08 MB, free: 0.9727 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.493/1.493, allocations: 227.4 MB / 252.3 MB, free: 108 kB / 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.2867/0.2867, allocations: 46.15 MB / 351.8 MB, free: 14.29 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.002235/0.002235, allocations: 81.17 kB / 490.8 MB, free: 28.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1105, allocations: 62.45 MB / 0.5403 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4679/0.5784, allocations: 152.6 MB / 0.6893 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002592/0.581, allocations: 2.195 MB / 0.6915 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.348e-05/0.5811, allocations: 1.875 kB / 0.6915 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.5815, allocations: 63.95 kB / 0.6915 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.583, allocations: 0.6261 MB / 0.6921 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.5834, allocations: 111.9 kB / 0.6923 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.5837, allocations: 259.8 kB / 0.6925 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.742e-05/0.5838, allocations: 10.23 kB / 0.6925 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.5841, allocations: 138 kB / 0.6926 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.5843, allocations: 92.36 kB / 0.6927 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.5843, allocations: 7.375 kB / 0.6927 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.5859, allocations: 0.8505 MB / 0.6936 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.586, allocations: 90.5 kB / 0.6937 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.5861, allocations: 96.98 kB / 0.6937 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.5872, allocations: 0.657 MB / 0.6944 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5872, allocations: 0 / 0.6944 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5872, allocations: 2.281 kB / 0.6944 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.5872, allocations: 0 / 0.6944 GB, free: 0.7891 MB / 494.1 MB 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.0008817/0.5881, allocations: 0.5083 MB / 0.6949 GB, free: 316 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5882, allocations: 10.19 kB / 0.6949 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.5901, allocations: 275.7 kB / 0.6952 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.5905, allocations: 278.4 kB / 0.6954 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.5906, allocations: 16.98 kB / 0.6954 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/0.5906, allocations: 16.22 kB / 0.6955 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.5914, allocations: 0.4889 MB / 0.6959 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.5914, allocations: 4 kB / 0.6959 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.523e-05/0.5915, allocations: 10.59 kB / 0.696 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.5915, allocations: 15.97 kB / 0.696 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008397/0.5923, allocations: 0.5811 MB / 0.6965 GB, free: 15.36 MB / 0.4981 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.002162/0.5945, allocations: 1.01 MB / 0.6975 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.5949, allocations: 244.4 kB / 0.6978 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.5952, allocations: 182.6 kB / 0.6979 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009295/0.5961, allocations: 384.8 kB / 0.6983 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.5961, allocations: 30.56 kB / 0.6983 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 1.854e-06/0.5962, allocations: 0 / 0.6983 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28): time 0.001963/0.5981, allocations: 0.6073 MB / 0.6989 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.5982, allocations: 77.11 kB / 0.699 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.5983, allocations: 132.6 kB / 0.6991 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.22e-05/0.5984, allocations: 33.7 kB / 0.6991 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.5985, allocations: 112.5 kB / 0.6993 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.713e-05/0.5986, allocations: 111 kB / 0.6994 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.5987, allocations: 69.47 kB / 0.6994 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5988, allocations: 326.8 kB / 0.6997 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.5992, allocations: 187.9 kB / 0.6999 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.5996, allocations: 292.5 kB / 0.7002 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00081/0.6004, allocations: 492.4 kB / 0.7007 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6004, allocations: 3.938 kB / 0.7007 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009737/0.6014, allocations: 0.5205 MB / 0.7012 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.6015, allocations: 8.406 kB / 0.7012 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.6015, allocations: 8 kB / 0.7012 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.6015, allocations: 4 kB / 0.7012 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.602, allocations: 83.83 kB / 0.7013 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.6021, allocations: 8 kB / 0.7013 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.6024, allocations: 35.77 kB / 0.7013 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.6025, allocations: 19.98 kB / 0.7013 GB, free: 10.73 MB / 0.4981 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.000166/0.6027, allocations: 145.7 kB / 0.7015 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.6028, allocations: 19.53 kB / 0.7015 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.6038, allocations: 0.4896 MB / 0.702 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.6039, allocations: 4 kB / 0.702 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.6039, allocations: 0 / 0.702 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.6039, allocations: 7.922 kB / 0.702 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000763/0.6047, allocations: 465.8 kB / 0.7024 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6047, allocations: 0 / 0.7024 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005058/0.6052, allocations: 51.95 kB / 0.7025 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6052, allocations: 4 kB / 0.7025 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.6052, allocations: 11.98 kB / 0.7025 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6052, allocations: 0 / 0.7025 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6053, allocations: 4 kB / 0.7025 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.6064, allocations: 0.688 MB / 0.7032 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.6065, allocations: 96.95 kB / 0.7033 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.6066, allocations: 4 kB / 0.7033 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.607, allocations: 27.91 kB / 0.7033 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.6071, allocations: 23.97 kB / 0.7033 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/0.6072, allocations: 15.98 kB / 0.7033 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.651e-05/0.6072, allocations: 99.27 kB / 0.7034 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6072, allocations: 0 / 0.7034 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006881/0.6079, allocations: 163.6 kB / 0.7036 GB, free: 8.34 MB / 0.4981 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.0008266/0.6088, allocations: 346.7 kB / 0.7039 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008477/0.6096, allocations: 441.5 kB / 0.7043 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6096, allocations: 0 / 0.7043 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.61, allocations: 215.8 kB / 0.7045 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007177/0.6108, allocations: 95.78 kB / 0.7046 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.6123, allocations: 0.921 MB / 0.7055 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/0.6127, allocations: 0.7366 MB / 0.7062 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.6129, allocations: 31.42 kB / 0.7063 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.6129, allocations: 0 / 0.7063 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of Templates: time 0.01001/0.6229, allocations: 6.673 MB / 0.7128 GB, free: 14.84 MB / 0.5137 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.439914486021735]