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.001661/0.001661, allocations: 101.4 kB / 16.4 MB, free: 6.457 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.002228/0.002228, allocations: 188.2 kB / 17.34 MB, free: 5.719 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.679/1.679, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2451/0.2451, allocations: 43.54 MB / 314.1 MB, free: 436 kB / 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.001412/0.001412, allocations: 72.47 kB / 441.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1444, allocations: 57.8 MB / 499.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.00343/0.1479, allocations: 1.678 MB / 0.4896 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.1491, allocations: 0.768 MB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.1492, allocations: 4 kB / 0.4903 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.1495, allocations: 43.69 kB / 0.4903 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.1498, allocations: 63.72 kB / 0.4904 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.15, allocations: 55.81 kB / 0.4905 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.1503, allocations: 155.3 kB / 0.4906 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.392e-05/0.1504, allocations: 21.36 kB / 0.4906 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.281e-05/0.1505, allocations: 55.78 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.1506, allocations: 79.67 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1507, allocations: 4 kB / 0.4908 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.1508, allocations: 71.81 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.858e-05/0.1509, allocations: 43.88 kB / 0.4909 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.488e-05/0.151, allocations: 63.55 kB / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002961/0.1513, allocations: 179.2 kB / 0.4911 GB, free: 8.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1513, allocations: 0 / 0.4911 GB, free: 8.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1514, allocations: 0 / 0.4911 GB, free: 8.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1514, allocations: 0 / 0.4911 GB, free: 8.445 MB / 382.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.0007195/0.1521, allocations: 470.5 kB / 0.4916 GB, free: 7.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.1521, allocations: 15.89 kB / 0.4916 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004891/0.1526, allocations: 68.77 kB / 0.4916 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.1529, allocations: 220.1 kB / 0.4918 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1529, allocations: 8.375 kB / 0.4919 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.1529, allocations: 8.375 kB / 0.4919 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/0.1534, allocations: 264.1 kB / 0.4921 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1534, allocations: 3.938 kB / 0.4921 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.1535, allocations: 7.938 kB / 0.4921 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.411e-05/0.1535, allocations: 15.98 kB / 0.4921 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004987/0.154, allocations: 239.8 kB / 0.4924 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.1553, allocations: 0.6642 MB / 0.493 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.1557, allocations: 222.3 kB / 0.4932 GB, free: 6.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/0.1559, allocations: 84.92 kB / 0.4933 GB, free: 6.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.1559, allocations: 11.94 kB / 0.4933 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.156, allocations: 30.56 kB / 0.4934 GB, free: 5.973 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/0.156, allocations: 0 / 0.4934 GB, free: 5.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007656/0.1568, allocations: 285.3 kB / 0.4936 GB, free: 5.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/0.1568, allocations: 55.41 kB / 0.4937 GB, free: 5.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1571, allocations: 226.3 kB / 0.4939 GB, free: 5.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1571, allocations: 29.7 kB / 0.4939 GB, free: 5.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.1573, allocations: 128 kB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.1573, allocations: 47.58 kB / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/0.1574, allocations: 37.69 kB / 0.4941 GB, free: 5.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1576, allocations: 334.8 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.1578, allocations: 75.91 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.158, allocations: 115.3 kB / 0.4946 GB, free: 4.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.1584, allocations: 195.2 kB / 0.4948 GB, free: 4.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.1584, allocations: 7.938 kB / 0.4948 GB, free: 4.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004939/0.1589, allocations: 257.8 kB / 0.4951 GB, free: 4.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1589, allocations: 6.656 kB / 0.4951 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.159, allocations: 4 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.159, allocations: 0 / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/0.1613, allocations: 263.7 kB / 0.4953 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0093/0.1706, allocations: 9.238 MB / 0.5043 GB, free: 9.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.1709, allocations: 39.95 kB / 0.5044 GB, free: 9.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.171, allocations: 11.97 kB / 0.5044 GB, free: 9.734 MB / 398.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.000153/0.1711, allocations: 149.6 kB / 0.5045 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.1712, allocations: 15.91 kB / 0.5046 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005092/0.1717, allocations: 243.1 kB / 0.5048 GB, free: 9.309 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1717, allocations: 3.984 kB / 0.5048 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1717, allocations: 0 / 0.5048 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1717, allocations: 4 kB / 0.5048 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.172, allocations: 249.4 kB / 0.505 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.172, allocations: 3.984 kB / 0.505 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/0.1736, allocations: 215.7 kB / 0.5052 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1736, allocations: 0 / 0.5052 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.1737, allocations: 3.984 kB / 0.5052 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007493/0.1812, allocations: 8.744 MB / 0.5138 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.1812, allocations: 0 / 0.5138 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.1817, allocations: 307.2 kB / 0.5141 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.779e-05/0.1818, allocations: 92.95 kB / 0.5142 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.1818, allocations: 8 kB / 0.5142 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.182, allocations: 15.97 kB / 0.5142 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/0.1821, allocations: 19.95 kB / 0.5142 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.1821, allocations: 4 kB / 0.5142 GB, free: 14.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.1823, allocations: 199 kB / 0.5144 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1823, allocations: 0 / 0.5144 GB, free: 14.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004762/0.1828, allocations: 64 kB / 0.5145 GB, free: 14.49 MB / 414.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.0001709/0.183, allocations: 103.2 kB / 0.5146 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001991/0.185, allocations: 0.5915 MB / 0.5151 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.185, allocations: 0 / 0.5151 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001359/0.1864, allocations: 407.3 kB / 0.5155 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.1868, allocations: 35.98 kB / 0.5156 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.1878, allocations: 439 kB / 0.516 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004002/0.1882, allocations: 0.7557 MB / 0.5167 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000313/0.1885, allocations: 113.4 kB / 0.5168 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.1887, allocations: 51.38 kB / 0.5169 GB, free: 11.96 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1887, allocations: 0 / 0.5169 GB, free: 11.96 MB / 414.1 MB Notification: Performance of Templates: time 0.01176/0.2005, allocations: 7.738 MB / 0.5244 GB, free: 4.234 MB / 414.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/jenkins/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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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