Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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,tolerance=1e-07,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009795/0.0009795, allocations: 185.8 kB / 13.2 MB, free: 2.117 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.245/1.245, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0008496/0.0008498, allocations: 90.55 kB / 267 MB, free: 9.266 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.3345/0.3345, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.389e-05/2.398e-05, allocations: 4 kB / 425.3 MB, free: 8.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1038, allocations: 58.85 MB / 484.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3332/0.437, allocations: 93.77 MB / 0.5644 GB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.4373, allocations: 93.44 kB / 0.5645 GB, free: 11.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02665/0.464, allocations: 12.29 MB / 0.5765 GB, free: 1.074 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4641, allocations: 0 / 0.5765 GB, free: 1.074 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.4641, allocations: 10.72 kB / 0.5765 GB, free: 1.066 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0007359/0.4648, allocations: 0.6638 MB / 0.5772 GB, free: 404 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.4649, allocations: 8.031 kB / 0.5772 GB, free: 396 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.589e-05/0.4649, allocations: 47.44 kB / 0.5772 GB, free: 348 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.4652, allocations: 295.8 kB / 0.5775 GB, free: 24 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.4653, allocations: 34.75 kB / 0.5775 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.329e-05/0.4654, allocations: 46.05 kB / 0.5776 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009123/0.4663, allocations: 0.6171 MB / 0.5782 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.4663, allocations: 1.375 kB / 0.5782 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.4664, allocations: 17.25 kB / 0.5782 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.221e-05/0.4664, allocations: 24.31 kB / 0.5782 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006169/0.467, allocations: 424.1 kB / 0.5786 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.4691, allocations: 1.542 MB / 0.5801 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.4695, allocations: 280.4 kB / 0.5804 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.4698, allocations: 116.4 kB / 0.5805 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.4698, allocations: 11.73 kB / 0.5805 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.4699, allocations: 38.56 kB / 0.5806 GB, free: 13.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.4699, allocations: 0 / 0.5806 GB, free: 13.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005978/0.4705, allocations: 309.6 kB / 0.5809 GB, free: 13.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.4705, allocations: 110.8 kB / 0.581 GB, free: 12.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.471, allocations: 495.2 kB / 0.5814 GB, free: 12.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.4711, allocations: 29.02 kB / 0.5815 GB, free: 12.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.4712, allocations: 231 kB / 0.5817 GB, free: 12.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.993e-05/0.4713, allocations: 65.89 kB / 0.5817 GB, free: 12.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.4713, allocations: 11.25 kB / 0.5818 GB, free: 12.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4715, allocations: 356.9 kB / 0.5821 GB, free: 11.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.4717, allocations: 121.2 kB / 0.5822 GB, free: 11.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.472, allocations: 249.2 kB / 0.5824 GB, free: 11.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.4722, allocations: 162.2 kB / 0.5826 GB, free: 11.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4722, allocations: 0 / 0.5826 GB, free: 11.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006671/0.4729, allocations: 442.7 kB / 0.583 GB, free: 10.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.4729, allocations: 11.98 kB / 0.583 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.31e-05/0.473, allocations: 36.5 kB / 0.5831 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.473, allocations: 12 kB / 0.5831 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.4733, allocations: 43.91 kB / 0.5831 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.4733, allocations: 11.92 kB / 0.5831 GB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.4736, allocations: 73.73 kB / 0.5832 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.4737, allocations: 27.94 kB / 0.5832 GB, free: 10.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * 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.0001043/0.4738, allocations: 128.6 kB / 0.5834 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-05/0.4739, allocations: 47.44 kB / 0.5834 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006969/0.4746, allocations: 425.5 kB / 0.5838 GB, free: 10.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.4746, allocations: 7.938 kB / 0.5838 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4746, allocations: 0 / 0.5838 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4746, allocations: 7.984 kB / 0.5838 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005462/0.4752, allocations: 393.4 kB / 0.5842 GB, free: 9.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.593e-05/0.4752, allocations: 35.95 kB / 0.5842 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.4754, allocations: 35.41 kB / 0.5843 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.4754, allocations: 0 / 0.5843 GB, free: 9.754 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.4754, allocations: 8 kB / 0.5843 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4754, allocations: 1.953 kB / 0.5843 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.4755, allocations: 4 kB / 0.5843 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000622/0.4761, allocations: 0.5787 MB / 0.5848 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.4762, allocations: 128.5 kB / 0.585 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.421e-05/0.4763, allocations: 0 / 0.585 GB, free: 9.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.4766, allocations: 27.73 kB / 0.585 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.666e-05/0.4767, allocations: 23.47 kB / 0.585 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.4767, allocations: 15.98 kB / 0.585 GB, free: 8.965 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004018/0.4771, allocations: 387.6 kB / 0.5854 GB, free: 8.664 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4771, allocations: 0 / 0.5854 GB, free: 8.664 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006086/0.4778, allocations: 135.1 kB / 0.5855 GB, free: 8.539 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * 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.0003716/0.4781, allocations: 216 kB / 0.5857 GB, free: 8.324 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006944/0.4788, allocations: 0.6029 MB / 0.5863 GB, free: 7.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4788, allocations: 0 / 0.5863 GB, free: 7.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.4792, allocations: 456.3 kB / 0.5868 GB, free: 7.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.4798, allocations: 115.5 kB / 0.5869 GB, free: 7.094 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.4811, allocations: 0.6802 MB / 0.5875 GB, free: 6.438 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004905/0.4816, allocations: 0.8731 MB / 0.5884 GB, free: 5.547 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.4819, allocations: 87.33 kB / 0.5885 GB, free: 5.457 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/0.482, allocations: 27.44 kB / 0.5885 GB, free: 5.43 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.482, allocations: 0 / 0.5885 GB, free: 5.43 MB / 410.7 MB Notification: Performance of Templates: time 0.01341/0.4954, allocations: 8.394 MB / 0.5967 GB, free: 13.09 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches