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.001541/0.001541, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001828/0.001828, allocations: 194 kB / 18.77 MB, free: 4.742 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.314/1.314, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.202/0.202, allocations: 44.18 MB / 336.8 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 68.41 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09939/0.1006, allocations: 60.82 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003721/0.1044, allocations: 2.265 MB / 471.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1063, allocations: 1.122 MB / 472.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.1065, allocations: 4 kB / 472.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.1068, allocations: 59.72 kB / 472.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.1072, allocations: 95.42 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005593/0.1078, allocations: 147.6 kB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006063/0.1084, allocations: 0.5873 MB / 473.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1085, allocations: 57.06 kB / 473.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002975/0.1088, allocations: 163.1 kB / 473.7 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.1091, allocations: 211 kB / 473.9 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.676e-05/0.1092, allocations: 12 kB / 473.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005593/0.1098, allocations: 323.5 kB / 474.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.1099, allocations: 91.53 kB / 474.3 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003463/0.1103, allocations: 194.7 kB / 474.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006933/0.111, allocations: 403.2 kB / 474.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.111, allocations: 4 kB / 474.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.111, allocations: 0 / 474.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.655e-05/0.1111, allocations: 0 / 474.9 MB, free: 9.094 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.001805/0.1129, allocations: 0.7448 MB / 475.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.1129, allocations: 16.03 kB / 475.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.1131, allocations: 44.38 kB / 475.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.1136, allocations: 308.1 kB / 476 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.1136, allocations: 33.38 kB / 476 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/0.1137, allocations: 52.06 kB / 476.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.1147, allocations: 0.6558 MB / 476.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.1147, allocations: 7.969 kB / 476.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.1148, allocations: 20 kB / 476.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/0.1148, allocations: 24.94 kB / 476.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008467/0.1157, allocations: 487.5 kB / 477.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.1176, allocations: 1.511 MB / 478.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.1182, allocations: 299.5 kB / 479.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.1185, allocations: 150.4 kB / 479.2 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.544e-05/0.1186, allocations: 11.98 kB / 479.2 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.1186, allocations: 30.56 kB / 479.3 MB, free: 4.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.064e-06/0.1186, allocations: 4 kB / 479.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001191/0.1198, allocations: 0.4957 MB / 479.8 MB, free: 4.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.1199, allocations: 106.8 kB / 479.9 MB, free: 3.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005475/0.1204, allocations: 0.5369 MB / 480.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.1205, allocations: 29.7 kB / 480.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.1206, allocations: 235.8 kB / 480.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.614e-05/0.1207, allocations: 67.02 kB / 480.7 MB, free: 3.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.1208, allocations: 82.03 kB / 480.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.121, allocations: 358.8 kB / 481.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.1213, allocations: 152.1 kB / 481.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/0.1218, allocations: 279.7 kB / 481.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008009/0.1226, allocations: 450.9 kB / 482 MB, free: 1.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.1226, allocations: 3.938 kB / 482 MB, free: 1.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009739/0.1236, allocations: 0.4903 MB / 482.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1236, allocations: 8 kB / 482.5 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.017e-05/0.1237, allocations: 43.98 kB / 482.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.1237, allocations: 15.88 kB / 482.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.1239, allocations: 36.45 kB / 482.6 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.124, allocations: 15.94 kB / 482.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.1243, allocations: 71.25 kB / 482.7 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.1243, allocations: 20 kB / 482.7 MB, free: 0.875 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.0002248/0.1246, allocations: 213.6 kB / 482.9 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-05/0.1247, allocations: 39.52 kB / 483 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008346/0.1255, allocations: 449.1 kB / 483.4 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.1255, allocations: 7.938 kB / 483.4 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1255, allocations: 0 / 483.4 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1255, allocations: 7.984 kB / 483.4 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.1261, allocations: 381.2 kB / 483.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.156e-05/0.1262, allocations: 43.98 kB / 483.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.1264, allocations: 23.97 kB / 483.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1264, allocations: 4 kB / 483.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.1264, allocations: 16 kB / 483.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1264, allocations: 7.938 kB / 483.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1264, allocations: 0 / 483.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000827/0.1273, allocations: 0.6052 MB / 484.5 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.1274, allocations: 124.5 kB / 484.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.722e-05/0.1275, allocations: 8 kB / 484.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.1277, allocations: 15.92 kB / 484.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.1278, allocations: 23.97 kB / 484.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.1279, allocations: 16 kB / 484.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000398/0.1283, allocations: 395 kB / 485.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1283, allocations: 0 / 485.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005657/0.1289, allocations: 135.8 kB / 485.2 MB, free: 14.29 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.0003222/0.1292, allocations: 163.2 kB / 485.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009821/0.1302, allocations: 0.6609 MB / 486 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.1302, allocations: 4.125 kB / 486 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005216/0.1307, allocations: 488.2 kB / 486.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/0.1315, allocations: 109.9 kB / 486.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.1331, allocations: 1.03 MB / 487.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.1335, allocations: 0.8584 MB / 488.5 MB, free: 10.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.067e-05/0.1336, allocations: 35.42 kB / 488.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1336, allocations: 0 / 488.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of Templates: time 0.01203/0.1456, allocations: 8.224 MB / 496.7 MB, free: 2.578 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