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.00128/0.00128, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.293/1.293, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007603/0.0007603, allocations: 86.19 kB / 271.9 MB, free: 8.258 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.3265/0.3265, allocations: 43.56 MB / 363.8 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003592, allocations: 16 kB / 432.6 MB, free: 5.863 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1052, allocations: 58.85 MB / 491.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2892/0.3944, allocations: 93.45 MB / 0.5712 GB, free: 8.945 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.3948, allocations: 95.94 kB / 0.5713 GB, free: 8.852 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03597/0.4308, allocations: 14.1 MB / 0.5851 GB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4308, allocations: 0 / 0.5851 GB, free: 10.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.657e-05/0.4308, allocations: 4 kB / 0.5851 GB, free: 10.57 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.001078/0.4319, allocations: 0.6394 MB / 0.5857 GB, free: 9.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.432, allocations: 12.03 kB / 0.5857 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.4321, allocations: 56.28 kB / 0.5858 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.4326, allocations: 308.1 kB / 0.5861 GB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.35e-05/0.4326, allocations: 37.69 kB / 0.5861 GB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.371e-05/0.4327, allocations: 52.31 kB / 0.5861 GB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.4338, allocations: 0.6936 MB / 0.5868 GB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.4338, allocations: 2.719 kB / 0.5868 GB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.4339, allocations: 31.97 kB / 0.5869 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.527e-05/0.4339, allocations: 45.28 kB / 0.5869 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.4351, allocations: 0.7428 MB / 0.5876 GB, free: 7.875 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.4374, allocations: 1.438 MB / 0.589 GB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007796/0.4381, allocations: 455.9 kB / 0.5895 GB, free: 5.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.4384, allocations: 161.2 kB / 0.5896 GB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/0.4385, allocations: 12.16 kB / 0.5896 GB, free: 5.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.4385, allocations: 46.72 kB / 0.5897 GB, free: 5.703 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.156e-06/0.4386, allocations: 4 kB / 0.5897 GB, free: 5.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001099/0.4397, allocations: 0.535 MB / 0.5902 GB, free: 5.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.4397, allocations: 63.39 kB / 0.5903 GB, free: 5.086 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/0.4403, allocations: 0.529 MB / 0.5908 GB, free: 4.555 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.4403, allocations: 25.7 kB / 0.5908 GB, free: 4.523 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.4405, allocations: 236.4 kB / 0.591 GB, free: 4.285 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/0.4406, allocations: 90.66 kB / 0.5911 GB, free: 4.195 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.4406, allocations: 4 kB / 0.5911 GB, free: 4.191 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4408, allocations: 362.8 kB / 0.5915 GB, free: 3.828 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.4411, allocations: 160.5 kB / 0.5916 GB, free: 3.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.4414, allocations: 256.2 kB / 0.5919 GB, free: 3.379 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.4421, allocations: 448 kB / 0.5923 GB, free: 2.902 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4421, allocations: 0 / 0.5923 GB, free: 2.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008278/0.4429, allocations: 0.4966 MB / 0.5928 GB, free: 2.398 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.4429, allocations: 7.938 kB / 0.5928 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.443, allocations: 4 kB / 0.5928 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.443, allocations: 4 kB / 0.5928 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009094/0.4439, allocations: 215.8 kB / 0.593 GB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003553/0.4475, allocations: 7.318 MB / 0.6001 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.4478, allocations: 67.48 kB / 0.6002 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.4479, allocations: 20.84 kB / 0.6002 GB, free: 10.49 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.0003047/0.4482, allocations: 233.5 kB / 0.6004 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/0.4483, allocations: 43.53 kB / 0.6005 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.4493, allocations: 0.5408 MB / 0.601 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.4493, allocations: 7.984 kB / 0.601 GB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4493, allocations: 0 / 0.601 GB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4493, allocations: 3.938 kB / 0.601 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.4499, allocations: 425.2 kB / 0.6014 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.4499, allocations: 0 / 0.6014 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008109/0.4507, allocations: 207.8 kB / 0.6016 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.4507, allocations: 112 / 0.6016 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.4508, allocations: 19.92 kB / 0.6016 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003677/0.4545, allocations: 7.321 MB / 0.6088 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4545, allocations: 0 / 0.6088 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007732/0.4553, allocations: 0.5037 MB / 0.6093 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.4554, allocations: 132.6 kB / 0.6094 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.4555, allocations: 4 kB / 0.6094 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.4558, allocations: 15.98 kB / 0.6094 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.4558, allocations: 23.97 kB / 0.6095 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/0.4559, allocations: 15.98 kB / 0.6095 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000442/0.4563, allocations: 391 kB / 0.6098 GB, free: 260 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4563, allocations: 0 / 0.6098 GB, free: 260 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005555/0.4569, allocations: 131.8 kB / 0.61 GB, free: 128 kB / 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.0003728/0.4573, allocations: 204.9 kB / 0.6102 GB, free: 15.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.4588, allocations: 0.5309 MB / 0.6107 GB, free: 15.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4588, allocations: 0.5 kB / 0.6107 GB, free: 15.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.4599, allocations: 355.6 kB / 0.611 GB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.4604, allocations: 93.84 kB / 0.6111 GB, free: 14.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.4621, allocations: 1.077 MB / 0.6122 GB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.4626, allocations: 0.8896 MB / 0.613 GB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001087/0.4627, allocations: 35.42 kB / 0.6131 GB, free: 12.89 MB / 442.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4627, allocations: 0 / 0.6131 GB, free: 12.89 MB / 442.7 MB Notification: Performance of Templates: time 0.03226/0.495, allocations: 29.4 MB / 0.6418 GB, free: 15.48 MB / 474.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