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.001165/0.001165, allocations: 112.4 kB / 17.33 MB, free: 5.988 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.001318/0.001318, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.396/1.396, allocations: 222.9 MB / 241.9 MB, free: 15.37 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.2138/0.2138, allocations: 44.18 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 67.67 kB / 407.9 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1108, allocations: 60.83 MB / 468.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003442/0.1143, allocations: 1.933 MB / 470.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1161, allocations: 0.7868 MB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.1163, allocations: 7.938 kB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004092/0.1167, allocations: 47.78 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004317/0.1172, allocations: 79.64 kB / 471.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003429/0.1175, allocations: 67.8 kB / 471.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.1179, allocations: 258.7 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.025e-05/0.118, allocations: 36.39 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.1182, allocations: 95.5 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.1185, allocations: 131.4 kB / 472.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.1185, allocations: 4 kB / 472.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003002/0.1188, allocations: 123.8 kB / 472.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.1189, allocations: 63.69 kB / 472.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.1191, allocations: 103.3 kB / 472.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003953/0.1195, allocations: 299.1 kB / 472.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1195, allocations: 3.938 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1195, allocations: 0 / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.1195, allocations: 3.938 kB / 472.8 MB, free: 10.68 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.0009061/0.1204, allocations: 0.5497 MB / 473.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/0.1205, allocations: 12.03 kB / 473.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.1206, allocations: 24.66 kB / 473.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.1208, allocations: 243.9 kB / 473.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.1209, allocations: 20.88 kB / 473.6 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.1209, allocations: 24.12 kB / 473.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/0.1216, allocations: 381.2 kB / 474 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1216, allocations: 0 / 474 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.1216, allocations: 15.98 kB / 474 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/0.1217, allocations: 20.64 kB / 474 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006124/0.1223, allocations: 374.3 kB / 474.4 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.1236, allocations: 0.8423 MB / 475.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.1241, allocations: 254.3 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.1244, allocations: 92.84 kB / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.307e-05/0.1244, allocations: 19.91 kB / 475.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.1244, allocations: 30.56 kB / 475.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.1244, allocations: 0 / 475.6 MB, free: 7.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008238/0.1253, allocations: 333.2 kB / 476 MB, free: 7.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.1253, allocations: 55.41 kB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.1257, allocations: 342.8 kB / 476.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.1257, allocations: 25.7 kB / 476.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.1259, allocations: 172 kB / 476.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.291e-05/0.1259, allocations: 55.2 kB / 476.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.954e-05/0.126, allocations: 57.92 kB / 476.6 MB, free: 6.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1262, allocations: 338.8 kB / 477 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.1264, allocations: 100.4 kB / 477.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.1266, allocations: 188 kB / 477.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.1271, allocations: 305.3 kB / 477.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.1271, allocations: 4 kB / 477.6 MB, free: 5.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006361/0.1278, allocations: 352.7 kB / 477.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.1278, allocations: 8 kB / 477.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.1278, allocations: 0 / 477.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1278, allocations: 4 kB / 477.9 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006127/0.1285, allocations: 127.9 kB / 478 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.1308, allocations: 3.653 MB / 481.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.1311, allocations: 39.52 kB / 481.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.1311, allocations: 16.28 kB / 481.7 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.0002783/0.1314, allocations: 181.7 kB / 481.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.1315, allocations: 27.62 kB / 482 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006738/0.1322, allocations: 326.5 kB / 482.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1322, allocations: 0 / 482.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1322, allocations: 4 kB / 482.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1322, allocations: 4 kB / 482.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.1325, allocations: 301.4 kB / 482.6 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1326, allocations: 0 / 482.6 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004664/0.133, allocations: 107.9 kB / 482.7 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.133, allocations: 0 / 482.7 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.1331, allocations: 4 kB / 482.7 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.135, allocations: 3.649 MB / 486.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.135, allocations: 3.938 kB / 486.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005592/0.1356, allocations: 351.3 kB / 486.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.97e-05/0.1357, allocations: 104.7 kB / 486.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.1358, allocations: 3.984 kB / 486.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.1359, allocations: 11.94 kB / 486.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.136, allocations: 19.95 kB / 486.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.1361, allocations: 12 kB / 486.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002456/0.1363, allocations: 245.9 kB / 487.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.1363, allocations: 0 / 487.1 MB, free: 11.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004305/0.1368, allocations: 75.88 kB / 487.1 MB, free: 11.61 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.0002689/0.137, allocations: 131.4 kB / 487.3 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009228/0.138, allocations: 347.5 kB / 487.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.138, allocations: 0 / 487.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005455/0.1385, allocations: 184.5 kB / 487.8 MB, free: 10.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.139, allocations: 68.78 kB / 487.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000972/0.1399, allocations: 0.6563 MB / 488.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1403, allocations: 0.7873 MB / 489.3 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002495/0.1406, allocations: 86.88 kB / 489.4 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.144e-05/0.1406, allocations: 27.42 kB / 489.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1406, allocations: 0 / 489.4 MB, free: 9.281 MB / 366.1 MB Notification: Performance of Templates: time 0.009315/0.15, allocations: 5.282 MB / 494.7 MB, free: 4.078 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