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.0008606/0.0008608, allocations: 97.36 kB / 17.35 MB, free: 6.367 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.001134/0.001134, allocations: 173.6 kB / 18.25 MB, free: 5.523 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.461/1.461, allocations: 223.3 MB / 242.3 MB, free: 248 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.203/0.203, allocations: 44.25 MB / 337.7 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003271, allocations: 8 kB / 410.4 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1375, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002739/0.1403, allocations: 1.89 MB / 474.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002272/0.1426, allocations: 1.114 MB / 475.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.36e-05/0.1427, allocations: 0 / 475.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000315/0.1431, allocations: 59.72 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.1433, allocations: 95.42 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.1438, allocations: 155.1 kB / 475.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005898/0.1444, allocations: 0.5873 MB / 476.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1445, allocations: 57.05 kB / 476.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.1447, allocations: 163.1 kB / 476.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000284/0.145, allocations: 214.9 kB / 476.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.1451, allocations: 12 kB / 476.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005097/0.1456, allocations: 319.5 kB / 476.9 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.1457, allocations: 95.53 kB / 477 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.1459, allocations: 216.4 kB / 477.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006646/0.1466, allocations: 0.5646 MB / 477.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1466, allocations: 0 / 477.8 MB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1466, allocations: 4 kB / 477.8 MB, free: 7.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1466, allocations: 0 / 477.8 MB, free: 7.801 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.001285/0.1479, allocations: 0.6825 MB / 478.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.212e-05/0.148, allocations: 8.031 kB / 478.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.1481, allocations: 52.28 kB / 478.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004277/0.1485, allocations: 304.1 kB / 478.8 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.1486, allocations: 33.38 kB / 478.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/0.1487, allocations: 52.12 kB / 478.9 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.1498, allocations: 0.6597 MB / 479.6 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.1498, allocations: 7.938 kB / 479.6 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.1499, allocations: 16 kB / 479.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-05/0.1499, allocations: 32.98 kB / 479.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009883/0.1509, allocations: 0.4956 MB / 480.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.1534, allocations: 1.503 MB / 481.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006909/0.1541, allocations: 315.5 kB / 481.9 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003834/0.1545, allocations: 162.5 kB / 482.1 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.564e-05/0.1546, allocations: 7.984 kB / 482.1 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.1546, allocations: 42.5 kB / 482.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 3.366e-06/0.1546, allocations: 4 kB / 482.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001439/0.1561, allocations: 0.5264 MB / 482.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/0.1562, allocations: 110.9 kB / 482.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007705/0.157, allocations: 0.5369 MB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.157, allocations: 29.7 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.1573, allocations: 235.8 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.598e-05/0.1573, allocations: 70.97 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.1574, allocations: 37.7 kB / 483.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.1576, allocations: 350.8 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004046/0.158, allocations: 176.1 kB / 484.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.1585, allocations: 283.8 kB / 484.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008549/0.1594, allocations: 476.9 kB / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.1594, allocations: 4 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001097/0.1605, allocations: 0.5241 MB / 485.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1605, allocations: 4 kB / 485.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.986e-05/0.1606, allocations: 43.98 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/0.1606, allocations: 7.938 kB / 485.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.1609, allocations: 48.12 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-05/0.1609, allocations: 15.92 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.1613, allocations: 71.27 kB / 485.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.1614, allocations: 27.98 kB / 485.7 MB, free: 15.51 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.0002937/0.1617, allocations: 213.6 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.1618, allocations: 47.47 kB / 485.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009339/0.1628, allocations: 455.2 kB / 486.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.1628, allocations: 7.938 kB / 486.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1628, allocations: 4 kB / 486.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1628, allocations: 4 kB / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007127/0.1635, allocations: 389.2 kB / 486.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.993e-05/0.1636, allocations: 35.98 kB / 486.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.1638, allocations: 31.91 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1638, allocations: 4 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.1638, allocations: 15.98 kB / 486.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.1638, allocations: 3.938 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1638, allocations: 4 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.1648, allocations: 0.6289 MB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/0.165, allocations: 128.5 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.985e-05/0.1651, allocations: 3.938 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.1654, allocations: 39.84 kB / 487.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.581e-05/0.1655, allocations: 19.98 kB / 487.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.1655, allocations: 15.98 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004581/0.166, allocations: 395 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.166, allocations: 0 / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006223/0.1666, allocations: 127.9 kB / 488.2 MB, free: 12.88 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.0003387/0.167, allocations: 151.3 kB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.1682, allocations: 0.6959 MB / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1682, allocations: 0 / 489.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005901/0.1688, allocations: 496.5 kB / 489.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008448/0.1697, allocations: 117.9 kB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.1718, allocations: 1.042 MB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.1723, allocations: 0.8662 MB / 491.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.1726, allocations: 87.33 kB / 491.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.791e-05/0.1727, allocations: 31.44 kB / 491.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of SimCode: time 1.423e-06/0.1727, allocations: 0 / 491.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of Templates: time 0.01568/0.1884, allocations: 8.056 MB / 499.7 MB, free: 1.246 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/jenkins/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/jenkins/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