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.001354/0.001354, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2071/0.2071, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 74.97 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1292, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4296/0.5588, allocations: 153.3 MB / 0.6199 GB, free: 9.492 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007388/0.5663, allocations: 6.821 MB / 0.6265 GB, free: 2.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.5665, allocations: 0 / 0.6265 GB, free: 2.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.5669, allocations: 83.48 kB / 0.6266 GB, free: 2.598 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005873/0.5729, allocations: 2.212 MB / 0.6288 GB, free: 396 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.5733, allocations: 135.5 kB / 0.6289 GB, free: 264 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008596/0.5741, allocations: 0.5139 MB / 0.6294 GB, free: 15.74 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.625e-05/0.5742, allocations: 20.3 kB / 0.6294 GB, free: 15.72 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004426/0.5746, allocations: 251 kB / 0.6297 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000852/0.5755, allocations: 478.6 kB / 0.6301 GB, free: 15.01 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.5756, allocations: 12 kB / 0.6301 GB, free: 15 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005022/0.5806, allocations: 2.638 MB / 0.6327 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.5808, allocations: 175.4 kB / 0.6329 GB, free: 12.18 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003232/0.5811, allocations: 207.1 kB / 0.6331 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003282/0.5844, allocations: 1.852 MB / 0.6349 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5844, allocations: 3.938 kB / 0.6349 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5844, allocations: 4 kB / 0.6349 GB, free: 10.11 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.5844, allocations: 0 / 0.6349 GB, free: 10.11 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.002239/0.5867, allocations: 0.9637 MB / 0.6358 GB, free: 9.102 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.5867, allocations: 12.03 kB / 0.6359 GB, free: 9.09 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/0.5902, allocations: 0.4959 MB / 0.6363 GB, free: 8.594 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007625/0.591, allocations: 375.9 kB / 0.6367 GB, free: 8.188 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.5911, allocations: 135.4 kB / 0.6368 GB, free: 8.027 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.5913, allocations: 28 kB / 0.6369 GB, free: 8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.5931, allocations: 1.113 MB / 0.6379 GB, free: 6.855 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.5931, allocations: 0 / 0.6379 GB, free: 6.855 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-05/0.5932, allocations: 16 kB / 0.638 GB, free: 6.84 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.627e-05/0.5933, allocations: 52.91 kB / 0.638 GB, free: 6.789 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003252/0.5966, allocations: 2.268 MB / 0.6402 GB, free: 4.52 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.004122/0.6007, allocations: 2.635 MB / 0.6428 GB, free: 1.691 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.601, allocations: 110.5 kB / 0.6429 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.358e-05/0.6011, allocations: 53.03 kB / 0.6429 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004632/0.6057, allocations: 3.285 MB / 0.6462 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.6058, allocations: 34.56 kB / 0.6462 GB, free: 13.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.284e-06/0.6058, allocations: 0 / 0.6462 GB, free: 13.7 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=16): time 0.001154/0.6069, allocations: 314 kB / 0.6465 GB, free: 13.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.6071, allocations: 55.41 kB / 0.6465 GB, free: 13.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004457/0.6075, allocations: 372 kB / 0.6469 GB, free: 12.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.6076, allocations: 29.7 kB / 0.6469 GB, free: 12.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.6079, allocations: 361.2 kB / 0.6473 GB, free: 12.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.764e-05/0.608, allocations: 71.17 kB / 0.6473 GB, free: 12.49 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.6082, allocations: 162.4 kB / 0.6475 GB, free: 12.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.6084, allocations: 346.8 kB / 0.6478 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.6086, allocations: 125.9 kB / 0.6479 GB, free: 11.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/0.6092, allocations: 0.5686 MB / 0.6485 GB, free: 11.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007925/0.61, allocations: 0.7495 MB / 0.6492 GB, free: 10.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.6101, allocations: 4 kB / 0.6492 GB, free: 10.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001224/0.6113, allocations: 0.743 MB / 0.65 GB, free: 9.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.6113, allocations: 12 kB / 0.65 GB, free: 9.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.6113, allocations: 16 kB / 0.65 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/0.6114, allocations: 20.78 kB / 0.65 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.6119, allocations: 187.7 kB / 0.6502 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005261/0.6124, allocations: 0.6171 MB / 0.6508 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000449/0.6129, allocations: 94.97 kB / 0.6509 GB, free: 8.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.094e-05/0.613, allocations: 63.92 kB / 0.6509 GB, free: 8.312 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * 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.0002347/0.6132, allocations: 205.4 kB / 0.6511 GB, free: 8.102 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003197/0.6135, allocations: 83.64 kB / 0.6512 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.6139, allocations: 202.9 kB / 0.6514 GB, free: 7.809 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.6139, allocations: 4 kB / 0.6514 GB, free: 7.805 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6139, allocations: 0 / 0.6514 GB, free: 7.805 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.614, allocations: 3.984 kB / 0.6514 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006818/0.6146, allocations: 0.5382 MB / 0.6519 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6147, allocations: 0 / 0.6519 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.6148, allocations: 27.98 kB / 0.652 GB, free: 7.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.6148, allocations: 12.12 kB / 0.652 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.6148, allocations: 8 kB / 0.652 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002911/0.6151, allocations: 0.586 MB / 0.6526 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6151, allocations: 6.656 kB / 0.6526 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.6154, allocations: 256.3 kB / 0.6528 GB, free: 6.242 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.6155, allocations: 112.8 kB / 0.6529 GB, free: 6.113 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.6156, allocations: 7.906 kB / 0.6529 GB, free: 6.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.6158, allocations: 15.92 kB / 0.6529 GB, free: 6.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.6158, allocations: 15.98 kB / 0.653 GB, free: 6.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.6159, allocations: 15.94 kB / 0.653 GB, free: 6.059 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002229/0.6161, allocations: 239.2 kB / 0.6532 GB, free: 5.828 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6161, allocations: 0 / 0.6532 GB, free: 5.828 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001233/0.6173, allocations: 343.8 kB / 0.6535 GB, free: 5.492 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 12 * 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.001499/0.6188, allocations: 0.6358 MB / 0.6541 GB, free: 4.855 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006343/0.6195, allocations: 349.4 kB / 0.6545 GB, free: 4.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.6195, allocations: 8.125 kB / 0.6545 GB, free: 4.512 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.6196, allocations: 43.86 kB / 0.6545 GB, free: 4.469 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.6201, allocations: 68.84 kB / 0.6546 GB, free: 4.406 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009932/0.63, allocations: 6.86 MB / 0.6613 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.6304, allocations: 0.7962 MB / 0.6621 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005709/0.631, allocations: 243.9 kB / 0.6623 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.6312, allocations: 51.42 kB / 0.6624 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.6312, allocations: 0 / 0.6624 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.01474/0.6459, allocations: 9.173 MB / 0.6713 GB, free: 3.215 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 -s cvode -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