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.001182/0.001182, allocations: 109.3 kB / 18.39 MB, free: 4.758 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.001056/0.001056, allocations: 184.1 kB / 19.32 MB, free: 3.828 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.386/1.386, allocations: 222.9 MB / 243 MB, free: 15.09 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.218/0.218, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 63.97 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1169, allocations: 60.83 MB / 470.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003057/0.1199, allocations: 1.86 MB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1212, allocations: 0.8024 MB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.1213, allocations: 3.938 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.1216, allocations: 51.67 kB / 473.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.1218, allocations: 75.58 kB / 473.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.1221, allocations: 91.7 kB / 473.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.1224, allocations: 258.7 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.495e-05/0.1225, allocations: 28.39 kB / 473.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.1227, allocations: 103.5 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.1228, allocations: 115.4 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.1229, allocations: 11.94 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.1231, allocations: 119.8 kB / 474.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1232, allocations: 67.73 kB / 474.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.1234, allocations: 107.2 kB / 474.4 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004272/0.1238, allocations: 294.9 kB / 474.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1238, allocations: 0 / 474.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1238, allocations: 0 / 474.7 MB, free: 9.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1238, allocations: 0 / 474.7 MB, free: 9.621 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.0008227/0.1247, allocations: 0.5536 MB / 475.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1247, allocations: 15.95 kB / 475.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.786e-05/0.1248, allocations: 36.56 kB / 475.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.1251, allocations: 228 kB / 475.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.1252, allocations: 20.92 kB / 475.5 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.1252, allocations: 28.12 kB / 475.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005996/0.1258, allocations: 377.2 kB / 475.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1258, allocations: 0 / 475.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.1259, allocations: 12 kB / 475.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/0.1259, allocations: 24.64 kB / 476 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005836/0.1265, allocations: 378.3 kB / 476.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.1278, allocations: 0.8345 MB / 477.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/0.1283, allocations: 267.6 kB / 477.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.1285, allocations: 92.77 kB / 477.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.1285, allocations: 7.938 kB / 477.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.1285, allocations: 30.56 kB / 477.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.1285, allocations: 0 / 477.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007297/0.1293, allocations: 340 kB / 477.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.1293, allocations: 55.41 kB / 477.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003405/0.1297, allocations: 338.9 kB / 478.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1297, allocations: 29.7 kB / 478.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.1298, allocations: 171.9 kB / 478.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.272e-05/0.1299, allocations: 59.19 kB / 478.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/0.13, allocations: 53.94 kB / 478.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1301, allocations: 342.8 kB / 478.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.1303, allocations: 96.36 kB / 479 MB, free: 5.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.1306, allocations: 185.9 kB / 479.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.1311, allocations: 310.7 kB / 479.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1311, allocations: 0 / 479.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006275/0.1317, allocations: 356 kB / 479.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1317, allocations: 7.938 kB / 479.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1318, allocations: 4 kB / 479.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1318, allocations: 4 kB / 479.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/0.1324, allocations: 124.2 kB / 480 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.1342, allocations: 3.645 MB / 483.6 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.1344, allocations: 51.86 kB / 483.7 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.1344, allocations: 8 kB / 483.7 MB, free: 184 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.0002431/0.1347, allocations: 179.4 kB / 483.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.1348, allocations: 27.62 kB / 483.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006481/0.1354, allocations: 327.5 kB / 484.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1354, allocations: 4 kB / 484.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.1354, allocations: 0 / 484.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1354, allocations: 3.984 kB / 484.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.1358, allocations: 301.2 kB / 484.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1358, allocations: 0 / 484.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.1363, allocations: 103.9 kB / 484.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1363, allocations: 4 kB / 484.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.1363, allocations: 8 kB / 484.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.1382, allocations: 3.653 MB / 488.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1382, allocations: 3.938 kB / 488.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005026/0.1387, allocations: 347.3 kB / 488.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.1388, allocations: 108.8 kB / 488.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.1389, allocations: 0 / 488.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.1391, allocations: 15.92 kB / 488.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.1392, allocations: 15.98 kB / 488.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.1392, allocations: 4 kB / 488.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.1394, allocations: 245.9 kB / 489 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1394, allocations: 4 kB / 489 MB, free: 10.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003901/0.1398, allocations: 75.94 kB / 489.1 MB, free: 10.54 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.0002677/0.1401, allocations: 127.1 kB / 489.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008902/0.141, allocations: 319.6 kB / 489.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.141, allocations: 0 / 489.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005642/0.1416, allocations: 191.6 kB / 489.7 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.142, allocations: 72.75 kB / 489.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009631/0.143, allocations: 0.573 MB / 490.3 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.1433, allocations: 0.7873 MB / 491.1 MB, free: 8.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000202/0.1435, allocations: 78.89 kB / 491.2 MB, free: 8.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.223e-05/0.1436, allocations: 27.44 kB / 491.2 MB, free: 8.324 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1436, allocations: 4 kB / 491.2 MB, free: 8.32 MB / 366.1 MB Notification: Performance of Templates: time 0.01307/0.1567, allocations: 5.375 MB / 496.6 MB, free: 3.023 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 -s gbode -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