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.001136/0.001136, allocations: 117.8 kB / 17.08 MB, free: 5.992 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.001168/0.001168, allocations: 194.5 kB / 18.01 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.363/1.363, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2225/0.2225, allocations: 43.52 MB / 314.8 MB, free: 456 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.001547/0.001547, allocations: 67.89 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1093, allocations: 57.8 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.003845/0.1132, allocations: 2.081 MB / 0.4906 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.1153, allocations: 1.294 MB / 0.4919 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.1155, allocations: 0 / 0.4919 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.1159, allocations: 71.59 kB / 0.4919 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.1162, allocations: 91.38 kB / 0.492 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006903/0.1169, allocations: 187.3 kB / 0.4922 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005676/0.1175, allocations: 438 kB / 0.4926 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1176, allocations: 56.62 kB / 0.4927 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.1179, allocations: 147.2 kB / 0.4928 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.1182, allocations: 171.1 kB / 0.493 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.464e-05/0.1182, allocations: 16 kB / 0.493 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000497/0.1188, allocations: 259.5 kB / 0.4932 GB, free: 6.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1189, allocations: 79.59 kB / 0.4933 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.1191, allocations: 170.8 kB / 0.4935 GB, free: 6.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00069/0.1198, allocations: 0.5099 MB / 0.494 GB, free: 6.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1198, allocations: 0 / 0.494 GB, free: 6.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1198, allocations: 0 / 0.494 GB, free: 6.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.1198, allocations: 0 / 0.494 GB, free: 6.207 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.001253/0.1211, allocations: 0.7213 MB / 0.4947 GB, free: 5.434 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.1211, allocations: 11.89 kB / 0.4947 GB, free: 5.422 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.908e-05/0.1212, allocations: 40.47 kB / 0.4947 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.1216, allocations: 292.2 kB / 0.495 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.1216, allocations: 29 kB / 0.495 GB, free: 5.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.1217, allocations: 36 kB / 0.4951 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009948/0.1227, allocations: 0.5574 MB / 0.4956 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1227, allocations: 0 / 0.4956 GB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.1228, allocations: 16 kB / 0.4956 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.4e-05/0.1228, allocations: 17 kB / 0.4956 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008546/0.1237, allocations: 423.6 kB / 0.496 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.1256, allocations: 1.273 MB / 0.4973 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000551/0.1262, allocations: 283.5 kB / 0.4976 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.1265, allocations: 138.5 kB / 0.4977 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.1266, allocations: 4 kB / 0.4977 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1266, allocations: 38.5 kB / 0.4977 GB, free: 2.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.124e-06/0.1266, allocations: 0 / 0.4977 GB, free: 2.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.00129/0.1279, allocations: 473 kB / 0.4982 GB, free: 1.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.128, allocations: 106.8 kB / 0.4983 GB, free: 1.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005607/0.1286, allocations: 0.4939 MB / 0.4988 GB, free: 1.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/0.1286, allocations: 25.7 kB / 0.4988 GB, free: 1.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.1288, allocations: 212.2 kB / 0.499 GB, free: 0.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.1288, allocations: 59.16 kB / 0.499 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.1289, allocations: 57.7 kB / 0.4991 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1291, allocations: 354.8 kB / 0.4994 GB, free: 324 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/0.1294, allocations: 132.1 kB / 0.4996 GB, free: 184 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.1298, allocations: 226.4 kB / 0.4998 GB, free: 15.92 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007106/0.1305, allocations: 365.9 kB / 0.5001 GB, free: 15.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1306, allocations: 0 / 0.5001 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008967/0.1315, allocations: 420.8 kB / 0.5005 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1315, allocations: 7.938 kB / 0.5005 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.588e-05/0.1316, allocations: 35.98 kB / 0.5006 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.1316, allocations: 4 kB / 0.5006 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.1318, allocations: 35.91 kB / 0.5006 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.1319, allocations: 7.984 kB / 0.5006 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.1322, allocations: 59.41 kB / 0.5007 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.1322, allocations: 16 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.0002368/0.1325, allocations: 201.7 kB / 0.5009 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.1326, allocations: 43.45 kB / 0.5009 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008223/0.1334, allocations: 392.7 kB / 0.5013 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/0.1334, allocations: 8 kB / 0.5013 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1334, allocations: 0 / 0.5013 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1335, allocations: 4 kB / 0.5013 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.134, allocations: 369.3 kB / 0.5017 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.392e-05/0.1341, allocations: 31.98 kB / 0.5017 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.1342, allocations: 27.97 kB / 0.5017 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1343, allocations: 3.938 kB / 0.5017 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.1343, allocations: 8 kB / 0.5017 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1343, allocations: 3.938 kB / 0.5017 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1343, allocations: 4 kB / 0.5017 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008602/0.1352, allocations: 0.5899 MB / 0.5023 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.1353, allocations: 124.5 kB / 0.5024 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.1354, allocations: 8 kB / 0.5024 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.1357, allocations: 19.92 kB / 0.5025 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.002e-05/0.1358, allocations: 15.98 kB / 0.5025 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.614e-05/0.1358, allocations: 15.98 kB / 0.5025 GB, free: 13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003864/0.1362, allocations: 363.1 kB / 0.5028 GB, free: 12.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1362, allocations: 0 / 0.5028 GB, free: 12.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005596/0.1368, allocations: 115.9 kB / 0.5029 GB, free: 12.54 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.0003904/0.1372, allocations: 171.1 kB / 0.5031 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009274/0.1381, allocations: 0.5419 MB / 0.5036 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1381, allocations: 0 / 0.5036 GB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004879/0.1386, allocations: 391.8 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.0006893/0.1393, allocations: 105.8 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.001407/0.1408, allocations: 0.8021 MB / 0.5049 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.1412, allocations: 0.8419 MB / 0.5057 GB, free: 9.512 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.232e-05/0.1413, allocations: 23.44 kB / 0.5057 GB, free: 9.488 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1413, allocations: 0 / 0.5057 GB, free: 9.488 MB / 398.1 MB Notification: Performance of Templates: time 0.01211/0.1534, allocations: 7.406 MB / 0.513 GB, free: 2.086 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