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_laminar.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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009698/0.0009693, allocations: 93.38 kB / 18.01 MB, free: 5.738 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.0009449/0.0009448, allocations: 176.8 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.317/1.317, allocations: 223.3 MB / 243 MB, free: 14.38 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.2037/0.2037, allocations: 44.23 MB / 338.3 MB, free: 2.43 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002993, allocations: 13 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.09929, allocations: 61.92 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002437/0.1018, allocations: 1.894 MB / 474.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1035, allocations: 1.106 MB / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.1037, allocations: 4 kB / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.104, allocations: 59.72 kB / 476 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002471/0.1042, allocations: 103.4 kB / 476.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.1047, allocations: 146.2 kB / 476.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006122/0.1054, allocations: 0.5951 MB / 476.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1055, allocations: 49.06 kB / 476.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.1057, allocations: 163.1 kB / 477 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.106, allocations: 214.9 kB / 477.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.81e-05/0.1061, allocations: 12 kB / 477.3 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004789/0.1066, allocations: 315.5 kB / 477.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.1067, allocations: 103.5 kB / 477.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.1069, allocations: 204.5 kB / 477.9 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.1074, allocations: 407.1 kB / 478.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1074, allocations: 0 / 478.3 MB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1074, allocations: 4 kB / 478.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.1074, allocations: 0 / 478.3 MB, free: 7.93 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001132/0.1086, allocations: 0.6808 MB / 479 MB, free: 7.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1086, allocations: 12.03 kB / 479 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.62e-05/0.1087, allocations: 56.22 kB / 479 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.1091, allocations: 304.1 kB / 479.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.1091, allocations: 29.38 kB / 479.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.031e-05/0.1092, allocations: 60.05 kB / 479.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.1103, allocations: 0.6675 MB / 480.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.1103, allocations: 0 / 480.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.1103, allocations: 20 kB / 480.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.064e-05/0.1104, allocations: 25 kB / 480.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000967/0.1114, allocations: 0.4995 MB / 480.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.1134, allocations: 1.503 MB / 482.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.114, allocations: 319.4 kB / 482.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.1144, allocations: 166.4 kB / 482.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.1144, allocations: 11.98 kB / 482.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.1145, allocations: 38.56 kB / 482.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.1145, allocations: 0 / 482.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001349/0.1158, allocations: 0.5353 MB / 483.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.1159, allocations: 110.8 kB / 483.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006035/0.1165, allocations: 0.5369 MB / 483.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.1165, allocations: 33.7 kB / 483.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.1167, allocations: 223.9 kB / 484.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.388e-05/0.1168, allocations: 75.11 kB / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.736e-05/0.1169, allocations: 33.7 kB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.117, allocations: 358.8 kB / 484.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.1174, allocations: 164.1 kB / 484.7 MB, free: 1.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004488/0.1179, allocations: 287.7 kB / 485 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000871/0.1187, allocations: 477.1 kB / 485.4 MB, free: 388 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.1188, allocations: 7.938 kB / 485.4 MB, free: 380 kB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001078/0.1199, allocations: 0.5199 MB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1199, allocations: 4.531 kB / 486 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.981e-05/0.12, allocations: 47.98 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.12, allocations: 11.88 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.1202, allocations: 47.95 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.1202, allocations: 11.94 kB / 486.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000352/0.1206, allocations: 83.25 kB / 486.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.1207, allocations: 20 kB / 486.2 MB, free: 15.62 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002397/0.1209, allocations: 205.6 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.121, allocations: 39.53 kB / 486.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009107/0.1219, allocations: 463.2 kB / 486.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.122, allocations: 7.938 kB / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.122, allocations: 0 / 486.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.122, allocations: 4 kB / 486.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005799/0.1226, allocations: 389.2 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.733e-05/0.1226, allocations: 35.98 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.1228, allocations: 31.97 kB / 487.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1228, allocations: 4 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.1229, allocations: 12 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.1229, allocations: 3.938 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1229, allocations: 0 / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009319/0.1238, allocations: 0.6345 MB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.124, allocations: 132.5 kB / 488.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.124, allocations: 7.984 kB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.1243, allocations: 23.92 kB / 488.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.1244, allocations: 23.97 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.027e-05/0.1245, allocations: 20 kB / 488.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004311/0.1249, allocations: 391 kB / 488.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1249, allocations: 0 / 488.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005662/0.1255, allocations: 131.9 kB / 488.7 MB, free: 13 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.000295/0.1258, allocations: 151.2 kB / 488.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.1269, allocations: 0.6922 MB / 489.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.1269, allocations: 0 / 489.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005485/0.1274, allocations: 0.4923 MB / 490 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007684/0.1282, allocations: 110 kB / 490.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.1299, allocations: 1.051 MB / 491.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.1304, allocations: 0.8623 MB / 492.1 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.82e-05/0.1305, allocations: 31.42 kB / 492.1 MB, free: 9.391 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1305, allocations: 0 / 492.1 MB, free: 9.391 MB / 366.1 MB Notification: Performance of Templates: time 0.01231/0.1428, allocations: 8.183 MB / 0.4886 GB, free: 1.262 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches