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.001347/0.001347, allocations: 120.8 kB / 18.45 MB, free: 4.59 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.001465/0.001465, allocations: 205 kB / 21.4 MB, free: 1.645 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.555/1.555, allocations: 227.4 MB / 251.7 MB, free: 288 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.2613/0.2613, allocations: 46.17 MB / 351.1 MB, free: 14.31 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.002254/0.002254, allocations: 77.27 kB / 490.2 MB, free: 27.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1543, allocations: 62.46 MB / 0.5397 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5136/0.668, allocations: 152.6 MB / 0.6887 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.6709, allocations: 2.196 MB / 0.6908 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.671, allocations: 1.969 kB / 0.6908 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005676/0.6716, allocations: 62.06 kB / 0.6909 GB, free: 2.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002878/0.6746, allocations: 0.6298 MB / 0.6915 GB, free: 1.941 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.6751, allocations: 105.7 kB / 0.6916 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006084/0.6757, allocations: 259.9 kB / 0.6918 GB, free: 1.734 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.484e-05/0.6758, allocations: 13.7 kB / 0.6918 GB, free: 1.727 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005133/0.6763, allocations: 143.1 kB / 0.692 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.6766, allocations: 87.77 kB / 0.6921 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.6766, allocations: 7.469 kB / 0.6921 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/0.6788, allocations: 0.8512 MB / 0.6929 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.679, allocations: 85.78 kB / 0.693 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.6792, allocations: 93.27 kB / 0.6931 GB, free: 1.047 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.6804, allocations: 0.665 MB / 0.6937 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.6804, allocations: 0 / 0.6937 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6804, allocations: 0 / 0.6937 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.6804, allocations: 0 / 0.6937 GB, free: 0.6953 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.0009297/0.6813, allocations: 0.5083 MB / 0.6942 GB, free: 220 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.6814, allocations: 10.09 kB / 0.6942 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00193/0.6833, allocations: 273.9 kB / 0.6945 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.6838, allocations: 275.6 kB / 0.6948 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.6838, allocations: 19.52 kB / 0.6948 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.257e-05/0.6839, allocations: 23.62 kB / 0.6948 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000803/0.6847, allocations: 496.1 kB / 0.6953 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.6847, allocations: 3.938 kB / 0.6953 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/0.6848, allocations: 6.531 kB / 0.6953 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.6848, allocations: 16.09 kB / 0.6953 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008664/0.6857, allocations: 0.5792 MB / 0.6959 GB, free: 15.27 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.002206/0.6879, allocations: 1.017 MB / 0.6969 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.6883, allocations: 241.2 kB / 0.6971 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002444/0.6886, allocations: 185 kB / 0.6973 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000957/0.6895, allocations: 375.8 kB / 0.6976 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.6896, allocations: 42.5 kB / 0.6977 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 2.435e-06/0.6896, allocations: 0 / 0.6977 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28): time 0.002022/0.6916, allocations: 0.601 MB / 0.6982 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/0.6917, allocations: 81.05 kB / 0.6983 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.6918, allocations: 125.8 kB / 0.6984 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.6919, allocations: 37.7 kB / 0.6985 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.32e-05/0.692, allocations: 112.5 kB / 0.6986 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.6921, allocations: 111 kB / 0.6987 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.6923, allocations: 69.47 kB / 0.6988 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6924, allocations: 326.8 kB / 0.6991 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003581/0.6928, allocations: 183.9 kB / 0.6992 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.6932, allocations: 296.5 kB / 0.6995 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007906/0.694, allocations: 499.6 kB / 0.7 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.694, allocations: 0 / 0.7 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009945/0.6951, allocations: 0.5278 MB / 0.7005 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.6951, allocations: 8 kB / 0.7005 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.6951, allocations: 4.875 kB / 0.7005 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/0.6951, allocations: 4 kB / 0.7005 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.6957, allocations: 79.89 kB / 0.7006 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.6957, allocations: 8.406 kB / 0.7006 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.6961, allocations: 39.77 kB / 0.7007 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/0.6961, allocations: 21.39 kB / 0.7007 GB, free: 10.58 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.000174/0.6963, allocations: 149.6 kB / 0.7008 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.6964, allocations: 15.91 kB / 0.7008 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.6974, allocations: 493.5 kB / 0.7013 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.6974, allocations: 4 kB / 0.7013 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.6975, allocations: 0 / 0.7013 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.6975, allocations: 3.984 kB / 0.7013 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007909/0.6983, allocations: 461.8 kB / 0.7018 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6983, allocations: 4 kB / 0.7018 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004828/0.6988, allocations: 59.89 kB / 0.7018 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.6988, allocations: 4 kB / 0.7018 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/0.6988, allocations: 11.98 kB / 0.7018 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.6988, allocations: 0 / 0.7018 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6988, allocations: 4 kB / 0.7018 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.7, allocations: 0.6849 MB / 0.7025 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.7001, allocations: 100.9 kB / 0.7026 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.262e-05/0.7002, allocations: 7.984 kB / 0.7026 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004549/0.7006, allocations: 23.92 kB / 0.7026 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.7007, allocations: 15.97 kB / 0.7026 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.7008, allocations: 19.98 kB / 0.7027 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.812e-05/0.7008, allocations: 95.7 kB / 0.7028 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7008, allocations: 0 / 0.7028 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007876/0.7016, allocations: 171.6 kB / 0.7029 GB, free: 8.191 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.000882/0.7025, allocations: 339.7 kB / 0.7032 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008743/0.7034, allocations: 443.5 kB / 0.7037 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7034, allocations: 0.8125 kB / 0.7037 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.7038, allocations: 220 kB / 0.7039 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007213/0.7046, allocations: 97.58 kB / 0.704 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.7061, allocations: 0.8851 MB / 0.7048 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.7066, allocations: 0.7366 MB / 0.7056 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004573/0.707, allocations: 109.8 kB / 0.7057 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.7072, allocations: 35.36 kB / 0.7057 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of SimCode: time 2.785e-06/0.7072, allocations: 4 kB / 0.7057 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of Templates: time 0.01476/0.722, allocations: 8.041 MB / 0.7136 GB, free: 13.3 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.035110238939524]