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.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_cpp_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_cpp_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.001545/0.001545, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.388/2.388, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001078/0.001077, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2923/0.2923, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.189e-05/3.212e-05, allocations: 4 kB / 425.3 MB, free: 23.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 58.85 MB / 484.2 MB, free: 12.43 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.484/0.5998, allocations: 93.78 MB / 0.5644 GB, free: 9.793 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003803/0.6002, allocations: 98.78 kB / 0.5645 GB, free: 9.738 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05504/0.6553, allocations: 12.3 MB / 0.5765 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6553, allocations: 0 / 0.5765 GB, free: 14.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.987e-05/0.6553, allocations: 4 kB / 0.5765 GB, free: 14.96 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.001386/0.6567, allocations: 0.6543 MB / 0.5771 GB, free: 14.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.6568, allocations: 12.03 kB / 0.5772 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.6569, allocations: 47.39 kB / 0.5772 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005437/0.6575, allocations: 298.8 kB / 0.5775 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.6576, allocations: 34.23 kB / 0.5775 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.6577, allocations: 49 kB / 0.5776 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.6591, allocations: 0.6176 MB / 0.5782 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/0.6592, allocations: 3.938 kB / 0.5782 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.819e-05/0.6592, allocations: 18.38 kB / 0.5782 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.15e-05/0.6593, allocations: 21 kB / 0.5782 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.6604, allocations: 430 kB / 0.5786 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003413/0.6638, allocations: 1.539 MB / 0.5801 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/0.6646, allocations: 271.5 kB / 0.5804 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.6649, allocations: 120.2 kB / 0.5805 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.014e-05/0.665, allocations: 15.98 kB / 0.5805 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.6651, allocations: 38 kB / 0.5805 GB, free: 11.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 3.386e-06/0.6651, allocations: 0 / 0.5805 GB, free: 11.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001075/0.6662, allocations: 312 kB / 0.5808 GB, free: 10.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.6663, allocations: 106.8 kB / 0.5809 GB, free: 10.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008855/0.6671, allocations: 491.6 kB / 0.5814 GB, free: 10.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.6672, allocations: 33.64 kB / 0.5814 GB, free: 10.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.6674, allocations: 263.3 kB / 0.5817 GB, free: 10.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.612e-05/0.6675, allocations: 70.11 kB / 0.5818 GB, free: 10.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.6676, allocations: 3.875 kB / 0.5818 GB, free: 10.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6677, allocations: 325.4 kB / 0.5821 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.6681, allocations: 126.4 kB / 0.5822 GB, free: 9.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/0.6686, allocations: 243.8 kB / 0.5824 GB, free: 9.348 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.6691, allocations: 165.6 kB / 0.5826 GB, free: 9.203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.6691, allocations: 4 kB / 0.5826 GB, free: 9.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00127/0.6704, allocations: 415 kB / 0.583 GB, free: 8.832 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.6704, allocations: 10.81 kB / 0.583 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001203/0.6706, allocations: 35.97 kB / 0.583 GB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.6706, allocations: 8 kB / 0.583 GB, free: 8.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004289/0.671, allocations: 50.45 kB / 0.5831 GB, free: 8.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/0.6711, allocations: 8 kB / 0.5831 GB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006188/0.6717, allocations: 78.53 kB / 0.5832 GB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/0.6718, allocations: 23.39 kB / 0.5832 GB, free: 8.633 MB / 394.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.0001692/0.672, allocations: 126.1 kB / 0.5833 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.6721, allocations: 43.44 kB / 0.5834 GB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.6735, allocations: 432.6 kB / 0.5838 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.6735, allocations: 11.92 kB / 0.5838 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.6735, allocations: 0 / 0.5838 GB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6735, allocations: 4 kB / 0.5838 GB, free: 8.074 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008913/0.6744, allocations: 389.4 kB / 0.5842 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000109/0.6746, allocations: 35.95 kB / 0.5842 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.6749, allocations: 31.97 kB / 0.5842 GB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.6749, allocations: 4 kB / 0.5842 GB, free: 7.621 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.675, allocations: 11.38 kB / 0.5842 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.675, allocations: 3.984 kB / 0.5842 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/0.675, allocations: 4 kB / 0.5842 GB, free: 7.605 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.676, allocations: 0.5793 MB / 0.5848 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.6763, allocations: 128.5 kB / 0.5849 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.6764, allocations: 0 / 0.5849 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005526/0.677, allocations: 27.28 kB / 0.585 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.6771, allocations: 19.11 kB / 0.585 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/0.6772, allocations: 15.98 kB / 0.585 GB, free: 6.832 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007218/0.6779, allocations: 392.2 kB / 0.5854 GB, free: 6.527 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.32e-07/0.6779, allocations: 0 / 0.5854 GB, free: 6.527 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009812/0.6789, allocations: 135.2 kB / 0.5855 GB, free: 6.402 MB / 394.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.0005387/0.6795, allocations: 206.5 kB / 0.5857 GB, free: 6.195 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.6807, allocations: 0.6008 MB / 0.5863 GB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.6808, allocations: 0 / 0.5863 GB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006426/0.6814, allocations: 457.1 kB / 0.5867 GB, free: 5.051 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009887/0.6824, allocations: 117.6 kB / 0.5868 GB, free: 4.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.6849, allocations: 0.7014 MB / 0.5875 GB, free: 4.277 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.6855, allocations: 0.8725 MB / 0.5884 GB, free: 3.387 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.6857, allocations: 31.42 kB / 0.5884 GB, free: 3.355 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/0.6857, allocations: 0 / 0.5884 GB, free: 3.355 MB / 394.7 MB Notification: Performance of Templates: time 0.02124/0.707, allocations: 8.455 MB / 0.5966 GB, free: 10.94 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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_laminar.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches