Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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.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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009614/0.0009614, allocations: 97.08 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001139/0.001139, allocations: 193 kB / 17.91 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.7 MB / 246.4 MB, free: 11.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2012/0.2012, allocations: 46.18 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 8.219 kB / 418.9 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1462, allocations: 63.57 MB / 482.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.001992/0.1482, allocations: 1.396 MB / 483.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1493, allocations: 0.6862 MB / 484.5 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.233e-05/0.1494, allocations: 4 kB / 484.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.1496, allocations: 27.89 kB / 484.6 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.1498, allocations: 67.72 kB / 484.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001443/0.15, allocations: 43.83 kB / 484.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000249/0.1502, allocations: 207.3 kB / 484.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.952e-05/0.1503, allocations: 13.39 kB / 484.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.974e-05/0.1504, allocations: 59.72 kB / 484.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.1505, allocations: 79.73 kB / 485 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.1505, allocations: 4 kB / 485 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.1507, allocations: 63.81 kB / 485.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.1508, allocations: 43.88 kB / 485.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.739e-05/0.1508, allocations: 53.58 kB / 485.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.151, allocations: 112 kB / 485.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.151, allocations: 0 / 485.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.151, allocations: 4 kB / 485.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.151, allocations: 0 / 485.3 MB, free: 1.664 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.000623/0.1517, allocations: 438.8 kB / 485.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1517, allocations: 11.97 kB / 485.7 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000494/0.1522, allocations: 71.72 kB / 485.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.1524, allocations: 210.8 kB / 486 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.1525, allocations: 8 kB / 486 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.1525, allocations: 19.92 kB / 486 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.153, allocations: 264.6 kB / 486.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.153, allocations: 0 / 486.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.153, allocations: 4 kB / 486.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.465e-05/0.153, allocations: 15.98 kB / 486.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004635/0.1535, allocations: 255.7 kB / 486.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.1547, allocations: 0.6718 MB / 487.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.1551, allocations: 222.4 kB / 487.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.1553, allocations: 88.77 kB / 487.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.1553, allocations: 4 kB / 487.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.1554, allocations: 34.56 kB / 487.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.1554, allocations: 3.938 kB / 487.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.000668/0.156, allocations: 297.2 kB / 487.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.1561, allocations: 59.41 kB / 487.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.1563, allocations: 230.1 kB / 488.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.1564, allocations: 25.7 kB / 488.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.1564, allocations: 124 kB / 488.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.1565, allocations: 47.34 kB / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/0.1565, allocations: 4 kB / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1567, allocations: 326.8 kB / 488.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.1568, allocations: 91.78 kB / 488.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.157, allocations: 119.3 kB / 488.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.1573, allocations: 99.28 kB / 489 MB, free: 13.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1573, allocations: 0 / 489 MB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004859/0.1578, allocations: 261.2 kB / 489.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1578, allocations: 4 kB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.1578, allocations: 4 kB / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1578, allocations: 0 / 489.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/0.1601, allocations: 263.6 kB / 489.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008971/0.1691, allocations: 8.607 MB / 498.1 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.1694, allocations: 24.09 kB / 498.1 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.1694, allocations: 11.98 kB / 498.1 MB, free: 3.781 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001541/0.1695, allocations: 137.8 kB / 498.3 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.1696, allocations: 15.92 kB / 498.3 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000527/0.1701, allocations: 266.7 kB / 498.5 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1701, allocations: 3.984 kB / 498.5 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1702, allocations: 8 kB / 498.6 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1702, allocations: 0 / 498.6 MB, free: 3.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.1705, allocations: 237.4 kB / 498.8 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1705, allocations: 0 / 498.8 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/0.172, allocations: 211.7 kB / 499 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.172, allocations: 7.984 kB / 499 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.172, allocations: 0 / 499 MB, free: 2.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006993/0.179, allocations: 8.113 MB / 0.4952 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.179, allocations: 4.031 kB / 0.4952 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.1795, allocations: 303.2 kB / 0.4955 GB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.306e-05/0.1796, allocations: 100.8 kB / 0.4956 GB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.1797, allocations: 4 kB / 0.4956 GB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.1799, allocations: 15.98 kB / 0.4956 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.505e-05/0.1799, allocations: 15.91 kB / 0.4956 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.18, allocations: 4 kB / 0.4957 GB, free: 9.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.1802, allocations: 195.1 kB / 0.4958 GB, free: 9.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1802, allocations: 0 / 0.4958 GB, free: 9.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004724/0.1807, allocations: 67.94 kB / 0.4959 GB, free: 9.215 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001849/0.1809, allocations: 103.2 kB / 0.496 GB, free: 9.105 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002007/0.1829, allocations: 0.6113 MB / 0.4966 GB, free: 8.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1829, allocations: 0 / 0.4966 GB, free: 8.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.1841, allocations: 395.3 kB / 0.497 GB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003311/0.1845, allocations: 31.94 kB / 0.497 GB, free: 8.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009647/0.1855, allocations: 0.4976 MB / 0.4975 GB, free: 7.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.1858, allocations: 0.7521 MB / 0.4982 GB, free: 6.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003648/0.1862, allocations: 117.4 kB / 0.4983 GB, free: 6.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.1863, allocations: 43.39 kB / 0.4984 GB, free: 6.613 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1863, allocations: 0 / 0.4984 GB, free: 6.613 MB / 382.1 MB Notification: Performance of Templates: time 0.2364/0.4228, allocations: 7.293 MB / 0.5055 GB, free: 38.03 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches