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.001631/0.001631, allocations: 172.2 kB / 16.76 MB, free: 5.062 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.404/1.404, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0007252/0.000725, allocations: 78.31 kB / 271.3 MB, free: 8.246 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.3131/0.3131, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 16 kB / 432.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1302, allocations: 58.86 MB / 491.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.363/0.4932, allocations: 93.92 MB / 0.5717 GB, free: 8.023 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.4936, allocations: 103.3 kB / 0.5718 GB, free: 7.926 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03176/0.5254, allocations: 12.27 MB / 0.5838 GB, free: 11.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.5254, allocations: 0 / 0.5838 GB, free: 11.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.5254, allocations: 8 kB / 0.5838 GB, free: 11.51 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0009811/0.5264, allocations: 0.6788 MB / 0.5845 GB, free: 10.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5265, allocations: 12.03 kB / 0.5845 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.944e-05/0.5266, allocations: 44.38 kB / 0.5845 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003697/0.5269, allocations: 310.4 kB / 0.5848 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.527, allocations: 37.38 kB / 0.5848 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/0.527, allocations: 44.38 kB / 0.5849 GB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009834/0.528, allocations: 0.6642 MB / 0.5855 GB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.528, allocations: 4.172 kB / 0.5855 GB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.5281, allocations: 27.88 kB / 0.5856 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/0.5282, allocations: 24.98 kB / 0.5856 GB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008813/0.5291, allocations: 0.4995 MB / 0.5861 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001948/0.531, allocations: 1.503 MB / 0.5875 GB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.5316, allocations: 311.7 kB / 0.5878 GB, free: 7.168 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.5319, allocations: 174.4 kB / 0.588 GB, free: 6.988 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.532, allocations: 7.938 kB / 0.588 GB, free: 6.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.532, allocations: 46.5 kB / 0.5881 GB, free: 6.926 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.674e-06/0.532, allocations: 0 / 0.5881 GB, free: 6.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001191/0.5332, allocations: 0.5206 MB / 0.5886 GB, free: 6.398 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.5333, allocations: 102.8 kB / 0.5887 GB, free: 6.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005896/0.5339, allocations: 0.5407 MB / 0.5892 GB, free: 5.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.5339, allocations: 25.7 kB / 0.5892 GB, free: 5.699 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.5341, allocations: 231.9 kB / 0.5894 GB, free: 5.469 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.5342, allocations: 71 kB / 0.5895 GB, free: 5.398 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.5342, allocations: 8 kB / 0.5895 GB, free: 5.391 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5343, allocations: 354.7 kB / 0.5899 GB, free: 5.035 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.5347, allocations: 172.1 kB / 0.59 GB, free: 4.863 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.5351, allocations: 293.1 kB / 0.5903 GB, free: 4.523 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007676/0.5359, allocations: 467.5 kB / 0.5907 GB, free: 4.012 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.5359, allocations: 4 kB / 0.5907 GB, free: 4.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009804/0.5369, allocations: 0.5176 MB / 0.5913 GB, free: 3.484 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5369, allocations: 8 kB / 0.5913 GB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-05/0.537, allocations: 39.98 kB / 0.5913 GB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.537, allocations: 8 kB / 0.5913 GB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.5372, allocations: 52.33 kB / 0.5914 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5373, allocations: 4 kB / 0.5914 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.5376, allocations: 79.28 kB / 0.5914 GB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.5376, allocations: 20 kB / 0.5915 GB, free: 3.277 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 () * Number of clocked 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.0002294/0.5379, allocations: 209.7 kB / 0.5917 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.85e-05/0.538, allocations: 47.42 kB / 0.5917 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008298/0.5388, allocations: 461.7 kB / 0.5921 GB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.5388, allocations: 4 kB / 0.5921 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5388, allocations: 0 / 0.5921 GB, free: 2.551 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.5388, allocations: 3.938 kB / 0.5921 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005677/0.5394, allocations: 389.3 kB / 0.5925 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.056e-05/0.5395, allocations: 39.98 kB / 0.5926 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.5396, allocations: 27.97 kB / 0.5926 GB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5396, allocations: 4 kB / 0.5926 GB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.5397, allocations: 12 kB / 0.5926 GB, free: 2.035 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.5397, allocations: 4 kB / 0.5926 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5397, allocations: 7.875 kB / 0.5926 GB, free: 2.023 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008751/0.5406, allocations: 0.63 MB / 0.5932 GB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.5407, allocations: 132.5 kB / 0.5934 GB, free: 1.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/0.5408, allocations: 4 kB / 0.5934 GB, free: 1.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.5411, allocations: 27.97 kB / 0.5934 GB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.587e-05/0.5412, allocations: 31.91 kB / 0.5934 GB, free: 1.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.5412, allocations: 12 kB / 0.5934 GB, free: 1.156 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004121/0.5416, allocations: 391 kB / 0.5938 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5416, allocations: 0 / 0.5938 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005879/0.5422, allocations: 139.9 kB / 0.5939 GB, free: 0.6367 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 () * Number of clocked 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.0003648/0.5426, allocations: 204.7 kB / 0.5941 GB, free: 444 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.5436, allocations: 0.6958 MB / 0.5948 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5436, allocations: 0 / 0.5948 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000537/0.5442, allocations: 498.5 kB / 0.5953 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007118/0.5449, allocations: 106 kB / 0.5954 GB, free: 15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.5466, allocations: 0.9855 MB / 0.5963 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.547, allocations: 0.8662 MB / 0.5972 GB, free: 13.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002251/0.5472, allocations: 87.27 kB / 0.5973 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.712e-05/0.5473, allocations: 31.44 kB / 0.5973 GB, free: 12.98 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5473, allocations: 0 / 0.5973 GB, free: 12.98 MB / 426.7 MB Notification: Performance of Templates: time 0.0151/0.5624, allocations: 8.569 MB / 0.6057 GB, free: 4.461 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/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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches