Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 100.8 kB / 269.9 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3148/0.3148, allocations: 43.5 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 55.92 kB / 429.3 MB, free: 6.367 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1249, allocations: 57.78 MB / 487 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.00527/0.1302, allocations: 2.252 MB / 489.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.1328, allocations: 1.169 MB / 490.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.133, allocations: 0 / 490.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003878/0.1334, allocations: 55.72 kB / 490.5 MB, free: 9.016 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.1338, allocations: 103.4 kB / 490.6 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006752/0.1345, allocations: 147.6 kB / 490.8 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008586/0.1354, allocations: 0.5952 MB / 491.4 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1355, allocations: 65.31 kB / 491.4 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000302/0.1358, allocations: 151.2 kB / 491.6 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003616/0.1362, allocations: 210.9 kB / 491.8 MB, free: 7.746 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/0.1363, allocations: 12 kB / 491.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00072/0.137, allocations: 327.5 kB / 492.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.1372, allocations: 99.45 kB / 492.2 MB, free: 7.316 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002612/0.1375, allocations: 178.8 kB / 492.4 MB, free: 7.141 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009167/0.1384, allocations: 0.5721 MB / 493 MB, free: 6.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1384, allocations: 0 / 493 MB, free: 6.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1384, allocations: 0 / 493 MB, free: 6.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1384, allocations: 0 / 493 MB, free: 6.566 MB / 378.7 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.001712/0.1402, allocations: 0.7604 MB / 493.7 MB, free: 5.758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1402, allocations: 8.031 kB / 493.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.1404, allocations: 48.38 kB / 493.8 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005334/0.1409, allocations: 307.5 kB / 494.1 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.141, allocations: 29.38 kB / 494.1 MB, free: 5.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.907e-05/0.1411, allocations: 52.06 kB / 494.1 MB, free: 5.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.1426, allocations: 0.6558 MB / 494.8 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1426, allocations: 0 / 494.8 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-05/0.1427, allocations: 20 kB / 494.8 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.718e-05/0.1428, allocations: 28.98 kB / 494.8 MB, free: 4.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.1443, allocations: 483.5 kB / 495.3 MB, free: 4.086 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.1476, allocations: 1.503 MB / 496.8 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007009/0.1484, allocations: 311.4 kB / 497.1 MB, free: 2.188 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.1488, allocations: 158.4 kB / 497.3 MB, free: 2.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.061e-05/0.1488, allocations: 7.984 kB / 497.3 MB, free: 2.016 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1489, allocations: 34.56 kB / 497.3 MB, free: 1.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 2.635e-06/0.1489, allocations: 0 / 497.3 MB, free: 1.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.00142/0.1503, allocations: 0.4969 MB / 497.8 MB, free: 1.469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/0.1504, allocations: 106.8 kB / 497.9 MB, free: 1.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000674/0.1511, allocations: 0.5408 MB / 498.5 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.1511, allocations: 29.7 kB / 498.5 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.1513, allocations: 224.1 kB / 498.7 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.802e-05/0.1514, allocations: 74.98 kB / 498.8 MB, free: 468 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.1516, allocations: 81.88 kB / 498.9 MB, free: 380 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1517, allocations: 354.8 kB / 499.2 MB, free: 16 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/0.1522, allocations: 160 kB / 499.4 MB, free: 15.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/0.1527, allocations: 279.7 kB / 499.6 MB, free: 15.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009176/0.1536, allocations: 450.5 kB / 0.4884 GB, free: 15.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1536, allocations: 0 / 0.4884 GB, free: 15.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001145/0.1548, allocations: 0.4926 MB / 0.4888 GB, free: 14.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.1548, allocations: 4 kB / 0.4888 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.731e-05/0.1549, allocations: 48.45 kB / 0.4889 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.1549, allocations: 11.94 kB / 0.4889 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002688/0.1552, allocations: 43.95 kB / 0.4889 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.1552, allocations: 7.938 kB / 0.489 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/0.1556, allocations: 67.27 kB / 0.489 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.1557, allocations: 27.98 kB / 0.489 GB, free: 14.33 MB / 394.7 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.0002575/0.1559, allocations: 205.6 kB / 0.4892 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.1561, allocations: 43.44 kB / 0.4893 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.1571, allocations: 457 kB / 0.4897 GB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.1572, allocations: 7.938 kB / 0.4897 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.1572, allocations: 4 kB / 0.4897 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1572, allocations: 0 / 0.4897 GB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006889/0.1579, allocations: 381.3 kB / 0.4901 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.758e-05/0.158, allocations: 35.98 kB / 0.4901 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.1581, allocations: 31.97 kB / 0.4902 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1582, allocations: 7.938 kB / 0.4902 GB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.273e-05/0.1582, allocations: 15.98 kB / 0.4902 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1582, allocations: 3.938 kB / 0.4902 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1582, allocations: 0 / 0.4902 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.1601, allocations: 1.413 MB / 0.4916 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.1603, allocations: 132.5 kB / 0.4917 GB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.363e-05/0.1603, allocations: 8 kB / 0.4917 GB, free: 11.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.1606, allocations: 15.98 kB / 0.4917 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.388e-05/0.1607, allocations: 27.91 kB / 0.4917 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.1608, allocations: 12 kB / 0.4918 GB, free: 11.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004193/0.1612, allocations: 395 kB / 0.4921 GB, free: 11.03 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1612, allocations: 0 / 0.4921 GB, free: 11.03 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006663/0.1619, allocations: 135.9 kB / 0.4923 GB, free: 10.9 MB / 394.7 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.0002971/0.1622, allocations: 155.2 kB / 0.4924 GB, free: 10.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009651/0.1631, allocations: 0.6639 MB / 0.4931 GB, free: 9.996 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1632, allocations: 3.938 kB / 0.4931 GB, free: 9.992 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000495/0.1637, allocations: 484.6 kB / 0.4935 GB, free: 9.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006624/0.1643, allocations: 106.5 kB / 0.4936 GB, free: 9.348 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.1659, allocations: 1.195 MB / 0.4948 GB, free: 8.109 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.1663, allocations: 0.8662 MB / 0.4956 GB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.1665, allocations: 83.28 kB / 0.4957 GB, free: 7.133 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.1666, allocations: 27.44 kB / 0.4957 GB, free: 7.105 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1666, allocations: 4 kB / 0.4957 GB, free: 7.102 MB / 394.7 MB Notification: Performance of Templates: time 0.181/0.3476, allocations: 8.28 MB / 0.5038 GB, free: 59.8 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_laminar/kc_laminar.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches