Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01388/0.01388, allocations: 106.3 kB / 15.06 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001214/0.001214, allocations: 187.1 kB / 15.95 MB, free: 5.902 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.217/2.217, allocations: 194.5 MB / 211.2 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3671/0.3671, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004964, allocations: 16 kB / 361.2 MB, free: 9.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.126, allocations: 54.88 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002966/0.1291, allocations: 1.625 MB / 417.7 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.1313, allocations: 0.9759 MB / 418.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.41e-05/0.1315, allocations: 4 kB / 418.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.1317, allocations: 43.73 kB / 418.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.132, allocations: 55.83 kB / 418.7 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006349/0.1326, allocations: 131.6 kB / 418.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003956/0.133, allocations: 207.5 kB / 419.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.382e-05/0.1331, allocations: 32.72 kB / 419.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.1334, allocations: 107.5 kB / 419.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.1336, allocations: 107.5 kB / 419.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.018e-05/0.1337, allocations: 8 kB / 419.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005464/0.1342, allocations: 191.8 kB / 419.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1343, allocations: 63.8 kB / 419.6 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.318e-05/0.1345, allocations: 69.52 kB / 419.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004703/0.1349, allocations: 239.6 kB / 419.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.135, allocations: 0 / 419.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.135, allocations: 0 / 419.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.135, allocations: 7.938 kB / 419.9 MB, free: 14.68 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001478/0.1365, allocations: 0.5846 MB / 420.5 MB, free: 14.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.1365, allocations: 15.97 kB / 420.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.1367, allocations: 66.53 kB / 420.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.1368, allocations: 35.62 kB / 420.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.1372, allocations: 250.5 kB / 420.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.1372, allocations: 24.56 kB / 420.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.602e-05/0.1373, allocations: 31.94 kB / 420.9 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.1386, allocations: 441.8 kB / 421.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1386, allocations: 0 / 421.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.1387, allocations: 12 kB / 421.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.42e-05/0.1387, allocations: 12.56 kB / 421.3 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.14, allocations: 349.9 kB / 421.7 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.1423, allocations: 1.12 MB / 422.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008508/0.1432, allocations: 255.7 kB / 423.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.797e-05/0.1433, allocations: 3.953 kB / 423.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.1433, allocations: 34.56 kB / 423.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.998e-06/0.1433, allocations: 0 / 423.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001954/0.1453, allocations: 0.6176 MB / 423.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.1454, allocations: 110.8 kB / 423.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007295/0.1462, allocations: 405.6 kB / 424.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.1462, allocations: 33.64 kB / 424.2 MB, free: 9.996 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.1464, allocations: 187.8 kB / 424.4 MB, free: 9.809 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.1465, allocations: 51.34 kB / 424.5 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.1465, allocations: 4 kB / 424.5 MB, free: 9.754 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1467, allocations: 346.8 kB / 424.8 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005609/0.1473, allocations: 128.1 kB / 424.9 MB, free: 9.281 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/0.148, allocations: 248.5 kB / 425.2 MB, free: 8.984 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006275/0.1486, allocations: 159.8 kB / 425.3 MB, free: 8.828 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.866e-06/0.1486, allocations: 4 kB / 425.3 MB, free: 8.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001574/0.1502, allocations: 420.7 kB / 425.8 MB, free: 8.406 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.1503, allocations: 7.953 kB / 425.8 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-05/0.1504, allocations: 27.97 kB / 425.8 MB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.1504, allocations: 4.5 kB / 425.8 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004527/0.1509, allocations: 59.91 kB / 425.9 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.1509, allocations: 4 kB / 425.9 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.1514, allocations: 59.5 kB / 425.9 MB, free: 8.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.1515, allocations: 16 kB / 425.9 MB, free: 8.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002998/0.1518, allocations: 185.8 kB / 426.1 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.1519, allocations: 31.61 kB / 426.1 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.153, allocations: 303.8 kB / 426.4 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.1531, allocations: 7.984 kB / 426.5 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1531, allocations: 0 / 426.5 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.1531, allocations: 4 kB / 426.5 MB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007167/0.1538, allocations: 297.4 kB / 426.7 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.183e-05/0.1539, allocations: 15.98 kB / 426.8 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.1542, allocations: 39.97 kB / 426.8 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.1542, allocations: 0 / 426.8 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.1543, allocations: 4 kB / 426.8 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.1543, allocations: 7.953 kB / 426.8 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.1543, allocations: 3.938 kB / 426.8 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.1556, allocations: 0.5401 MB / 427.4 MB, free: 6.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.1558, allocations: 116.6 kB / 427.5 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.652e-05/0.1559, allocations: 12 kB / 427.5 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004509/0.1564, allocations: 23.98 kB / 427.5 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.1565, allocations: 19.97 kB / 427.5 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.1565, allocations: 7.938 kB / 427.5 MB, free: 6.512 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004955/0.157, allocations: 287.1 kB / 427.8 MB, free: 6.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.1571, allocations: 0 / 427.8 MB, free: 6.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007665/0.1578, allocations: 95.94 kB / 427.9 MB, free: 6.141 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002149/0.16, allocations: 1.281 MB / 429.2 MB, free: 4.824 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.1615, allocations: 450.7 kB / 429.6 MB, free: 4.348 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.1615, allocations: 4.062 kB / 429.6 MB, free: 4.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007072/0.1622, allocations: 286.1 kB / 429.9 MB, free: 4.027 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007448/0.163, allocations: 65.84 kB / 430 MB, free: 3.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007397/0.1704, allocations: 4.732 MB / 434.7 MB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.171, allocations: 0.8106 MB / 435.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003529/0.1713, allocations: 62.91 kB / 435.6 MB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.1716, allocations: 83.41 kB / 435.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of SimCode: time 1.233e-06/0.1716, allocations: 0 / 435.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04714/0.2187, allocations: 8.155 MB / 443.8 MB, free: 6.059 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004041/0.2192, allocations: 217.4 kB / 444 MB, free: 5.824 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.801/3.02, allocations: 4 kB / 444 MB, free: 5.82 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat