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.001279/0.001279, allocations: 106.8 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.001291, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.1 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 75.94 kB / 416.9 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.118, allocations: 62.44 MB / 479.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003322/0.1214, allocations: 2.074 MB / 481.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.1229, allocations: 0.8374 MB / 482.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.643e-05/0.1229, allocations: 0 / 482.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.1233, allocations: 63.72 kB / 482.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.1236, allocations: 111.5 kB / 482.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.1238, allocations: 59.8 kB / 482.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000435/0.1243, allocations: 450.4 kB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.564e-05/0.1244, allocations: 36.38 kB / 482.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.1246, allocations: 115.4 kB / 483 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.1249, allocations: 155.3 kB / 483.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.1249, allocations: 8 kB / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.1252, allocations: 119.8 kB / 483.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1254, allocations: 71.67 kB / 483.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.1255, allocations: 111.3 kB / 483.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005198/0.1261, allocations: 338.9 kB / 483.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1261, allocations: 0 / 483.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1261, allocations: 0 / 483.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.1261, allocations: 0 / 483.8 MB, free: 1.168 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.001085/0.1272, allocations: 0.5654 MB / 484.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1273, allocations: 12.88 kB / 484.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.579e-05/0.1273, allocations: 32.56 kB / 484.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.1277, allocations: 240.4 kB / 484.7 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.059e-05/0.1277, allocations: 24.5 kB / 484.7 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.1277, allocations: 27.98 kB / 484.7 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.1284, allocations: 393.2 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1284, allocations: 0 / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.1285, allocations: 15.94 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.353e-05/0.1285, allocations: 24.64 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006886/0.1292, allocations: 414.3 kB / 485.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.1305, allocations: 0.8695 MB / 486.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.1311, allocations: 273.1 kB / 486.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.1313, allocations: 96.77 kB / 486.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.1313, allocations: 8 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1314, allocations: 38.55 kB / 486.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.1314, allocations: 0 / 486.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007317/0.1321, allocations: 333.1 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.1322, allocations: 51.41 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.1325, allocations: 355.2 kB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.1325, allocations: 25.7 kB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.1326, allocations: 164.1 kB / 487.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.1327, allocations: 55.28 kB / 487.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.697e-05/0.1328, allocations: 49.7 kB / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1329, allocations: 342.8 kB / 488.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.1331, allocations: 95.84 kB / 488.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.1334, allocations: 133.9 kB / 488.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.1338, allocations: 252.5 kB / 488.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1338, allocations: 4 kB / 488.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005405/0.1343, allocations: 300.9 kB / 488.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.1344, allocations: 6.656 kB / 489 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1344, allocations: 4 kB / 489 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1344, allocations: 4 kB / 489 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.1349, allocations: 111.9 kB / 489.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.1368, allocations: 3.668 MB / 492.7 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.137, allocations: 31.88 kB / 492.8 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.137, allocations: 15.98 kB / 492.8 MB, free: 7.82 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.0001901/0.1372, allocations: 178.2 kB / 493 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.089e-05/0.1373, allocations: 27.66 kB / 493 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006553/0.138, allocations: 335.1 kB / 493.3 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.138, allocations: 3.984 kB / 493.3 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.138, allocations: 0 / 493.3 MB, free: 7.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.138, allocations: 4 kB / 493.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.1383, allocations: 301.3 kB / 493.6 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1383, allocations: 0 / 493.6 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.1388, allocations: 111.9 kB / 493.7 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1388, allocations: 0 / 493.7 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.1389, allocations: 8 kB / 493.7 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001816/0.1407, allocations: 3.668 MB / 497.4 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.1407, allocations: 7.938 kB / 497.4 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.1412, allocations: 354.4 kB / 497.8 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.073e-05/0.1413, allocations: 100.8 kB / 497.9 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.1413, allocations: 11.98 kB / 497.9 MB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.1415, allocations: 4 kB / 497.9 MB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.1416, allocations: 15.97 kB / 497.9 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.1416, allocations: 8 kB / 497.9 MB, free: 2.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002351/0.1418, allocations: 253.9 kB / 498.1 MB, free: 2.223 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1418, allocations: 4 kB / 498.1 MB, free: 2.219 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.1422, allocations: 71.84 kB / 498.2 MB, free: 2.148 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.0002192/0.1424, allocations: 131.2 kB / 498.3 MB, free: 2.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008428/0.1433, allocations: 299.6 kB / 498.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1433, allocations: 0 / 498.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005887/0.1439, allocations: 199.7 kB / 498.8 MB, free: 1.523 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.1443, allocations: 56.94 kB / 498.9 MB, free: 1.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009359/0.1453, allocations: 0.6642 MB / 499.5 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.1457, allocations: 0.8026 MB / 0.4886 GB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.1458, allocations: 66.22 kB / 0.4887 GB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.1459, allocations: 19.44 kB / 0.4887 GB, free: 15.86 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1459, allocations: 0 / 0.4887 GB, free: 15.86 MB / 382.1 MB Notification: Performance of Templates: time 0.00894/0.1548, allocations: 5.003 MB / 0.4936 GB, free: 10.93 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