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.0008873/0.0008873, allocations: 93.8 kB / 17 MB, free: 6.09 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.001021/0.001021, allocations: 180.3 kB / 17.89 MB, free: 5.672 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.474/1.474, allocations: 223.2 MB / 241.9 MB, free: 14.62 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.2137/0.2137, allocations: 44.25 MB / 337.3 MB, free: 2.547 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 12 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1532, allocations: 61.92 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002662/0.1559, allocations: 1.837 MB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.1576, allocations: 1.021 MB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.219e-05/0.1577, allocations: 0 / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.1579, allocations: 55.66 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.1582, allocations: 95.48 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.1586, allocations: 139.6 kB / 474.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005787/0.1592, allocations: 0.5288 MB / 475.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.1593, allocations: 53.06 kB / 475.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.1595, allocations: 163.2 kB / 475.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.1598, allocations: 207 kB / 475.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.1599, allocations: 19.94 kB / 475.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.1603, allocations: 307.5 kB / 476 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.1605, allocations: 91.58 kB / 476.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.424e-05/0.1606, allocations: 89.45 kB / 476.2 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004722/0.161, allocations: 399.1 kB / 476.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.161, allocations: 0 / 476.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1611, allocations: 0 / 476.6 MB, free: 8.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1611, allocations: 0 / 476.6 MB, free: 8.641 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.001169/0.1622, allocations: 0.6862 MB / 477.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1623, allocations: 12.03 kB / 477.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.666e-05/0.1624, allocations: 47.34 kB / 477.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.1628, allocations: 298.9 kB / 477.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.1628, allocations: 40.94 kB / 477.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.1629, allocations: 47.98 kB / 477.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.1639, allocations: 0.6674 MB / 478.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.164, allocations: 0 / 478.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.164, allocations: 20 kB / 478.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.226e-05/0.1641, allocations: 24.98 kB / 478.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008807/0.165, allocations: 0.4956 MB / 478.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.1669, allocations: 1.504 MB / 480.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005947/0.1676, allocations: 315.6 kB / 480.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.1679, allocations: 157 kB / 480.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.879e-05/0.168, allocations: 27.86 kB / 480.9 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.168, allocations: 34.56 kB / 480.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.168, allocations: 0 / 480.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.0013/0.1693, allocations: 0.5245 MB / 481.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.1694, allocations: 106.8 kB / 481.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007189/0.1702, allocations: 0.5369 MB / 482.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.1702, allocations: 29.7 kB / 482.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.1704, allocations: 228 kB / 482.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.368e-05/0.1705, allocations: 70.98 kB / 482.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.135e-05/0.1706, allocations: 4 kB / 482.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1707, allocations: 358.8 kB / 482.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.1711, allocations: 168.1 kB / 483 MB, free: 2.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004913/0.1716, allocations: 287.9 kB / 483.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.1721, allocations: 207.7 kB / 483.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.1721, allocations: 0 / 483.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001063/0.1732, allocations: 0.5223 MB / 484 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.1732, allocations: 4 kB / 484 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.697e-05/0.1733, allocations: 43.98 kB / 484 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.1733, allocations: 4 kB / 484 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.1736, allocations: 55.83 kB / 484.1 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.1736, allocations: 11.94 kB / 484.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.1739, allocations: 87.31 kB / 484.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.174, allocations: 20 kB / 484.2 MB, free: 0.7148 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002583/0.1743, allocations: 205.6 kB / 484.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.1744, allocations: 47.39 kB / 484.4 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009421/0.1753, allocations: 460 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.1754, allocations: 4 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1754, allocations: 0 / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1754, allocations: 3.938 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005964/0.176, allocations: 389.2 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-05/0.1761, allocations: 43.98 kB / 485.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.1762, allocations: 27.97 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1762, allocations: 4 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/0.1763, allocations: 15.95 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1763, allocations: 4 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1763, allocations: 3.984 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008806/0.1772, allocations: 0.6365 MB / 486 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.1773, allocations: 124.5 kB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.469e-05/0.1774, allocations: 7.984 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.1777, allocations: 27.98 kB / 486.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.1778, allocations: 23.97 kB / 486.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.1778, allocations: 12 kB / 486.2 MB, free: 14.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000537/0.1783, allocations: 391 kB / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1784, allocations: 0 / 486.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006782/0.179, allocations: 123.9 kB / 486.7 MB, free: 14.1 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 (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.0004148/0.1795, allocations: 155.1 kB / 486.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.1806, allocations: 0.6961 MB / 487.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1806, allocations: 7.938 kB / 487.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005519/0.1812, allocations: 492.2 kB / 488 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007275/0.1819, allocations: 120.4 kB / 488.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.1836, allocations: 0.9795 MB / 489.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.1841, allocations: 0.8701 MB / 490 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002124/0.1844, allocations: 83.36 kB / 490.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.1844, allocations: 27.44 kB / 490.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1844, allocations: 0 / 490.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of Templates: time 0.01401/0.1984, allocations: 7.857 MB / 498 MB, free: 2.727 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