Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001522/0.001522, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.673/1.673, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2417/0.2417, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 76.47 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1399, allocations: 62.46 MB / 480.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004048/0.144, allocations: 2.216 MB / 482.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1461, allocations: 1.18 MB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1463, allocations: 0 / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.1466, allocations: 71.53 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.1469, allocations: 107.3 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006559/0.1476, allocations: 183.3 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006217/0.1482, allocations: 0.49 MB / 484.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1483, allocations: 49.06 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003099/0.1487, allocations: 183.1 kB / 484.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.1489, allocations: 203 kB / 484.8 MB, free: 488 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.149, allocations: 19.94 kB / 484.8 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005754/0.1496, allocations: 331.5 kB / 485.1 MB, free: 136 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.1497, allocations: 95.52 kB / 485.2 MB, free: 40 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.15, allocations: 190.8 kB / 485.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007747/0.1508, allocations: 0.5801 MB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1508, allocations: 0 / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.1508, allocations: 4 kB / 486 MB, free: 15.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.1508, allocations: 0 / 486 MB, free: 15.27 MB / 366.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.001371/0.1522, allocations: 0.7526 MB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.1522, allocations: 8.031 kB / 486.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004127/0.1526, allocations: 84.33 kB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.1531, allocations: 303.5 kB / 487.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.1531, allocations: 37.38 kB / 487.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.829e-05/0.1532, allocations: 56.06 kB / 487.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.1544, allocations: 0.648 MB / 487.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1544, allocations: 3.984 kB / 487.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.1544, allocations: 20 kB / 487.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/0.1545, allocations: 25 kB / 487.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009649/0.1555, allocations: 487.5 kB / 488.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.1577, allocations: 1.515 MB / 489.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.1584, allocations: 307.4 kB / 490.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.1587, allocations: 146.5 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.762e-05/0.1588, allocations: 7.984 kB / 490.4 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.1589, allocations: 38.56 kB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.1589, allocations: 4 kB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001326/0.1602, allocations: 0.4889 MB / 490.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.663e-05/0.1603, allocations: 111.1 kB / 491 MB, free: 10.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006637/0.161, allocations: 0.5447 MB / 491.6 MB, free: 9.457 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.161, allocations: 25.7 kB / 491.6 MB, free: 9.426 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.1612, allocations: 231.9 kB / 491.8 MB, free: 9.195 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.1613, allocations: 67 kB / 491.9 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.1615, allocations: 85.88 kB / 492 MB, free: 9.035 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.1616, allocations: 354.8 kB / 492.3 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.1621, allocations: 156.1 kB / 492.5 MB, free: 8.527 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005154/0.1626, allocations: 280.5 kB / 492.7 MB, free: 8.199 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008889/0.1635, allocations: 445 kB / 493.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.1635, allocations: 4 kB / 493.2 MB, free: 7.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001085/0.1646, allocations: 0.5028 MB / 493.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1646, allocations: 4 kB / 493.7 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.851e-05/0.1647, allocations: 43.98 kB / 493.7 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.1647, allocations: 7.938 kB / 493.7 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.165, allocations: 47.84 kB / 493.8 MB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.165, allocations: 7.984 kB / 493.8 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.1653, allocations: 71.41 kB / 493.9 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.1654, allocations: 28 kB / 493.9 MB, free: 6.992 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.0003026/0.1657, allocations: 209.6 kB / 494.1 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.1659, allocations: 47.42 kB / 494.1 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009113/0.1668, allocations: 437.1 kB / 494.6 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.1668, allocations: 15.94 kB / 494.6 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1668, allocations: 0 / 494.6 MB, free: 6.277 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.1668, allocations: 3.984 kB / 494.6 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.1675, allocations: 385.2 kB / 495 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.737e-05/0.1675, allocations: 43.97 kB / 495 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.1677, allocations: 23.97 kB / 495 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1677, allocations: 0 / 495 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.1677, allocations: 15.94 kB / 495 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.032e-06/0.1677, allocations: 3.938 kB / 495 MB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.1678, allocations: 3.984 kB / 495 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009948/0.1688, allocations: 0.6095 MB / 495.7 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.1689, allocations: 128.5 kB / 495.8 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.169, allocations: 12 kB / 495.8 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000279/0.1693, allocations: 19.92 kB / 495.8 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.1694, allocations: 23.97 kB / 495.8 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.882e-05/0.1694, allocations: 16 kB / 495.9 MB, free: 4.918 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005106/0.1699, allocations: 391 kB / 496.2 MB, free: 4.543 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1699, allocations: 0 / 496.2 MB, free: 4.543 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006028/0.1706, allocations: 139.8 kB / 496.4 MB, free: 4.406 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.000324/0.1709, allocations: 163 kB / 496.5 MB, free: 4.238 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.172, allocations: 0.6861 MB / 497.2 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.172, allocations: 3.938 kB / 497.2 MB, free: 3.477 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006105/0.1726, allocations: 481.3 kB / 497.7 MB, free: 2.934 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/0.1734, allocations: 113.8 kB / 497.8 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.1752, allocations: 0.9123 MB / 498.7 MB, free: 1.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.1757, allocations: 0.8659 MB / 499.6 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002358/0.1759, allocations: 87.33 kB / 499.7 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.176, allocations: 27.44 kB / 499.7 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.176, allocations: 0 / 499.7 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of Templates: time 0.01652/0.1926, allocations: 8.531 MB / 0.4963 GB, free: 8.438 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches