Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 108.9 kB / 17.33 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.001102/0.001102, allocations: 193.3 kB / 18.25 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 241.9 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2113/0.2113, allocations: 44.19 MB / 336.2 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 62.69 kB / 407.9 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.106, allocations: 60.83 MB / 468.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.00348/0.1095, allocations: 2.045 MB / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.111, allocations: 0.8063 MB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.1111, allocations: 0 / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.1114, allocations: 59.72 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004002/0.1119, allocations: 111.5 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1122, allocations: 55.88 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004365/0.1126, allocations: 322.5 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1127, allocations: 32.38 kB / 472.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003411/0.1131, allocations: 123.4 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003423/0.1134, allocations: 155.4 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.1135, allocations: 8 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.1138, allocations: 127.8 kB / 472.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.114, allocations: 75.66 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.1142, allocations: 111.2 kB / 472.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.1149, allocations: 335 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.1149, allocations: 7.922 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.1149, allocations: 0 / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.1149, allocations: 4 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001387/0.1163, allocations: 0.5615 MB / 473.6 MB, free: 9.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.529e-05/0.1164, allocations: 8.031 kB / 473.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.1165, allocations: 28.56 kB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.117, allocations: 244.4 kB / 473.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.117, allocations: 24.5 kB / 473.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/0.1171, allocations: 24 kB / 474 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009241/0.118, allocations: 397.2 kB / 474.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.1181, allocations: 3.938 kB / 474.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.1181, allocations: 12 kB / 474.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.608e-05/0.1182, allocations: 24.64 kB / 474.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009052/0.1191, allocations: 410.3 kB / 474.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.1209, allocations: 0.8734 MB / 475.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006576/0.1216, allocations: 270.3 kB / 475.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.1218, allocations: 96.77 kB / 476 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.1219, allocations: 4.062 kB / 476 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1219, allocations: 38.56 kB / 476.1 MB, free: 7.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.1219, allocations: 3.938 kB / 476.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008165/0.1227, allocations: 333.1 kB / 476.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.1228, allocations: 51.41 kB / 476.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004018/0.1232, allocations: 351.2 kB / 476.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.1232, allocations: 33.7 kB / 476.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.1234, allocations: 164.1 kB / 477 MB, free: 6.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.002e-05/0.1235, allocations: 51.3 kB / 477 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.1236, allocations: 49.69 kB / 477.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.1238, allocations: 342.8 kB / 477.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.124, allocations: 91.91 kB / 477.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.1243, allocations: 137.9 kB / 477.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.1248, allocations: 252.9 kB / 477.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1248, allocations: 0 / 477.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005971/0.1254, allocations: 300.9 kB / 478.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1254, allocations: 4.188 kB / 478.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.1254, allocations: 8 kB / 478.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1255, allocations: 0 / 478.2 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.126, allocations: 115.9 kB / 478.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.1282, allocations: 3.665 MB / 482 MB, free: 1.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.1284, allocations: 35.58 kB / 482 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.1284, allocations: 8 kB / 482 MB, free: 0.9688 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002143/0.1287, allocations: 181.7 kB / 482.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.1287, allocations: 27.66 kB / 482.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006581/0.1294, allocations: 327.3 kB / 482.5 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.1294, allocations: 0 / 482.5 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1294, allocations: 0 / 482.5 MB, free: 436 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1294, allocations: 3.938 kB / 482.5 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.1298, allocations: 305.3 kB / 482.8 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.1298, allocations: 0 / 482.8 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004937/0.1303, allocations: 115.8 kB / 483 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1303, allocations: 4 kB / 483 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.1303, allocations: 12 kB / 483 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.1324, allocations: 3.668 MB / 486.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1324, allocations: 0 / 486.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.133, allocations: 353.9 kB / 487 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/0.1331, allocations: 104.7 kB / 487.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.609e-05/0.1331, allocations: 4 kB / 487.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.1333, allocations: 7.984 kB / 487.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.1334, allocations: 20.08 kB / 487.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.1334, allocations: 11.98 kB / 487.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002818/0.1337, allocations: 253.9 kB / 487.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1337, allocations: 0 / 487.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000377/0.1341, allocations: 75.97 kB / 487.5 MB, free: 11.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002587/0.1343, allocations: 139.1 kB / 487.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009322/0.1353, allocations: 319.6 kB / 487.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1353, allocations: 384 / 487.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006028/0.1359, allocations: 195.8 kB / 488.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.1364, allocations: 56.56 kB / 488.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000973/0.1373, allocations: 0.6665 MB / 488.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.1377, allocations: 0.8026 MB / 489.6 MB, free: 9.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001575/0.1379, allocations: 54.25 kB / 489.7 MB, free: 9.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.1379, allocations: 27.42 kB / 489.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1379, allocations: 0 / 489.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of Templates: time 0.009/0.1469, allocations: 5.212 MB / 494.9 MB, free: 3.863 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection_KC/kc_approxForcedConvection_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches