Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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.StraightPipe.kc_laminar_KC,tolerance=1e-05,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_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|kc_4.1.|kc_4.2.|kc_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.StraightPipe.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,tolerance=1e-05,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_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|kc_4.1.|kc_4.2.|kc_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.StraightPipe.kc_laminar_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 180.5 kB / 17.41 MB, free: 4.406 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.323/1.323, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.0007317/0.0007317, allocations: 89.05 kB / 271.9 MB, free: 8.27 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.3033/0.3033, allocations: 43.56 MB / 363.8 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 12 kB / 432.6 MB, free: 5.637 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 58.85 MB / 491.5 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3148/0.4198, allocations: 93.43 MB / 0.5712 GB, free: 8.824 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.4201, allocations: 99.94 kB / 0.5713 GB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03013/0.4502, allocations: 11.79 MB / 0.5828 GB, free: 12.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.4503, allocations: 0 / 0.5828 GB, free: 12.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.4503, allocations: 10.72 kB / 0.5828 GB, free: 12.8 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0008802/0.4512, allocations: 0.608 MB / 0.5834 GB, free: 12.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.4512, allocations: 12.03 kB / 0.5834 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.048e-05/0.4513, allocations: 44.38 kB / 0.5835 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.4517, allocations: 311.5 kB / 0.5837 GB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.4517, allocations: 33.38 kB / 0.5838 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.198e-05/0.4518, allocations: 44.38 kB / 0.5838 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009304/0.4527, allocations: 0.6451 MB / 0.5845 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4528, allocations: 192 / 0.5845 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.4528, allocations: 23.92 kB / 0.5845 GB, free: 11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-05/0.4529, allocations: 41.28 kB / 0.5845 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.4539, allocations: 0.7038 MB / 0.5852 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.4559, allocations: 1.348 MB / 0.5865 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007071/0.4566, allocations: 455.9 kB / 0.587 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.4569, allocations: 157.2 kB / 0.5871 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.4569, allocations: 12.2 kB / 0.5871 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.457, allocations: 38.8 kB / 0.5872 GB, free: 8.191 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/0.457, allocations: 0 / 0.5872 GB, free: 8.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009941/0.458, allocations: 0.5389 MB / 0.5877 GB, free: 7.648 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.458, allocations: 59.34 kB / 0.5877 GB, free: 7.578 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004836/0.4585, allocations: 493.5 kB / 0.5882 GB, free: 7.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.4585, allocations: 29.7 kB / 0.5882 GB, free: 7.055 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.4587, allocations: 216.5 kB / 0.5884 GB, free: 6.836 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.338e-05/0.4588, allocations: 98.58 kB / 0.5885 GB, free: 6.738 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.4588, allocations: 11.94 kB / 0.5885 GB, free: 6.727 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4589, allocations: 350.8 kB / 0.5889 GB, free: 6.375 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.4592, allocations: 160.5 kB / 0.589 GB, free: 6.215 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003266/0.4596, allocations: 248.2 kB / 0.5893 GB, free: 5.934 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/0.4602, allocations: 451.5 kB / 0.5897 GB, free: 5.453 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4602, allocations: 0.8438 kB / 0.5897 GB, free: 5.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007936/0.461, allocations: 496.8 kB / 0.5902 GB, free: 4.961 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4611, allocations: 4 kB / 0.5902 GB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.4611, allocations: 4 kB / 0.5902 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4611, allocations: 4 kB / 0.5902 GB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009117/0.462, allocations: 211.8 kB / 0.5904 GB, free: 4.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00359/0.4656, allocations: 7.303 MB / 0.5975 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.466, allocations: 55.36 kB / 0.5976 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-05/0.466, allocations: 23.94 kB / 0.5976 GB, free: 13.08 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.0002765/0.4663, allocations: 225.8 kB / 0.5978 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.15e-05/0.4664, allocations: 39.53 kB / 0.5978 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.4674, allocations: 0.5327 MB / 0.5984 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4674, allocations: 4 kB / 0.5984 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.4674, allocations: 4 kB / 0.5984 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.4675, allocations: 0 / 0.5984 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.468, allocations: 405.2 kB / 0.5988 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.468, allocations: 0 / 0.5988 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008795/0.4689, allocations: 199.8 kB / 0.599 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.4689, allocations: 0 / 0.599 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.4689, allocations: 19.92 kB / 0.599 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00366/0.4726, allocations: 7.298 MB / 0.6061 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4726, allocations: 3.938 kB / 0.6061 GB, free: 4.023 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/0.4734, allocations: 0.5118 MB / 0.6066 GB, free: 3.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.4736, allocations: 120.6 kB / 0.6067 GB, free: 3.359 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.71e-05/0.4736, allocations: 8 kB / 0.6067 GB, free: 3.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.4738, allocations: 19.98 kB / 0.6067 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.747e-05/0.4739, allocations: 23.97 kB / 0.6068 GB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.474, allocations: 12 kB / 0.6068 GB, free: 3.297 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003849/0.4743, allocations: 351 kB / 0.6071 GB, free: 2.953 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.045e-06/0.4744, allocations: 7.938 kB / 0.6071 GB, free: 2.945 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005281/0.4749, allocations: 131.8 kB / 0.6072 GB, free: 2.816 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.0003601/0.4753, allocations: 190.6 kB / 0.6074 GB, free: 2.625 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.4767, allocations: 0.5236 MB / 0.6079 GB, free: 2.102 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4767, allocations: 0 / 0.6079 GB, free: 2.102 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009951/0.4777, allocations: 347.7 kB / 0.6083 GB, free: 1.762 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.4783, allocations: 105.4 kB / 0.6084 GB, free: 1.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.4796, allocations: 1.023 MB / 0.6094 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.48, allocations: 0.8702 MB / 0.6102 GB, free: 15.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.496e-05/0.4801, allocations: 39.42 kB / 0.6103 GB, free: 15.68 MB / 442.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4801, allocations: 0 / 0.6103 GB, free: 15.68 MB / 442.7 MB Notification: Performance of Templates: time 0.02753/0.5076, allocations: 27.52 MB / 0.6371 GB, free: 4.164 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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/StraightPipe/kc_laminar_KC/kc_laminar_KC.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches