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.001281/0.001281, allocations: 114.8 kB / 17.08 MB, free: 6.012 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.001243/0.001243, allocations: 193.4 kB / 18.01 MB, free: 5.09 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.451/1.451, 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.2319/0.2319, 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.002331/0.002331, allocations: 63.91 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1231, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003692/0.1267, allocations: 2.076 MB / 0.4906 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.1291, allocations: 1.298 MB / 0.4919 GB, free: 8.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1292, allocations: 4 kB / 0.4919 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1296, allocations: 67.59 kB / 0.4919 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.1298, allocations: 91.44 kB / 0.492 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006227/0.1304, allocations: 195.3 kB / 0.4922 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005093/0.1309, allocations: 437.9 kB / 0.4926 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.464e-05/0.131, allocations: 36.73 kB / 0.4927 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.1312, allocations: 143.2 kB / 0.4928 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.1314, allocations: 171.1 kB / 0.493 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.1314, allocations: 15.94 kB / 0.493 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.1319, allocations: 259.6 kB / 0.4932 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001184/0.132, allocations: 91.53 kB / 0.4933 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.1322, allocations: 155 kB / 0.4935 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006736/0.1329, allocations: 0.5211 MB / 0.494 GB, free: 6.223 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1329, allocations: 0 / 0.494 GB, free: 6.223 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1329, allocations: 0 / 0.494 GB, free: 6.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1329, allocations: 4 kB / 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.001291/0.1342, allocations: 0.7246 MB / 0.4947 GB, free: 5.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1342, allocations: 11.89 kB / 0.4947 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.539e-05/0.1343, allocations: 44.66 kB / 0.4947 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003993/0.1347, allocations: 292.3 kB / 0.495 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.1347, allocations: 32.94 kB / 0.495 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.1348, allocations: 39.98 kB / 0.4951 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000926/0.1357, allocations: 0.5574 MB / 0.4956 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1357, allocations: 7.875 kB / 0.4956 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.1358, allocations: 16 kB / 0.4956 GB, free: 4.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.1358, allocations: 20.98 kB / 0.4957 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008455/0.1367, allocations: 411.6 kB / 0.4961 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.1386, allocations: 1.282 MB / 0.4973 GB, free: 2.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005665/0.1391, allocations: 267.6 kB / 0.4976 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.1395, allocations: 134.5 kB / 0.4977 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.1395, allocations: 4 kB / 0.4977 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.1396, allocations: 54.48 kB / 0.4977 GB, free: 2.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.854e-06/0.1396, allocations: 0 / 0.4977 GB, free: 2.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001348/0.1409, allocations: 461.3 kB / 0.4982 GB, free: 1.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.141, allocations: 110.8 kB / 0.4983 GB, free: 1.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.1417, allocations: 0.4901 MB / 0.4988 GB, free: 1.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.1417, allocations: 33.69 kB / 0.4988 GB, free: 1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.1419, allocations: 208.2 kB / 0.499 GB, free: 0.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.514e-05/0.1419, allocations: 59.53 kB / 0.4991 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.1421, allocations: 69.75 kB / 0.4991 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.1423, allocations: 354.7 kB / 0.4995 GB, free: 312 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.1426, allocations: 136.1 kB / 0.4996 GB, free: 176 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.143, allocations: 218.5 kB / 0.4998 GB, free: 15.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007721/0.1438, allocations: 364 kB / 0.5001 GB, free: 15.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.1438, allocations: 4 kB / 0.5001 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009119/0.1447, allocations: 409.3 kB / 0.5005 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1447, allocations: 15.97 kB / 0.5006 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.01e-05/0.1448, allocations: 35.98 kB / 0.5006 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.1448, allocations: 4 kB / 0.5006 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.145, allocations: 35.89 kB / 0.5006 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.145, allocations: 4 kB / 0.5006 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.1453, allocations: 55.61 kB / 0.5007 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.1453, allocations: 19.98 kB / 0.5007 GB, free: 14.95 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.00023/0.1456, allocations: 201.6 kB / 0.5009 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.1457, allocations: 47.66 kB / 0.5009 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008429/0.1465, allocations: 392.4 kB / 0.5013 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.1465, allocations: 7.938 kB / 0.5013 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1465, allocations: 7.938 kB / 0.5013 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.1465, allocations: 3.984 kB / 0.5013 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006581/0.1472, allocations: 373.2 kB / 0.5017 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.605e-05/0.1473, allocations: 32 kB / 0.5017 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.1474, allocations: 23.97 kB / 0.5017 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.1474, allocations: 7.922 kB / 0.5018 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.1474, allocations: 11.98 kB / 0.5018 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1474, allocations: 0 / 0.5018 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1474, allocations: 0 / 0.5018 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009218/0.1484, allocations: 0.586 MB / 0.5023 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.1485, allocations: 128.7 kB / 0.5025 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.1486, allocations: 4 kB / 0.5025 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.1488, allocations: 23.97 kB / 0.5025 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.1489, allocations: 19.98 kB / 0.5025 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.149, allocations: 8 kB / 0.5025 GB, free: 13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004287/0.1494, allocations: 363 kB / 0.5029 GB, free: 12.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1494, allocations: 0 / 0.5029 GB, free: 12.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006087/0.15, allocations: 123.8 kB / 0.503 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.000432/0.1504, allocations: 170.9 kB / 0.5031 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.1515, allocations: 0.5418 MB / 0.5037 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1515, allocations: 0 / 0.5037 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005278/0.152, allocations: 383.9 kB / 0.504 GB, free: 11.33 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/0.1527, allocations: 97.86 kB / 0.5041 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.1541, allocations: 0.7958 MB / 0.5049 GB, free: 10.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.1546, allocations: 0.8497 MB / 0.5057 GB, free: 9.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.1548, allocations: 63.23 kB / 0.5058 GB, free: 9.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.1548, allocations: 31.42 kB / 0.5058 GB, free: 9.43 MB / 398.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1548, allocations: 0 / 0.5058 GB, free: 9.43 MB / 398.1 MB Notification: Performance of Templates: time 0.0146/0.1694, allocations: 7.629 MB / 0.5133 GB, free: 1.812 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 -s cvode -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