Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01178/0.01179, allocations: 103.5 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001252/0.001252, allocations: 164.9 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.749/1.749, allocations: 170.9 MB / 187.6 MB, free: 0.9922 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2895/0.2895, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007186/0.0007184, allocations: 8 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1153, allocations: 48.72 MB / 372.3 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.00298/0.1183, allocations: 1.741 MB / 374.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003442/0.1218, allocations: 1.567 MB / 375.6 MB, free: 9.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.1219, allocations: 4 kB / 375.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.1223, allocations: 59.66 kB / 375.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004646/0.1227, allocations: 99.69 kB / 375.8 MB, free: 9.328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.1239, allocations: 287.2 kB / 376.1 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005341/0.1244, allocations: 319.2 kB / 376.4 MB, free: 8.734 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1246, allocations: 69.02 kB / 376.4 MB, free: 8.664 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.1249, allocations: 143.3 kB / 376.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.1252, allocations: 179.2 kB / 376.8 MB, free: 8.348 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.1253, allocations: 8 kB / 376.8 MB, free: 8.34 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.1268, allocations: 0.589 MB / 377.4 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.127, allocations: 103.6 kB / 377.5 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.1271, allocations: 89.45 kB / 377.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009558/0.1281, allocations: 483.1 kB / 378 MB, free: 7.082 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1281, allocations: 0 / 378 MB, free: 7.082 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1281, allocations: 0 / 378 MB, free: 7.082 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1281, allocations: 0 / 378 MB, free: 7.082 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001654/0.1298, allocations: 0.7184 MB / 378.7 MB, free: 6.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.1299, allocations: 12.03 kB / 378.7 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000169/0.13, allocations: 110.5 kB / 378.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.1302, allocations: 51.34 kB / 378.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/0.1308, allocations: 310.2 kB / 379.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.1308, allocations: 37.31 kB / 379.2 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.131, allocations: 51.98 kB / 379.3 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.1328, allocations: 0.7559 MB / 380 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.1328, allocations: 0 / 380 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-05/0.1329, allocations: 31.98 kB / 380.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.133, allocations: 49.28 kB / 380.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.1351, allocations: 0.8053 MB / 380.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003676/0.1388, allocations: 1.535 MB / 382.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.1402, allocations: 457.1 kB / 382.9 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-05/0.1403, allocations: 16.2 kB / 382.9 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.1403, allocations: 34.73 kB / 383 MB, free: 1.953 MB / 282.7 MB Notification: Performance of pre-optimization done (n=28): time 2.455e-06/0.1403, allocations: 0 / 383 MB, free: 1.953 MB / 282.7 MB Notification: Performance of matching and sorting (n=28): time 0.001969/0.1423, allocations: 0.5601 MB / 383.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.1424, allocations: 59.36 kB / 383.6 MB, free: 1.316 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.1435, allocations: 0.5719 MB / 384.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.1435, allocations: 33.7 kB / 384.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.1438, allocations: 279.4 kB / 384.5 MB, free: 428 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.144, allocations: 98.55 kB / 384.6 MB, free: 328 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.144, allocations: 12 kB / 384.6 MB, free: 316 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.1442, allocations: 362.8 kB / 384.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006376/0.1449, allocations: 192.9 kB / 385.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008387/0.1457, allocations: 433.1 kB / 385.5 MB, free: 15.22 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008163/0.1466, allocations: 267.8 kB / 385.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.1466, allocations: 7.938 kB / 385.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002047/0.1486, allocations: 0.6853 MB / 386.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.1487, allocations: 8.156 kB / 386.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.1487, allocations: 12 kB / 386.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/0.1488, allocations: 12 kB / 386.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/0.151, allocations: 243.7 kB / 386.8 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006798/0.1578, allocations: 7.321 MB / 394.1 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.1591, allocations: 86.97 kB / 394.2 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.1593, allocations: 35.98 kB / 394.2 MB, free: 6.266 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008713/0.1602, allocations: 273.4 kB / 394.5 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.1605, allocations: 43.44 kB / 394.5 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.1638, allocations: 0.5762 MB / 395.1 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.1639, allocations: 15.89 kB / 395.1 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.1639, allocations: 0 / 395.1 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.1639, allocations: 3.984 kB / 395.1 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.1654, allocations: 433.2 kB / 395.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1655, allocations: 0 / 395.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/0.1676, allocations: 207.8 kB / 395.7 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.1676, allocations: 0 / 395.7 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.756e-05/0.1677, allocations: 11.98 kB / 395.7 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005251/0.1729, allocations: 7.306 MB / 403 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.173, allocations: 0 / 403 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.1745, allocations: 0.5112 MB / 403.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.1747, allocations: 124.5 kB / 403.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.1748, allocations: 11.94 kB / 403.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004664/0.1753, allocations: 19.94 kB / 403.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.1754, allocations: 19.97 kB / 403.7 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.1755, allocations: 15.98 kB / 403.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007274/0.1762, allocations: 402.8 kB / 404.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1762, allocations: 0 / 404.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009718/0.1772, allocations: 179.8 kB / 404.3 MB, free: 11.77 MB / 314.7 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002087/0.1793, allocations: 1.18 MB / 405.5 MB, free: 10.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003019/0.1824, allocations: 0.6224 MB / 406.1 MB, free: 9.941 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1824, allocations: 0 / 406.1 MB, free: 9.941 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002145/0.1846, allocations: 359.6 kB / 406.5 MB, free: 9.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007292/0.1853, allocations: 113.8 kB / 406.6 MB, free: 9.477 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009966/0.1953, allocations: 8.872 MB / 415.5 MB, free: 400 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007129/0.1961, allocations: 0.9171 MB / 416.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007921/0.1969, allocations: 176.4 kB / 416.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.1972, allocations: 151.3 kB / 416.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of SimCode: time 2.976e-06/0.1972, allocations: 0 / 416.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06904/0.2663, allocations: 14.64 MB / 431.3 MB, free: 0.625 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003181/0.2667, allocations: 252.3 kB / 431.6 MB, free: 300 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.353/3.619, allocations: 0 / 431.6 MB, free: 300 kB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat