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.0009672/0.0009671, allocations: 98.47 kB / 18.01 MB, free: 5.734 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.001212/0.001212, allocations: 176.9 kB / 18.91 MB, free: 4.871 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.335/1.335, allocations: 223.3 MB / 243 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1943/0.1943, allocations: 44.25 MB / 338.3 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003312, allocations: 12 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1147, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.002642/0.1174, allocations: 1.949 MB / 474.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.1205, allocations: 2.037 MB / 476.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.1207, allocations: 0 / 476.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.121, allocations: 71.64 kB / 477 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.1213, allocations: 99.42 kB / 477.1 MB, free: 9.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1225, allocations: 366.3 kB / 477.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006815/0.1232, allocations: 0.6261 MB / 478.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1233, allocations: 65.05 kB / 478.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000301/0.1236, allocations: 171 kB / 478.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.1239, allocations: 222.8 kB / 478.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.584e-05/0.124, allocations: 12 kB / 478.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.1251, allocations: 0.6591 MB / 479.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.1252, allocations: 103.4 kB / 479.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002691/0.1255, allocations: 224.3 kB / 479.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007403/0.1263, allocations: 0.5495 MB / 480.1 MB, free: 6.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1263, allocations: 3.938 kB / 480.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1263, allocations: 4 kB / 480.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.1263, allocations: 0 / 480.1 MB, free: 6.141 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.00138/0.1277, allocations: 0.7529 MB / 480.8 MB, free: 5.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1278, allocations: 12.03 kB / 480.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.1279, allocations: 56.28 kB / 480.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.1283, allocations: 327.8 kB / 481.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.1284, allocations: 41.67 kB / 481.3 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.554e-05/0.1285, allocations: 56.12 kB / 481.3 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.1296, allocations: 0.7697 MB / 482.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1297, allocations: 0 / 482.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.1297, allocations: 31.98 kB / 482.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/0.1298, allocations: 29.25 kB / 482.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.1308, allocations: 0.5711 MB / 482.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.133, allocations: 1.672 MB / 484.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.1337, allocations: 307.6 kB / 484.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003705/0.134, allocations: 162.4 kB / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.806e-05/0.1341, allocations: 15.98 kB / 484.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.1341, allocations: 42.62 kB / 484.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.863e-06/0.1341, allocations: 0 / 484.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001357/0.1355, allocations: 0.5438 MB / 485.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.1356, allocations: 106.8 kB / 485.5 MB, free: 428 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007603/0.1363, allocations: 0.639 MB / 486.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.1364, allocations: 29.7 kB / 486.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.1366, allocations: 287.4 kB / 486.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.726e-05/0.1367, allocations: 75.06 kB / 486.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.019e-05/0.1368, allocations: 57.62 kB / 486.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.137, allocations: 366.8 kB / 487 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.1374, allocations: 204.9 kB / 487.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006113/0.138, allocations: 473.4 kB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.1392, allocations: 0.7004 MB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.1392, allocations: 8 kB / 488.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001417/0.1406, allocations: 0.7079 MB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.1406, allocations: 16.06 kB / 489.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.263e-05/0.1407, allocations: 51.98 kB / 489.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.1408, allocations: 12 kB / 489.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/0.1411, allocations: 75.83 kB / 489.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.1411, allocations: 19.92 kB / 489.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.1416, allocations: 111 kB / 489.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.1417, allocations: 36 kB / 489.4 MB, free: 12.29 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.000294/0.142, allocations: 257.5 kB / 489.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.1421, allocations: 51.28 kB / 489.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009841/0.1431, allocations: 479.6 kB / 490.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.1431, allocations: 7.984 kB / 490.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1431, allocations: 4 kB / 490.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1431, allocations: 0 / 490.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.1438, allocations: 409.2 kB / 490.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-05/0.1438, allocations: 39.98 kB / 490.6 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.144, allocations: 35.97 kB / 490.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.144, allocations: 3.938 kB / 490.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.1441, allocations: 11.98 kB / 490.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1441, allocations: 4 kB / 490.6 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1441, allocations: 4 kB / 490.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009574/0.145, allocations: 0.6406 MB / 491.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.1452, allocations: 132.4 kB / 491.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.635e-05/0.1453, allocations: 7.938 kB / 491.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.1456, allocations: 31.91 kB / 491.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/0.1457, allocations: 23.98 kB / 491.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.1457, allocations: 19.92 kB / 491.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004957/0.1462, allocations: 442.8 kB / 491.9 MB, free: 9.625 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1463, allocations: 0 / 491.9 MB, free: 9.625 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000782/0.147, allocations: 183.8 kB / 492.1 MB, free: 9.445 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.0004621/0.1475, allocations: 231 kB / 492.3 MB, free: 9.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.1488, allocations: 0.7794 MB / 493.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.1488, allocations: 0 / 493.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005407/0.1493, allocations: 495 kB / 493.6 MB, free: 7.805 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008174/0.1501, allocations: 122.3 kB / 493.7 MB, free: 7.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.152, allocations: 1.174 MB / 494.9 MB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.1525, allocations: 0.8934 MB / 495.8 MB, free: 5.547 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.811e-05/0.1526, allocations: 35.44 kB / 495.8 MB, free: 5.512 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1526, allocations: 3.938 kB / 495.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of Templates: time 0.01508/0.1677, allocations: 9.919 MB / 0.4939 GB, free: 11.64 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