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.0009691/0.0009691, allocations: 101.6 kB / 18.01 MB, free: 5.73 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.001039/0.001039, allocations: 176.2 kB / 18.91 MB, free: 4.871 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.346/1.346, allocations: 223.3 MB / 243 MB, free: 14.45 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.2188/0.2188, allocations: 44.24 MB / 338.3 MB, free: 2.438 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 8.969 kB / 411 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1035, allocations: 61.93 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002185/0.1057, allocations: 1.571 MB / 474.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1071, allocations: 0.783 MB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.1072, allocations: 4 kB / 475.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.1075, allocations: 55.67 kB / 475.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.1079, allocations: 83.67 kB / 475.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.1081, allocations: 62.31 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000442/0.1086, allocations: 362.6 kB / 475.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.762e-05/0.1087, allocations: 28.39 kB / 475.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.1089, allocations: 99.45 kB / 476 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.1092, allocations: 131.4 kB / 476.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.1092, allocations: 4 kB / 476.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002976/0.1096, allocations: 115.8 kB / 476.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1097, allocations: 59.73 kB / 476.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.1098, allocations: 132.9 kB / 476.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.1101, allocations: 203.7 kB / 476.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1102, allocations: 0 / 476.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1102, allocations: 0 / 476.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1102, allocations: 3.938 kB / 476.6 MB, free: 9.605 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.0008415/0.111, allocations: 0.5147 MB / 477.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1111, allocations: 15.97 kB / 477.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/0.1112, allocations: 32.56 kB / 477.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.1115, allocations: 234.4 kB / 477.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.1115, allocations: 16.94 kB / 477.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.1115, allocations: 32.06 kB / 477.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006676/0.1122, allocations: 381.2 kB / 477.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.1122, allocations: 0 / 477.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.1123, allocations: 16 kB / 477.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.653e-05/0.1123, allocations: 24.64 kB / 477.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006237/0.113, allocations: 382.3 kB / 478.2 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.1143, allocations: 0.8384 MB / 479.1 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.1148, allocations: 266.3 kB / 479.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.115, allocations: 100.8 kB / 479.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.1151, allocations: 11.92 kB / 479.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1151, allocations: 30.56 kB / 479.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.1151, allocations: 3.938 kB / 479.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007666/0.1159, allocations: 356 kB / 479.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.1159, allocations: 55.41 kB / 479.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003271/0.1162, allocations: 338.9 kB / 480.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.1163, allocations: 29.7 kB / 480.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1164, allocations: 172 kB / 480.4 MB, free: 5.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.1165, allocations: 59.19 kB / 480.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.1165, allocations: 29.7 kB / 480.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1166, allocations: 338.8 kB / 480.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.1169, allocations: 100.4 kB / 480.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.1171, allocations: 192 kB / 481.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/0.1177, allocations: 314.8 kB / 481.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1177, allocations: 0 / 481.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006616/0.1184, allocations: 365.1 kB / 481.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.1184, allocations: 8 kB / 481.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1184, allocations: 4 kB / 481.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1185, allocations: 7.938 kB / 481.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005767/0.119, allocations: 127.9 kB / 481.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.121, allocations: 3.657 MB / 485.6 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.1212, allocations: 43.53 kB / 485.6 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.1213, allocations: 15.98 kB / 485.6 MB, free: 140 kB / 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.0002641/0.1216, allocations: 177.8 kB / 485.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.1216, allocations: 23.72 kB / 485.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007007/0.1223, allocations: 346.3 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.1223, allocations: 0 / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.1224, allocations: 4 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.1224, allocations: 0 / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.1227, allocations: 301.4 kB / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1228, allocations: 0 / 486.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004702/0.1232, allocations: 104 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1233, allocations: 0 / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/0.1233, allocations: 11.98 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/0.1252, allocations: 3.656 MB / 490.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1252, allocations: 3.938 kB / 490.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006003/0.1258, allocations: 351.4 kB / 490.6 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.126, allocations: 108.7 kB / 490.7 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.126, allocations: 11.92 kB / 490.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.1262, allocations: 15.94 kB / 490.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.872e-05/0.1263, allocations: 15.98 kB / 490.7 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/0.1263, allocations: 7.984 kB / 490.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002695/0.1266, allocations: 245.9 kB / 491 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1266, allocations: 0 / 491 MB, free: 10.55 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003972/0.127, allocations: 79.94 kB / 491.1 MB, free: 10.47 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.0002309/0.1272, allocations: 123.7 kB / 491.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009062/0.1282, allocations: 332.2 kB / 491.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1282, allocations: 0 / 491.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005701/0.1287, allocations: 195 kB / 491.7 MB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.1292, allocations: 64.78 kB / 491.8 MB, free: 9.766 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1303, allocations: 0.6965 MB / 492.5 MB, free: 9.043 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.1308, allocations: 0.7834 MB / 493.2 MB, free: 8.234 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.1309, allocations: 27.42 kB / 493.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1309, allocations: 0 / 493.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of Templates: time 0.01464/0.1456, allocations: 10.76 MB / 0.4922 GB, free: 13.46 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