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.0011/0.0011, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001038/0.001038, allocations: 191 kB / 19.34 MB, free: 3.766 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.436/1.436, allocations: 222.9 MB / 243 MB, free: 15.14 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.2205/0.2205, allocations: 44.17 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 65.16 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.118, allocations: 60.82 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003482/0.1215, allocations: 1.866 MB / 472.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.1229, allocations: 0.8023 MB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.89e-05/0.123, allocations: 0 / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.1233, allocations: 59.67 kB / 473.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003072/0.1237, allocations: 79.56 kB / 473.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.1239, allocations: 82.84 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.1243, allocations: 262.7 kB / 473.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.566e-05/0.1243, allocations: 28.39 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.1245, allocations: 99.48 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.1247, allocations: 119.4 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.1247, allocations: 4 kB / 474.1 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002468/0.125, allocations: 123.8 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.283e-05/0.1251, allocations: 71.66 kB / 474.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1252, allocations: 99.3 kB / 474.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.1256, allocations: 302.8 kB / 474.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1256, allocations: 0 / 474.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1256, allocations: 0 / 474.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.1256, allocations: 0 / 474.7 MB, free: 9.656 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.0008107/0.1264, allocations: 0.5487 MB / 475.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.1264, allocations: 12.03 kB / 475.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.504e-05/0.1265, allocations: 32.55 kB / 475.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.1268, allocations: 243.9 kB / 475.5 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1269, allocations: 12.94 kB / 475.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.1269, allocations: 28.12 kB / 475.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005888/0.1275, allocations: 381.2 kB / 475.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1275, allocations: 0 / 475.9 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.1276, allocations: 4 kB / 475.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.1276, allocations: 28.64 kB / 476 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/0.1282, allocations: 378.3 kB / 476.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.1295, allocations: 0.8422 MB / 477.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/0.1299, allocations: 258.3 kB / 477.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.1301, allocations: 96.83 kB / 477.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.1302, allocations: 15.92 kB / 477.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.1302, allocations: 34.5 kB / 477.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.1302, allocations: 0 / 477.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007088/0.1309, allocations: 331.9 kB / 477.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.131, allocations: 63.34 kB / 478 MB, free: 6.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.1313, allocations: 338.9 kB / 478.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1313, allocations: 25.7 kB / 478.3 MB, free: 5.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1314, allocations: 172 kB / 478.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.1315, allocations: 55.19 kB / 478.5 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/0.1316, allocations: 57.94 kB / 478.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1317, allocations: 338.8 kB / 478.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002025/0.1319, allocations: 100.4 kB / 479 MB, free: 5.105 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.1322, allocations: 177.9 kB / 479.2 MB, free: 4.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.1328, allocations: 314.8 kB / 479.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1328, allocations: 0 / 479.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006544/0.1334, allocations: 352.1 kB / 479.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.1335, allocations: 8 kB / 479.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1335, allocations: 4 kB / 479.9 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.1335, allocations: 4 kB / 479.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/0.1342, allocations: 123.9 kB / 480 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.1364, allocations: 3.645 MB / 483.6 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.1367, allocations: 43.52 kB / 483.7 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/0.1367, allocations: 16.28 kB / 483.7 MB, free: 224 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.0002841/0.137, allocations: 181.7 kB / 483.9 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.1371, allocations: 27.62 kB / 483.9 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006799/0.1377, allocations: 323.4 kB / 484.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1378, allocations: 4 kB / 484.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1378, allocations: 4 kB / 484.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.1378, allocations: 3.984 kB / 484.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003533/0.1381, allocations: 301.3 kB / 484.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1382, allocations: 0 / 484.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.1386, allocations: 107.9 kB / 484.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.1386, allocations: 4 kB / 484.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.1387, allocations: 3.938 kB / 484.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.1405, allocations: 3.657 MB / 488.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1405, allocations: 3.938 kB / 488.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005394/0.141, allocations: 347.2 kB / 488.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.1411, allocations: 112.7 kB / 488.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.1412, allocations: 0 / 488.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.1414, allocations: 15.92 kB / 488.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.054e-05/0.1414, allocations: 11.98 kB / 488.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.1415, allocations: 8 kB / 488.8 MB, free: 10.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002364/0.1417, allocations: 241.9 kB / 489 MB, free: 10.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1417, allocations: 0 / 489 MB, free: 10.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.1421, allocations: 79.94 kB / 489.1 MB, free: 10.57 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.0002541/0.1424, allocations: 131.1 kB / 489.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008608/0.1432, allocations: 311.6 kB / 489.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1433, allocations: 0 / 489.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005358/0.1438, allocations: 191.8 kB / 489.7 MB, free: 9.949 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.1442, allocations: 74.39 kB / 489.8 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009921/0.1452, allocations: 0.5665 MB / 490.4 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.1456, allocations: 0.7951 MB / 491.1 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003244/0.1459, allocations: 78.89 kB / 491.2 MB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.146, allocations: 23.44 kB / 491.2 MB, free: 8.359 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.146, allocations: 0 / 491.2 MB, free: 8.359 MB / 366.1 MB Notification: Performance of Templates: time 0.01263/0.1587, allocations: 5.376 MB / 496.6 MB, free: 3.059 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 cvode -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