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.001641/0.001641, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002006/0.002006, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.169/2.169, allocations: 227.4 MB / 246.9 MB, free: 9.027 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3495/0.3495, allocations: 46.12 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003116/0.003116, allocations: 76.81 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.234, allocations: 62.45 MB / 479.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.7651/0.9992, allocations: 151.1 MB / 0.6162 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01154/1.011, allocations: 6.957 MB / 0.623 GB, free: 5.793 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/1.011, allocations: 0 / 0.623 GB, free: 5.793 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005415/1.012, allocations: 67.67 kB / 0.6231 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007923/1.02, allocations: 2.026 MB / 0.6251 GB, free: 3.695 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/1.02, allocations: 147 kB / 0.6252 GB, free: 3.559 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001146/1.021, allocations: 0.744 MB / 0.6259 GB, free: 2.812 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.695e-05/1.021, allocations: 24.28 kB / 0.626 GB, free: 2.789 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006176/1.022, allocations: 247 kB / 0.6262 GB, free: 2.547 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/1.023, allocations: 0.5221 MB / 0.6267 GB, free: 2.023 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/1.023, allocations: 11.98 kB / 0.6267 GB, free: 2.012 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009068/1.032, allocations: 3.547 MB / 0.6302 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002515/1.033, allocations: 167.5 kB / 0.6303 GB, free: 14.29 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003777/1.033, allocations: 203.1 kB / 0.6305 GB, free: 14.09 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003832/1.037, allocations: 1.474 MB / 0.632 GB, free: 12.62 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.037, allocations: 0 / 0.632 GB, free: 12.62 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.253e-06/1.037, allocations: 0 / 0.632 GB, free: 12.62 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/1.037, allocations: 0 / 0.632 GB, free: 12.62 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.003832/1.041, allocations: 0.9715 MB / 0.6329 GB, free: 11.6 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/1.041, allocations: 8.875 kB / 0.6329 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01835/1.059, allocations: 1.269 MB / 0.6342 GB, free: 10.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/1.061, allocations: 383.8 kB / 0.6345 GB, free: 9.906 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/1.061, allocations: 131.4 kB / 0.6347 GB, free: 9.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003332/1.061, allocations: 28 kB / 0.6347 GB, free: 9.723 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004595/1.066, allocations: 1.441 MB / 0.6361 GB, free: 8.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/1.066, allocations: 0 / 0.6361 GB, free: 8.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002719/1.066, allocations: 19.98 kB / 0.6361 GB, free: 8.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/1.066, allocations: 56.91 kB / 0.6362 GB, free: 8.176 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008903/1.075, allocations: 2.619 MB / 0.6387 GB, free: 5.551 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.007372/1.082, allocations: 3.848 MB / 0.6425 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/1.083, allocations: 78.58 kB / 0.6426 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/1.083, allocations: 37 kB / 0.6426 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00665/1.09, allocations: 3.273 MB / 0.6458 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/1.09, allocations: 38.56 kB / 0.6458 GB, free: 13.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=12): time 3.367e-06/1.09, allocations: 4 kB / 0.6458 GB, free: 13.29 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.002118/1.092, allocations: 348.5 kB / 0.6462 GB, free: 12.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/1.092, allocations: 59.34 kB / 0.6462 GB, free: 12.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00071/1.093, allocations: 385.2 kB / 0.6466 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.921e-05/1.093, allocations: 29.7 kB / 0.6466 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000392/1.093, allocations: 376.9 kB / 0.647 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/1.093, allocations: 47.45 kB / 0.647 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003404/1.094, allocations: 170.4 kB / 0.6472 GB, free: 11.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/1.094, allocations: 342.8 kB / 0.6475 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/1.094, allocations: 129.5 kB / 0.6476 GB, free: 11.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007932/1.095, allocations: 0.5664 MB / 0.6482 GB, free: 10.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/1.096, allocations: 0.7588 MB / 0.6489 GB, free: 9.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-05/1.096, allocations: 7.984 kB / 0.6489 GB, free: 9.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.00198/1.098, allocations: 0.689 MB / 0.6496 GB, free: 8.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/1.098, allocations: 12 kB / 0.6496 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.993e-05/1.098, allocations: 16 kB / 0.6496 GB, free: 8.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.914e-05/1.098, allocations: 20 kB / 0.6497 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000871/1.099, allocations: 191.7 kB / 0.6498 GB, free: 8.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006225/1.1, allocations: 0.6132 MB / 0.6504 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/1.101, allocations: 107.2 kB / 0.6505 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/1.101, allocations: 63.98 kB / 0.6506 GB, free: 7.883 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.000364/1.102, allocations: 201.4 kB / 0.6508 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/1.102, allocations: 43.5 kB / 0.6508 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005549/1.102, allocations: 171.3 kB / 0.651 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/1.102, allocations: 4 kB / 0.651 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.102, allocations: 0 / 0.651 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/1.102, allocations: 0 / 0.651 GB, free: 7.441 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009467/1.103, allocations: 485 kB / 0.6515 GB, free: 6.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/1.103, allocations: 4.156 kB / 0.6515 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/1.104, allocations: 35.84 kB / 0.6515 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.104, allocations: 0 / 0.6515 GB, free: 6.867 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/1.104, allocations: 4 kB / 0.6515 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004301/1.104, allocations: 0.5821 MB / 0.6521 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.104, allocations: 4.031 kB / 0.6521 GB, free: 6.254 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/1.104, allocations: 216.9 kB / 0.6523 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/1.105, allocations: 112.7 kB / 0.6524 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/1.105, allocations: 4 kB / 0.6524 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/1.105, allocations: 11.92 kB / 0.6524 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/1.105, allocations: 6.562 kB / 0.6524 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/1.105, allocations: 15.98 kB / 0.6524 GB, free: 5.855 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000384/1.106, allocations: 251.2 kB / 0.6527 GB, free: 5.613 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.106, allocations: 3.938 kB / 0.6527 GB, free: 5.609 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002271/1.108, allocations: 351.8 kB / 0.653 GB, free: 5.266 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.003328/1.111, allocations: 0.6393 MB / 0.6536 GB, free: 4.625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009453/1.112, allocations: 328.4 kB / 0.6539 GB, free: 4.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.112, allocations: 0 / 0.6539 GB, free: 4.309 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/1.112, allocations: 41.61 kB / 0.654 GB, free: 4.27 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007784/1.113, allocations: 49.56 kB / 0.654 GB, free: 4.219 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/1.129, allocations: 6.19 MB / 0.6601 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/1.129, allocations: 0.7875 MB / 0.6608 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004621/1.13, allocations: 79.39 kB / 0.6609 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of SimCode: time 1.843e-06/1.13, allocations: 0 / 0.6609 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.02486/1.155, allocations: 9.914 MB / 0.6706 GB, free: 3.184 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