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.001441/0.001441, allocations: 112.7 kB / 17.98 MB, free: 4.887 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.001343/0.001343, allocations: 189.3 kB / 18.9 MB, free: 4.141 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.302/1.302, allocations: 222.9 MB / 242.6 MB, free: 15.37 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.2004/0.2004, allocations: 44.17 MB / 336.9 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.34 kB / 408.6 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1026, allocations: 60.83 MB / 469.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004218/0.1069, allocations: 2.253 MB / 471.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.1086, allocations: 1.118 MB / 472.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1087, allocations: 0 / 472.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.109, allocations: 59.72 kB / 472.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.1093, allocations: 91.42 kB / 472.9 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.1098, allocations: 151.6 kB / 473.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004978/0.1103, allocations: 0.4898 MB / 473.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.677e-05/0.1104, allocations: 53.06 kB / 473.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000244/0.1106, allocations: 179 kB / 473.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002501/0.1109, allocations: 203 kB / 474 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.1109, allocations: 16 kB / 474 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.1114, allocations: 331.4 kB / 474.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.1115, allocations: 95.52 kB / 474.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.1117, allocations: 186.8 kB / 474.6 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.1121, allocations: 415.2 kB / 475 MB, free: 9.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1121, allocations: 0 / 475 MB, free: 9.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1121, allocations: 0 / 475 MB, free: 9.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.1122, allocations: 0 / 475 MB, free: 9.035 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.001192/0.1133, allocations: 0.7564 MB / 475.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.1134, allocations: 8.031 kB / 475.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.021e-05/0.1135, allocations: 48.38 kB / 475.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.1138, allocations: 304.1 kB / 476.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.1139, allocations: 41.3 kB / 476.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.959e-05/0.1139, allocations: 52.11 kB / 476.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.1149, allocations: 0.6558 MB / 476.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.115, allocations: 0 / 476.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.115, allocations: 20 kB / 476.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-05/0.1151, allocations: 21 kB / 476.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008679/0.1159, allocations: 491.4 kB / 477.4 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.1179, allocations: 1.503 MB / 478.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006408/0.1186, allocations: 311.3 kB / 479.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.1189, allocations: 145 kB / 479.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-05/0.119, allocations: 15.97 kB / 479.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.119, allocations: 42.5 kB / 479.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.064e-06/0.119, allocations: 0 / 479.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001234/0.1203, allocations: 0.4893 MB / 479.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.1203, allocations: 106.8 kB / 480 MB, free: 3.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005607/0.1209, allocations: 0.5408 MB / 480.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.121, allocations: 25.7 kB / 480.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.1211, allocations: 231.9 kB / 480.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.618e-05/0.1212, allocations: 71 kB / 480.8 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.1213, allocations: 77.97 kB / 480.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1215, allocations: 358.8 kB / 481.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.1218, allocations: 152.1 kB / 481.4 MB, free: 2.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004298/0.1222, allocations: 275.8 kB / 481.7 MB, free: 2.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007765/0.123, allocations: 456.6 kB / 482.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.123, allocations: 4 kB / 482.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009764/0.124, allocations: 0.4966 MB / 482.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1241, allocations: 8 kB / 482.6 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.767e-05/0.1241, allocations: 39.98 kB / 482.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1242, allocations: 7.938 kB / 482.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.1244, allocations: 43.91 kB / 482.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1244, allocations: 4 kB / 482.7 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.1247, allocations: 79.56 kB / 482.8 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.1248, allocations: 20 kB / 482.8 MB, free: 0.8164 MB / 350.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.0002237/0.125, allocations: 217.5 kB / 483 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.997e-05/0.1251, allocations: 43.52 kB / 483.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008323/0.1259, allocations: 443.5 kB / 483.5 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.1259, allocations: 7.938 kB / 483.5 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.126, allocations: 0 / 483.5 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.126, allocations: 3.984 kB / 483.5 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005638/0.1265, allocations: 393.2 kB / 483.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.92e-05/0.1266, allocations: 39.98 kB / 483.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.1268, allocations: 23.97 kB / 484 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1268, allocations: 0 / 484 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.1268, allocations: 12 kB / 484 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.1268, allocations: 11.88 kB / 484 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1268, allocations: 4 kB / 484 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008546/0.1277, allocations: 0.6033 MB / 484.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.1278, allocations: 124.5 kB / 484.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.1279, allocations: 4 kB / 484.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.1282, allocations: 19.92 kB / 484.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.1283, allocations: 23.97 kB / 484.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.1283, allocations: 16 kB / 484.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004148/0.1287, allocations: 391 kB / 485.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1287, allocations: 3.938 kB / 485.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005327/0.1293, allocations: 143.8 kB / 485.3 MB, free: 14.22 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.0002949/0.1296, allocations: 143.2 kB / 485.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1306, allocations: 0.6911 MB / 486.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1306, allocations: 3.938 kB / 486.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.1311, allocations: 491.4 kB / 486.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.1319, allocations: 117.9 kB / 486.7 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.1334, allocations: 1.036 MB / 487.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.1338, allocations: 0.8659 MB / 488.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.615e-05/0.1339, allocations: 27.44 kB / 488.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1339, allocations: 0 / 488.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of Templates: time 0.01191/0.1459, allocations: 8.226 MB / 496.9 MB, free: 2.477 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