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.001607/0.001607, allocations: 120.3 kB / 17.09 MB, free: 5.984 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.001749/0.001749, allocations: 190.4 kB / 18.01 MB, free: 5.074 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.644/1.644, allocations: 205.1 MB / 223.9 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.203/0.203, allocations: 43.52 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.002896/0.002896, allocations: 67.89 kB / 442.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1634, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003617/0.1671, allocations: 2.073 MB / 0.4906 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.1698, allocations: 1.294 MB / 0.4919 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.1701, allocations: 4 kB / 0.4919 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005611/0.1707, allocations: 71.59 kB / 0.4919 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004869/0.1713, allocations: 79.44 kB / 0.492 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.1724, allocations: 195.3 kB / 0.4922 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000819/0.1733, allocations: 438 kB / 0.4926 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.1735, allocations: 52.69 kB / 0.4927 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004288/0.1739, allocations: 147.2 kB / 0.4928 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006319/0.1746, allocations: 175 kB / 0.493 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.477e-05/0.1747, allocations: 12 kB / 0.493 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008646/0.1755, allocations: 255.6 kB / 0.4932 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.1757, allocations: 83.53 kB / 0.4933 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003557/0.1761, allocations: 162.9 kB / 0.4935 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.1773, allocations: 0.5177 MB / 0.494 GB, free: 6.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1774, allocations: 0 / 0.494 GB, free: 6.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1774, allocations: 0 / 0.494 GB, free: 6.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.1774, allocations: 0 / 0.494 GB, free: 6.219 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.002112/0.1795, allocations: 0.7174 MB / 0.4947 GB, free: 5.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.1796, allocations: 11.89 kB / 0.4947 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.1798, allocations: 40.47 kB / 0.4947 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006053/0.1804, allocations: 300.2 kB / 0.495 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.155e-05/0.1805, allocations: 29 kB / 0.495 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.182e-05/0.1806, allocations: 36 kB / 0.4951 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.1822, allocations: 0.5496 MB / 0.4956 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.1822, allocations: 3.938 kB / 0.4956 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.1823, allocations: 16 kB / 0.4956 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.717e-05/0.1824, allocations: 21 kB / 0.4956 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.184, allocations: 419.5 kB / 0.496 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003433/0.1874, allocations: 1.277 MB / 0.4973 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009402/0.1884, allocations: 275.6 kB / 0.4975 GB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/0.189, allocations: 142.5 kB / 0.4977 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.502e-05/0.1891, allocations: 7.984 kB / 0.4977 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.091e-05/0.1892, allocations: 30.56 kB / 0.4977 GB, free: 2.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 3.857e-06/0.1892, allocations: 0 / 0.4977 GB, free: 2.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.002239/0.1915, allocations: 472.9 kB / 0.4982 GB, free: 1.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/0.1916, allocations: 110.8 kB / 0.4983 GB, free: 1.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.1927, allocations: 0.49 MB / 0.4988 GB, free: 1.051 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.1928, allocations: 25.86 kB / 0.4988 GB, free: 1.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.1931, allocations: 216.2 kB / 0.499 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.1933, allocations: 55.17 kB / 0.499 GB, free: 0.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002326/0.1935, allocations: 61.8 kB / 0.4991 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.1938, allocations: 358.7 kB / 0.4994 GB, free: 332 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006067/0.1944, allocations: 132.1 kB / 0.4996 GB, free: 200 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006781/0.1951, allocations: 222.5 kB / 0.4998 GB, free: 15.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.1965, allocations: 365.8 kB / 0.5001 GB, free: 15.55 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.1965, allocations: 0 / 0.5001 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001875/0.1984, allocations: 420.3 kB / 0.5005 GB, free: 15.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.694e-05/0.1985, allocations: 7.938 kB / 0.5005 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/0.1986, allocations: 32 kB / 0.5006 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.264e-05/0.1986, allocations: 7.984 kB / 0.5006 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.199, allocations: 36.31 kB / 0.5006 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.1991, allocations: 7.938 kB / 0.5006 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.1996, allocations: 59.41 kB / 0.5007 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.1997, allocations: 16 kB / 0.5007 GB, free: 14.97 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.0004337/0.2002, allocations: 197.7 kB / 0.5009 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.2004, allocations: 43.45 kB / 0.5009 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.2018, allocations: 392.8 kB / 0.5013 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.2018, allocations: 7.984 kB / 0.5013 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.2019, allocations: 4 kB / 0.5013 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.2019, allocations: 0 / 0.5013 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009988/0.2029, allocations: 373.2 kB / 0.5017 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.879e-05/0.203, allocations: 27.98 kB / 0.5017 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.2033, allocations: 31.97 kB / 0.5017 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/0.2033, allocations: 11.88 kB / 0.5017 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/0.2034, allocations: 8 kB / 0.5017 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.876e-06/0.2034, allocations: 7.938 kB / 0.5017 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2034, allocations: 0 / 0.5017 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.2049, allocations: 0.582 MB / 0.5023 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.2051, allocations: 124.5 kB / 0.5024 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.2052, allocations: 4 kB / 0.5024 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005592/0.2058, allocations: 19.97 kB / 0.5024 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.2059, allocations: 15.98 kB / 0.5025 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.206, allocations: 16 kB / 0.5025 GB, free: 13.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006939/0.2067, allocations: 367 kB / 0.5028 GB, free: 12.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.2067, allocations: 3.938 kB / 0.5028 GB, free: 12.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001035/0.2078, allocations: 111.9 kB / 0.5029 GB, free: 12.56 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.0005788/0.2084, allocations: 175.2 kB / 0.5031 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.21, allocations: 0.5384 MB / 0.5036 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.2101, allocations: 0 / 0.5036 GB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008222/0.2109, allocations: 387.1 kB / 0.504 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.2123, allocations: 110.1 kB / 0.5041 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.2148, allocations: 0.7981 MB / 0.5049 GB, free: 10.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006941/0.2155, allocations: 0.838 MB / 0.5057 GB, free: 9.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.2157, allocations: 35.42 kB / 0.5057 GB, free: 9.504 MB / 398.1 MB Notification: Performance of SimCode: time 1.423e-06/0.2157, allocations: 0 / 0.5057 GB, free: 9.504 MB / 398.1 MB Notification: Performance of Templates: time 0.02007/0.2358, allocations: 7.401 MB / 0.513 GB, free: 2.109 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/jenkins1/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/jenkins1/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