Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_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.Plate.kc_overall_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|velocity.1.|velocity.2.|velocity.3.|kc.1.|kc.2.|kc.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_Nu.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001235/0.001235, allocations: 192 kB / 18.55 MB, free: 4.566 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.337/1.337, allocations: 222.9 MB / 242.2 MB, free: 15.18 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.2045/0.2045, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001195, allocations: 59.75 kB / 408.5 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1261, allocations: 60.82 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC): time 0.003394/0.1295, allocations: 1.673 MB / 470.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.1315, allocations: 1.242 MB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.1316, allocations: 7.938 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.1319, allocations: 35.81 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002799/0.1322, allocations: 63.72 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.1327, allocations: 175.2 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.1329, allocations: 151.3 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.839e-05/0.133, allocations: 13.41 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.756e-05/0.1331, allocations: 63.7 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.1332, allocations: 75.72 kB / 472.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.1333, allocations: 8 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.1336, allocations: 167.6 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.43e-05/0.1337, allocations: 47.81 kB / 473 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.1338, allocations: 67.61 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004577/0.1343, allocations: 243.5 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1343, allocations: 0 / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1343, allocations: 0 / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.1343, allocations: 0 / 473.3 MB, free: 10.32 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001026/0.1353, allocations: 478.7 kB / 473.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.1354, allocations: 8.031 kB / 473.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.1372, allocations: 200.5 kB / 474 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.1376, allocations: 232 kB / 474.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1376, allocations: 4.375 kB / 474.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.1376, allocations: 12.38 kB / 474.2 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006201/0.1383, allocations: 364 kB / 474.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.1383, allocations: 0 / 474.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.1383, allocations: 4 kB / 474.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.1384, allocations: 27.92 kB / 474.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006901/0.1391, allocations: 367.6 kB / 474.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.1407, allocations: 0.7928 MB / 475.7 MB, free: 7.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006497/0.1414, allocations: 349.2 kB / 476.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.1417, allocations: 124.8 kB / 476.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.1417, allocations: 7.984 kB / 476.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1417, allocations: 30.56 kB / 476.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.1417, allocations: 0 / 476.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001039/0.1428, allocations: 436.9 kB / 476.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.1428, allocations: 55.41 kB / 476.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.1432, allocations: 214.4 kB / 476.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.1432, allocations: 29.7 kB / 477 MB, free: 6.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.1434, allocations: 123.9 kB / 477.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.1435, allocations: 43.36 kB / 477.1 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1436, allocations: 57.66 kB / 477.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.1438, allocations: 330.8 kB / 477.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.144, allocations: 120 kB / 477.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.1444, allocations: 159.1 kB / 477.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005387/0.1449, allocations: 291.1 kB / 478.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.1449, allocations: 7.938 kB / 478.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006537/0.1456, allocations: 351.4 kB / 478.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1456, allocations: 7.938 kB / 478.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1456, allocations: 4 kB / 478.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1456, allocations: 4.094 kB / 478.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02353/0.1692, allocations: 1.455 MB / 479.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03821/0.2074, allocations: 12.33 MB / 492.2 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.2079, allocations: 27.67 kB / 492.2 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.2079, allocations: 19.97 kB / 492.3 MB, free: 6.246 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (16): * Single equations (assignments): 10 * 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.0002091/0.2082, allocations: 141.7 kB / 492.4 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.2082, allocations: 19.88 kB / 492.4 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.4e-05/0.2083, allocations: 33.5 kB / 492.4 MB, free: 6.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2083, allocations: 4 kB / 492.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.2084, allocations: 0 / 492.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2084, allocations: 0 / 492.4 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.2088, allocations: 289.4 kB / 492.7 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2088, allocations: 0 / 492.7 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02278/0.2316, allocations: 1.455 MB / 494.2 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-05/0.2316, allocations: 64 / 494.2 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.207e-05/0.2317, allocations: 19.91 kB / 494.2 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03815/0.2699, allocations: 12.33 MB / 0.4947 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.2699, allocations: 0 / 0.4947 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/0.2706, allocations: 415.1 kB / 0.4951 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.2707, allocations: 96.86 kB / 0.4951 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/0.2708, allocations: 11.98 kB / 0.4952 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.2711, allocations: 4 kB / 0.4952 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/0.2713, allocations: 63.8 kB / 0.4952 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.2713, allocations: 15.97 kB / 0.4952 GB, free: 6.426 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.2716, allocations: 179 kB / 0.4954 GB, free: 6.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2716, allocations: 0 / 0.4954 GB, free: 6.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007013/0.2723, allocations: 116 kB / 0.4955 GB, free: 6.137 MB / 382.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 (13): * Single equations (assignments): 7 * 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.0002591/0.2725, allocations: 135.2 kB / 0.4957 GB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01989/0.2924, allocations: 1.424 MB / 0.497 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/0.2925, allocations: 0 / 0.497 GB, free: 4.566 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01932/0.3118, allocations: 1.279 MB / 0.4983 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.3123, allocations: 31.97 kB / 0.4983 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.3134, allocations: 489.4 kB / 0.4988 GB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.3137, allocations: 0.7359 MB / 0.4995 GB, free: 1.992 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.3138, allocations: 49.5 kB / 0.4996 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.3139, allocations: 23.44 kB / 0.4996 GB, free: 1.922 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3139, allocations: 0 / 0.4996 GB, free: 1.922 MB / 382.1 MB Notification: Performance of Templates: time 0.2051/0.519, allocations: 6.131 MB / 0.5056 GB, free: 48.85 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches