Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001889/0.001888, allocations: 101.3 kB / 16.4 MB, free: 6.5 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.002181/0.002182, allocations: 192.2 kB / 17.34 MB, free: 5.738 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.655/1.655, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.24/0.24, allocations: 43.52 MB / 314.1 MB, free: 452 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.001529/0.001529, allocations: 68.44 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1416, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003896/0.1456, allocations: 2.084 MB / 0.4899 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.148, allocations: 1.298 MB / 0.4912 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1481, allocations: 4 kB / 0.4912 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.1485, allocations: 67.59 kB / 0.4913 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.1488, allocations: 83.38 kB / 0.4914 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008006/0.1496, allocations: 191.3 kB / 0.4915 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.1501, allocations: 430 kB / 0.4919 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.883e-05/0.1502, allocations: 60.62 kB / 0.492 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002873/0.1505, allocations: 139.2 kB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.1509, allocations: 171.1 kB / 0.4923 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.288e-05/0.151, allocations: 12 kB / 0.4923 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006846/0.1517, allocations: 267.5 kB / 0.4926 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.1518, allocations: 87.59 kB / 0.4926 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.152, allocations: 158.8 kB / 0.4928 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000735/0.1528, allocations: 0.5212 MB / 0.4933 GB, free: 6.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1528, allocations: 0 / 0.4933 GB, free: 6.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1528, allocations: 0 / 0.4933 GB, free: 6.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1528, allocations: 0 / 0.4933 GB, free: 6.211 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001764/0.1546, allocations: 0.7246 MB / 0.494 GB, free: 5.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.616e-05/0.1547, allocations: 15.89 kB / 0.494 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.1549, allocations: 44.66 kB / 0.4941 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006319/0.1555, allocations: 292.4 kB / 0.4944 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.1556, allocations: 29 kB / 0.4944 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.758e-05/0.1557, allocations: 36 kB / 0.4944 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.1571, allocations: 0.5574 MB / 0.495 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.1571, allocations: 3.984 kB / 0.495 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.312e-05/0.1572, allocations: 16 kB / 0.495 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.697e-05/0.1572, allocations: 17 kB / 0.495 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.1584, allocations: 407.6 kB / 0.4954 GB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/0.161, allocations: 1.289 MB / 0.4966 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/0.1618, allocations: 283.6 kB / 0.4969 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004465/0.1623, allocations: 134.5 kB / 0.497 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.259e-05/0.1624, allocations: 15.97 kB / 0.4971 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.1624, allocations: 42.5 kB / 0.4971 GB, free: 2.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.926e-06/0.1624, allocations: 0 / 0.4971 GB, free: 2.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001757/0.1642, allocations: 461.3 kB / 0.4975 GB, free: 1.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.961e-05/0.1643, allocations: 114.8 kB / 0.4976 GB, free: 1.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009127/0.1652, allocations: 0.4939 MB / 0.4981 GB, free: 1.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.059e-05/0.1653, allocations: 29.7 kB / 0.4982 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.1655, allocations: 204.3 kB / 0.4983 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.323e-05/0.1656, allocations: 55.55 kB / 0.4984 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/0.1659, allocations: 69.64 kB / 0.4985 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.1661, allocations: 354.8 kB / 0.4988 GB, free: 300 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.1666, allocations: 136.1 kB / 0.4989 GB, free: 164 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005506/0.1671, allocations: 218.4 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.1682, allocations: 361.9 kB / 0.4995 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1683, allocations: 4 kB / 0.4995 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001295/0.1696, allocations: 421 kB / 0.4999 GB, free: 15.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.1696, allocations: 15.97 kB / 0.4999 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001179/0.1698, allocations: 28 kB / 0.4999 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.1698, allocations: 7.984 kB / 0.4999 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.1701, allocations: 39.89 kB / 0.5 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.1701, allocations: 4 kB / 0.5 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004168/0.1706, allocations: 55.61 kB / 0.5 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.1706, allocations: 19.98 kB / 0.5001 GB, free: 14.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003152/0.1709, allocations: 201.6 kB / 0.5003 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.1711, allocations: 43.66 kB / 0.5003 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.1723, allocations: 396.8 kB / 0.5007 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.1724, allocations: 4 kB / 0.5007 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1724, allocations: 4 kB / 0.5007 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1724, allocations: 3.984 kB / 0.5007 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008736/0.1733, allocations: 365.3 kB / 0.501 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.244e-05/0.1734, allocations: 36 kB / 0.5011 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.1736, allocations: 23.97 kB / 0.5011 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.1736, allocations: 3.938 kB / 0.5011 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.1737, allocations: 19.92 kB / 0.5011 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1737, allocations: 0 / 0.5011 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1737, allocations: 0 / 0.5011 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.1749, allocations: 0.586 MB / 0.5017 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.1751, allocations: 124.7 kB / 0.5018 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.447e-05/0.1752, allocations: 4 kB / 0.5018 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004311/0.1756, allocations: 27.91 kB / 0.5018 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.1758, allocations: 19.98 kB / 0.5019 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.1758, allocations: 8 kB / 0.5019 GB, free: 12.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006388/0.1765, allocations: 363 kB / 0.5022 GB, free: 12.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1765, allocations: 0 / 0.5022 GB, free: 12.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008812/0.1774, allocations: 123.8 kB / 0.5023 GB, free: 12.52 MB / 398.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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005206/0.1779, allocations: 178.9 kB / 0.5025 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.1795, allocations: 0.538 MB / 0.503 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1795, allocations: 0 / 0.503 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008457/0.1803, allocations: 387.8 kB / 0.5034 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.1815, allocations: 97.5 kB / 0.5035 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.1839, allocations: 0.7846 MB / 0.5042 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008742/0.1848, allocations: 0.8497 MB / 0.5051 GB, free: 9.512 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002955/0.1851, allocations: 71.22 kB / 0.5051 GB, free: 9.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.598e-05/0.1852, allocations: 23.44 kB / 0.5052 GB, free: 9.418 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1852, allocations: 0 / 0.5052 GB, free: 9.418 MB / 398.1 MB Notification: Performance of Templates: time 0.0253/0.2105, allocations: 7.609 MB / 0.5126 GB, free: 1.82 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches