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.00232/0.00232, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002032/0.002032, allocations: 161.6 kB / 24.27 MB, free: 160 kB / 18.57 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.662/1.662, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 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.4044/0.4044, allocations: 34.27 MB / 295.3 MB, free: 0.6875 MB / 266.7 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 1.563e-06/1.563e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.896e-05/4.053e-05, allocations: 2.312 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4844/0.4844, allocations: 145.3 MB / 0.5103 GB, free: 18.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.4877, allocations: 2.24 MB / 0.5125 GB, free: 16.98 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.4878, allocations: 0 / 0.5125 GB, free: 16.98 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.4884, allocations: 55.27 kB / 0.5125 GB, free: 16.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002106/0.4905, allocations: 0.6579 MB / 0.5132 GB, free: 16.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.4908, allocations: 104.8 kB / 0.5133 GB, free: 16.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.4912, allocations: 269.5 kB / 0.5135 GB, free: 16.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.4913, allocations: 3.469 kB / 0.5135 GB, free: 16.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004112/0.4917, allocations: 185.8 kB / 0.5137 GB, free: 16.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.4919, allocations: 82.61 kB / 0.5138 GB, free: 16.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.492, allocations: 8.656 kB / 0.5138 GB, free: 16.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/0.4938, allocations: 0.7735 MB / 0.5146 GB, free: 16.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.4939, allocations: 91.42 kB / 0.5146 GB, free: 16.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.4941, allocations: 71.69 kB / 0.5147 GB, free: 16.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001298/0.4954, allocations: 0.7193 MB / 0.5154 GB, free: 15.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4954, allocations: 0 / 0.5154 GB, free: 15.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4954, allocations: 4 kB / 0.5154 GB, free: 15.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.4954, allocations: 0 / 0.5154 GB, free: 15.82 MB / 410.7 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.0009837/0.4964, allocations: 0.5416 MB / 0.5159 GB, free: 15.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.762e-05/0.4964, allocations: 13 kB / 0.516 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.4986, allocations: 327.2 kB / 0.5163 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005985/0.4992, allocations: 224.2 kB / 0.5165 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.4993, allocations: 10.77 kB / 0.5165 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.356e-05/0.4994, allocations: 21.16 kB / 0.5165 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000809/0.5002, allocations: 0.5159 MB / 0.517 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5002, allocations: 4 kB / 0.517 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/0.5002, allocations: 11.34 kB / 0.517 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.5003, allocations: 11.48 kB / 0.517 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006993/0.501, allocations: 364.6 kB / 0.5174 GB, free: 14.75 MB / 410.7 MB 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.002105/0.5031, allocations: 0.9058 MB / 0.5183 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.5034, allocations: 188.9 kB / 0.5185 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.5036, allocations: 121.2 kB / 0.5186 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008222/0.5044, allocations: 151 kB / 0.5187 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.5044, allocations: 46.83 kB / 0.5188 GB, free: 13.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/0.5044, allocations: 0 / 0.5188 GB, free: 13.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.00183/0.5063, allocations: 493.3 kB / 0.5192 GB, free: 13.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.5063, allocations: 85.59 kB / 0.5193 GB, free: 13.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.5065, allocations: 195.3 kB / 0.5195 GB, free: 13.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.5065, allocations: 32.39 kB / 0.5195 GB, free: 13.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.5066, allocations: 162.4 kB / 0.5197 GB, free: 13.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.5067, allocations: 122.3 kB / 0.5198 GB, free: 13.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.5068, allocations: 70.42 kB / 0.5199 GB, free: 13.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.507, allocations: 0.5031 MB / 0.5204 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.5072, allocations: 127.8 kB / 0.5205 GB, free: 12.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.5076, allocations: 280.5 kB / 0.5207 GB, free: 12.47 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/0.5082, allocations: 446.1 kB / 0.5212 GB, free: 12.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5082, allocations: 3.75 kB / 0.5212 GB, free: 12.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000813/0.509, allocations: 442.8 kB / 0.5216 GB, free: 12.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.5091, allocations: 8.812 kB / 0.5216 GB, free: 12.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.5091, allocations: 6.844 kB / 0.5216 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.5091, allocations: 5.219 kB / 0.5216 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.5096, allocations: 87.12 kB / 0.5217 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.5096, allocations: 6.688 kB / 0.5217 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.51, allocations: 32.56 kB / 0.5217 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.832e-05/0.51, allocations: 20.05 kB / 0.5218 GB, free: 11.99 MB / 410.7 MB 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.0001477/0.5102, allocations: 178.2 kB / 0.5219 GB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.5103, allocations: 34.73 kB / 0.522 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008881/0.5112, allocations: 422.5 kB / 0.5224 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.5112, allocations: 2.938 kB / 0.5224 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5112, allocations: 0 / 0.5224 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.5112, allocations: 6.172 kB / 0.5224 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.5119, allocations: 330.8 kB / 0.5227 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5119, allocations: 3.141 kB / 0.5227 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/0.5123, allocations: 56.36 kB / 0.5227 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.5123, allocations: 7.938 kB / 0.5228 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.5124, allocations: 11.52 kB / 0.5228 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.5124, allocations: 3.938 kB / 0.5228 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5124, allocations: 5.203 kB / 0.5228 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.5135, allocations: 0.7249 MB / 0.5235 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.5135, allocations: 21.19 kB / 0.5235 GB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.944e-05/0.5136, allocations: 13.41 kB / 0.5235 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004439/0.514, allocations: 17.83 kB / 0.5235 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.5141, allocations: 21.89 kB / 0.5236 GB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.5141, allocations: 14.34 kB / 0.5236 GB, free: 10.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.802e-05/0.5142, allocations: 142.6 kB / 0.5237 GB, free: 10.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5142, allocations: 0 / 0.5237 GB, free: 10.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001072/0.5153, allocations: 163.9 kB / 0.5239 GB, free: 10.76 MB / 410.7 MB 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.0009163/0.5162, allocations: 353.5 kB / 0.5242 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007108/0.5169, allocations: 345.6 kB / 0.5245 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5169, allocations: 0.8125 kB / 0.5245 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.5172, allocations: 179.9 kB / 0.5247 GB, free: 10.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007537/0.518, allocations: 109.2 kB / 0.5248 GB, free: 10.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.5191, allocations: 0.6823 MB / 0.5255 GB, free: 9.961 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.5192, allocations: 125.5 kB / 0.5256 GB, free: 9.883 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004141/0.5196, allocations: 98.41 kB / 0.5257 GB, free: 9.836 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.5198, allocations: 27.89 kB / 0.5257 GB, free: 9.828 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5198, allocations: 0 / 0.5257 GB, free: 9.828 MB / 410.7 MB Notification: Performance of Templates: time 0.01395/0.5337, allocations: 8.331 MB / 0.5338 GB, free: 7.637 MB / 410.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_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: 6.008568029967137]