Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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_turbulent_KC,tolerance=1e-05,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001076, allocations: 106.8 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 73.47 kB / 417.1 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1368, allocations: 62.44 MB / 479.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003881/0.1407, allocations: 1.946 MB / 481.5 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.1428, allocations: 0.8374 MB / 482.3 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.143, allocations: 7.938 kB / 482.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.1433, allocations: 43.8 kB / 482.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.1437, allocations: 79.62 kB / 482.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.1441, allocations: 71.81 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003528/0.1445, allocations: 262.7 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.665e-05/0.1446, allocations: 32.39 kB / 482.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.1448, allocations: 103.5 kB / 482.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002651/0.1451, allocations: 131.4 kB / 483 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.1451, allocations: 4 kB / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.1454, allocations: 123.8 kB / 483.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.1456, allocations: 59.69 kB / 483.2 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1457, allocations: 111.3 kB / 483.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.1461, allocations: 299.1 kB / 483.6 MB, free: 1.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1462, allocations: 4 kB / 483.6 MB, free: 1.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1462, allocations: 0 / 483.6 MB, free: 1.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1462, allocations: 3.938 kB / 483.6 MB, free: 1.504 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009105/0.1471, allocations: 0.5498 MB / 484.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.1472, allocations: 12.03 kB / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.302e-05/0.1473, allocations: 28.56 kB / 484.2 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.1475, allocations: 238.4 kB / 484.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.1476, allocations: 16.94 kB / 484.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.369e-05/0.1477, allocations: 40 kB / 484.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/0.1483, allocations: 373.2 kB / 484.8 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1483, allocations: 3.984 kB / 484.8 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.1483, allocations: 12 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.099e-05/0.1484, allocations: 20.64 kB / 484.9 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006094/0.149, allocations: 382.3 kB / 485.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.1503, allocations: 0.8383 MB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004422/0.1508, allocations: 262.3 kB / 486.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002402/0.151, allocations: 96.77 kB / 486.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.1511, allocations: 11.92 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1511, allocations: 30.56 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.273e-06/0.1511, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007489/0.1519, allocations: 339.5 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.1519, allocations: 51.41 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.1523, allocations: 342.9 kB / 487.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.1524, allocations: 29.7 kB / 487.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.1525, allocations: 168 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.1526, allocations: 59.19 kB / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.126e-05/0.1527, allocations: 57.92 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1529, allocations: 338.8 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.1531, allocations: 100.4 kB / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.1534, allocations: 185.9 kB / 488.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.1539, allocations: 306.8 kB / 488.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.154, allocations: 4 kB / 488.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006289/0.1546, allocations: 351.3 kB / 488.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1546, allocations: 11.98 kB / 488.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1546, allocations: 0 / 488.8 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1546, allocations: 4 kB / 488.8 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/0.1552, allocations: 119.9 kB / 488.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/0.1579, allocations: 3.649 MB / 492.5 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.1581, allocations: 43.52 kB / 492.6 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.1582, allocations: 15.98 kB / 492.6 MB, free: 8.066 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002455/0.1584, allocations: 184.9 kB / 492.8 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.1585, allocations: 27.62 kB / 492.8 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007049/0.1592, allocations: 323.5 kB / 493.1 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1592, allocations: 0 / 493.1 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1592, allocations: 3.938 kB / 493.1 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1592, allocations: 11.98 kB / 493.1 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.1596, allocations: 297.3 kB / 493.4 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1596, allocations: 0 / 493.4 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004645/0.1601, allocations: 103.9 kB / 493.5 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1601, allocations: 0 / 493.5 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.1601, allocations: 8 kB / 493.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00285/0.163, allocations: 3.653 MB / 497.2 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.163, allocations: 3.938 kB / 497.2 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.1636, allocations: 347.2 kB / 497.5 MB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/0.1637, allocations: 108.8 kB / 497.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/0.1637, allocations: 7.984 kB / 497.6 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.1639, allocations: 11.92 kB / 497.7 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.164, allocations: 19.98 kB / 497.7 MB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.164, allocations: 4 kB / 497.7 MB, free: 2.738 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002735/0.1643, allocations: 249.9 kB / 497.9 MB, free: 2.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1643, allocations: 0 / 497.9 MB, free: 2.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.1647, allocations: 71.94 kB / 498 MB, free: 2.426 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002502/0.165, allocations: 135.1 kB / 498.1 MB, free: 2.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009795/0.1659, allocations: 342.9 kB / 498.5 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.166, allocations: 0 / 498.5 MB, free: 1.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005267/0.1665, allocations: 187.8 kB / 498.6 MB, free: 1.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.1669, allocations: 64.97 kB / 498.7 MB, free: 1.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1681, allocations: 0.6486 MB / 499.4 MB, free: 1.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.1685, allocations: 0.795 MB / 0.4884 GB, free: 220 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002193/0.1687, allocations: 78.91 kB / 0.4885 GB, free: 140 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.1688, allocations: 23.44 kB / 0.4885 GB, free: 116 kB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1688, allocations: 3.938 kB / 0.4885 GB, free: 112 kB / 366.1 MB Notification: Performance of Templates: time 0.01094/0.1797, allocations: 5.329 MB / 0.4937 GB, free: 10.85 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/StraightPipe/kc_turbulent_KC/kc_turbulent_KC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches