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.001057/0.001057, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.0009768/0.0009769, allocations: 191 kB / 19.34 MB, free: 3.766 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.351/1.351, allocations: 222.9 MB / 243 MB, free: 15.14 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.199/0.199, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 68.48 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1229, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003248/0.1261, allocations: 1.998 MB / 472.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1275, allocations: 0.8062 MB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1277, allocations: 4 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.128, allocations: 63.66 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003451/0.1283, allocations: 119.4 kB / 473.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.1286, allocations: 67.73 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.129, allocations: 314.5 kB / 474.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.876e-05/0.1291, allocations: 36.38 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.1293, allocations: 119.4 kB / 474.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.1295, allocations: 147.3 kB / 474.4 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.1296, allocations: 12 kB / 474.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.1299, allocations: 131.8 kB / 474.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.13, allocations: 59.75 kB / 474.6 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.1302, allocations: 115.2 kB / 474.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004255/0.1306, allocations: 346.7 kB / 475 MB, free: 9.305 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1306, allocations: 0 / 475 MB, free: 9.305 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1306, allocations: 0 / 475 MB, free: 9.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.1306, allocations: 0 / 475 MB, free: 9.305 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.0008545/0.1315, allocations: 0.5576 MB / 475.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1315, allocations: 12.03 kB / 475.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/0.1316, allocations: 32.5 kB / 475.6 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.1319, allocations: 248.4 kB / 475.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.132, allocations: 28.48 kB / 475.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.132, allocations: 20 kB / 475.9 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006371/0.1327, allocations: 389.2 kB / 476.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.1327, allocations: 0 / 476.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.1327, allocations: 11.98 kB / 476.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.351e-05/0.1328, allocations: 40.56 kB / 476.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.1335, allocations: 410.3 kB / 476.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.1348, allocations: 0.8695 MB / 477.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005646/0.1354, allocations: 281.3 kB / 477.9 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.1356, allocations: 92.77 kB / 478 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.1356, allocations: 4 kB / 478 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.1357, allocations: 30.56 kB / 478 MB, free: 6.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.1357, allocations: 0 / 478 MB, free: 6.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008645/0.1365, allocations: 340.1 kB / 478.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.1366, allocations: 59.41 kB / 478.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.1369, allocations: 351.2 kB / 478.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.137, allocations: 29.7 kB / 478.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.716e-05/0.1371, allocations: 164.1 kB / 478.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.349e-05/0.1371, allocations: 51.36 kB / 479 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.137e-05/0.1372, allocations: 49.7 kB / 479 MB, free: 5.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1373, allocations: 342.8 kB / 479.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.1375, allocations: 95.89 kB / 479.5 MB, free: 4.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.1378, allocations: 137.9 kB / 479.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.1382, allocations: 241.8 kB / 479.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.1382, allocations: 4 kB / 479.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005408/0.1387, allocations: 304.9 kB / 480.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1388, allocations: 4 kB / 480.1 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.1388, allocations: 3.938 kB / 480.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.1388, allocations: 4 kB / 480.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.1393, allocations: 115.9 kB / 480.3 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/0.1414, allocations: 3.672 MB / 483.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.1416, allocations: 39.61 kB / 484 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.1416, allocations: 8 kB / 484 MB, free: 15.94 MB / 366.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.0001804/0.1418, allocations: 177.9 kB / 484.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.1418, allocations: 27.66 kB / 484.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006393/0.1425, allocations: 326.7 kB / 484.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1425, allocations: 4 kB / 484.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1425, allocations: 0 / 484.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.1425, allocations: 0 / 484.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.1429, allocations: 313.3 kB / 484.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1429, allocations: 0 / 484.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004625/0.1433, allocations: 111.8 kB / 484.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1433, allocations: 0 / 484.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.1434, allocations: 11.98 kB / 484.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.1452, allocations: 3.661 MB / 488.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1452, allocations: 0 / 488.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.1457, allocations: 351 kB / 488.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.354e-05/0.1458, allocations: 108.9 kB / 489 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.1458, allocations: 8 kB / 489.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.146, allocations: 7.984 kB / 489.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.1461, allocations: 15.98 kB / 489.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1461, allocations: 4 kB / 489.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002434/0.1463, allocations: 257.9 kB / 489.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1464, allocations: 0 / 489.3 MB, free: 10.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003369/0.1467, allocations: 75.97 kB / 489.4 MB, free: 10.28 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.0002066/0.1469, allocations: 130.8 kB / 489.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008283/0.1477, allocations: 303.9 kB / 489.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1478, allocations: 0 / 489.8 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.1483, allocations: 191.8 kB / 490 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.1487, allocations: 68.53 kB / 490.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008953/0.1496, allocations: 0.5821 MB / 490.7 MB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.15, allocations: 0.8064 MB / 491.5 MB, free: 8.156 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001488/0.1501, allocations: 66.22 kB / 491.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.61e-05/0.1502, allocations: 19.44 kB / 491.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1502, allocations: 0 / 491.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of Templates: time 0.009235/0.1594, allocations: 5.305 MB / 496.9 MB, free: 2.852 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 -s gbode -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