Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001432/0.001431, allocations: 107.5 kB / 17.03 MB, free: 5.66 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.001519/0.001519, allocations: 190.9 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2227/0.2227, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 74.06 kB / 384.2 MB, free: 56.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1335, allocations: 57.78 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.539/0.6725, allocations: 151.7 MB / 0.5798 GB, free: 12.61 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007472/0.6801, allocations: 6.226 MB / 0.5858 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.6803, allocations: 0 / 0.5858 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004711/0.6808, allocations: 80.52 kB / 0.5859 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007594/0.6885, allocations: 2.455 MB / 0.5883 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.6888, allocations: 144.6 kB / 0.5884 GB, free: 11.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007224/0.6895, allocations: 0.511 MB / 0.5889 GB, free: 11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.272e-05/0.6896, allocations: 29.59 kB / 0.589 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003892/0.69, allocations: 239.5 kB / 0.5892 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008049/0.6908, allocations: 464 kB / 0.5896 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.117e-05/0.6909, allocations: 13 kB / 0.5897 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006506/0.6974, allocations: 2.972 MB / 0.5926 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001814/0.6976, allocations: 170 kB / 0.5927 GB, free: 9.836 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002402/0.6979, allocations: 214.5 kB / 0.5929 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003913/0.7018, allocations: 2.018 MB / 0.5949 GB, free: 9.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.7018, allocations: 3.938 kB / 0.5949 GB, free: 9.086 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7018, allocations: 0 / 0.5949 GB, free: 9.086 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.7018, allocations: 0 / 0.5949 GB, free: 9.086 MB / 430.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.002292/0.7041, allocations: 0.9146 MB / 0.5958 GB, free: 8.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.7042, allocations: 14.64 kB / 0.5958 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003385/0.7076, allocations: 494.2 kB / 0.5963 GB, free: 8.234 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007824/0.7084, allocations: 370.9 kB / 0.5966 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.7085, allocations: 130.8 kB / 0.5968 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.7086, allocations: 34.19 kB / 0.5968 GB, free: 7.836 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.7101, allocations: 1.113 MB / 0.5979 GB, free: 7.477 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.7102, allocations: 4 kB / 0.5979 GB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.762e-05/0.7103, allocations: 19.16 kB / 0.5979 GB, free: 7.469 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-05/0.7103, allocations: 63.09 kB / 0.598 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/0.7135, allocations: 2.27 MB / 0.6002 GB, free: 7.07 MB / 430.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.003723/0.7172, allocations: 2.469 MB / 0.6026 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.7175, allocations: 132.2 kB / 0.6027 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.7176, allocations: 57.78 kB / 0.6028 GB, free: 5.309 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004408/0.722, allocations: 3.365 MB / 0.6061 GB, free: 2.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.722, allocations: 36.06 kB / 0.6061 GB, free: 2.266 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.722, allocations: 0 / 0.6061 GB, free: 2.266 MB / 430.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=22): time 0.001185/0.7232, allocations: 363.3 kB / 0.6064 GB, free: 2.152 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.7233, allocations: 57.91 kB / 0.6065 GB, free: 2.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.7237, allocations: 350.8 kB / 0.6068 GB, free: 1.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.7237, allocations: 31.33 kB / 0.6069 GB, free: 1.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.7239, allocations: 336.9 kB / 0.6072 GB, free: 1.609 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.724, allocations: 91.42 kB / 0.6073 GB, free: 1.547 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.7241, allocations: 160.7 kB / 0.6074 GB, free: 1.496 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.7244, allocations: 340.1 kB / 0.6077 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.7246, allocations: 126.4 kB / 0.6079 GB, free: 1.152 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.725, allocations: 0.5647 MB / 0.6084 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006997/0.7257, allocations: 0.7555 MB / 0.6091 GB, free: 15.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.7257, allocations: 4.312 kB / 0.6092 GB, free: 15.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001164/0.7269, allocations: 0.7453 MB / 0.6099 GB, free: 15.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.727, allocations: 12.53 kB / 0.6099 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.727, allocations: 14.91 kB / 0.6099 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/0.727, allocations: 32.34 kB / 0.6099 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.7275, allocations: 187.4 kB / 0.6101 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000375/0.7279, allocations: 0.609 MB / 0.6107 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.7283, allocations: 89.19 kB / 0.6108 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.78e-05/0.7284, allocations: 58.86 kB / 0.6109 GB, free: 14.71 MB / 446.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.0002047/0.7286, allocations: 226.2 kB / 0.6111 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003146/0.7289, allocations: 83.61 kB / 0.6111 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004875/0.7294, allocations: 270.7 kB / 0.6114 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.7294, allocations: 4 kB / 0.6114 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7294, allocations: 1.5 kB / 0.6114 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.7294, allocations: 3.984 kB / 0.6114 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009544/0.7304, allocations: 0.7354 MB / 0.6121 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.7304, allocations: 0 / 0.6121 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.7306, allocations: 39.92 kB / 0.6122 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.7306, allocations: 4 kB / 0.6122 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.7306, allocations: 15.48 kB / 0.6122 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003125/0.7309, allocations: 0.5895 MB / 0.6128 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.731, allocations: 4.031 kB / 0.6128 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.7313, allocations: 312.8 kB / 0.6131 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.7314, allocations: 112.2 kB / 0.6132 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.7315, allocations: 20.61 kB / 0.6132 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.7317, allocations: 4 kB / 0.6132 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.7318, allocations: 27.11 kB / 0.6132 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/0.7318, allocations: 19.61 kB / 0.6132 GB, free: 12.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.732, allocations: 221.3 kB / 0.6135 GB, free: 12.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.732, allocations: 4 kB / 0.6135 GB, free: 12.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001399/0.7334, allocations: 391.3 kB / 0.6138 GB, free: 11.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * 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.001802/0.7352, allocations: 0.7503 MB / 0.6146 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006068/0.7358, allocations: 362.4 kB / 0.6149 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.7359, allocations: 4 kB / 0.6149 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.736, allocations: 62.72 kB / 0.615 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/0.7366, allocations: 97.33 kB / 0.6151 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007672/0.7443, allocations: 5.437 MB / 0.6204 GB, free: 5.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.7447, allocations: 0.7919 MB / 0.6211 GB, free: 5.168 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005084/0.7452, allocations: 167.2 kB / 0.6213 GB, free: 5.004 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.7454, allocations: 43.44 kB / 0.6213 GB, free: 4.961 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.7454, allocations: 0 / 0.6213 GB, free: 4.961 MB / 446.1 MB Notification: Performance of Templates: time 0.01843/0.7638, allocations: 10.93 MB / 0.632 GB, free: 10.06 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches