Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|velocity.1.|velocity.2.|velocity.3.|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.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|velocity.1.|velocity.2.|velocity.3.|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.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001686/0.001686, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001963/0.001963, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2815/0.2815, allocations: 46.13 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 82.52 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1351, allocations: 62.46 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.00385/0.139, allocations: 1.956 MB / 482.1 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.141, allocations: 1.164 MB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.643e-05/0.1411, allocations: 0 / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.1414, allocations: 67.64 kB / 483.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.1417, allocations: 103.4 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.1422, allocations: 151.4 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005286/0.1427, allocations: 481.7 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.1428, allocations: 53.02 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.143, allocations: 163.1 kB / 484.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.1433, allocations: 195 kB / 484.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.1433, allocations: 15.94 kB / 484.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004935/0.1438, allocations: 267.5 kB / 484.7 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.144, allocations: 99.52 kB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.1442, allocations: 186.7 kB / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007304/0.1449, allocations: 0.5528 MB / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.145, allocations: 0 / 485.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.145, allocations: 4 kB / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.145, allocations: 0 / 485.6 MB, free: 15.73 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001191/0.1462, allocations: 0.7258 MB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1462, allocations: 12.03 kB / 486.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.1463, allocations: 44.38 kB / 486.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.1467, allocations: 295.6 kB / 486.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.765e-05/0.1468, allocations: 41.69 kB / 486.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/0.1469, allocations: 52.11 kB / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.1479, allocations: 0.631 MB / 487.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.148, allocations: 4 kB / 487.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/0.148, allocations: 20 kB / 487.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.463e-05/0.1481, allocations: 37.3 kB / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009103/0.149, allocations: 0.5047 MB / 487.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.1515, allocations: 1.422 MB / 489.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007151/0.1522, allocations: 434 kB / 489.8 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.1524, allocations: 144.7 kB / 489.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.274e-05/0.1525, allocations: 19.91 kB / 489.9 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1525, allocations: 34.56 kB / 490 MB, free: 11.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/0.1525, allocations: 0 / 490 MB, free: 11.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009567/0.1535, allocations: 0.5007 MB / 490.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.1536, allocations: 55.41 kB / 490.5 MB, free: 10.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007393/0.1543, allocations: 0.5485 MB / 491.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.1543, allocations: 33.7 kB / 491.1 MB, free: 9.996 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.1546, allocations: 224 kB / 491.3 MB, free: 9.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.753e-05/0.1547, allocations: 78.81 kB / 491.4 MB, free: 9.695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.1548, allocations: 89.92 kB / 491.5 MB, free: 9.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.1551, allocations: 358.8 kB / 491.8 MB, free: 9.242 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.1554, allocations: 160.2 kB / 492 MB, free: 9.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.1558, allocations: 252.7 kB / 492.2 MB, free: 8.797 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004001/0.1599, allocations: 1.065 MB / 493.3 MB, free: 7.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.1599, allocations: 0 / 493.3 MB, free: 7.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009193/0.1608, allocations: 0.4928 MB / 493.8 MB, free: 7.191 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/0.1608, allocations: 8.406 kB / 493.8 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.289e-05/0.1609, allocations: 43.98 kB / 493.8 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.524e-05/0.161, allocations: 4 kB / 493.8 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.1612, allocations: 39.92 kB / 493.9 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.1612, allocations: 11.98 kB / 493.9 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.1616, allocations: 59.22 kB / 494 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.1616, allocations: 20 kB / 494 MB, free: 7.008 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004463/0.1621, allocations: 225.9 kB / 494.2 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.1622, allocations: 43.38 kB / 494.2 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.1633, allocations: 0.5443 MB / 494.8 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.467e-06/0.1633, allocations: 7.938 kB / 494.8 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1634, allocations: 0 / 494.8 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1634, allocations: 4 kB / 494.8 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00072/0.1641, allocations: 429 kB / 495.2 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.711e-05/0.1642, allocations: 43.94 kB / 495.3 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.1643, allocations: 31.92 kB / 495.3 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.1644, allocations: 7.984 kB / 495.3 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.1644, allocations: 12 kB / 495.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1644, allocations: 0 / 495.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1644, allocations: 0 / 495.3 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001235/0.1656, allocations: 0.7102 MB / 496 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.1658, allocations: 124.5 kB / 496.1 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.1659, allocations: 8 kB / 496.1 MB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.1661, allocations: 4.062 kB / 496.1 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.1662, allocations: 27.97 kB / 496.2 MB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.1662, allocations: 16 kB / 496.2 MB, free: 4.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005407/0.1667, allocations: 403 kB / 496.6 MB, free: 4.293 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1667, allocations: 4 kB / 496.6 MB, free: 4.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005909/0.1673, allocations: 143.8 kB / 496.7 MB, free: 4.148 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004746/0.1678, allocations: 163.1 kB / 496.9 MB, free: 3.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.1689, allocations: 0.7315 MB / 497.6 MB, free: 3.176 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1689, allocations: 0 / 497.6 MB, free: 3.176 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004811/0.1694, allocations: 492.8 kB / 498.1 MB, free: 2.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/0.1699, allocations: 93.78 kB / 498.2 MB, free: 2.527 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.1718, allocations: 1.029 MB / 499.2 MB, free: 1.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.1724, allocations: 0.878 MB / 0.4884 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002588/0.1727, allocations: 116.2 kB / 0.4885 GB, free: 464 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.414e-05/0.1728, allocations: 39.38 kB / 0.4885 GB, free: 428 kB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1728, allocations: 4 kB / 0.4885 GB, free: 424 kB / 366.1 MB Notification: Performance of Templates: time 0.01556/0.1883, allocations: 8.04 MB / 0.4964 GB, free: 8.453 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches