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.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,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.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,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.|velocity.1.|velocity.2.|velocity.3.|Nu.1.|Nu.2.|Nu.3.|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|input_v_0.y|input_v_1.y|input_v_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009501/0.0009503, allocations: 189.4 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.002/1.002, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000859/0.000859, allocations: 93.06 kB / 261.4 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1481/0.1481, allocations: 43.49 MB / 352.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.681e-06/5.711e-06, allocations: 0 / 417.7 MB, free: 40.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2143, allocations: 58.84 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1076/0.3219, allocations: 89.91 MB / 0.5532 GB, free: 9.008 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.3222, allocations: 95.92 kB / 0.5533 GB, free: 8.914 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01645/0.3387, allocations: 5.939 MB / 0.5591 GB, free: 2.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3387, allocations: 4 kB / 0.5591 GB, free: 2.926 MB / 394.7 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.0006927/0.3394, allocations: 490.1 kB / 0.5596 GB, free: 2.398 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3395, allocations: 12.03 kB / 0.5596 GB, free: 2.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.351e-05/0.3395, allocations: 23.66 kB / 0.5596 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.3398, allocations: 222.8 kB / 0.5598 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3398, allocations: 4 kB / 0.5598 GB, free: 2.102 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.3398, allocations: 8 kB / 0.5598 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002471/0.3401, allocations: 136.3 kB / 0.56 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.3404, allocations: 234.4 kB / 0.5602 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3404, allocations: 0 / 0.5602 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.3404, allocations: 0 / 0.5602 GB, free: 1.711 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.3405, allocations: 20.22 kB / 0.5602 GB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009404/0.3414, allocations: 0.7674 MB / 0.561 GB, free: 0.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.3416, allocations: 163.6 kB / 0.5611 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3418, allocations: 78.53 kB / 0.5612 GB, free: 0.6016 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.3418, allocations: 11.97 kB / 0.5612 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.3418, allocations: 38.69 kB / 0.5612 GB, free: 0.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.3418, allocations: 0 / 0.5612 GB, free: 0.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.000398/0.3422, allocations: 173.3 kB / 0.5614 GB, free: 376 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.3423, allocations: 106.8 kB / 0.5615 GB, free: 244 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.3425, allocations: 170.7 kB / 0.5617 GB, free: 64 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.3425, allocations: 25.7 kB / 0.5617 GB, free: 32 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.3426, allocations: 128 kB / 0.5618 GB, free: 15.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.3426, allocations: 39.45 kB / 0.5618 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/0.3426, allocations: 0 / 0.5618 GB, free: 15.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3427, allocations: 330.9 kB / 0.5622 GB, free: 15.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.3428, allocations: 63.95 kB / 0.5622 GB, free: 15.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.343, allocations: 105.1 kB / 0.5623 GB, free: 15.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.3431, allocations: 84.67 kB / 0.5624 GB, free: 15.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3431, allocations: 0 / 0.5624 GB, free: 15.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003625/0.3435, allocations: 221.3 kB / 0.5626 GB, free: 15.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.3435, allocations: 4 kB / 0.5626 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.3435, allocations: 12 kB / 0.5626 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.3436, allocations: 0 / 0.5626 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.3438, allocations: 48.11 kB / 0.5627 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.3438, allocations: 7.938 kB / 0.5627 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.3441, allocations: 43.75 kB / 0.5627 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.3441, allocations: 7.984 kB / 0.5627 GB, free: 14.92 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.333e-05/0.3442, allocations: 112.3 kB / 0.5628 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.81e-05/0.3443, allocations: 11.91 kB / 0.5629 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.3446, allocations: 214.8 kB / 0.5631 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3446, allocations: 0 / 0.5631 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3446, allocations: 4 kB / 0.5631 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3446, allocations: 4 kB / 0.5631 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.345, allocations: 226 kB / 0.5633 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/0.345, allocations: 11.98 kB / 0.5633 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.3452, allocations: 39.97 kB / 0.5633 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.3452, allocations: 4 kB / 0.5633 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.3452, allocations: 7.984 kB / 0.5633 GB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3452, allocations: 3.938 kB / 0.5633 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3453, allocations: 0 / 0.5633 GB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003442/0.3456, allocations: 445.2 kB / 0.5638 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.3457, allocations: 92.94 kB / 0.5639 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.3457, allocations: 3.906 kB / 0.5639 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.346, allocations: 27.98 kB / 0.5639 GB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.346, allocations: 15.97 kB / 0.5639 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.3461, allocations: 4 kB / 0.5639 GB, free: 13.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.931e-05/0.3462, allocations: 137.2 kB / 0.564 GB, free: 13.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000383/0.3466, allocations: 79.77 kB / 0.5641 GB, free: 13.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000232/0.3468, allocations: 167.1 kB / 0.5643 GB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.3471, allocations: 237 kB / 0.5645 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3471, allocations: 0 / 0.5645 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.3473, allocations: 153 kB / 0.5646 GB, free: 12.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.3476, allocations: 20.17 kB / 0.5647 GB, free: 12.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007651/0.3483, allocations: 297.8 kB / 0.5649 GB, free: 12.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/0.3487, allocations: 0.7734 MB / 0.5657 GB, free: 11.67 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3487, allocations: 0 / 0.5657 GB, free: 11.67 MB / 410.7 MB Notification: Performance of Templates: time 0.005148/0.3539, allocations: 2.916 MB / 0.5686 GB, free: 8.766 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches