Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001432, allocations: 100 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 192.1 kB / 18.56 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2008/0.2008, allocations: 44.18 MB / 336.6 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 65.02 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1368, allocations: 60.81 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.4034/0.5403, allocations: 150.4 MB / 0.6051 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007901/0.5482, allocations: 6.829 MB / 0.6118 GB, free: 3.562 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.5485, allocations: 4 kB / 0.6118 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003973/0.5489, allocations: 75.48 kB / 0.6119 GB, free: 3.484 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005651/0.5546, allocations: 2.205 MB / 0.614 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.555, allocations: 145.3 kB / 0.6142 GB, free: 1.141 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006833/0.5557, allocations: 0.5139 MB / 0.6147 GB, free: 0.625 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.95e-05/0.5557, allocations: 16.31 kB / 0.6147 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.5561, allocations: 239 kB / 0.6149 GB, free: 384 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007221/0.5568, allocations: 458.7 kB / 0.6154 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.5569, allocations: 12 kB / 0.6154 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00558/0.5625, allocations: 2.763 MB / 0.6181 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001749/0.5627, allocations: 175.4 kB / 0.6182 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002707/0.563, allocations: 207.1 kB / 0.6184 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004001/0.567, allocations: 1.922 MB / 0.6203 GB, free: 10.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.567, allocations: 0 / 0.6203 GB, free: 10.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.567, allocations: 3.938 kB / 0.6203 GB, free: 10.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.567, allocations: 0 / 0.6203 GB, free: 10.84 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.002479/0.5695, allocations: 0.9604 MB / 0.6213 GB, free: 9.828 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.5696, allocations: 8.031 kB / 0.6213 GB, free: 9.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/0.5816, allocations: 1.28 MB / 0.6225 GB, free: 8.539 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000854/0.5825, allocations: 379.7 kB / 0.6229 GB, free: 8.129 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.5827, allocations: 135.4 kB / 0.623 GB, free: 7.969 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.5828, allocations: 32 kB / 0.623 GB, free: 7.938 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.5854, allocations: 1.433 MB / 0.6244 GB, free: 6.473 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.5854, allocations: 0 / 0.6244 GB, free: 6.473 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.5855, allocations: 15.98 kB / 0.6244 GB, free: 6.457 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.238e-05/0.5856, allocations: 56.97 kB / 0.6245 GB, free: 6.402 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005111/0.5907, allocations: 2.623 MB / 0.6271 GB, free: 3.777 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.004776/0.5955, allocations: 3.856 MB / 0.6308 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.5958, allocations: 74.58 kB / 0.6309 GB, free: 15.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.894e-05/0.5959, allocations: 44.94 kB / 0.6309 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00352/0.5994, allocations: 3.242 MB / 0.6341 GB, free: 11.58 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.5994, allocations: 34.56 kB / 0.6341 GB, free: 11.54 MB / 478.1 MB Notification: Performance of pre-optimization done (n=12): time 4.298e-06/0.5995, allocations: 7.984 kB / 0.6341 GB, free: 11.53 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.001134/0.6006, allocations: 341 kB / 0.6345 GB, free: 11.19 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.6006, allocations: 63.28 kB / 0.6345 GB, free: 11.12 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.601, allocations: 385.2 kB / 0.6349 GB, free: 10.74 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.601, allocations: 29.7 kB / 0.6349 GB, free: 10.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.6012, allocations: 377 kB / 0.6353 GB, free: 10.33 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.6013, allocations: 51.44 kB / 0.6353 GB, free: 10.28 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.6015, allocations: 166.4 kB / 0.6355 GB, free: 10.11 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.6016, allocations: 342.8 kB / 0.6358 GB, free: 9.762 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.6018, allocations: 125.9 kB / 0.6359 GB, free: 9.641 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.6022, allocations: 0.5711 MB / 0.6365 GB, free: 8.844 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006937/0.6029, allocations: 0.7509 MB / 0.6372 GB, free: 7.867 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.6029, allocations: 4 kB / 0.6372 GB, free: 7.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001007/0.604, allocations: 0.6852 MB / 0.6379 GB, free: 7.172 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.604, allocations: 15.98 kB / 0.6379 GB, free: 7.156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.604, allocations: 16 kB / 0.6379 GB, free: 7.141 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.392e-05/0.6041, allocations: 24 kB / 0.638 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/0.6045, allocations: 187.7 kB / 0.6381 GB, free: 6.934 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003733/0.6049, allocations: 0.6178 MB / 0.6387 GB, free: 6.293 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.6054, allocations: 103.2 kB / 0.6388 GB, free: 6.191 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/0.6054, allocations: 63.98 kB / 0.6389 GB, free: 6.129 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 (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.0002014/0.6056, allocations: 203.1 kB / 0.6391 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.585e-05/0.6057, allocations: 43.5 kB / 0.6391 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.6061, allocations: 163.4 kB / 0.6393 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.6061, allocations: 4 kB / 0.6393 GB, free: 5.699 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6061, allocations: 3.984 kB / 0.6393 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.6061, allocations: 3.5 kB / 0.6393 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.6067, allocations: 484 kB / 0.6398 GB, free: 5.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.6067, allocations: 7.938 kB / 0.6398 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-05/0.6068, allocations: 24 kB / 0.6398 GB, free: 5.129 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.6068, allocations: 3.984 kB / 0.6398 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.6068, allocations: 4 kB / 0.6398 GB, free: 5.121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002994/0.6071, allocations: 0.5907 MB / 0.6404 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.6071, allocations: 4.031 kB / 0.6404 GB, free: 4.504 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.6074, allocations: 216.9 kB / 0.6406 GB, free: 4.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.6075, allocations: 120.7 kB / 0.6407 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.6076, allocations: 0 / 0.6407 GB, free: 4.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.6078, allocations: 11.92 kB / 0.6407 GB, free: 4.121 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.6078, allocations: 8 kB / 0.6407 GB, free: 4.113 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.6078, allocations: 11.98 kB / 0.6407 GB, free: 4.102 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002285/0.6081, allocations: 247.2 kB / 0.641 GB, free: 3.859 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6081, allocations: 4 kB / 0.641 GB, free: 3.855 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001181/0.6093, allocations: 339.8 kB / 0.6413 GB, free: 3.523 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 (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.001661/0.6109, allocations: 0.6359 MB / 0.6419 GB, free: 2.883 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005683/0.6115, allocations: 339.9 kB / 0.6422 GB, free: 2.555 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.6115, allocations: 4 kB / 0.6423 GB, free: 2.551 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 9.287e-05/0.6116, allocations: 35.92 kB / 0.6423 GB, free: 2.516 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.6121, allocations: 58.91 kB / 0.6423 GB, free: 2.461 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00638/0.6185, allocations: 4.637 MB / 0.6469 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.6189, allocations: 0.7968 MB / 0.6476 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000826/0.6197, allocations: 243 kB / 0.6479 GB, free: 12.73 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.6198, allocations: 51.42 kB / 0.6479 GB, free: 12.68 MB / 494.1 MB Notification: Performance of SimCode: time 1.603e-06/0.6199, allocations: 0 / 0.6479 GB, free: 12.68 MB / 494.1 MB Notification: Performance of Templates: time 0.01543/0.6353, allocations: 8.911 MB / 0.6566 GB, free: 3.785 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches