Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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.|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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,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.|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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 110 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 242.5 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2074/0.2074, allocations: 44.17 MB / 336.8 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 64.55 kB / 408.4 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1106, allocations: 60.83 MB / 469.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003478/0.1141, allocations: 2.296 MB / 471.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.117, allocations: 2.072 MB / 473.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1171, allocations: 0 / 473.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.1174, allocations: 75.62 kB / 473.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.1177, allocations: 91.44 kB / 473.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009026/0.1186, allocations: 373.4 kB / 474.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005419/0.1191, allocations: 0.6183 MB / 474.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.422e-05/0.1192, allocations: 69.03 kB / 474.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.1195, allocations: 175 kB / 475 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.1197, allocations: 214.9 kB / 475.2 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.1197, allocations: 12 kB / 475.2 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008891/0.1206, allocations: 0.6629 MB / 475.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.1208, allocations: 103.5 kB / 475.9 MB, free: 8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.1209, allocations: 198.6 kB / 476.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.1215, allocations: 0.5612 MB / 476.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1215, allocations: 0 / 476.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1216, allocations: 0 / 476.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1216, allocations: 0 / 476.7 MB, free: 7.242 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001302/0.1229, allocations: 0.8386 MB / 477.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1229, allocations: 8.031 kB / 477.5 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.123, allocations: 56.28 kB / 477.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.1234, allocations: 320 kB / 477.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.1234, allocations: 37.69 kB / 477.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.245e-05/0.1235, allocations: 60.11 kB / 478 MB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.1246, allocations: 0.7657 MB / 478.8 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1247, allocations: 4 kB / 478.8 MB, free: 5.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.497e-05/0.1247, allocations: 24 kB / 478.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.229e-05/0.1248, allocations: 25.31 kB / 478.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000964/0.1257, allocations: 0.5515 MB / 479.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.1279, allocations: 1.684 MB / 481.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/0.1285, allocations: 307.4 kB / 481.4 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.1289, allocations: 150.5 kB / 481.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.1289, allocations: 7.984 kB / 481.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1289, allocations: 38.7 kB / 481.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.129, allocations: 3.938 kB / 481.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001232/0.1302, allocations: 0.5106 MB / 482.1 MB, free: 1.648 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.1303, allocations: 102.8 kB / 482.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006595/0.1309, allocations: 0.6391 MB / 482.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.131, allocations: 29.7 kB / 482.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.1312, allocations: 291.4 kB / 483.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.1312, allocations: 79.17 kB / 483.2 MB, free: 488 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.1314, allocations: 126.1 kB / 483.3 MB, free: 356 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1316, allocations: 362.8 kB / 483.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.132, allocations: 188.9 kB / 483.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005566/0.1325, allocations: 461.5 kB / 484.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009753/0.1335, allocations: 0.6711 MB / 485 MB, free: 14.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1335, allocations: 4 kB / 485 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001229/0.1348, allocations: 0.6854 MB / 485.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1348, allocations: 16.81 kB / 485.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.592e-05/0.1349, allocations: 47.98 kB / 485.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.1349, allocations: 16 kB / 485.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.1352, allocations: 71.83 kB / 485.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.1352, allocations: 19.92 kB / 485.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004023/0.1356, allocations: 98.95 kB / 485.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.1357, allocations: 35.98 kB / 486 MB, free: 13.42 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002596/0.136, allocations: 257.4 kB / 486.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.1361, allocations: 55.28 kB / 486.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008947/0.137, allocations: 465.7 kB / 486.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.137, allocations: 8 kB / 486.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.137, allocations: 4 kB / 486.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.137, allocations: 0 / 486.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000618/0.1377, allocations: 413.2 kB / 487.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.669e-05/0.1377, allocations: 36 kB / 487.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.1379, allocations: 35.84 kB / 487.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1379, allocations: 7.875 kB / 487.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.1379, allocations: 15.98 kB / 487.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.138, allocations: 4 kB / 487.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.138, allocations: 4 kB / 487.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.1388, allocations: 0.6087 MB / 487.9 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.1389, allocations: 140.4 kB / 488 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-05/0.139, allocations: 7.938 kB / 488 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.1393, allocations: 19.97 kB / 488 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/0.1394, allocations: 31.91 kB / 488.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.1395, allocations: 11.98 kB / 488.1 MB, free: 11.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004569/0.1399, allocations: 450.7 kB / 488.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1399, allocations: 0 / 488.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007552/0.1407, allocations: 175.9 kB / 488.7 MB, free: 10.62 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004766/0.1412, allocations: 227 kB / 488.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.1423, allocations: 0.7616 MB / 489.7 MB, free: 9.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1423, allocations: 0 / 489.7 MB, free: 9.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005344/0.1428, allocations: 481.3 kB / 490.1 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007474/0.1436, allocations: 128 kB / 490.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1453, allocations: 1.14 MB / 491.4 MB, free: 7.703 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.1457, allocations: 0.8896 MB / 492.3 MB, free: 6.789 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.1458, allocations: 35.44 kB / 492.3 MB, free: 6.754 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1458, allocations: 0 / 492.3 MB, free: 6.754 MB / 366.1 MB Notification: Performance of Templates: time 0.01449/0.1603, allocations: 9.97 MB / 0.4905 GB, free: 12.84 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches