Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001699/0.001699, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001802/0.001802, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2244/0.2244, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 79.66 kB / 417.6 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.116, allocations: 62.45 MB / 480 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003884/0.1199, allocations: 2.002 MB / 482 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.1217, allocations: 0.8373 MB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.1219, allocations: 4 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.1222, allocations: 67.59 kB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004301/0.1226, allocations: 119.4 kB / 483.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.123, allocations: 63.8 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.1234, allocations: 314.6 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.516e-05/0.1235, allocations: 32.39 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.1238, allocations: 131.3 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.1241, allocations: 151.3 kB / 483.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.1241, allocations: 8 kB / 483.8 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.1244, allocations: 127.8 kB / 483.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.1245, allocations: 59.75 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.1246, allocations: 119.2 kB / 484.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00046/0.1251, allocations: 339 kB / 484.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1251, allocations: 4 kB / 484.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.1251, allocations: 0 / 484.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.1252, allocations: 3.938 kB / 484.4 MB, free: 0.9141 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.0009002/0.1261, allocations: 0.56 MB / 485 MB, free: 316 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1261, allocations: 8.031 kB / 485 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.1262, allocations: 36.56 kB / 485 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.1265, allocations: 244.4 kB / 485.2 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.1265, allocations: 28.48 kB / 485.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.1266, allocations: 24 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006451/0.1272, allocations: 393.2 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1272, allocations: 3.984 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.1273, allocations: 11.98 kB / 485.7 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-05/0.1273, allocations: 32.62 kB / 485.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007274/0.1281, allocations: 414.2 kB / 486.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.1294, allocations: 0.8656 MB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.13, allocations: 274.3 kB / 487.3 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.1302, allocations: 92.77 kB / 487.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.1303, allocations: 7.984 kB / 487.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1303, allocations: 34.56 kB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.1303, allocations: 0 / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008143/0.1311, allocations: 339.3 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.1312, allocations: 55.41 kB / 487.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/0.1315, allocations: 347.2 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1316, allocations: 29.7 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1317, allocations: 164.2 kB / 488.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/0.1318, allocations: 55.3 kB / 488.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/0.1318, allocations: 49.7 kB / 488.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.132, allocations: 338.8 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002228/0.1322, allocations: 99.84 kB / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.1325, allocations: 137.9 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004701/0.133, allocations: 248.3 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.133, allocations: 0 / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005855/0.1336, allocations: 304.9 kB / 489.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1336, allocations: 10.34 kB / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1336, allocations: 0 / 489.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1336, allocations: 4 kB / 489.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.1342, allocations: 115.9 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.1363, allocations: 3.672 MB / 493.3 MB, free: 7.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.1365, allocations: 35.62 kB / 493.3 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.1366, allocations: 15.98 kB / 493.4 MB, free: 7.547 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.0001825/0.1368, allocations: 174 kB / 493.5 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.1368, allocations: 27.66 kB / 493.6 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006671/0.1375, allocations: 323.2 kB / 493.9 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1375, allocations: 4 kB / 493.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1375, allocations: 4 kB / 493.9 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1375, allocations: 0 / 493.9 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.1379, allocations: 305.3 kB / 494.2 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1379, allocations: 0 / 494.2 MB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.1384, allocations: 115.8 kB / 494.3 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1384, allocations: 4 kB / 494.3 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1384, allocations: 0 / 494.3 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.1404, allocations: 3.668 MB / 498 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1404, allocations: 4 kB / 498 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005234/0.1409, allocations: 358 kB / 498.3 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.701e-05/0.141, allocations: 104.8 kB / 498.4 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.1411, allocations: 11.98 kB / 498.4 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.1412, allocations: 4 kB / 498.4 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.1413, allocations: 19.97 kB / 498.5 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.1413, allocations: 4 kB / 498.5 MB, free: 2.203 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002406/0.1416, allocations: 253.9 kB / 498.7 MB, free: 1.961 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1416, allocations: 4 kB / 498.7 MB, free: 1.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.142, allocations: 71.97 kB / 498.8 MB, free: 1.887 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.000236/0.1422, allocations: 127.2 kB / 498.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009187/0.1431, allocations: 319.8 kB / 499.2 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1431, allocations: 0 / 499.2 MB, free: 1.441 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005776/0.1437, allocations: 195.7 kB / 499.4 MB, free: 1.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.1441, allocations: 64.73 kB / 499.5 MB, free: 1.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.1452, allocations: 0.5899 MB / 0.4883 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.1456, allocations: 0.8025 MB / 0.4891 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001613/0.1458, allocations: 74.2 kB / 0.4892 GB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.1458, allocations: 19.44 kB / 0.4892 GB, free: 15.65 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1458, allocations: 0 / 0.4892 GB, free: 15.65 MB / 382.1 MB Notification: Performance of Templates: time 0.009785/0.1556, allocations: 5.263 MB / 0.4944 GB, free: 10.46 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches