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.001615/0.001615, allocations: 105.6 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001941/0.001941, allocations: 208.1 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 247.5 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2322/0.2322, allocations: 46.12 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00219/0.00219, allocations: 80.69 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1173, allocations: 62.45 MB / 480.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3906/0.508, allocations: 153.3 MB / 0.6192 GB, free: 10.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0084/0.5164, allocations: 6.828 MB / 0.6259 GB, free: 3.223 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/0.5167, allocations: 0 / 0.6259 GB, free: 3.223 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004271/0.5172, allocations: 83.55 kB / 0.6259 GB, free: 3.141 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005932/0.5231, allocations: 2.21 MB / 0.6281 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.5235, allocations: 139.3 kB / 0.6282 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007739/0.5243, allocations: 0.5139 MB / 0.6287 GB, free: 288 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.452e-05/0.5244, allocations: 24.3 kB / 0.6288 GB, free: 264 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004516/0.5248, allocations: 251 kB / 0.629 GB, free: 12 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009118/0.5257, allocations: 486.6 kB / 0.6295 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.215e-05/0.5258, allocations: 12 kB / 0.6295 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005764/0.5316, allocations: 2.767 MB / 0.6322 GB, free: 12.75 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.5319, allocations: 167.5 kB / 0.6323 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002812/0.5321, allocations: 207.1 kB / 0.6325 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003457/0.5356, allocations: 1.926 MB / 0.6344 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5356, allocations: 4 kB / 0.6344 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.5356, allocations: 0 / 0.6344 GB, free: 10.45 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.5357, allocations: 4 kB / 0.6344 GB, free: 10.45 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.002394/0.5381, allocations: 0.9597 MB / 0.6354 GB, free: 9.438 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.5381, allocations: 12.02 kB / 0.6354 GB, free: 9.426 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01245/0.5506, allocations: 1.276 MB / 0.6366 GB, free: 8.148 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008378/0.5514, allocations: 383.7 kB / 0.637 GB, free: 7.734 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.5516, allocations: 131.4 kB / 0.6371 GB, free: 7.578 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.5518, allocations: 31.98 kB / 0.6371 GB, free: 7.547 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/0.5546, allocations: 1.421 MB / 0.6385 GB, free: 6.094 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.5546, allocations: 7.984 kB / 0.6385 GB, free: 6.086 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.5548, allocations: 23.97 kB / 0.6385 GB, free: 6.062 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-05/0.5548, allocations: 56.97 kB / 0.6386 GB, free: 6.008 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005494/0.5603, allocations: 2.622 MB / 0.6412 GB, free: 3.387 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.005231/0.5656, allocations: 3.848 MB / 0.6449 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.5658, allocations: 87.94 kB / 0.645 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.068e-05/0.5659, allocations: 37 kB / 0.645 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004606/0.5705, allocations: 3.261 MB / 0.6482 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.5706, allocations: 34.56 kB / 0.6483 GB, free: 11.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 1.894e-06/0.5706, allocations: 0 / 0.6483 GB, free: 11.13 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.001278/0.5719, allocations: 351.8 kB / 0.6486 GB, free: 10.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.5719, allocations: 59.34 kB / 0.6487 GB, free: 10.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/0.5724, allocations: 393.2 kB / 0.649 GB, free: 10.33 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.5724, allocations: 29.64 kB / 0.6491 GB, free: 10.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.5727, allocations: 377 kB / 0.6494 GB, free: 9.918 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.089e-05/0.5728, allocations: 51.44 kB / 0.6495 GB, free: 9.867 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.573, allocations: 170.4 kB / 0.6496 GB, free: 9.691 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.5732, allocations: 338.8 kB / 0.6499 GB, free: 9.352 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.5734, allocations: 117.9 kB / 0.6501 GB, free: 9.238 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000584/0.574, allocations: 0.5781 MB / 0.6506 GB, free: 8.438 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008612/0.5748, allocations: 0.7507 MB / 0.6514 GB, free: 7.461 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.5749, allocations: 4 kB / 0.6514 GB, free: 7.457 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001149/0.576, allocations: 0.695 MB / 0.652 GB, free: 6.758 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.576, allocations: 11.94 kB / 0.6521 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/0.5761, allocations: 28.11 kB / 0.6521 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.5761, allocations: 20 kB / 0.6521 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.5766, allocations: 187.7 kB / 0.6523 GB, free: 6.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004545/0.5771, allocations: 0.6171 MB / 0.6529 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004483/0.5776, allocations: 94.97 kB / 0.653 GB, free: 5.781 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.766e-05/0.5776, allocations: 63.98 kB / 0.653 GB, free: 5.719 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.0002357/0.5779, allocations: 209.5 kB / 0.6532 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.578, allocations: 39.56 kB / 0.6533 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.5784, allocations: 167.3 kB / 0.6534 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.5784, allocations: 4 kB / 0.6534 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5784, allocations: 0 / 0.6534 GB, free: 5.277 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.5784, allocations: 3.984 kB / 0.6534 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006234/0.579, allocations: 480 kB / 0.6539 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5791, allocations: 0 / 0.6539 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.5792, allocations: 20 kB / 0.6539 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.5792, allocations: 4 kB / 0.6539 GB, free: 4.719 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.5792, allocations: 3.984 kB / 0.6539 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000376/0.5796, allocations: 0.5954 MB / 0.6545 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5796, allocations: 0 / 0.6545 GB, free: 4.098 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.5799, allocations: 217.4 kB / 0.6547 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.58, allocations: 120.7 kB / 0.6548 GB, free: 3.727 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.5801, allocations: 8 kB / 0.6548 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.5803, allocations: 12.61 kB / 0.6548 GB, free: 3.707 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.5804, allocations: 7.984 kB / 0.6549 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.5804, allocations: 11.98 kB / 0.6549 GB, free: 3.688 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002736/0.5807, allocations: 243.2 kB / 0.6551 GB, free: 3.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5807, allocations: 0 / 0.6551 GB, free: 3.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001195/0.5819, allocations: 347.8 kB / 0.6554 GB, free: 3.109 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.001842/0.5837, allocations: 0.6405 MB / 0.6561 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.5845, allocations: 343.6 kB / 0.6564 GB, free: 2.137 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.5845, allocations: 4.125 kB / 0.6564 GB, free: 2.133 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.5846, allocations: 35.92 kB / 0.6564 GB, free: 2.098 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.5851, allocations: 56 kB / 0.6565 GB, free: 2.043 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.5954, allocations: 6.044 MB / 0.6624 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.5959, allocations: 0.7879 MB / 0.6631 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/0.5962, allocations: 71.41 kB / 0.6632 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of SimCode: time 1.162e-06/0.5962, allocations: 0 / 0.6632 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.01795/0.6142, allocations: 9.928 MB / 0.6729 GB, free: 1.141 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches