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_laminar.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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 108.7 kB / 17.21 MB, free: 6.27 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.001494/0.001494, allocations: 194 kB / 18.12 MB, free: 5.363 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.42/1.42, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.2421/0.2421, allocations: 44.17 MB / 336.1 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 68.92 kB / 407.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1326, allocations: 60.83 MB / 468.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003223/0.1359, allocations: 1.862 MB / 470.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1373, allocations: 0.9581 MB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.261e-05/0.1374, allocations: 0 / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.1377, allocations: 47.8 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.1379, allocations: 51.73 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.1382, allocations: 103.6 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.1385, allocations: 295.1 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.251e-05/0.1386, allocations: 17.56 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.1388, allocations: 75.64 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.1389, allocations: 111.5 kB / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.139, allocations: 4 kB / 472.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.1392, allocations: 111.9 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.266e-05/0.1393, allocations: 55.73 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.985e-05/0.1394, allocations: 75.53 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.1397, allocations: 235.4 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1397, allocations: 4 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1398, allocations: 4 kB / 472.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1398, allocations: 0 / 472.5 MB, free: 10.8 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.001077/0.1408, allocations: 0.5222 MB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1409, allocations: 8.031 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.141, allocations: 24.75 kB / 473.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1412, allocations: 219.9 kB / 473.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1412, allocations: 16.61 kB / 473.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.1413, allocations: 8.359 kB / 473.3 MB, free: 9.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005408/0.1418, allocations: 266.9 kB / 473.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.1418, allocations: 0 / 473.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.1419, allocations: 4 kB / 473.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.1419, allocations: 24.16 kB / 473.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005546/0.1425, allocations: 228.4 kB / 473.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1435, allocations: 0.8023 MB / 474.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000399/0.1439, allocations: 191.7 kB / 474.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002593/0.1442, allocations: 106.6 kB / 474.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.1443, allocations: 3.984 kB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1443, allocations: 34.56 kB / 475 MB, free: 8.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.1443, allocations: 4 kB / 475 MB, free: 8.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009086/0.1452, allocations: 313.1 kB / 475.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.304e-05/0.1453, allocations: 107.1 kB / 475.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.1455, allocations: 264.9 kB / 475.6 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1456, allocations: 29.7 kB / 475.7 MB, free: 7.395 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.1457, allocations: 131.9 kB / 475.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.1457, allocations: 35.45 kB / 475.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.1458, allocations: 37.7 kB / 475.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1459, allocations: 334.8 kB / 476.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.1462, allocations: 95.89 kB / 476.3 MB, free: 6.754 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.1465, allocations: 137 kB / 476.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.147, allocations: 220.9 kB / 476.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.147, allocations: 0 / 476.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006506/0.1477, allocations: 289.3 kB / 476.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1477, allocations: 6.188 kB / 476.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.1477, allocations: 8 kB / 476.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1478, allocations: 7.984 kB / 476.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.148, allocations: 44.11 kB / 477 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.148, allocations: 4 kB / 477 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.1482, allocations: 35.66 kB / 477 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.1483, allocations: 12 kB / 477 MB, free: 5.965 MB / 350.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.1484, allocations: 145.7 kB / 477.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.558e-05/0.1485, allocations: 15.81 kB / 477.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.149, allocations: 223.2 kB / 477.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.149, allocations: 0 / 477.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.149, allocations: 0 / 477.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.149, allocations: 4 kB / 477.4 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.1494, allocations: 257.5 kB / 477.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.1494, allocations: 12 kB / 477.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.1496, allocations: 27.97 kB / 477.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1496, allocations: 0 / 477.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.1496, allocations: 11.98 kB / 477.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1496, allocations: 0 / 477.7 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1496, allocations: 4 kB / 477.7 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/0.1503, allocations: 493.4 kB / 478.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.1504, allocations: 100.9 kB / 478.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.68e-05/0.1504, allocations: 0 / 478.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.1507, allocations: 19.97 kB / 478.3 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.1507, allocations: 15.98 kB / 478.3 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.1508, allocations: 11.92 kB / 478.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.1509, allocations: 188.5 kB / 478.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1509, allocations: 0 / 478.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004026/0.1513, allocations: 67.98 kB / 478.6 MB, free: 4.305 MB / 350.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000258/0.1516, allocations: 159.7 kB / 478.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006438/0.1523, allocations: 280.8 kB / 479 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1523, allocations: 0 / 479 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.1526, allocations: 177.3 kB / 479.2 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.1531, allocations: 47.97 kB / 479.2 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009574/0.1541, allocations: 0.4914 MB / 479.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1544, allocations: 0.7438 MB / 480.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.1546, allocations: 41.52 kB / 480.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.1546, allocations: 23.42 kB / 480.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1546, allocations: 0 / 480.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of Templates: time 0.006486/0.1611, allocations: 3.258 MB / 483.8 MB, free: 15.02 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Plate/kc_laminar/kc_laminar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches