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.001536/0.001536, allocations: 109.8 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001934/0.001933, allocations: 211.8 kB / 19.26 MB, free: 3.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2462/0.2462, allocations: 46.1 MB / 344.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 74.28 kB / 418.3 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1336, allocations: 62.44 MB / 480.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3843/0.518, allocations: 152.6 MB / 0.6184 GB, free: 10.8 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002478/0.5205, allocations: 2.185 MB / 0.6206 GB, free: 8.625 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.707e-05/0.5206, allocations: 4 kB / 0.6206 GB, free: 8.621 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.521, allocations: 58.28 kB / 0.6206 GB, free: 8.566 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.5225, allocations: 0.6324 MB / 0.6212 GB, free: 7.934 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.5228, allocations: 99.73 kB / 0.6213 GB, free: 7.836 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.5232, allocations: 266.3 kB / 0.6216 GB, free: 7.578 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.889e-05/0.5232, allocations: 4.531 kB / 0.6216 GB, free: 7.574 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.5236, allocations: 141.4 kB / 0.6217 GB, free: 7.438 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.5238, allocations: 95.7 kB / 0.6218 GB, free: 7.344 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.5239, allocations: 8 kB / 0.6218 GB, free: 7.336 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.5256, allocations: 0.9393 MB / 0.6227 GB, free: 6.395 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.5257, allocations: 91.69 kB / 0.6228 GB, free: 6.305 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.5258, allocations: 91.66 kB / 0.6229 GB, free: 6.215 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.527, allocations: 0.6859 MB / 0.6236 GB, free: 5.527 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.527, allocations: 0 / 0.6236 GB, free: 5.527 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.527, allocations: 0 / 0.6236 GB, free: 5.527 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.527, allocations: 0 / 0.6236 GB, free: 5.527 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.0008878/0.5279, allocations: 0.5069 MB / 0.6241 GB, free: 4.973 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.528, allocations: 12.02 kB / 0.6241 GB, free: 4.961 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007762/0.5357, allocations: 0.7385 MB / 0.6248 GB, free: 4.223 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004736/0.5362, allocations: 280.2 kB / 0.6251 GB, free: 3.91 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.5363, allocations: 12.27 kB / 0.6251 GB, free: 3.898 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.5364, allocations: 24 kB / 0.6251 GB, free: 3.875 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.5379, allocations: 0.6967 MB / 0.6258 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5379, allocations: 0 / 0.6258 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-05/0.538, allocations: 11.98 kB / 0.6258 GB, free: 3.156 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.538, allocations: 11.98 kB / 0.6258 GB, free: 3.145 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.5401, allocations: 0.9212 MB / 0.6267 GB, free: 2.223 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.005265/0.5454, allocations: 2.004 MB / 0.6287 GB, free: 36 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.5466, allocations: 0.5048 MB / 0.6292 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006834/0.5473, allocations: 329.5 kB / 0.6295 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009344/0.5483, allocations: 379.2 kB / 0.6298 GB, free: 14.75 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.5483, allocations: 42.62 kB / 0.6299 GB, free: 14.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/0.5483, allocations: 0 / 0.6299 GB, free: 14.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002247/0.5506, allocations: 0.8865 MB / 0.6307 GB, free: 13.82 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.5506, allocations: 81.11 kB / 0.6308 GB, free: 13.72 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.5508, allocations: 135.1 kB / 0.631 GB, free: 13.58 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.48e-05/0.5508, allocations: 29.7 kB / 0.631 GB, free: 13.54 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.5509, allocations: 116.4 kB / 0.6311 GB, free: 13.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.5511, allocations: 110.4 kB / 0.6312 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002066/0.5513, allocations: 73.67 kB / 0.6313 GB, free: 13.24 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5514, allocations: 326.8 kB / 0.6316 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006723/0.5521, allocations: 291.8 kB / 0.6319 GB, free: 12.62 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007418/0.5528, allocations: 412.4 kB / 0.6323 GB, free: 12.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.5542, allocations: 0.6863 MB / 0.6329 GB, free: 11.45 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.5543, allocations: 4 kB / 0.6329 GB, free: 11.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00172/0.556, allocations: 0.744 MB / 0.6337 GB, free: 10.69 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.556, allocations: 4 kB / 0.6337 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.556, allocations: 4 kB / 0.6337 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.5561, allocations: 11.94 kB / 0.6337 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.5572, allocations: 103.8 kB / 0.6338 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.5573, allocations: 4 kB / 0.6338 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009444/0.5582, allocations: 51.81 kB / 0.6338 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/0.5583, allocations: 27.97 kB / 0.6338 GB, free: 10.49 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.0002295/0.5585, allocations: 141.7 kB / 0.634 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.5587, allocations: 11.91 kB / 0.634 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.5607, allocations: 0.7865 MB / 0.6348 GB, free: 9.543 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.5607, allocations: 4 kB / 0.6348 GB, free: 9.539 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5608, allocations: 0 / 0.6348 GB, free: 9.539 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5608, allocations: 0 / 0.6348 GB, free: 9.539 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.5618, allocations: 0.8021 MB / 0.6356 GB, free: 8.633 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5618, allocations: 3.938 kB / 0.6356 GB, free: 8.629 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.563, allocations: 79.91 kB / 0.6356 GB, free: 8.551 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.563, allocations: 4 kB / 0.6356 GB, free: 8.547 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/0.5631, allocations: 15.98 kB / 0.6357 GB, free: 8.531 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5631, allocations: 0 / 0.6357 GB, free: 8.531 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5631, allocations: 4 kB / 0.6357 GB, free: 8.527 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.5652, allocations: 0.9571 MB / 0.6366 GB, free: 7.555 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.5653, allocations: 96.94 kB / 0.6367 GB, free: 7.441 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.411e-05/0.5654, allocations: 8 kB / 0.6367 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.5664, allocations: 31.95 kB / 0.6367 GB, free: 7.402 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.358e-05/0.5665, allocations: 15.98 kB / 0.6367 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.205e-05/0.5666, allocations: 35.84 kB / 0.6368 GB, free: 7.352 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.379e-05/0.5667, allocations: 96.47 kB / 0.6369 GB, free: 7.258 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5667, allocations: 0 / 0.6369 GB, free: 7.258 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000788/0.5675, allocations: 187.8 kB / 0.637 GB, free: 7.074 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.001019/0.5685, allocations: 342.9 kB / 0.6374 GB, free: 6.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.5701, allocations: 0.6874 MB / 0.638 GB, free: 6.043 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5701, allocations: 0 / 0.638 GB, free: 6.043 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007092/0.5708, allocations: 319.8 kB / 0.6383 GB, free: 5.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007754/0.5716, allocations: 102 kB / 0.6384 GB, free: 5.637 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.5735, allocations: 0.98 MB / 0.6394 GB, free: 4.621 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.5738, allocations: 0.7401 MB / 0.6401 GB, free: 3.855 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/0.5742, allocations: 47.39 kB / 0.6402 GB, free: 3.812 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5742, allocations: 0 / 0.6402 GB, free: 3.812 MB / 478.1 MB Notification: Performance of Templates: time 0.01462/0.5889, allocations: 10.11 MB / 0.65 GB, free: 9.625 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