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.0008929/0.0008932, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001126/0.001126, allocations: 206.3 kB / 18.29 MB, free: 5.496 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.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2038/0.2038, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.0003138, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1222, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4085/0.5308, allocations: 149.2 MB / 0.6174 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006838/0.5376, allocations: 6.866 MB / 0.6241 GB, free: 8.594 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.5378, allocations: 4 kB / 0.6242 GB, free: 8.59 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.5381, allocations: 67.62 kB / 0.6242 GB, free: 8.523 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004472/0.5426, allocations: 2.021 MB / 0.6262 GB, free: 6.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.5429, allocations: 138.5 kB / 0.6263 GB, free: 6.371 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007634/0.5437, allocations: 0.7557 MB / 0.6271 GB, free: 5.613 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.79e-05/0.5437, allocations: 20.3 kB / 0.6271 GB, free: 5.594 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.5441, allocations: 251 kB / 0.6273 GB, free: 5.348 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008088/0.5449, allocations: 0.522 MB / 0.6278 GB, free: 4.824 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.545, allocations: 8 kB / 0.6278 GB, free: 4.816 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005674/0.5507, allocations: 3.554 MB / 0.6313 GB, free: 1.254 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.5509, allocations: 155.5 kB / 0.6315 GB, free: 1.102 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002497/0.5511, allocations: 240.7 kB / 0.6317 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003522/0.5546, allocations: 2.19 MB / 0.6338 GB, free: 14.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5547, allocations: 0 / 0.6338 GB, free: 14.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5547, allocations: 0 / 0.6338 GB, free: 14.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.5547, allocations: 4 kB / 0.6338 GB, free: 14.66 MB / 478.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.002089/0.5568, allocations: 0.8816 MB / 0.6347 GB, free: 13.73 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.5568, allocations: 12.88 kB / 0.6347 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01216/0.569, allocations: 1.281 MB / 0.636 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008199/0.5698, allocations: 371.9 kB / 0.6363 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001544/0.57, allocations: 139.4 kB / 0.6364 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.5702, allocations: 28 kB / 0.6365 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/0.5729, allocations: 1.437 MB / 0.6379 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.573, allocations: 0 / 0.6379 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/0.5732, allocations: 16.86 kB / 0.6379 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-05/0.5732, allocations: 56.97 kB / 0.6379 GB, free: 10.3 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005293/0.5785, allocations: 2.623 MB / 0.6405 GB, free: 7.676 MB / 478.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.005009/0.5836, allocations: 3.848 MB / 0.6443 GB, free: 3.348 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001887/0.5838, allocations: 86.02 kB / 0.6443 GB, free: 3.258 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.698e-05/0.5839, allocations: 44.94 kB / 0.6444 GB, free: 3.211 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003887/0.5878, allocations: 3.242 MB / 0.6476 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.5878, allocations: 34.56 kB / 0.6476 GB, free: 15.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.5878, allocations: 3.938 kB / 0.6476 GB, free: 15.43 MB / 494.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.00122/0.589, allocations: 341 kB / 0.6479 GB, free: 15.09 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.5891, allocations: 63.28 kB / 0.648 GB, free: 15.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.5895, allocations: 385.2 kB / 0.6483 GB, free: 14.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.5895, allocations: 29.7 kB / 0.6484 GB, free: 14.61 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.5897, allocations: 380.9 kB / 0.6487 GB, free: 14.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.95e-05/0.5898, allocations: 47.45 kB / 0.6488 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.597e-05/0.5899, allocations: 65.67 kB / 0.6488 GB, free: 14.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.59, allocations: 338.8 kB / 0.6492 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.5902, allocations: 125.9 kB / 0.6493 GB, free: 13.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004835/0.5907, allocations: 0.5742 MB / 0.6498 GB, free: 12.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007252/0.5914, allocations: 0.7467 MB / 0.6506 GB, free: 11.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.5914, allocations: 4 kB / 0.6506 GB, free: 11.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001067/0.5925, allocations: 0.6957 MB / 0.6513 GB, free: 11.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.5926, allocations: 15.94 kB / 0.6513 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.5926, allocations: 16 kB / 0.6513 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.5926, allocations: 20 kB / 0.6513 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/0.5931, allocations: 192.3 kB / 0.6515 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003762/0.5935, allocations: 0.6249 MB / 0.6521 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.594, allocations: 94.97 kB / 0.6522 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/0.5941, allocations: 63.98 kB / 0.6523 GB, free: 10.13 MB / 494.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000196/0.5943, allocations: 205.4 kB / 0.6524 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.891e-05/0.5944, allocations: 39.66 kB / 0.6525 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.5947, allocations: 171.4 kB / 0.6526 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5947, allocations: 0 / 0.6526 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5948, allocations: 3.938 kB / 0.6527 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.5948, allocations: 0 / 0.6527 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.5953, allocations: 487.9 kB / 0.6531 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5953, allocations: 4 kB / 0.6531 GB, free: 9.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.5954, allocations: 19.98 kB / 0.6531 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5954, allocations: 96 / 0.6531 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.5955, allocations: 7.938 kB / 0.6531 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002851/0.5958, allocations: 0.5938 MB / 0.6537 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5958, allocations: 0 / 0.6537 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.596, allocations: 216.8 kB / 0.6539 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.5961, allocations: 120.7 kB / 0.654 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.5962, allocations: 0 / 0.654 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.5964, allocations: 16.03 kB / 0.6541 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.5965, allocations: 7.984 kB / 0.6541 GB, free: 8.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.5965, allocations: 8 kB / 0.6541 GB, free: 8.098 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002427/0.5967, allocations: 251.1 kB / 0.6543 GB, free: 7.855 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5967, allocations: 0 / 0.6543 GB, free: 7.855 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001194/0.5979, allocations: 355.8 kB / 0.6547 GB, free: 7.508 MB / 494.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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001707/0.5997, allocations: 0.6328 MB / 0.6553 GB, free: 6.871 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005492/0.6002, allocations: 339.5 kB / 0.6556 GB, free: 6.543 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6002, allocations: 0 / 0.6556 GB, free: 6.543 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.6003, allocations: 44.09 kB / 0.6556 GB, free: 6.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.6008, allocations: 53.5 kB / 0.6557 GB, free: 6.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009302/0.6102, allocations: 6.189 MB / 0.6617 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.6105, allocations: 0.7804 MB / 0.6625 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007952/0.6114, allocations: 264.8 kB / 0.6628 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.6115, allocations: 51.41 kB / 0.6628 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of SimCode: time 4.4e-07/0.6115, allocations: 0 / 0.6628 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.01546/0.627, allocations: 8.811 MB / 0.6714 GB, free: 6.312 MB / 0.4981 GB 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