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_turbulent_KC.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_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_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 106.9 kB / 17.21 MB, free: 6.273 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.001378/0.001378, allocations: 194 kB / 18.12 MB, free: 5.363 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.445/1.445, allocations: 222.9 MB / 241.8 MB, free: 13.65 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.2125/0.2125, allocations: 44.17 MB / 336.1 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 67.89 kB / 407.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1287, allocations: 60.83 MB / 468.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003264/0.132, allocations: 1.926 MB / 470.5 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1333, allocations: 0.8024 MB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.1334, allocations: 0 / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.1337, allocations: 47.8 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.1341, allocations: 83.62 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.1343, allocations: 66.92 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.1347, allocations: 362.6 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.907e-05/0.1348, allocations: 32.38 kB / 471.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.1349, allocations: 95.52 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.1351, allocations: 131.4 kB / 472.1 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.1351, allocations: 4 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.1354, allocations: 119.8 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.708e-05/0.1355, allocations: 59.69 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1356, allocations: 99.3 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.136, allocations: 291.1 kB / 472.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.136, allocations: 4 kB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.136, allocations: 0 / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.136, allocations: 4 kB / 472.6 MB, free: 10.69 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.0008706/0.1369, allocations: 0.5537 MB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1369, allocations: 11.97 kB / 473.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.137, allocations: 28.56 kB / 473.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.1373, allocations: 239.9 kB / 473.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.1373, allocations: 16.94 kB / 473.5 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.1373, allocations: 28.12 kB / 473.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005951/0.1379, allocations: 377.2 kB / 473.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.138, allocations: 4 kB / 473.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.138, allocations: 4 kB / 473.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.422e-05/0.138, allocations: 28.64 kB / 473.9 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005976/0.1386, allocations: 370.3 kB / 474.3 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.1399, allocations: 0.8462 MB / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.1404, allocations: 258.3 kB / 475.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.1406, allocations: 96.81 kB / 475.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.1406, allocations: 11.88 kB / 475.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1407, allocations: 38.56 kB / 475.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.815e-06/0.1407, allocations: 0 / 475.5 MB, free: 7.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007826/0.1415, allocations: 339.9 kB / 475.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.1415, allocations: 55.41 kB / 475.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.1419, allocations: 338.9 kB / 476.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.1419, allocations: 25.7 kB / 476.3 MB, free: 6.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.142, allocations: 172 kB / 476.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.1421, allocations: 59.17 kB / 476.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.904e-05/0.1422, allocations: 61.94 kB / 476.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1423, allocations: 338.8 kB / 476.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.1426, allocations: 96.36 kB / 477 MB, free: 6.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.1429, allocations: 188 kB / 477.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.1434, allocations: 306.8 kB / 477.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1434, allocations: 0 / 477.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006065/0.144, allocations: 352.9 kB / 477.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.144, allocations: 8 kB / 477.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.144, allocations: 4 kB / 477.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1441, allocations: 4 kB / 477.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005861/0.1447, allocations: 123.9 kB / 477.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.1467, allocations: 3.645 MB / 481.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.1469, allocations: 39.53 kB / 481.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/0.147, allocations: 19.98 kB / 481.6 MB, free: 1.238 MB / 350.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.0002903/0.1473, allocations: 175.5 kB / 481.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.1473, allocations: 27.81 kB / 481.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006775/0.148, allocations: 334.5 kB / 482.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.148, allocations: 4 kB / 482.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1481, allocations: 0 / 482.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1481, allocations: 0 / 482.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.1484, allocations: 305.3 kB / 482.5 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1484, allocations: 4 kB / 482.5 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.1489, allocations: 104 kB / 482.6 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1489, allocations: 4 kB / 482.6 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.149, allocations: 7.984 kB / 482.6 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.1509, allocations: 3.649 MB / 486.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1509, allocations: 3.938 kB / 486.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005118/0.1514, allocations: 347 kB / 486.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/0.1515, allocations: 104.8 kB / 486.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.1516, allocations: 4 kB / 486.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.1517, allocations: 23.95 kB / 486.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.1518, allocations: 15.98 kB / 486.7 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.1518, allocations: 7.984 kB / 486.7 MB, free: 11.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002336/0.1521, allocations: 245.8 kB / 487 MB, free: 11.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1521, allocations: 0 / 487 MB, free: 11.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003841/0.1525, allocations: 83.92 kB / 487.1 MB, free: 11.59 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.0002593/0.1527, allocations: 119.8 kB / 487.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008544/0.1536, allocations: 316.4 kB / 487.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1536, allocations: 0 / 487.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005491/0.1542, allocations: 187.8 kB / 487.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.1546, allocations: 60.83 kB / 487.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001028/0.1557, allocations: 0.6476 MB / 488.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.1561, allocations: 0.7912 MB / 489.2 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002317/0.1563, allocations: 86.88 kB / 489.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/0.1564, allocations: 27.36 kB / 489.3 MB, free: 9.316 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1564, allocations: 0 / 489.3 MB, free: 9.316 MB / 366.1 MB Notification: Performance of Templates: time 0.009484/0.1659, allocations: 5.078 MB / 494.4 MB, free: 4.312 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches