Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.TestAllProperties.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|dddX.3.|dddX.4.|dddX.5.|dddX.6.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") translateModel(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|dddX.3.|dddX.4.|dddX.5.|dddX.6.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001068/0.001068, allocations: 99.02 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2254/0.2254, allocations: 46.19 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002975, allocations: 8.219 kB / 418.8 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1527, allocations: 63.58 MB / 482.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4841/0.6368, allocations: 139.3 MB / 0.6071 GB, free: 9.867 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007011/0.6439, allocations: 6.329 MB / 0.6133 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.644, allocations: 0 / 0.6133 GB, free: 3.547 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.6444, allocations: 47.72 kB / 0.6134 GB, free: 3.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004242/0.6486, allocations: 1.516 MB / 0.6148 GB, free: 1.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.649, allocations: 127 kB / 0.615 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008803/0.6499, allocations: 0.6269 MB / 0.6156 GB, free: 1.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.432e-05/0.6499, allocations: 12.31 kB / 0.6156 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.6503, allocations: 243.1 kB / 0.6158 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009317/0.6513, allocations: 0.5495 MB / 0.6164 GB, free: 440 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.6513, allocations: 8 kB / 0.6164 GB, free: 432 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004709/0.656, allocations: 2.398 MB / 0.6187 GB, free: 14.01 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.6562, allocations: 175.5 kB / 0.6189 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.6563, allocations: 105.5 kB / 0.619 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001868/0.6582, allocations: 1.23 MB / 0.6202 GB, free: 12.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6582, allocations: 0 / 0.6202 GB, free: 12.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.6582, allocations: 0 / 0.6202 GB, free: 12.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.6582, allocations: 0 / 0.6202 GB, free: 12.5 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002075/0.6603, allocations: 0.8893 MB / 0.6211 GB, free: 11.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.6604, allocations: 12.03 kB / 0.6211 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/0.6707, allocations: 1.275 MB / 0.6223 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007704/0.6715, allocations: 378.3 kB / 0.6227 GB, free: 9.867 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.6717, allocations: 127.5 kB / 0.6228 GB, free: 9.715 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.6718, allocations: 31.98 kB / 0.6228 GB, free: 9.684 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/0.6744, allocations: 1.437 MB / 0.6242 GB, free: 8.211 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.6745, allocations: 0 / 0.6242 GB, free: 8.211 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.6746, allocations: 23.98 kB / 0.6242 GB, free: 8.188 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.256e-05/0.6747, allocations: 52.91 kB / 0.6243 GB, free: 8.137 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00528/0.68, allocations: 2.611 MB / 0.6268 GB, free: 5.52 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.004801/0.6848, allocations: 3.861 MB / 0.6306 GB, free: 1.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.685, allocations: 78.52 kB / 0.6307 GB, free: 1.094 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.565e-05/0.6851, allocations: 40.94 kB / 0.6307 GB, free: 1.051 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004134/0.6892, allocations: 3.246 MB / 0.6339 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.6893, allocations: 34.56 kB / 0.6339 GB, free: 13.27 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 3.397e-06/0.6893, allocations: 0 / 0.6339 GB, free: 13.27 MB / 478.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=12): time 0.001188/0.6905, allocations: 355.6 kB / 0.6343 GB, free: 12.93 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.6905, allocations: 55.41 kB / 0.6343 GB, free: 12.86 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003751/0.6909, allocations: 389.1 kB / 0.6347 GB, free: 12.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.691, allocations: 25.7 kB / 0.6347 GB, free: 12.45 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.6912, allocations: 377 kB / 0.6351 GB, free: 12.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.6913, allocations: 55.38 kB / 0.6351 GB, free: 12.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.6913, allocations: 16 kB / 0.6351 GB, free: 12 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.6915, allocations: 342.8 kB / 0.6355 GB, free: 11.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.6916, allocations: 113.9 kB / 0.6356 GB, free: 11.54 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.6921, allocations: 0.5703 MB / 0.6361 GB, free: 10.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003142/0.6924, allocations: 231.7 kB / 0.6364 GB, free: 10.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.393e-06/0.6924, allocations: 12 kB / 0.6364 GB, free: 10.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001047/0.6935, allocations: 0.6838 MB / 0.637 GB, free: 9.824 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.6935, allocations: 19.88 kB / 0.6371 GB, free: 9.805 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/0.6936, allocations: 19.75 kB / 0.6371 GB, free: 9.789 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.297e-05/0.6936, allocations: 24 kB / 0.6371 GB, free: 9.766 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000489/0.6941, allocations: 191.7 kB / 0.6373 GB, free: 9.578 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003966/0.6945, allocations: 0.6171 MB / 0.6379 GB, free: 8.938 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000495/0.695, allocations: 103.1 kB / 0.638 GB, free: 8.836 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.207e-05/0.6951, allocations: 64 kB / 0.638 GB, free: 8.773 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002541/0.6954, allocations: 209.4 kB / 0.6382 GB, free: 8.559 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.6955, allocations: 27.72 kB / 0.6383 GB, free: 8.531 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.6959, allocations: 179.2 kB / 0.6384 GB, free: 8.336 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.6959, allocations: 7.938 kB / 0.6385 GB, free: 8.328 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.6959, allocations: 4 kB / 0.6385 GB, free: 8.324 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6959, allocations: 0 / 0.6385 GB, free: 8.324 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006449/0.6966, allocations: 472 kB / 0.6389 GB, free: 7.801 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6966, allocations: 0 / 0.6389 GB, free: 7.801 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.6967, allocations: 28 kB / 0.6389 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.6967, allocations: 4 kB / 0.6389 GB, free: 7.77 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.6967, allocations: 0 / 0.6389 GB, free: 7.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003421/0.6971, allocations: 0.5938 MB / 0.6395 GB, free: 7.152 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6971, allocations: 0 / 0.6395 GB, free: 7.152 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.6974, allocations: 216.9 kB / 0.6397 GB, free: 6.918 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.6976, allocations: 124.6 kB / 0.6398 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/0.6976, allocations: 4 kB / 0.6398 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.6979, allocations: 7.984 kB / 0.6399 GB, free: 6.766 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.6979, allocations: 4 kB / 0.6399 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.6979, allocations: 15.98 kB / 0.6399 GB, free: 6.746 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.6982, allocations: 247.2 kB / 0.6401 GB, free: 6.508 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6982, allocations: 0 / 0.6401 GB, free: 6.508 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001265/0.6995, allocations: 339.8 kB / 0.6404 GB, free: 6.176 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001629/0.7011, allocations: 488.7 kB / 0.6409 GB, free: 5.699 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006103/0.7017, allocations: 330.2 kB / 0.6412 GB, free: 5.379 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.7017, allocations: 0 / 0.6412 GB, free: 5.379 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.7019, allocations: 45.52 kB / 0.6413 GB, free: 5.336 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.7023, allocations: 41.38 kB / 0.6413 GB, free: 5.293 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.7124, allocations: 6.149 MB / 0.6473 GB, free: 15.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.7129, allocations: 0.7882 MB / 0.6481 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007954/0.7137, allocations: 253.8 kB / 0.6483 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.7138, allocations: 47.42 kB / 0.6484 GB, free: 14 MB / 494.1 MB Notification: Performance of SimCode: time 1.032e-06/0.7139, allocations: 0 / 0.6484 GB, free: 14 MB / 494.1 MB Notification: Performance of Templates: time 0.01639/0.7302, allocations: 8.513 MB / 0.6567 GB, free: 5.5 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches