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.0009224/0.0009225, allocations: 92.59 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.00151, allocations: 204.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 46.19 MB / 345.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002894/0.0002895, allocations: 8 kB / 419.5 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1405, allocations: 63.56 MB / 483.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002471/0.143, allocations: 1.599 MB / 484.7 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.1444, allocations: 0.8414 MB / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.168e-05/0.1444, allocations: 3.938 kB / 485.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.1447, allocations: 39.8 kB / 485.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.145, allocations: 79.62 kB / 485.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.1452, allocations: 71.44 kB / 485.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003699/0.1456, allocations: 366.5 kB / 486.1 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.351e-05/0.1457, allocations: 36.38 kB / 486.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.1459, allocations: 91.56 kB / 486.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.1461, allocations: 131.4 kB / 486.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.1461, allocations: 4 kB / 486.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002232/0.1463, allocations: 123.8 kB / 486.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.232e-05/0.1464, allocations: 63.69 kB / 486.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1465, allocations: 125 kB / 486.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.1469, allocations: 303 kB / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1469, allocations: 0 / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1469, allocations: 0 / 486.9 MB, free: 308 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1469, allocations: 0 / 486.9 MB, free: 308 kB / 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.0007684/0.1477, allocations: 0.5108 MB / 487.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1478, allocations: 8.031 kB / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.1478, allocations: 28.56 kB / 487.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1481, allocations: 239.9 kB / 487.7 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.1481, allocations: 20.94 kB / 487.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.1481, allocations: 28.12 kB / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/0.1487, allocations: 385.2 kB / 488.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1488, allocations: 0 / 488.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.1488, allocations: 8 kB / 488.2 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/0.1489, allocations: 24.64 kB / 488.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006397/0.1495, allocations: 390.3 kB / 488.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.1507, allocations: 0.8384 MB / 489.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.1512, allocations: 258.3 kB / 489.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.1514, allocations: 104.8 kB / 489.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.1515, allocations: 7.922 kB / 489.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1515, allocations: 38.5 kB / 489.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.1515, allocations: 3.938 kB / 489.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007387/0.1523, allocations: 351.8 kB / 490.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.1523, allocations: 51.41 kB / 490.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.1527, allocations: 338.9 kB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.1527, allocations: 29.7 kB / 490.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1528, allocations: 168 kB / 490.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.1529, allocations: 59.19 kB / 490.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.505e-05/0.1529, allocations: 33.7 kB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1531, allocations: 338.8 kB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.1533, allocations: 100.4 kB / 491.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002733/0.1536, allocations: 201.7 kB / 491.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000503/0.1541, allocations: 310.8 kB / 491.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1541, allocations: 0 / 491.7 MB, free: 11.21 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006019/0.1547, allocations: 358.8 kB / 492.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1547, allocations: 10.5 kB / 492.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1547, allocations: 4.375 kB / 492.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1548, allocations: 8 kB / 492.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00057/0.1553, allocations: 123.9 kB / 492.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001859/0.1572, allocations: 3.657 MB / 495.9 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.1574, allocations: 47.52 kB / 495.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.1575, allocations: 16 kB / 495.9 MB, free: 6.855 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.0002167/0.1577, allocations: 181.6 kB / 496.1 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.1577, allocations: 23.72 kB / 496.2 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007289/0.1585, allocations: 335.5 kB / 496.5 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1585, allocations: 4 kB / 496.5 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1585, allocations: 0 / 496.5 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1585, allocations: 4 kB / 496.5 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.1589, allocations: 301.4 kB / 496.8 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1589, allocations: 0 / 496.8 MB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.1594, allocations: 115.9 kB / 496.9 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.1594, allocations: 0 / 496.9 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.1594, allocations: 4 kB / 496.9 MB, free: 5.836 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.1615, allocations: 3.653 MB / 0.4888 GB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1615, allocations: 3.938 kB / 0.4888 GB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005358/0.162, allocations: 361.8 kB / 0.4892 GB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.1621, allocations: 112.6 kB / 0.4893 GB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.032e-05/0.1621, allocations: 7.984 kB / 0.4893 GB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.1623, allocations: 11.94 kB / 0.4893 GB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.1624, allocations: 19.97 kB / 0.4893 GB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.1624, allocations: 8 kB / 0.4893 GB, free: 1.496 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.1626, allocations: 241.9 kB / 0.4896 GB, free: 1.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1626, allocations: 4 kB / 0.4896 GB, free: 1.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000371/0.163, allocations: 75.94 kB / 0.4896 GB, free: 1.184 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.0002367/0.1633, allocations: 143.1 kB / 0.4898 GB, free: 1.035 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008366/0.1641, allocations: 328.3 kB / 0.4901 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1641, allocations: 0 / 0.4901 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.1647, allocations: 191.8 kB / 0.4903 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.1651, allocations: 56.84 kB / 0.4903 GB, free: 480 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009267/0.166, allocations: 0.6612 MB / 0.491 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.1664, allocations: 0.7988 MB / 0.4917 GB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002032/0.1666, allocations: 86.88 kB / 0.4918 GB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.1666, allocations: 23.38 kB / 0.4918 GB, free: 14.85 MB / 382.1 MB Notification: Performance of SimCode: time 1.813e-06/0.1666, allocations: 0 / 0.4918 GB, free: 14.85 MB / 382.1 MB Notification: Performance of Templates: time 0.00936/0.176, allocations: 5.058 MB / 0.4968 GB, free: 9.867 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