Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.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_KC,tolerance=1e-06,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.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_OUT_1.1.|kc_OUT_1.2.|kc_OUT_1.3.|kc_OUT_2.1.|kc_OUT_2.2.|kc_OUT_2.3.|kc_OUT_3.1.|kc_OUT_3.2.|kc_OUT_3.3.|kc_OUT_4.1.|kc_OUT_4.2.|kc_OUT_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,tolerance=1e-06,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.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_OUT_1.1.|kc_OUT_1.2.|kc_OUT_1.3.|kc_OUT_2.1.|kc_OUT_2.2.|kc_OUT_2.3.|kc_OUT_3.1.|kc_OUT_3.2.|kc_OUT_3.3.|kc_OUT_4.1.|kc_OUT_4.2.|kc_OUT_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001463, allocations: 186.5 kB / 16.41 MB, free: 5.727 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.968/1.968, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001107/0.001107, allocations: 100.3 kB / 270.9 MB, free: 8.383 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.5318/0.5318, allocations: 43.56 MB / 362.7 MB, free: 51.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007447/0.0007449, allocations: 19.94 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1713, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5733/0.7447, allocations: 93.4 MB / 0.57 GB, free: 9.164 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/0.7451, allocations: 95.94 kB / 0.5701 GB, free: 9.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06057/0.8057, allocations: 14.1 MB / 0.5838 GB, free: 10.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.8057, allocations: 0 / 0.5838 GB, free: 10.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.8058, allocations: 11.09 kB / 0.5838 GB, free: 10.79 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001434/0.8072, allocations: 0.6432 MB / 0.5845 GB, free: 10.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.8073, allocations: 8.031 kB / 0.5845 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.8074, allocations: 55.34 kB / 0.5845 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005518/0.808, allocations: 314.3 kB / 0.5848 GB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.8081, allocations: 37.25 kB / 0.5849 GB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.8082, allocations: 51.98 kB / 0.5849 GB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.8099, allocations: 0.6857 MB / 0.5856 GB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.81, allocations: 0 / 0.5856 GB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.259e-05/0.81, allocations: 20 kB / 0.5856 GB, free: 8.891 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.47e-05/0.8101, allocations: 45.28 kB / 0.5856 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.8121, allocations: 0.7555 MB / 0.5864 GB, free: 8.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.8156, allocations: 1.461 MB / 0.5878 GB, free: 6.574 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.817, allocations: 456.5 kB / 0.5882 GB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.087e-05/0.8171, allocations: 16.14 kB / 0.5883 GB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.8171, allocations: 34.8 kB / 0.5883 GB, free: 6.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.946e-06/0.8171, allocations: 0 / 0.5883 GB, free: 6.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0019/0.819, allocations: 0.5436 MB / 0.5888 GB, free: 5.516 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.8191, allocations: 55.41 kB / 0.5889 GB, free: 5.449 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008691/0.82, allocations: 488.9 kB / 0.5893 GB, free: 4.973 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.82, allocations: 33.7 kB / 0.5894 GB, free: 4.934 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.8202, allocations: 266.9 kB / 0.5896 GB, free: 4.668 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.8204, allocations: 98.55 kB / 0.5897 GB, free: 4.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.8204, allocations: 4 kB / 0.5897 GB, free: 4.566 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.8205, allocations: 326.8 kB / 0.59 GB, free: 4.238 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005487/0.8211, allocations: 160.5 kB / 0.5902 GB, free: 4.078 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.8217, allocations: 252.2 kB / 0.5904 GB, free: 3.793 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006223/0.8224, allocations: 192.8 kB / 0.5906 GB, free: 3.605 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.8224, allocations: 4 kB / 0.5906 GB, free: 3.602 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001489/0.8239, allocations: 481.2 kB / 0.5911 GB, free: 3.125 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.824, allocations: 11.95 kB / 0.5911 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.824, allocations: 0 / 0.5911 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.824, allocations: 8 kB / 0.5911 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.8258, allocations: 208.4 kB / 0.5913 GB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004895/0.8307, allocations: 7.314 MB / 0.5984 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.8314, allocations: 63.36 kB / 0.5985 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.8314, allocations: 19.98 kB / 0.5985 GB, free: 11.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004412/0.8319, allocations: 237.8 kB / 0.5987 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.832, allocations: 51.39 kB / 0.5988 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.8338, allocations: 0.5496 MB / 0.5993 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.8338, allocations: 4 kB / 0.5993 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.8339, allocations: 4 kB / 0.5993 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-06/0.8339, allocations: 112 / 0.5993 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008069/0.8347, allocations: 429.1 kB / 0.5997 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.8347, allocations: 0 / 0.5997 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/0.8364, allocations: 195.8 kB / 0.5999 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.8364, allocations: 7.953 kB / 0.5999 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/0.8365, allocations: 11.98 kB / 0.5999 GB, free: 9.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004884/0.8414, allocations: 7.31 MB / 0.6071 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.8414, allocations: 0 / 0.6071 GB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/0.8428, allocations: 0.5117 MB / 0.6076 GB, free: 1.574 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.843, allocations: 136.4 kB / 0.6077 GB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.8432, allocations: 4 kB / 0.6077 GB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.8436, allocations: 8 kB / 0.6077 GB, free: 1.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/0.8437, allocations: 31.95 kB / 0.6078 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/0.8438, allocations: 11.98 kB / 0.6078 GB, free: 1.367 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000705/0.8445, allocations: 387 kB / 0.6081 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8445, allocations: 4 kB / 0.6081 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007224/0.8452, allocations: 131.8 kB / 0.6083 GB, free: 0.8594 MB / 426.7 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004154/0.8457, allocations: 198.6 kB / 0.6085 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002469/0.8481, allocations: 0.4884 MB / 0.6089 GB, free: 172 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8482, allocations: 0 / 0.6089 GB, free: 172 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.85, allocations: 307.5 kB / 0.6092 GB, free: 15.87 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006321/0.8506, allocations: 89.89 kB / 0.6093 GB, free: 15.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.853, allocations: 1.071 MB / 0.6104 GB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/0.8536, allocations: 0.8974 MB / 0.6112 GB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.8538, allocations: 47.41 kB / 0.6113 GB, free: 13.72 MB / 442.7 MB Notification: Performance of SimCode: time 9.01e-07/0.8538, allocations: 0 / 0.6113 GB, free: 13.72 MB / 442.7 MB Notification: Performance of Templates: time 0.04752/0.9013, allocations: 28.54 MB / 0.6391 GB, free: 1.184 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/Channel/kc_evenGapLaminar_KC/kc_evenGapLaminar_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches