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.001159/0.001159, allocations: 112.7 kB / 16.41 MB, free: 6.48 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.001171/0.001171, allocations: 187.5 kB / 17.34 MB, free: 5.766 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.497/1.497, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.2137/0.2137, allocations: 43.52 MB / 314.1 MB, free: 440 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.001501/0.001501, allocations: 71.89 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.155, 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.003796/0.1589, allocations: 2.083 MB / 0.4899 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.161, allocations: 1.301 MB / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.103e-05/0.1611, allocations: 0 / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.1615, allocations: 71.59 kB / 0.4913 GB, free: 8.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002056/0.1617, allocations: 87.38 kB / 0.4914 GB, free: 8.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.1623, allocations: 195.2 kB / 0.4915 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.1628, allocations: 434.1 kB / 0.492 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1629, allocations: 52.64 kB / 0.492 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.1631, allocations: 143.2 kB / 0.4921 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.1634, allocations: 175.1 kB / 0.4923 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.1634, allocations: 12 kB / 0.4923 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004273/0.1638, allocations: 263.5 kB / 0.4926 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.164, allocations: 79.59 kB / 0.4927 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000182/0.1642, allocations: 166.8 kB / 0.4928 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006289/0.1648, allocations: 0.5138 MB / 0.4933 GB, free: 6.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1648, allocations: 0 / 0.4933 GB, free: 6.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1648, allocations: 0 / 0.4933 GB, free: 6.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.1648, allocations: 0 / 0.4933 GB, free: 6.199 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.001277/0.1661, allocations: 0.7174 MB / 0.494 GB, free: 5.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1662, allocations: 11.89 kB / 0.494 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.664e-05/0.1662, allocations: 40.47 kB / 0.4941 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.1666, allocations: 296.2 kB / 0.4943 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.1667, allocations: 29 kB / 0.4944 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.962e-05/0.1667, allocations: 36 kB / 0.4944 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008682/0.1676, allocations: 0.5574 MB / 0.495 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1676, allocations: 0 / 0.495 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.1677, allocations: 16 kB / 0.495 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.1677, allocations: 17 kB / 0.495 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007489/0.1684, allocations: 423.5 kB / 0.4954 GB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.1705, allocations: 1.277 MB / 0.4966 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.171, allocations: 279.6 kB / 0.4969 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.1714, allocations: 142.4 kB / 0.497 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.557e-05/0.1714, allocations: 4 kB / 0.497 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.1715, allocations: 38.5 kB / 0.4971 GB, free: 2.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.913e-06/0.1715, allocations: 0 / 0.4971 GB, free: 2.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001255/0.1727, allocations: 469 kB / 0.4975 GB, free: 1.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/0.1728, allocations: 110.8 kB / 0.4976 GB, free: 1.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005881/0.1734, allocations: 0.4939 MB / 0.4981 GB, free: 1.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1735, allocations: 25.7 kB / 0.4981 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.1737, allocations: 212.2 kB / 0.4983 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.847e-05/0.1737, allocations: 59.16 kB / 0.4984 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.1738, allocations: 57.7 kB / 0.4985 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.1741, allocations: 350.8 kB / 0.4988 GB, free: 312 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.1744, allocations: 136.1 kB / 0.4989 GB, free: 176 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.1748, allocations: 226.4 kB / 0.4991 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007014/0.1755, allocations: 365.9 kB / 0.4995 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1755, allocations: 0 / 0.4995 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008159/0.1763, allocations: 416.8 kB / 0.4999 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.1764, allocations: 11.94 kB / 0.4999 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.851e-05/0.1764, allocations: 35.98 kB / 0.4999 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.1765, allocations: 4 kB / 0.4999 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.1767, allocations: 39.91 kB / 0.5 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.1767, allocations: 4 kB / 0.5 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.1769, allocations: 59.41 kB / 0.5 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.177, allocations: 16 kB / 0.5 GB, free: 14.94 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.0002371/0.1772, allocations: 197.7 kB / 0.5002 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.695e-05/0.1773, allocations: 43.47 kB / 0.5003 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007812/0.1781, allocations: 396.7 kB / 0.5006 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.1781, allocations: 4 kB / 0.5007 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.1781, allocations: 8 kB / 0.5007 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1782, allocations: 0 / 0.5007 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.1787, allocations: 369.3 kB / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.094e-05/0.1787, allocations: 27.98 kB / 0.501 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/0.1789, allocations: 23.97 kB / 0.5011 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.1789, allocations: 11.88 kB / 0.5011 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.1789, allocations: 8 kB / 0.5011 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.1789, allocations: 4 kB / 0.5011 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1789, allocations: 0 / 0.5011 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/0.1798, allocations: 0.5857 MB / 0.5017 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.1799, allocations: 128.5 kB / 0.5018 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.18, allocations: 8 kB / 0.5018 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.1802, allocations: 19.92 kB / 0.5018 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.1803, allocations: 15.98 kB / 0.5018 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.1803, allocations: 15.98 kB / 0.5018 GB, free: 12.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003723/0.1807, allocations: 363.1 kB / 0.5022 GB, free: 12.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1807, allocations: 0 / 0.5022 GB, free: 12.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005422/0.1813, allocations: 115.9 kB / 0.5023 GB, free: 12.53 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.0003702/0.1817, allocations: 175.1 kB / 0.5025 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008964/0.1826, allocations: 0.5379 MB / 0.503 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1826, allocations: 0 / 0.503 GB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004748/0.1831, allocations: 391.9 kB / 0.5034 GB, free: 11.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006309/0.1837, allocations: 101.4 kB / 0.5035 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.185, allocations: 0.7814 MB / 0.5042 GB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.1854, allocations: 0.8458 MB / 0.505 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.1856, allocations: 71.22 kB / 0.5051 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.1857, allocations: 23.44 kB / 0.5051 GB, free: 9.434 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1857, allocations: 0 / 0.5051 GB, free: 9.434 MB / 398.1 MB Notification: Performance of Templates: time 0.01326/0.1989, allocations: 7.617 MB / 0.5126 GB, free: 1.832 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