Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",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.01047/0.01047, allocations: 104.9 kB / 15.05 MB, free: 6.031 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.001131/0.001131, allocations: 171.5 kB / 15.93 MB, free: 5.965 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.518/1.518, allocations: 170.9 MB / 187.5 MB, free: 1.012 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.2419/0.2419, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000615/0.0006151, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08598/0.08663, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001823/0.0885, allocations: 1.126 MB / 373.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.09096, allocations: 1.259 MB / 374.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.302e-05/0.09105, allocations: 0 / 374.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.09125, allocations: 23.89 kB / 374.7 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.09148, allocations: 43.8 kB / 374.7 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006097/0.09211, allocations: 167.5 kB / 374.9 MB, free: 10.22 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.09223, allocations: 35.94 kB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.381e-05/0.0923, allocations: 7.984 kB / 375 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.09237, allocations: 23.88 kB / 375 MB, free: 10.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.09245, allocations: 19.92 kB / 375 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.09248, allocations: 4 kB / 375 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007566/0.09324, allocations: 307.6 kB / 375.3 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.09328, allocations: 8 kB / 375.3 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.09332, allocations: 33.64 kB / 375.3 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005002/0.09383, allocations: 187.9 kB / 375.5 MB, free: 9.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.09385, allocations: 0 / 375.5 MB, free: 9.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.09386, allocations: 0 / 375.5 MB, free: 9.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.09387, allocations: 0 / 375.5 MB, free: 9.598 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005741/0.09445, allocations: 395.2 kB / 375.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.09451, allocations: 8.031 kB / 375.9 MB, free: 9.156 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.09455, allocations: 38.56 kB / 376 MB, free: 9.109 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.09459, allocations: 7.906 kB / 376 MB, free: 9.102 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.09474, allocations: 178.8 kB / 376.1 MB, free: 8.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.09477, allocations: 4 kB / 376.1 MB, free: 8.883 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.0948, allocations: 4 kB / 376.1 MB, free: 8.879 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.09497, allocations: 69.66 kB / 376.2 MB, free: 8.805 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.09499, allocations: 3.938 kB / 376.2 MB, free: 8.801 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.09501, allocations: 0 / 376.2 MB, free: 8.801 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.09503, allocations: 3.938 kB / 376.2 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.09517, allocations: 55.97 kB / 376.3 MB, free: 8.742 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.09541, allocations: 193.6 kB / 376.5 MB, free: 8.504 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.09554, allocations: 54.5 kB / 376.5 MB, free: 8.441 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.419e-05/0.09562, allocations: 19.98 kB / 376.5 MB, free: 8.422 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.09566, allocations: 34.56 kB / 376.6 MB, free: 8.379 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.09567, allocations: 0 / 376.6 MB, free: 8.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.03575/0.1314, allocations: 1.396 MB / 378 MB, free: 6.953 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.1315, allocations: 51.41 kB / 378 MB, free: 6.891 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.1317, allocations: 138 kB / 378.2 MB, free: 6.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/0.1317, allocations: 25.7 kB / 378.2 MB, free: 6.711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.1318, allocations: 88.12 kB / 378.3 MB, free: 6.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.1319, allocations: 43.38 kB / 378.3 MB, free: 6.578 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.1319, allocations: 4 kB / 378.3 MB, free: 6.574 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.132, allocations: 322.8 kB / 378.6 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000754/0.1328, allocations: 164.1 kB / 378.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007585/0.1336, allocations: 172.2 kB / 379 MB, free: 5.922 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/0.1344, allocations: 163 kB / 379.1 MB, free: 5.766 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1344, allocations: 0 / 379.1 MB, free: 5.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001745/0.1362, allocations: 403.2 kB / 379.5 MB, free: 5.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.1362, allocations: 4 kB / 379.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.1362, allocations: 0 / 379.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1362, allocations: 0 / 379.5 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/0.137, allocations: 47.92 kB / 379.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.137, allocations: 4 kB / 379.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.1375, allocations: 19.98 kB / 379.6 MB, free: 5.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.1376, allocations: 11.97 kB / 379.6 MB, free: 5.281 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (data.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001489/0.1377, allocations: 123.6 kB / 379.7 MB, free: 5.152 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.1378, allocations: 7.906 kB / 379.7 MB, free: 5.145 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001738/0.1395, allocations: 310.2 kB / 380 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1396, allocations: 0 / 380 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1396, allocations: 0 / 380 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1396, allocations: 0 / 380 MB, free: 4.836 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003464/0.1431, allocations: 0.6607 MB / 380.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.1431, allocations: 0 / 380.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006544/0.1438, allocations: 55.95 kB / 380.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1438, allocations: 3.938 kB / 380.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.1438, allocations: 15.97 kB / 380.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.1438, allocations: 4 kB / 380.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1439, allocations: 3.953 kB / 380.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.1454, allocations: 415 kB / 381.2 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.1456, allocations: 109 kB / 381.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.1457, allocations: 0 / 381.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/0.1462, allocations: 15.98 kB / 381.3 MB, free: 3.438 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.1463, allocations: 12 kB / 381.3 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.176e-05/0.1463, allocations: 11.97 kB / 381.3 MB, free: 3.414 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.933e-05/0.1464, allocations: 98.64 kB / 381.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.224e-06/0.1464, allocations: 0 / 381.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008051/0.1473, allocations: 179.8 kB / 381.6 MB, free: 3.145 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0028/0.1501, allocations: 1.281 MB / 382.9 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001536/0.1516, allocations: 311.8 kB / 383.2 MB, free: 1.512 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1517, allocations: 3.938 kB / 383.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007023/0.1524, allocations: 120 kB / 383.3 MB, free: 1.391 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.1527, allocations: 24.03 kB / 383.3 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.1564, allocations: 0.6777 MB / 384 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1567, allocations: 0.7004 MB / 384.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003589/0.1571, allocations: 40.77 kB / 384.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.1573, allocations: 47.36 kB / 384.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of SimCode: time 8.81e-07/0.1574, allocations: 0 / 384.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.1958, allocations: 8.982 MB / 393.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002977/0.1961, allocations: 216 kB / 394 MB, free: 6.656 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/2.731, allocations: 4 kB / 394 MB, free: 6.652 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat