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.001407/0.001407, allocations: 108.5 kB / 17.32 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001816/0.001816, allocations: 201.8 kB / 18.26 MB, free: 4.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2061/0.2061, allocations: 46.09 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 82.08 kB / 417.1 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1594, allocations: 62.45 MB / 479.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003726/0.1631, allocations: 1.758 MB / 481.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1648, allocations: 0.744 MB / 482 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.165, allocations: 4 kB / 482 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.1653, allocations: 39.81 kB / 482.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003458/0.1657, allocations: 51.8 kB / 482.1 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.166, allocations: 51.81 kB / 482.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.1663, allocations: 159.3 kB / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.255e-05/0.1664, allocations: 9.406 kB / 482.3 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001393/0.1665, allocations: 63.7 kB / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.1668, allocations: 83.72 kB / 482.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.1668, allocations: 4 kB / 482.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.1671, allocations: 71.77 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.607e-05/0.1672, allocations: 47.88 kB / 482.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.1673, allocations: 75.47 kB / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003599/0.1677, allocations: 171.7 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1677, allocations: 0 / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.1677, allocations: 0 / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.248e-06/0.1677, allocations: 0 / 482.8 MB, free: 2.246 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.0008112/0.1685, allocations: 462.8 kB / 483.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1686, allocations: 12.03 kB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006855/0.1693, allocations: 76.66 kB / 483.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.1696, allocations: 216 kB / 483.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1696, allocations: 8.375 kB / 483.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.1696, allocations: 16.36 kB / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005085/0.1701, allocations: 257 kB / 483.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1702, allocations: 0 / 483.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.1702, allocations: 4 kB / 483.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/0.1702, allocations: 19.98 kB / 483.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005045/0.1707, allocations: 243.7 kB / 484.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.1721, allocations: 0.6642 MB / 484.8 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.1725, allocations: 226.2 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.1727, allocations: 92.08 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.1728, allocations: 0 / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.1728, allocations: 30.56 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.1728, allocations: 4 kB / 485.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006922/0.1735, allocations: 289.2 kB / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.1736, allocations: 59.41 kB / 485.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.1738, allocations: 226.1 kB / 485.7 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1738, allocations: 25.7 kB / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.1739, allocations: 123.9 kB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.198e-05/0.174, allocations: 43.36 kB / 485.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.732e-05/0.1741, allocations: 45.62 kB / 485.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1742, allocations: 330.8 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.1744, allocations: 79.91 kB / 486.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.1746, allocations: 114.3 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.175, allocations: 195.2 kB / 486.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.175, allocations: 3.938 kB / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005045/0.1756, allocations: 253.4 kB / 486.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.1756, allocations: 15.97 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1756, allocations: 0 / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1756, allocations: 0 / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.1784, allocations: 271.5 kB / 487.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.1896, allocations: 9.237 MB / 496.4 MB, free: 3.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.19, allocations: 23.88 kB / 496.4 MB, free: 3.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.19, allocations: 7.984 kB / 496.4 MB, free: 3.559 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.0001848/0.1902, allocations: 153.6 kB / 496.6 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.1903, allocations: 15.81 kB / 496.6 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00055/0.1908, allocations: 242.2 kB / 496.8 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1909, allocations: 0 / 496.8 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.1909, allocations: 0 / 496.8 MB, free: 3.141 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.1909, allocations: 7.984 kB / 496.8 MB, free: 3.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.1912, allocations: 249.4 kB / 497.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1912, allocations: 0 / 497.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/0.193, allocations: 219.6 kB / 497.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.193, allocations: 0 / 497.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.1931, allocations: 0 / 497.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009219/0.2023, allocations: 8.748 MB / 0.4942 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.2023, allocations: 0 / 0.4942 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004985/0.2028, allocations: 295.2 kB / 0.4945 GB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.2029, allocations: 100.8 kB / 0.4946 GB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.393e-05/0.203, allocations: 8 kB / 0.4946 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.2032, allocations: 11.98 kB / 0.4946 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.864e-05/0.2033, allocations: 15.97 kB / 0.4946 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.2033, allocations: 4 kB / 0.4946 GB, free: 8.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002207/0.2036, allocations: 199.1 kB / 0.4948 GB, free: 8.395 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2036, allocations: 0 / 0.4948 GB, free: 8.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000558/0.2041, allocations: 60 kB / 0.4948 GB, free: 8.336 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.0001993/0.2043, allocations: 111.7 kB / 0.4949 GB, free: 8.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002321/0.2067, allocations: 0.6158 MB / 0.4955 GB, free: 7.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2067, allocations: 0 / 0.4955 GB, free: 7.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.2081, allocations: 411.9 kB / 0.4959 GB, free: 7.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.2085, allocations: 39.97 kB / 0.496 GB, free: 7.164 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.2096, allocations: 492.5 kB / 0.4964 GB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.21, allocations: 0.7518 MB / 0.4972 GB, free: 5.879 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004244/0.2104, allocations: 117.4 kB / 0.4973 GB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.2106, allocations: 47.39 kB / 0.4973 GB, free: 5.719 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2106, allocations: 0 / 0.4973 GB, free: 5.719 MB / 382.1 MB Notification: Performance of Templates: time 0.2107/0.4213, allocations: 7.721 MB / 0.5049 GB, free: 40.61 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