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.0009497/0.00095, allocations: 94.31 kB / 16.99 MB, free: 5.938 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.0009096/0.0009095, allocations: 181.7 kB / 17.87 MB, free: 5.609 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.459/1.459, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.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.22 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.0003801, allocations: 8 kB / 409.6 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.00247/0.1356, allocations: 1.509 MB / 473 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.137, allocations: 0.7097 MB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.1371, allocations: 0 / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.1374, allocations: 43.8 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000263/0.1376, allocations: 59.77 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.1379, allocations: 62.48 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002271/0.1381, allocations: 175.6 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.726e-05/0.1382, allocations: 28.39 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.1384, allocations: 75.64 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1385, allocations: 95.53 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.145e-05/0.1385, allocations: 4 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002341/0.1388, allocations: 119.9 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.009e-05/0.1389, allocations: 51.81 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.1389, allocations: 69.58 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.1392, allocations: 183.8 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1392, allocations: 0 / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1392, allocations: 3.938 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1392, allocations: 0 / 474.6 MB, free: 10.55 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.0008112/0.14, allocations: 0.5184 MB / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1401, allocations: 8.031 kB / 475.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.627e-05/0.1402, allocations: 27.62 kB / 475.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.1406, allocations: 234.7 kB / 475.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.1406, allocations: 32.44 kB / 475.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.531e-05/0.1406, allocations: 24 kB / 475.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006411/0.1413, allocations: 373.2 kB / 475.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1413, allocations: 0 / 475.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-05/0.1414, allocations: 16 kB / 475.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-05/0.1414, allocations: 24.64 kB / 475.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006472/0.1421, allocations: 386.2 kB / 476.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.1436, allocations: 0.8502 MB / 477.1 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.144, allocations: 261.6 kB / 477.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.864e-05/0.1441, allocations: 12.05 kB / 477.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.1441, allocations: 30.56 kB / 477.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.1441, allocations: 0 / 477.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007589/0.1449, allocations: 357.3 kB / 477.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.1449, allocations: 51.41 kB / 477.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003509/0.1453, allocations: 338.9 kB / 478.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.1453, allocations: 25.7 kB / 478.2 MB, free: 6.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.1454, allocations: 175.9 kB / 478.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.886e-05/0.1455, allocations: 55.2 kB / 478.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.1455, allocations: 4 kB / 478.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1457, allocations: 338.8 kB / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.1459, allocations: 104.4 kB / 478.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.1462, allocations: 192 kB / 479 MB, free: 5.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.1465, allocations: 135.8 kB / 479.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1465, allocations: 0 / 479.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006485/0.1471, allocations: 351.3 kB / 479.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.1472, allocations: 8 kB / 479.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.1472, allocations: 4.375 kB / 479.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.1472, allocations: 8 kB / 479.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/0.1478, allocations: 119.8 kB / 479.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/0.15, allocations: 3.657 MB / 483.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.1502, allocations: 43.52 kB / 483.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/0.1503, allocations: 16 kB / 483.3 MB, free: 1.453 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002333/0.1505, allocations: 170.2 kB / 483.5 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.352e-05/0.1506, allocations: 31.62 kB / 483.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006775/0.1513, allocations: 343.6 kB / 483.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1513, allocations: 0 / 483.9 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1513, allocations: 7.953 kB / 483.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1513, allocations: 3.984 kB / 483.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003417/0.1516, allocations: 289.4 kB / 484.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1516, allocations: 0 / 484.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.1521, allocations: 107.9 kB / 484.3 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.1522, allocations: 3.984 kB / 484.3 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.1522, allocations: 7.938 kB / 484.3 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.1544, allocations: 3.649 MB / 487.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1544, allocations: 3.953 kB / 487.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005567/0.155, allocations: 371.6 kB / 488.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.1551, allocations: 104.8 kB / 488.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.1551, allocations: 4 kB / 488.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1553, allocations: 11.98 kB / 488.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.1554, allocations: 23.94 kB / 488.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1554, allocations: 7.984 kB / 488.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002399/0.1556, allocations: 241.9 kB / 488.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1556, allocations: 0 / 488.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.156, allocations: 71.98 kB / 488.8 MB, free: 11.8 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002435/0.1563, allocations: 133.2 kB / 488.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008894/0.1572, allocations: 335.2 kB / 489.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1572, allocations: 0 / 489.2 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005843/0.1578, allocations: 191.8 kB / 489.4 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1581, allocations: 64.78 kB / 489.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000936/0.1591, allocations: 0.6337 MB / 490.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1594, allocations: 0.799 MB / 490.9 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002064/0.1597, allocations: 82.83 kB / 491 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/0.1597, allocations: 31.42 kB / 491 MB, free: 9.488 MB / 366.1 MB Notification: Performance of SimCode: time 1.473e-06/0.1597, allocations: 0 / 491 MB, free: 9.488 MB / 366.1 MB Notification: Performance of Templates: time 0.008215/0.168, allocations: 4.772 MB / 495.8 MB, free: 4.789 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","../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