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.001183/0.001184, allocations: 111.4 kB / 17.86 MB, free: 5.504 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.001832/0.001832, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.386/1.386, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2196/0.2196, allocations: 44.17 MB / 336.8 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 64.02 kB / 408.4 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1143, allocations: 60.82 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003649/0.118, allocations: 2.062 MB / 471.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1196, allocations: 0.8024 MB / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.1198, allocations: 0 / 472.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.1201, allocations: 67.66 kB / 472.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003948/0.1206, allocations: 107.5 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1208, allocations: 59.8 kB / 472.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004655/0.1213, allocations: 450.4 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.111e-05/0.1214, allocations: 32.39 kB / 472.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.1216, allocations: 111.4 kB / 472.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.1219, allocations: 155.3 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.1219, allocations: 4 kB / 473 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.1222, allocations: 135.8 kB / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1223, allocations: 63.73 kB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.1225, allocations: 111.2 kB / 473.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003289/0.1228, allocations: 247.5 kB / 473.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1228, allocations: 4 kB / 473.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1228, allocations: 0 / 473.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1228, allocations: 0 / 473.6 MB, free: 10.39 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.0009876/0.1238, allocations: 0.5615 MB / 474.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1239, allocations: 8.031 kB / 474.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.1239, allocations: 32.56 kB / 474.2 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1242, allocations: 245.9 kB / 474.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.1242, allocations: 24.48 kB / 474.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.1243, allocations: 31.92 kB / 474.5 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006275/0.1249, allocations: 393.2 kB / 474.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1249, allocations: 0 / 474.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.125, allocations: 12 kB / 474.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.513e-05/0.125, allocations: 32.62 kB / 474.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007188/0.1258, allocations: 406.3 kB / 475.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.1272, allocations: 0.8773 MB / 476.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/0.1278, allocations: 270.3 kB / 476.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.128, allocations: 92.78 kB / 476.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.128, allocations: 11.98 kB / 476.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.128, allocations: 34.5 kB / 476.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.128, allocations: 4 kB / 476.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007375/0.1288, allocations: 329.1 kB / 476.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.1288, allocations: 51.41 kB / 476.9 MB, free: 6.836 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.1292, allocations: 351.2 kB / 477.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.1292, allocations: 29.7 kB / 477.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1293, allocations: 168.1 kB / 477.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/0.1294, allocations: 55.36 kB / 477.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.665e-05/0.1295, allocations: 49.7 kB / 477.6 MB, free: 6.172 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1296, allocations: 342.8 kB / 477.9 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.1299, allocations: 91.89 kB / 478 MB, free: 5.738 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.1301, allocations: 137.9 kB / 478.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.1305, allocations: 252.5 kB / 478.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1306, allocations: 0 / 478.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005476/0.1311, allocations: 296.9 kB / 478.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1311, allocations: 8 kB / 478.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.1311, allocations: 0 / 478.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1312, allocations: 4 kB / 478.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.1317, allocations: 120.1 kB / 478.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.1337, allocations: 3.661 MB / 482.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.1339, allocations: 47.58 kB / 482.5 MB, free: 1.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.1339, allocations: 16 kB / 482.5 MB, free: 1.027 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.0002257/0.1342, allocations: 169.7 kB / 482.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.1342, allocations: 27.66 kB / 482.7 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006735/0.1349, allocations: 327.2 kB / 483 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1349, allocations: 0 / 483 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1349, allocations: 4 kB / 483 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1349, allocations: 3.938 kB / 483.1 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.1353, allocations: 305.3 kB / 483.3 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.1353, allocations: 3.984 kB / 483.4 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/0.1358, allocations: 111.9 kB / 483.5 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1358, allocations: 4 kB / 483.5 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1359, allocations: 0 / 483.5 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.1377, allocations: 3.668 MB / 487.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1377, allocations: 288 / 487.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/0.1383, allocations: 361.8 kB / 487.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.35e-05/0.1384, allocations: 104.8 kB / 487.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.1385, allocations: 8 kB / 487.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.1386, allocations: 4 kB / 487.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.1387, allocations: 15.97 kB / 487.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.1387, allocations: 8 kB / 487.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002652/0.139, allocations: 257.9 kB / 487.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.139, allocations: 0 / 487.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003672/0.1394, allocations: 79.97 kB / 488 MB, free: 11.36 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.0002542/0.1396, allocations: 129 kB / 488.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009036/0.1405, allocations: 299.6 kB / 488.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1406, allocations: 0 / 488.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005915/0.1412, allocations: 196.1 kB / 488.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.1416, allocations: 60.55 kB / 488.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.1427, allocations: 0.6799 MB / 489.3 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.143, allocations: 0.7948 MB / 490.1 MB, free: 9.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.1431, allocations: 23.44 kB / 490.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1431, allocations: 0 / 490.1 MB, free: 9.133 MB / 366.1 MB Notification: Performance of Templates: time 0.01392/0.1571, allocations: 11.18 MB / 0.4896 GB, free: 13.97 MB / 382.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/jenkins1/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/jenkins1/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