Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_laminar_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 106.2 kB / 16.64 MB, free: 6.82 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.001552/0.001552, allocations: 194.5 kB / 17.56 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1939/0.1939, allocations: 43.52 MB / 314.3 MB, free: 0.7031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.00149, allocations: 74.47 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09114/0.09264, allocations: 57.79 MB / 440.7 MB, free: 7.328 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.002648/0.09533, allocations: 1.74 MB / 442.4 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.09638, allocations: 0.7566 MB / 443.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.856e-05/0.09647, allocations: 4 kB / 443.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.0967, allocations: 39.81 kB / 443.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.09699, allocations: 63.78 kB / 443.3 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.0972, allocations: 43.83 kB / 443.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.09741, allocations: 155.3 kB / 443.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.43e-05/0.09746, allocations: 17.34 kB / 443.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.09755, allocations: 63.7 kB / 443.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.09769, allocations: 87.64 kB / 443.6 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.09771, allocations: 4 kB / 443.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.09786, allocations: 71.83 kB / 443.7 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.09794, allocations: 47.88 kB / 443.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.098, allocations: 55.61 kB / 443.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.09818, allocations: 127.7 kB / 443.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.09819, allocations: 0 / 443.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.0982, allocations: 7.938 kB / 444 MB, free: 4.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.09821, allocations: 0 / 444 MB, free: 4.027 MB / 318.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.0005508/0.09876, allocations: 462.8 kB / 444.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.09881, allocations: 11.89 kB / 444.4 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006018/0.09941, allocations: 72.67 kB / 444.5 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.09958, allocations: 220 kB / 444.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.0996, allocations: 8.375 kB / 444.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.09963, allocations: 8.375 kB / 444.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.1, allocations: 264.1 kB / 445 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1001, allocations: 0 / 445 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.143e-05/0.1001, allocations: 8 kB / 445 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.1001, allocations: 15.98 kB / 445 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.1005, allocations: 239.7 kB / 445.2 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009713/0.1015, allocations: 0.664 MB / 445.9 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003373/0.1018, allocations: 222.3 kB / 446.1 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.102, allocations: 88.81 kB / 446.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.102, allocations: 7.984 kB / 446.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.1021, allocations: 34.5 kB / 446.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.1021, allocations: 0 / 446.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005722/0.1026, allocations: 285 kB / 446.5 MB, free: 1.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.1027, allocations: 59.41 kB / 446.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.1028, allocations: 222.4 kB / 446.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1028, allocations: 25.7 kB / 446.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.974e-05/0.1029, allocations: 116 kB / 446.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.1029, allocations: 43.3 kB / 447 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.103, allocations: 41.69 kB / 447 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.715e-05/0.1031, allocations: 330.8 kB / 447.3 MB, free: 420 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.1032, allocations: 83.91 kB / 447.4 MB, free: 336 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.1034, allocations: 111.3 kB / 447.5 MB, free: 212 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003086/0.1037, allocations: 199.2 kB / 447.7 MB, free: 0 / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.389e-05/0.1037, allocations: 208 / 447.7 MB, free: 16 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004916/0.1042, allocations: 261.1 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1043, allocations: 6.812 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1043, allocations: 0 / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1043, allocations: 4 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002626/0.1069, allocations: 267.8 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009788/0.1167, allocations: 9.257 MB / 457.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.117, allocations: 31.77 kB / 457.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.404e-05/0.1171, allocations: 7.984 kB / 457.6 MB, free: 5.324 MB / 334.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.0001518/0.1172, allocations: 151.7 kB / 457.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.1173, allocations: 19.88 kB / 457.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004993/0.1178, allocations: 230.9 kB / 457.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1178, allocations: 11.94 kB / 458 MB, free: 4.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.1178, allocations: 3.984 kB / 458 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1178, allocations: 0 / 458 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.1181, allocations: 245.4 kB / 458.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1181, allocations: 0 / 458.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/0.1199, allocations: 215.7 kB / 458.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.12, allocations: 0 / 458.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.12, allocations: 3.984 kB / 458.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007765/0.1277, allocations: 8.751 MB / 467.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1278, allocations: 0 / 467.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004508/0.1282, allocations: 294.8 kB / 467.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.945e-05/0.1283, allocations: 96.86 kB / 467.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/0.1284, allocations: 4 kB / 467.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.1286, allocations: 16.05 kB / 467.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/0.1287, allocations: 27.89 kB / 467.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1287, allocations: 4 kB / 467.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001672/0.1289, allocations: 187.1 kB / 467.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1289, allocations: 0 / 467.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004641/0.1293, allocations: 67.94 kB / 467.8 MB, free: 10.11 MB / 350.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.0001646/0.1295, allocations: 107.2 kB / 468 MB, free: 9.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003724/0.1332, allocations: 487.5 kB / 468.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.1333, allocations: 4 kB / 468.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002436/0.1357, allocations: 339.5 kB / 468.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.1361, allocations: 31.98 kB / 468.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.1371, allocations: 0.4969 MB / 469.3 MB, free: 8.613 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.1374, allocations: 0.7474 MB / 470 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.073e-05/0.1375, allocations: 19.44 kB / 470.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.1375, allocations: 0 / 470.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of Templates: time 0.008204/0.1457, allocations: 6.376 MB / 476.4 MB, free: 1.457 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar_KC/kc_laminar_KC.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches