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_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 100.2 kB / 17.08 MB, free: 5.988 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.001848/0.001848, allocations: 198.2 kB / 18.02 MB, free: 5.07 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.443/1.443, allocations: 205.1 MB / 223.9 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.2001/0.2001, allocations: 43.53 MB / 314.8 MB, free: 464 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.002423/0.002423, allocations: 64.41 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1523, allocations: 57.8 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.005579/0.1579, allocations: 1.989 MB / 0.4905 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.1601, allocations: 0.8576 MB / 0.4914 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.1604, allocations: 4 kB / 0.4914 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004387/0.1608, allocations: 63.59 kB / 0.4914 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005851/0.1615, allocations: 115.4 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.1619, allocations: 71.78 kB / 0.4916 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005407/0.1624, allocations: 310.6 kB / 0.4919 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.1625, allocations: 32.38 kB / 0.4919 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000285/0.1628, allocations: 131.3 kB / 0.4921 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.1632, allocations: 143.3 kB / 0.4922 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.1633, allocations: 12 kB / 0.4922 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004089/0.1637, allocations: 127.8 kB / 0.4923 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.1638, allocations: 63.67 kB / 0.4924 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.164, allocations: 119.2 kB / 0.4925 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005998/0.1646, allocations: 342.7 kB / 0.4928 GB, free: 7.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1646, allocations: 0 / 0.4928 GB, free: 7.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1647, allocations: 0 / 0.4928 GB, free: 7.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.1647, allocations: 4 kB / 0.4928 GB, free: 7.402 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001178/0.1659, allocations: 0.5575 MB / 0.4934 GB, free: 6.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1659, allocations: 11.89 kB / 0.4934 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.166, allocations: 28.56 kB / 0.4934 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.1664, allocations: 248.4 kB / 0.4936 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.1665, allocations: 28.48 kB / 0.4937 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.1665, allocations: 20 kB / 0.4937 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009245/0.1675, allocations: 393.2 kB / 0.4941 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1675, allocations: 0 / 0.4941 GB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/0.1675, allocations: 19.95 kB / 0.4941 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.21e-05/0.1676, allocations: 28.64 kB / 0.4941 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.1687, allocations: 406.3 kB / 0.4945 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.1707, allocations: 0.8656 MB / 0.4953 GB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008711/0.1716, allocations: 290.2 kB / 0.4956 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.1719, allocations: 92.77 kB / 0.4957 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.1719, allocations: 4 kB / 0.4957 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.172, allocations: 30.56 kB / 0.4957 GB, free: 4.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 7.093e-06/0.172, allocations: 0 / 0.4957 GB, free: 4.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001126/0.1731, allocations: 348.9 kB / 0.4961 GB, free: 3.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.1732, allocations: 55.41 kB / 0.4961 GB, free: 3.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005405/0.1738, allocations: 347.3 kB / 0.4965 GB, free: 3.484 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.1738, allocations: 29.7 kB / 0.4965 GB, free: 3.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.174, allocations: 164.3 kB / 0.4966 GB, free: 3.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.174, allocations: 47.27 kB / 0.4967 GB, free: 3.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.1742, allocations: 53.7 kB / 0.4967 GB, free: 3.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1744, allocations: 342.8 kB / 0.4971 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.1747, allocations: 91.89 kB / 0.4972 GB, free: 2.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.1751, allocations: 141.8 kB / 0.4973 GB, free: 2.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006833/0.1758, allocations: 249.5 kB / 0.4975 GB, free: 2.324 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1758, allocations: 8 kB / 0.4975 GB, free: 2.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000881/0.1767, allocations: 289.1 kB / 0.4978 GB, free: 2.027 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1767, allocations: 4 kB / 0.4978 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1767, allocations: 0 / 0.4978 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1768, allocations: 7.938 kB / 0.4978 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008327/0.1776, allocations: 107.9 kB / 0.4979 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002893/0.1805, allocations: 3.676 MB / 0.5015 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002903/0.1808, allocations: 35.98 kB / 0.5016 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.1809, allocations: 12 kB / 0.5016 GB, free: 14.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002672/0.1811, allocations: 181.5 kB / 0.5017 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.686e-05/0.1813, allocations: 31.56 kB / 0.5018 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.1823, allocations: 331.1 kB / 0.5021 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1823, allocations: 8 kB / 0.5021 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1823, allocations: 0 / 0.5021 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.1825, allocations: 100.8 kB / 0.5022 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.866e-05/0.1825, allocations: 8 kB / 0.5022 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.1828, allocations: 11.98 kB / 0.5022 GB, free: 13.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.1829, allocations: 7.984 kB / 0.5022 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001701/0.1846, allocations: 489.6 kB / 0.5027 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001251/0.1859, allocations: 0.5603 MB / 0.5032 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003228/0.1862, allocations: 95.95 kB / 0.5033 GB, free: 12.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004313/0.1867, allocations: 257.9 kB / 0.5036 GB, free: 11.92 MB / 398.1 MB Notification: Performance of Backend: time 5.61e-07/0.1867, allocations: 0 / 0.5036 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.1884, allocations: 322.1 kB / 0.5039 GB, free: 11.6 MB / 398.1 MB Notification: Performance of SimCode: time 0.001831/0.1903, allocations: 1.061 MB / 0.5049 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Templates: time 0.01703/0.2073, allocations: 5.724 MB / 0.5105 GB, free: 4.777 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches