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.0008647/0.0008646, allocations: 95.19 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000882/0.0008823, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.7 MB / 246.8 MB, free: 11.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.214/0.214, allocations: 46.19 MB / 345.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002829/0.0002829, allocations: 8.375 kB / 419.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1253, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002639/0.128, allocations: 1.923 MB / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002111/0.1301, allocations: 1.165 MB / 486.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.1303, allocations: 7.938 kB / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.1306, allocations: 55.7 kB / 486.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.1309, allocations: 99.42 kB / 486.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004998/0.1314, allocations: 155.5 kB / 486.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005606/0.132, allocations: 0.5953 MB / 487.1 MB, free: 132 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.263e-05/0.1321, allocations: 60.98 kB / 487.2 MB, free: 68 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.1323, allocations: 163.1 kB / 487.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.1326, allocations: 214.9 kB / 487.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.1326, allocations: 15.98 kB / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.1331, allocations: 327.5 kB / 487.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1332, allocations: 95.53 kB / 488 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001743/0.1334, allocations: 212.4 kB / 488.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006042/0.134, allocations: 0.5724 MB / 488.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.134, allocations: 3.984 kB / 488.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.134, allocations: 0 / 488.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.134, allocations: 0 / 488.7 MB, free: 14.47 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.001058/0.1351, allocations: 0.6863 MB / 489.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1352, allocations: 12.88 kB / 489.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003938/0.1356, allocations: 92.33 kB / 489.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.1359, allocations: 300.1 kB / 489.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.136, allocations: 33.38 kB / 489.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.136, allocations: 52.12 kB / 489.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.137, allocations: 0.6714 MB / 490.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1371, allocations: 0 / 490.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.1371, allocations: 24 kB / 490.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-05/0.1372, allocations: 24.98 kB / 490.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009568/0.1381, allocations: 0.4995 MB / 491.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.1401, allocations: 1.496 MB / 492.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.1407, allocations: 323.4 kB / 492.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.1411, allocations: 166.4 kB / 493.1 MB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.175e-05/0.1411, allocations: 15.98 kB / 493.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1412, allocations: 30.56 kB / 493.1 MB, free: 9.852 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.1412, allocations: 0 / 493.1 MB, free: 9.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001298/0.1425, allocations: 0.5417 MB / 493.7 MB, free: 9.305 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.1425, allocations: 102.8 kB / 493.8 MB, free: 9.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000581/0.1431, allocations: 0.5487 MB / 494.3 MB, free: 8.625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.1432, allocations: 29.7 kB / 494.4 MB, free: 8.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.1433, allocations: 227.9 kB / 494.6 MB, free: 8.363 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.614e-05/0.1434, allocations: 71.02 kB / 494.7 MB, free: 8.293 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.1435, allocations: 33.7 kB / 494.7 MB, free: 8.254 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1436, allocations: 358.8 kB / 495 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.144, allocations: 164.1 kB / 495.2 MB, free: 7.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004665/0.1445, allocations: 295.6 kB / 495.5 MB, free: 7.387 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008938/0.1454, allocations: 473.8 kB / 496 MB, free: 6.871 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1454, allocations: 0 / 496 MB, free: 6.871 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001073/0.1465, allocations: 0.5203 MB / 496.5 MB, free: 6.344 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.1465, allocations: 4 kB / 496.5 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.982e-05/0.1466, allocations: 47.92 kB / 496.5 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1466, allocations: 7.938 kB / 496.5 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.1468, allocations: 47.95 kB / 496.6 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.1469, allocations: 12.06 kB / 496.6 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.1472, allocations: 79.25 kB / 496.7 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.1473, allocations: 24 kB / 496.7 MB, free: 6.125 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.0002382/0.1475, allocations: 209.6 kB / 496.9 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.1476, allocations: 47.44 kB / 496.9 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009016/0.1485, allocations: 463.6 kB / 497.4 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.1485, allocations: 7.938 kB / 497.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1486, allocations: 0 / 497.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1486, allocations: 0 / 497.4 MB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005601/0.1491, allocations: 393.2 kB / 497.8 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.058e-05/0.1492, allocations: 47.98 kB / 497.8 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.1494, allocations: 27.97 kB / 497.9 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.1494, allocations: 7.938 kB / 497.9 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.1494, allocations: 12 kB / 497.9 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1494, allocations: 3.938 kB / 497.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1494, allocations: 0 / 497.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009203/0.1504, allocations: 0.6306 MB / 498.5 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.1505, allocations: 132.5 kB / 498.6 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/0.1506, allocations: 4 kB / 498.6 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.1509, allocations: 27.92 kB / 498.7 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.1509, allocations: 23.97 kB / 498.7 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.151, allocations: 16 kB / 498.7 MB, free: 3.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004161/0.1514, allocations: 391 kB / 499.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1514, allocations: 0 / 499.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005552/0.152, allocations: 139.8 kB / 499.2 MB, free: 3.48 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.0002958/0.1523, allocations: 155.1 kB / 499.4 MB, free: 3.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.1533, allocations: 0.6922 MB / 0.4884 GB, free: 2.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1533, allocations: 0 / 0.4884 GB, free: 2.555 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005485/0.1539, allocations: 0.4886 MB / 0.4888 GB, free: 1.992 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007349/0.1546, allocations: 109.5 kB / 0.4889 GB, free: 1.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.1563, allocations: 1.049 MB / 0.49 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.1568, allocations: 0.87 MB / 0.4908 GB, free: 15.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.1571, allocations: 87.28 kB / 0.4909 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.1571, allocations: 27.44 kB / 0.4909 GB, free: 15.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1571, allocations: 0 / 0.4909 GB, free: 15.79 MB / 382.1 MB Notification: Performance of Templates: time 0.01456/0.1717, allocations: 8.06 MB / 0.4988 GB, free: 7.836 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