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.001395/0.001395, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001547/0.001547, allocations: 194 kB / 18.77 MB, free: 4.742 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.347/1.347, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.2077/0.2077, allocations: 44.18 MB / 336.8 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 68.42 kB / 408.4 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1194, allocations: 60.83 MB / 469.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.004287/0.1238, allocations: 1.921 MB / 471.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1251, allocations: 0.7985 MB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.133e-05/0.1252, allocations: 3.938 kB / 471.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.1254, allocations: 55.73 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002695/0.1257, allocations: 75.62 kB / 472.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.126, allocations: 67.8 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.1264, allocations: 362.6 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.614e-05/0.1264, allocations: 32.38 kB / 472.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.1266, allocations: 95.52 kB / 472.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002527/0.1269, allocations: 131.4 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.719e-05/0.1269, allocations: 8 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002372/0.1271, allocations: 111.8 kB / 472.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.366e-05/0.1273, allocations: 63.69 kB / 472.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1274, allocations: 99.3 kB / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002675/0.1276, allocations: 211.6 kB / 473.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.1277, allocations: 3.984 kB / 473.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1277, allocations: 0 / 473.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1277, allocations: 0 / 473.2 MB, free: 10.79 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.0009036/0.1286, allocations: 0.5564 MB / 473.8 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1286, allocations: 15.97 kB / 473.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.614e-05/0.1287, allocations: 28.56 kB / 473.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.129, allocations: 235.9 kB / 474 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.129, allocations: 16.94 kB / 474.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.752e-05/0.1291, allocations: 28.12 kB / 474.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006308/0.1297, allocations: 377.2 kB / 474.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1297, allocations: 4 kB / 474.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.1298, allocations: 12 kB / 474.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/0.1298, allocations: 20.64 kB / 474.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006536/0.1305, allocations: 378.2 kB / 474.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.1317, allocations: 0.8384 MB / 475.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004655/0.1322, allocations: 258.3 kB / 476 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.1324, allocations: 96.83 kB / 476.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.1324, allocations: 7.938 kB / 476.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1325, allocations: 38.44 kB / 476.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.1325, allocations: 4 kB / 476.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.000806/0.1333, allocations: 332.5 kB / 476.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1333, allocations: 55.39 kB / 476.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.1337, allocations: 338.9 kB / 476.8 MB, free: 7.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.1337, allocations: 29.7 kB / 476.8 MB, free: 6.977 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.1339, allocations: 168 kB / 477 MB, free: 6.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.535e-05/0.1339, allocations: 63.19 kB / 477.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/0.134, allocations: 57.92 kB / 477.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1341, allocations: 338.8 kB / 477.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.1344, allocations: 100.4 kB / 477.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.1347, allocations: 187.9 kB / 477.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.1352, allocations: 302.8 kB / 478 MB, free: 5.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1352, allocations: 4 kB / 478 MB, free: 5.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006085/0.1358, allocations: 345.1 kB / 478.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1358, allocations: 12.03 kB / 478.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1358, allocations: 0 / 478.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1359, allocations: 4 kB / 478.4 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/0.1364, allocations: 123.9 kB / 478.5 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.1385, allocations: 3.653 MB / 482.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.1387, allocations: 43.52 kB / 482.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.1387, allocations: 12 kB / 482.2 MB, free: 1.352 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.0002783/0.139, allocations: 183.5 kB / 482.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.1391, allocations: 31.56 kB / 482.4 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007343/0.1398, allocations: 326.4 kB / 482.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1398, allocations: 0 / 482.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1398, allocations: 0 / 482.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1398, allocations: 4 kB / 482.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.1402, allocations: 301.3 kB / 483 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.1402, allocations: 4 kB / 483 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.1407, allocations: 111.9 kB / 483.2 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1407, allocations: 4 kB / 483.2 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1407, allocations: 8 kB / 483.2 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.1427, allocations: 3.641 MB / 486.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1428, allocations: 3.938 kB / 486.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005299/0.1433, allocations: 351 kB / 487.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/0.1434, allocations: 108.7 kB / 487.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.1434, allocations: 0 / 487.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.1437, allocations: 15.94 kB / 487.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.126e-05/0.1437, allocations: 20.06 kB / 487.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1438, allocations: 8 kB / 487.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002404/0.144, allocations: 249.9 kB / 487.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.144, allocations: 0 / 487.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.1444, allocations: 71.94 kB / 487.6 MB, free: 11.71 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.0002921/0.1447, allocations: 127.7 kB / 487.7 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009154/0.1456, allocations: 312.3 kB / 488 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1456, allocations: 8 kB / 488.1 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006014/0.1462, allocations: 183.8 kB / 488.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.1467, allocations: 64.78 kB / 488.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.1477, allocations: 0.6719 MB / 489 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.148, allocations: 0.795 MB / 489.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.1481, allocations: 27.42 kB / 489.8 MB, free: 9.477 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1481, allocations: 0 / 489.8 MB, free: 9.477 MB / 366.1 MB Notification: Performance of Templates: time 0.01325/0.1614, allocations: 10.79 MB / 0.4889 GB, free: 14.71 MB / 382.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/jenkins1/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/jenkins1/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