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.001111/0.001112, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001064/0.001065, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.311/1.311, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.2075/0.2075, allocations: 44.19 MB / 336.6 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 69.19 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1198, allocations: 60.82 MB / 469.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003939/0.1238, allocations: 1.986 MB / 471.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1254, allocations: 0.8023 MB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.1256, allocations: 4 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.126, allocations: 67.59 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004423/0.1265, allocations: 119.4 kB / 472.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.1268, allocations: 63.8 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.1272, allocations: 314.6 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.1273, allocations: 36.38 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.1276, allocations: 131.3 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.1278, allocations: 147.4 kB / 472.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.1279, allocations: 8 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.1281, allocations: 123.8 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1283, allocations: 63.69 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.1284, allocations: 115.2 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004433/0.1288, allocations: 351 kB / 473.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1289, allocations: 0 / 473.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1289, allocations: 0 / 473.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.1289, allocations: 0 / 473.6 MB, free: 10.04 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.0009082/0.1298, allocations: 0.5536 MB / 474.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1298, allocations: 8.031 kB / 474.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.487e-05/0.1299, allocations: 32.56 kB / 474.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1302, allocations: 248.4 kB / 474.4 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1302, allocations: 20.5 kB / 474.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.1303, allocations: 35.98 kB / 474.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006308/0.1309, allocations: 389.2 kB / 474.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1309, allocations: 0 / 474.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.131, allocations: 8 kB / 474.8 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-05/0.131, allocations: 28.62 kB / 474.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/0.1318, allocations: 414.3 kB / 475.3 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.1331, allocations: 0.8733 MB / 476.2 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005752/0.1337, allocations: 285.8 kB / 476.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.1339, allocations: 92.77 kB / 476.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.1339, allocations: 4 kB / 476.5 MB, free: 6.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.134, allocations: 34.55 kB / 476.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.134, allocations: 0 / 476.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007453/0.1347, allocations: 340.4 kB / 476.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.1348, allocations: 59.39 kB / 476.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.1351, allocations: 347.2 kB / 477.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.1352, allocations: 29.7 kB / 477.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.1353, allocations: 160.3 kB / 477.5 MB, free: 5.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.1353, allocations: 55.14 kB / 477.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.051e-05/0.1354, allocations: 49.7 kB / 477.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1356, allocations: 346.8 kB / 477.9 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.1358, allocations: 87.91 kB / 478 MB, free: 5.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.136, allocations: 149.9 kB / 478.1 MB, free: 5.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.1364, allocations: 241.8 kB / 478.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1364, allocations: 4 kB / 478.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005252/0.137, allocations: 308.9 kB / 478.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.137, allocations: 7.938 kB / 478.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.137, allocations: 0 / 478.7 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.137, allocations: 4 kB / 478.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005108/0.1375, allocations: 107.9 kB / 478.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.1398, allocations: 3.676 MB / 482.5 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.14, allocations: 35.62 kB / 482.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.1401, allocations: 11.98 kB / 482.5 MB, free: 0.6719 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.0001919/0.1403, allocations: 176.8 kB / 482.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.1403, allocations: 27.66 kB / 482.7 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006403/0.141, allocations: 329.8 kB / 483.1 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.141, allocations: 4 kB / 483.1 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.141, allocations: 4 kB / 483.1 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.141, allocations: 0 / 483.1 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.1414, allocations: 305.5 kB / 483.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1414, allocations: 0 / 483.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.1418, allocations: 111.9 kB / 483.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.1419, allocations: 3.938 kB / 483.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.1419, allocations: 8 kB / 483.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.1438, allocations: 3.661 MB / 487.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1438, allocations: 0 / 487.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/0.1443, allocations: 355.1 kB / 487.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.692e-05/0.1444, allocations: 104.8 kB / 487.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.759e-05/0.1444, allocations: 11.98 kB / 487.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.1446, allocations: 4 kB / 487.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/0.1447, allocations: 15.98 kB / 487.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.1447, allocations: 11.92 kB / 487.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002478/0.145, allocations: 257.9 kB / 487.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.145, allocations: 0 / 487.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000349/0.1453, allocations: 71.84 kB / 488 MB, free: 11 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.0002395/0.1456, allocations: 135.3 kB / 488.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008921/0.1465, allocations: 315.8 kB / 488.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1465, allocations: 0 / 488.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005537/0.147, allocations: 190.5 kB / 488.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.1475, allocations: 72.45 kB / 488.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009611/0.1484, allocations: 0.6003 MB / 489.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.1488, allocations: 0.7987 MB / 490 MB, free: 8.859 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.149, allocations: 62.23 kB / 490.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.173e-05/0.149, allocations: 23.42 kB / 490.1 MB, free: 8.773 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.149, allocations: 4 kB / 490.1 MB, free: 8.77 MB / 366.1 MB Notification: Performance of Templates: time 0.01053/0.1596, allocations: 5.266 MB / 495.4 MB, free: 3.586 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