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.001177/0.001177, allocations: 109.4 kB / 17.09 MB, free: 5.805 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.001325/0.001325, allocations: 196.2 kB / 18.02 MB, free: 4.918 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.412/1.412, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2002/0.2002, allocations: 43.53 MB / 314.8 MB, free: 452 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.001373/0.001373, allocations: 69.45 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1232, allocations: 57.8 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003671/0.127, allocations: 2.06 MB / 0.4906 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.1292, allocations: 1.302 MB / 0.4919 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.1294, allocations: 0 / 0.4919 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.1297, allocations: 67.59 kB / 0.4919 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.13, allocations: 87.44 kB / 0.492 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000717/0.1308, allocations: 199.2 kB / 0.4922 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005431/0.1313, allocations: 430 kB / 0.4926 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1314, allocations: 52.64 kB / 0.4927 GB, free: 7.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.1317, allocations: 143.3 kB / 0.4928 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.132, allocations: 175 kB / 0.493 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.1321, allocations: 19.94 kB / 0.493 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.1326, allocations: 259.6 kB / 0.4932 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.1327, allocations: 75.67 kB / 0.4933 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.1329, allocations: 166.8 kB / 0.4935 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007138/0.1336, allocations: 0.5138 MB / 0.494 GB, free: 6.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1336, allocations: 0 / 0.494 GB, free: 6.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1336, allocations: 0 / 0.494 GB, free: 6.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.1337, 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.001237/0.1349, allocations: 0.7209 MB / 0.4947 GB, free: 5.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1349, allocations: 11.89 kB / 0.4947 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.28e-05/0.135, allocations: 44.41 kB / 0.4947 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.1354, allocations: 300.2 kB / 0.495 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.1354, allocations: 29 kB / 0.495 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.752e-05/0.1355, allocations: 36 kB / 0.4951 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008702/0.1364, allocations: 0.5535 MB / 0.4956 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1364, allocations: 0 / 0.4956 GB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.755e-05/0.1364, allocations: 16 kB / 0.4956 GB, free: 4.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-05/0.1365, allocations: 17 kB / 0.4956 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000785/0.1373, allocations: 419.6 kB / 0.496 GB, free: 3.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.1391, allocations: 1.277 MB / 0.4973 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000718/0.1399, allocations: 275.6 kB / 0.4975 GB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/0.1404, allocations: 142.4 kB / 0.4977 GB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.974e-05/0.1405, allocations: 7.984 kB / 0.4977 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.1405, allocations: 38.56 kB / 0.4977 GB, free: 2.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 3.406e-06/0.1405, allocations: 7.984 kB / 0.4977 GB, free: 2.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001225/0.1418, allocations: 469 kB / 0.4982 GB, free: 1.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.1419, allocations: 106.8 kB / 0.4983 GB, free: 1.547 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005765/0.1425, allocations: 0.49 MB / 0.4988 GB, free: 1.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.1425, allocations: 29.7 kB / 0.4988 GB, free: 1.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.1427, allocations: 204.2 kB / 0.499 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.349e-05/0.1427, allocations: 59.16 kB / 0.499 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.1428, allocations: 57.7 kB / 0.4991 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.143, allocations: 358.8 kB / 0.4994 GB, free: 332 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.1433, allocations: 136 kB / 0.4996 GB, free: 196 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003677/0.1437, allocations: 218.5 kB / 0.4998 GB, free: 15.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008655/0.1446, allocations: 372 kB / 0.5001 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1446, allocations: 0 / 0.5001 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008521/0.1454, allocations: 421 kB / 0.5005 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1455, allocations: 4 kB / 0.5005 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-05/0.1455, allocations: 35.92 kB / 0.5006 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.1456, allocations: 4 kB / 0.5006 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.1458, allocations: 35.97 kB / 0.5006 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.1458, allocations: 7.938 kB / 0.5006 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.1461, allocations: 55.41 kB / 0.5007 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.1462, 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.0002414/0.1464, allocations: 201.7 kB / 0.5009 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.1466, allocations: 35.53 kB / 0.5009 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008097/0.1474, allocations: 408.3 kB / 0.5013 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1474, allocations: 8 kB / 0.5013 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.136e-05/0.1474, allocations: 27.98 kB / 0.5013 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.1476, allocations: 120.6 kB / 0.5015 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.997e-05/0.1477, allocations: 12 kB / 0.5015 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.148, allocations: 11.98 kB / 0.5015 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/0.1481, allocations: 23.97 kB / 0.5015 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009187/0.149, allocations: 0.5615 MB / 0.502 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008681/0.1499, allocations: 0.6517 MB / 0.5027 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003284/0.1502, allocations: 131.9 kB / 0.5028 GB, free: 12.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004361/0.1506, allocations: 367 kB / 0.5032 GB, free: 12.38 MB / 398.1 MB Notification: Performance of Backend: time 2.023e-06/0.1507, allocations: 4 kB / 0.5032 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.1521, allocations: 0.5559 MB / 0.5037 GB, free: 11.76 MB / 398.1 MB Notification: Performance of SimCode: time 0.00161/0.1537, allocations: 1.436 MB / 0.5051 GB, free: 10.22 MB / 398.1 MB Notification: Performance of Templates: time 0.01548/0.1692, allocations: 8.164 MB / 0.5131 GB, free: 2.07 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