Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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|dimlesslength|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_3.2.3_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|dimlesslength|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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 183.5 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008295/0.0008296, allocations: 86.61 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3387/0.3387, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.776e-05, allocations: 4 kB / 425.3 MB, free: 8.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1175, allocations: 58.83 MB / 484.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.387/0.5046, allocations: 93.17 MB / 0.5638 GB, free: 12.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.5049, allocations: 92.34 kB / 0.5639 GB, free: 12.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02974/0.5347, allocations: 14.4 MB / 0.578 GB, free: 15.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5347, allocations: 0 / 0.578 GB, free: 15.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.5348, allocations: 4 kB / 0.578 GB, free: 15.88 MB / 410.7 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.001064/0.5358, allocations: 0.6241 MB / 0.5786 GB, free: 15.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.5359, allocations: 8.031 kB / 0.5786 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.536, allocations: 53.22 kB / 0.5786 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.5366, allocations: 293.4 kB / 0.5789 GB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.5366, allocations: 39.67 kB / 0.579 GB, free: 14.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.03e-05/0.5367, allocations: 49.94 kB / 0.579 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009857/0.5377, allocations: 0.6149 MB / 0.5796 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.5377, allocations: 4 kB / 0.5796 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.5378, allocations: 22.12 kB / 0.5796 GB, free: 14.33 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-05/0.5379, allocations: 33.3 kB / 0.5797 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007309/0.5386, allocations: 0.4972 MB / 0.5801 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.5411, allocations: 1.443 MB / 0.5816 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008195/0.5419, allocations: 453.9 kB / 0.582 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.5422, allocations: 140.8 kB / 0.5821 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/0.5422, allocations: 11.97 kB / 0.5821 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.5423, allocations: 41.14 kB / 0.5822 GB, free: 12.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 2.174e-06/0.5423, allocations: 0 / 0.5822 GB, free: 12.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007281/0.543, allocations: 370.9 kB / 0.5825 GB, free: 11.69 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.5431, allocations: 63.78 kB / 0.5826 GB, free: 11.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005402/0.5436, allocations: 0.4919 MB / 0.5831 GB, free: 11.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.5436, allocations: 25.7 kB / 0.5831 GB, free: 11.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.5438, allocations: 221 kB / 0.5833 GB, free: 11.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.156e-05/0.5439, allocations: 89.25 kB / 0.5834 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.007e-05/0.5439, allocations: 7.625 kB / 0.5834 GB, free: 10.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.544, allocations: 356.9 kB / 0.5837 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.5443, allocations: 146.1 kB / 0.5839 GB, free: 10.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.5446, allocations: 268.5 kB / 0.5841 GB, free: 10.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.5449, allocations: 200.8 kB / 0.5843 GB, free: 10.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.545, allocations: 0 / 0.5843 GB, free: 10.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007635/0.5457, allocations: 493.8 kB / 0.5848 GB, free: 9.605 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.5458, allocations: 11.98 kB / 0.5848 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.339e-05/0.5458, allocations: 43.92 kB / 0.5848 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.5459, allocations: 11.92 kB / 0.5849 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.5461, allocations: 39.58 kB / 0.5849 GB, free: 9.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.5461, allocations: 11.98 kB / 0.5849 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.5464, allocations: 57.75 kB / 0.585 GB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.5464, allocations: 19.98 kB / 0.585 GB, free: 9.422 MB / 410.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" ) 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.5466, allocations: 133.5 kB / 0.5851 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.633e-05/0.5467, allocations: 43.44 kB / 0.5851 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009197/0.5476, allocations: 0.5386 MB / 0.5857 GB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.5476, allocations: 7.953 kB / 0.5857 GB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5476, allocations: 4 kB / 0.5857 GB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5476, allocations: 0 / 0.5857 GB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.5482, allocations: 427.4 kB / 0.5861 GB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.89e-05/0.5482, allocations: 35.97 kB / 0.5861 GB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00016/0.5484, allocations: 27.73 kB / 0.5862 GB, free: 8.297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5484, allocations: 4 kB / 0.5862 GB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.5485, allocations: 15.67 kB / 0.5862 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5485, allocations: 0 / 0.5862 GB, free: 8.281 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5485, allocations: 7.953 kB / 0.5862 GB, free: 8.273 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009481/0.5494, allocations: 0.7024 MB / 0.5869 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.5496, allocations: 124.5 kB / 0.587 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.824e-05/0.5497, allocations: 7.562 kB / 0.587 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.5499, allocations: 3.5 kB / 0.587 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.5499, allocations: 31.42 kB / 0.587 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.55, allocations: 19.92 kB / 0.587 GB, free: 7.453 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003778/0.5503, allocations: 395.1 kB / 0.5874 GB, free: 7.148 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5504, allocations: 0 / 0.5874 GB, free: 7.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005402/0.5509, allocations: 161.1 kB / 0.5876 GB, free: 7.004 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004397/0.5513, allocations: 227.8 kB / 0.5878 GB, free: 6.773 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007322/0.5521, allocations: 0.6631 MB / 0.5884 GB, free: 6.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5521, allocations: 0 / 0.5884 GB, free: 6.078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000396/0.5525, allocations: 488 kB / 0.5889 GB, free: 5.547 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.5529, allocations: 76.61 kB / 0.589 GB, free: 5.496 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.5544, allocations: 0.8068 MB / 0.5898 GB, free: 4.727 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.5549, allocations: 0.8947 MB / 0.5906 GB, free: 3.816 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002676/0.5551, allocations: 116.2 kB / 0.5907 GB, free: 3.699 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.314e-05/0.5552, allocations: 31.44 kB / 0.5908 GB, free: 3.668 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5552, allocations: 0 / 0.5908 GB, free: 3.668 MB / 410.7 MB Notification: Performance of Templates: time 0.01322/0.5685, allocations: 8.119 MB / 0.5987 GB, free: 11.59 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar/kc_evenGapLaminar.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches