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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009887/0.0009887, allocations: 94.5 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001204/0.001204, allocations: 202.3 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.7 MB / 247.5 MB, free: 10.95 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1974/0.1974, allocations: 46.19 MB / 345.9 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002808, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1083, allocations: 63.57 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3534/0.4618, allocations: 148.5 MB / 0.6174 GB, free: 156 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002737/0.4645, allocations: 2.218 MB / 0.6195 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.099e-05/0.4646, allocations: 0 / 0.6195 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.4649, allocations: 47.78 kB / 0.6196 GB, free: 13.9 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001442/0.4664, allocations: 0.5732 MB / 0.6202 GB, free: 13.33 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.4667, allocations: 99.81 kB / 0.6203 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004161/0.4671, allocations: 370.8 kB / 0.6206 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.569e-05/0.4672, allocations: 8.531 kB / 0.6206 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.4675, allocations: 129.4 kB / 0.6207 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.4677, allocations: 103.7 kB / 0.6208 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.4678, allocations: 4 kB / 0.6208 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.4698, allocations: 1.232 MB / 0.622 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.4699, allocations: 79.77 kB / 0.6221 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.47, allocations: 113.3 kB / 0.6222 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007878/0.4708, allocations: 0.5222 MB / 0.6227 GB, free: 10.68 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4708, allocations: 4 kB / 0.6227 GB, free: 10.67 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4708, allocations: 0 / 0.6227 GB, free: 10.67 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4709, allocations: 5.125 kB / 0.6227 GB, free: 10.67 MB / 462.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.0007702/0.4716, allocations: 479.4 kB / 0.6232 GB, free: 10.15 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4717, allocations: 12.81 kB / 0.6232 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007324/0.479, allocations: 0.7233 MB / 0.6239 GB, free: 9.418 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.4795, allocations: 280.2 kB / 0.6242 GB, free: 9.105 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.4795, allocations: 24.25 kB / 0.6242 GB, free: 9.082 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.4797, allocations: 16 kB / 0.6242 GB, free: 9.066 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.4812, allocations: 0.6967 MB / 0.6249 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4812, allocations: 3.938 kB / 0.6249 GB, free: 8.355 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/0.4813, allocations: 8 kB / 0.6249 GB, free: 8.348 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.4813, allocations: 15.98 kB / 0.6249 GB, free: 8.332 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.4834, allocations: 0.9056 MB / 0.6258 GB, free: 7.426 MB / 462.1 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.005069/0.4885, allocations: 2 MB / 0.6278 GB, free: 5.242 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.4897, allocations: 0.5086 MB / 0.6283 GB, free: 4.715 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007/0.4904, allocations: 325.5 kB / 0.6286 GB, free: 4.391 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008972/0.4913, allocations: 379.3 kB / 0.6289 GB, free: 3.965 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.4914, allocations: 34.56 kB / 0.629 GB, free: 3.922 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.444e-06/0.4914, allocations: 4 kB / 0.629 GB, free: 3.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002238/0.4936, allocations: 0.8842 MB / 0.6298 GB, free: 3.027 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.4938, allocations: 85.11 kB / 0.6299 GB, free: 2.926 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.4939, allocations: 129.8 kB / 0.63 GB, free: 2.789 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.816e-05/0.494, allocations: 29.7 kB / 0.6301 GB, free: 2.754 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8e-05/0.4941, allocations: 120.3 kB / 0.6302 GB, free: 2.633 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.4942, allocations: 102.5 kB / 0.6303 GB, free: 2.531 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.4943, allocations: 33.7 kB / 0.6303 GB, free: 2.492 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.4944, allocations: 326.8 kB / 0.6306 GB, free: 2.164 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006546/0.4951, allocations: 299.8 kB / 0.6309 GB, free: 1.871 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007134/0.4958, allocations: 400.5 kB / 0.6313 GB, free: 1.434 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.4972, allocations: 0.6902 MB / 0.632 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4972, allocations: 0 / 0.632 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001728/0.499, allocations: 0.743 MB / 0.6327 GB, free: 15.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.499, allocations: 4 kB / 0.6327 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.499, allocations: 7.938 kB / 0.6327 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.499, allocations: 8.406 kB / 0.6327 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.5001, allocations: 103.8 kB / 0.6328 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.5001, allocations: 4.625 kB / 0.6328 GB, free: 15.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009529/0.5011, allocations: 63.58 kB / 0.6329 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.388e-05/0.5012, allocations: 23.98 kB / 0.6329 GB, free: 15.73 MB / 478.1 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.0002137/0.5014, allocations: 149.6 kB / 0.633 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.5016, allocations: 19.81 kB / 0.6331 GB, free: 15.56 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.5036, allocations: 0.7762 MB / 0.6338 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.5036, allocations: 8 kB / 0.6338 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5036, allocations: 0 / 0.6338 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5037, allocations: 0 / 0.6338 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.5047, allocations: 0.8062 MB / 0.6346 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5047, allocations: 3.984 kB / 0.6346 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.5058, allocations: 79.86 kB / 0.6347 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.5058, allocations: 4 kB / 0.6347 GB, free: 13.78 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-05/0.5059, allocations: 11.98 kB / 0.6347 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.5059, allocations: 4 kB / 0.6347 GB, free: 13.77 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5059, allocations: 4 kB / 0.6347 GB, free: 13.76 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0021/0.508, allocations: 0.9598 MB / 0.6357 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.5081, allocations: 92.86 kB / 0.6357 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-05/0.5082, allocations: 8 kB / 0.6358 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.5092, allocations: 35.94 kB / 0.6358 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.5093, allocations: 23.97 kB / 0.6358 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.514e-05/0.5094, allocations: 23.92 kB / 0.6358 GB, free: 12.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.449e-05/0.5094, allocations: 107.2 kB / 0.6359 GB, free: 12.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5095, allocations: 0 / 0.6359 GB, free: 12.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007578/0.5102, allocations: 179.8 kB / 0.6361 GB, free: 12.31 MB / 478.1 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.0009862/0.5112, allocations: 357.6 kB / 0.6364 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.5127, allocations: 0.6521 MB / 0.6371 GB, free: 11.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5127, allocations: 0 / 0.6371 GB, free: 11.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007115/0.5135, allocations: 327.7 kB / 0.6374 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008212/0.5143, allocations: 94.53 kB / 0.6375 GB, free: 10.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.5161, allocations: 1.171 MB / 0.6386 GB, free: 9.688 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.5165, allocations: 0.7484 MB / 0.6394 GB, free: 8.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004606/0.5169, allocations: 47.39 kB / 0.6394 GB, free: 8.867 MB / 478.1 MB Notification: Performance of SimCode: time 2.7e-07/0.5169, allocations: 0 / 0.6394 GB, free: 8.867 MB / 478.1 MB Notification: Performance of Templates: time 0.01424/0.5312, allocations: 10.09 MB / 0.6493 GB, free: 14.71 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches