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.00177/0.00177, allocations: 111.9 kB / 17.09 MB, free: 5.98 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.001506/0.001506, allocations: 200.2 kB / 18.03 MB, free: 5.055 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.415/1.415, 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.2097/0.2097, allocations: 43.52 MB / 314.8 MB, free: 460 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.001728/0.001728, allocations: 71.89 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1134, allocations: 57.78 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.003849/0.1173, allocations: 2.079 MB / 0.4906 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.1196, allocations: 1.298 MB / 0.4919 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.1199, allocations: 0 / 0.4919 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.1203, allocations: 67.59 kB / 0.4919 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.1205, allocations: 87.44 kB / 0.492 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006759/0.1212, allocations: 191.3 kB / 0.4922 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005309/0.1218, allocations: 442 kB / 0.4926 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.1219, allocations: 56.69 kB / 0.4927 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002598/0.1222, allocations: 143.2 kB / 0.4928 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.1225, allocations: 171.1 kB / 0.493 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/0.1226, allocations: 12 kB / 0.493 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005501/0.1231, allocations: 263.6 kB / 0.4932 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1233, allocations: 83.59 kB / 0.4933 GB, free: 6.891 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.1235, allocations: 166.8 kB / 0.4935 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006973/0.1242, allocations: 0.5134 MB / 0.494 GB, free: 6.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1242, allocations: 0 / 0.494 GB, free: 6.211 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1242, allocations: 0 / 0.494 GB, free: 6.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.1243, allocations: 7.938 kB / 0.494 GB, free: 6.203 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.001372/0.1256, allocations: 0.7247 MB / 0.4947 GB, free: 5.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1257, allocations: 11.89 kB / 0.4947 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.174e-05/0.1258, allocations: 44.66 kB / 0.4947 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.1261, allocations: 296.3 kB / 0.495 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.1262, allocations: 25 kB / 0.4951 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.1262, allocations: 43.94 kB / 0.4951 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009251/0.1272, allocations: 0.5535 MB / 0.4956 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1272, allocations: 0 / 0.4956 GB, free: 4.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.1272, allocations: 16 kB / 0.4957 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/0.1273, allocations: 17 kB / 0.4957 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008207/0.1281, allocations: 415.6 kB / 0.4961 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.13, allocations: 1.285 MB / 0.4973 GB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.1306, allocations: 283.6 kB / 0.4976 GB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/0.1309, allocations: 134.5 kB / 0.4977 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.569e-05/0.131, allocations: 7.984 kB / 0.4977 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.131, allocations: 42.56 kB / 0.4978 GB, free: 2.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 2.044e-06/0.131, allocations: 0 / 0.4978 GB, free: 2.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001217/0.1323, allocations: 469.2 kB / 0.4982 GB, free: 1.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.1323, allocations: 106.8 kB / 0.4983 GB, free: 1.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005616/0.1329, allocations: 0.494 MB / 0.4988 GB, free: 1.016 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.1329, allocations: 25.7 kB / 0.4988 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.1331, allocations: 212.2 kB / 0.499 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.745e-05/0.1332, allocations: 59.53 kB / 0.4991 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.1333, allocations: 69.64 kB / 0.4991 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1335, allocations: 350.8 kB / 0.4995 GB, free: 296 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.1338, allocations: 132.1 kB / 0.4996 GB, free: 164 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00038/0.1342, allocations: 222.5 kB / 0.4998 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.1349, allocations: 369.7 kB / 0.5002 GB, free: 15.51 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.1349, allocations: 7.938 kB / 0.5002 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009039/0.1358, allocations: 409.2 kB / 0.5006 GB, free: 15.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1359, allocations: 12.03 kB / 0.5006 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.107e-05/0.136, allocations: 39.92 kB / 0.5006 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.136, allocations: 4 kB / 0.5006 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.1362, allocations: 27.97 kB / 0.5007 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.1362, allocations: 7.938 kB / 0.5007 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.1365, allocations: 59.59 kB / 0.5007 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.1365, allocations: 20 kB / 0.5007 GB, free: 14.93 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.0002712/0.1368, allocations: 209.6 kB / 0.5009 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.1369, allocations: 43.72 kB / 0.501 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008514/0.1378, allocations: 388.8 kB / 0.5013 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1378, allocations: 3.984 kB / 0.5013 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.603e-05/0.1379, allocations: 39.94 kB / 0.5014 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.138, allocations: 124.8 kB / 0.5015 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.166e-05/0.1381, allocations: 3.984 kB / 0.5015 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.1384, allocations: 19.98 kB / 0.5015 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/0.1385, allocations: 15.98 kB / 0.5015 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009431/0.1394, allocations: 0.5576 MB / 0.5021 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009222/0.1404, allocations: 0.6559 MB / 0.5027 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003514/0.1407, allocations: 139.8 kB / 0.5029 GB, free: 12.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004245/0.1411, allocations: 363 kB / 0.5032 GB, free: 12.34 MB / 398.1 MB Notification: Performance of Backend: time 9.72e-07/0.1412, allocations: 0 / 0.5032 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.1426, allocations: 0.5598 MB / 0.5038 GB, free: 11.71 MB / 398.1 MB Notification: Performance of SimCode: time 0.001599/0.1442, allocations: 1.439 MB / 0.5052 GB, free: 10.17 MB / 398.1 MB Notification: Performance of Templates: time 0.01427/0.1585, allocations: 7.984 MB / 0.513 GB, free: 2.199 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