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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009926/0.0009928, allocations: 96.98 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 177.6 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.4 MB / 222.7 MB, free: 5.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3934/0.3934, allocations: 43.54 MB / 314.5 MB, free: 8.777 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005278/0.0005279, allocations: 22.66 kB / 383.9 MB, free: 8.008 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1519, allocations: 58.84 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002645/0.1546, allocations: 1.787 MB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1562, allocations: 1.042 MB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.168e-05/0.1563, allocations: 4 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.1566, allocations: 51.67 kB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.1568, allocations: 71.78 kB / 445.7 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.1572, allocations: 147.6 kB / 445.9 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.1576, allocations: 327.3 kB / 446.2 MB, free: 9.613 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1577, allocations: 61.31 kB / 446.3 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.1579, allocations: 147.3 kB / 446.4 MB, free: 9.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.1581, allocations: 171.3 kB / 446.6 MB, free: 9.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.1582, allocations: 12 kB / 446.6 MB, free: 9.223 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004457/0.1586, allocations: 315.6 kB / 446.9 MB, free: 8.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.1587, allocations: 87.64 kB / 447 MB, free: 8.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.378e-05/0.1588, allocations: 93.5 kB / 447.1 MB, free: 8.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.1592, allocations: 371 kB / 447.4 MB, free: 8.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1593, allocations: 0 / 447.4 MB, free: 8.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1593, allocations: 0 / 447.4 MB, free: 8.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1593, allocations: 0 / 447.4 MB, free: 8.367 MB / 382.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.001144/0.1604, allocations: 0.6978 MB / 448.1 MB, free: 7.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1605, allocations: 8.031 kB / 448.1 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.519e-05/0.1606, allocations: 51.39 kB / 448.2 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.161, allocations: 294.4 kB / 448.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.223e-05/0.161, allocations: 33 kB / 448.5 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.1611, allocations: 44 kB / 448.5 MB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009804/0.1621, allocations: 0.6558 MB / 449.2 MB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1621, allocations: 4 kB / 449.2 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.1622, allocations: 24 kB / 449.2 MB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.524e-05/0.1622, allocations: 28.92 kB / 449.3 MB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008766/0.1631, allocations: 0.4917 MB / 449.7 MB, free: 5.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.1652, allocations: 1.539 MB / 451.3 MB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005618/0.1657, allocations: 307.6 kB / 451.6 MB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.683e-05/0.1658, allocations: 11.97 kB / 451.6 MB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1658, allocations: 42.56 kB / 451.6 MB, free: 3.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.1658, allocations: 3.938 kB / 451.6 MB, free: 3.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001332/0.1672, allocations: 0.7537 MB / 452.4 MB, free: 3.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.1672, allocations: 110.8 kB / 452.5 MB, free: 2.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.1678, allocations: 0.533 MB / 453 MB, free: 2.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.1679, allocations: 29.7 kB / 453.1 MB, free: 2.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.168, allocations: 227.9 kB / 453.3 MB, free: 2.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.1681, allocations: 82.86 kB / 453.4 MB, free: 2.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.916e-05/0.1681, allocations: 4 kB / 453.4 MB, free: 2.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1683, allocations: 354.8 kB / 453.7 MB, free: 1.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003531/0.1686, allocations: 176 kB / 453.9 MB, free: 1.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.1691, allocations: 291.7 kB / 454.2 MB, free: 1.234 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000389/0.1695, allocations: 199.8 kB / 454.4 MB, free: 1.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1695, allocations: 4 kB / 454.4 MB, free: 1.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000946/0.1704, allocations: 0.5164 MB / 454.9 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.1705, allocations: 15.16 kB / 454.9 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.63e-05/0.1706, allocations: 35.97 kB / 454.9 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1706, allocations: 8 kB / 454.9 MB, free: 468 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.1708, allocations: 47.89 kB / 455 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1708, allocations: 4 kB / 455 MB, free: 416 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.1711, allocations: 87.2 kB / 455.1 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.1712, allocations: 24 kB / 455.1 MB, free: 304 kB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002271/0.1714, allocations: 213.5 kB / 455.3 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.972e-05/0.1715, allocations: 39.53 kB / 455.4 MB, free: 40 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2557/0.4272, allocations: 454.2 kB / 455.8 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.4273, allocations: 6.516 kB / 455.8 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4273, allocations: 0 / 455.8 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.4273, allocations: 2.109 kB / 455.8 MB, free: 46.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006827/0.428, allocations: 390.1 kB / 456.2 MB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-05/0.4281, allocations: 36.08 kB / 456.2 MB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.4282, allocations: 38.88 kB / 456.3 MB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4283, allocations: 0 / 456.3 MB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.4283, allocations: 11.69 kB / 456.3 MB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4283, allocations: 4.953 kB / 456.3 MB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4283, allocations: 6.781 kB / 456.3 MB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007886/0.4291, allocations: 0.6467 MB / 456.9 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.4292, allocations: 126.8 kB / 457.1 MB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.419e-05/0.4293, allocations: 3.312 kB / 457.1 MB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.4296, allocations: 30.33 kB / 457.1 MB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.4297, allocations: 23.02 kB / 457.1 MB, free: 45.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/0.4297, allocations: 20.8 kB / 457.1 MB, free: 45.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000372/0.4301, allocations: 387.3 kB / 457.5 MB, free: 45.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.82e-07/0.4301, allocations: 0 / 457.5 MB, free: 45.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006025/0.4307, allocations: 137.4 kB / 457.6 MB, free: 45.44 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003052/0.431, allocations: 158.2 kB / 457.8 MB, free: 45.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008809/0.4319, allocations: 0.6908 MB / 458.5 MB, free: 44.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4319, allocations: 0 / 458.5 MB, free: 44.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004304/0.4324, allocations: 489.1 kB / 459 MB, free: 44.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.4329, allocations: 106.3 kB / 459.1 MB, free: 44.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.4345, allocations: 0.9948 MB / 460.1 MB, free: 44.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.4348, allocations: 0.8703 MB / 460.9 MB, free: 43.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.435, allocations: 87.73 kB / 461 MB, free: 43.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.81e-05/0.435, allocations: 29.28 kB / 461 MB, free: 43.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.435, allocations: 0 / 461 MB, free: 43.5 MB / 382.1 MB Notification: Performance of Templates: time 0.01207/0.4471, allocations: 7.67 MB / 468.7 MB, free: 42.88 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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