Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.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.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01113/0.01113, allocations: 108.9 kB / 15.06 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.2.mo): time 0.001243/0.001243, allocations: 182.1 kB / 15.95 MB, free: 5.52 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 1.903/1.903, allocations: 194.6 MB / 211.3 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.2564/0.2564, allocations: 40.04 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006707/0.000671, allocations: 8 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1097, allocations: 54.89 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001835/0.1116, allocations: 1.138 MB / 417.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.114, allocations: 1.268 MB / 418.4 MB, free: 128 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.1141, allocations: 0 / 418.4 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001823/0.1143, allocations: 35.88 kB / 418.5 MB, free: 92 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.1145, allocations: 31.88 kB / 418.5 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005991/0.1151, allocations: 167.5 kB / 418.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.1153, allocations: 39.88 kB / 418.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.358e-05/0.1153, allocations: 4 kB / 418.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.1154, allocations: 23.92 kB / 418.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.1155, allocations: 27.84 kB / 418.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1155, allocations: 4 kB / 418.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007033/0.1162, allocations: 291.7 kB / 419 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.1163, allocations: 11.98 kB / 419.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.1163, allocations: 33.64 kB / 419.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004504/0.1168, allocations: 187.9 kB / 419.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1168, allocations: 0 / 419.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1168, allocations: 0 / 419.3 MB, free: 15.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.1168, allocations: 0 / 419.3 MB, free: 15.28 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005905/0.1174, allocations: 403.1 kB / 419.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1175, allocations: 12.03 kB / 419.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.1175, allocations: 34.56 kB / 419.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.981e-05/0.1176, allocations: 7.906 kB / 419.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1177, allocations: 175 kB / 419.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.1177, allocations: 7.953 kB / 419.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.1178, allocations: 8 kB / 419.9 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1179, allocations: 73.59 kB / 420 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.118, allocations: 0 / 420 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.118, allocations: 0 / 420 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.118, allocations: 4 kB / 420 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001289/0.1181, allocations: 51.97 kB / 420 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.1184, allocations: 185.6 kB / 420.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.1185, allocations: 58.56 kB / 420.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.956e-05/0.1186, allocations: 23.94 kB / 420.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1186, allocations: 34.5 kB / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.1187, allocations: 0 / 420.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.03642/0.1551, allocations: 1.392 MB / 421.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.1552, allocations: 55.39 kB / 421.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1553, allocations: 134 kB / 421.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.1554, allocations: 25.7 kB / 421.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.1554, allocations: 92.05 kB / 422 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.573e-05/0.1555, allocations: 35.45 kB / 422.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.157e-05/0.1556, allocations: 4 kB / 422.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1557, allocations: 318.8 kB / 422.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007397/0.1564, allocations: 168.1 kB / 422.5 MB, free: 11.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007424/0.1572, allocations: 164.3 kB / 422.7 MB, free: 11.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007962/0.158, allocations: 160.7 kB / 422.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.158, allocations: 3.953 kB / 422.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001728/0.1598, allocations: 409.8 kB / 423.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1598, allocations: 4 kB / 423.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1598, allocations: 3.938 kB / 423.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.1599, allocations: 0 / 423.3 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007087/0.1606, allocations: 47.94 kB / 423.3 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/0.1606, allocations: 3.984 kB / 423.3 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/0.1612, allocations: 15.98 kB / 423.3 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.1612, allocations: 19.98 kB / 423.3 MB, free: 10.96 MB / 362.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.0001478/0.1614, allocations: 113.8 kB / 423.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.1614, allocations: 15.8 kB / 423.5 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.1632, allocations: 318.2 kB / 423.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1632, allocations: 0 / 423.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1632, allocations: 0 / 423.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1632, allocations: 0 / 423.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003479/0.1667, allocations: 0.6607 MB / 424.4 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1668, allocations: 0 / 424.4 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006654/0.1675, allocations: 51.88 kB / 424.5 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.1675, allocations: 0 / 424.5 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.1675, allocations: 11.97 kB / 424.5 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.045e-06/0.1675, allocations: 4 kB / 424.5 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1676, allocations: 0 / 424.5 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.1692, allocations: 414.9 kB / 424.9 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.1694, allocations: 109 kB / 425 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.1695, allocations: 3.953 kB / 425 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005603/0.17, allocations: 15.98 kB / 425 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.1701, allocations: 11.98 kB / 425.1 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.1701, allocations: 16.08 kB / 425.1 MB, free: 9.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.693e-05/0.1702, allocations: 103.8 kB / 425.2 MB, free: 8.988 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1703, allocations: 0 / 425.2 MB, free: 8.988 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008052/0.1711, allocations: 163.9 kB / 425.3 MB, free: 8.828 MB / 362.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.002806/0.1739, allocations: 1.285 MB / 426.6 MB, free: 7.492 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.1755, allocations: 316 kB / 426.9 MB, free: 7.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.1755, allocations: 0 / 426.9 MB, free: 7.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007117/0.1762, allocations: 124 kB / 427 MB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1765, allocations: 8 kB / 427.1 MB, free: 7.055 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.1803, allocations: 0.6939 MB / 427.7 MB, free: 6.305 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1806, allocations: 0.6965 MB / 428.4 MB, free: 5.582 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003978/0.181, allocations: 40.83 kB / 428.5 MB, free: 5.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002699/0.1813, allocations: 55.3 kB / 428.5 MB, free: 5.484 MB / 362.7 MB Notification: Performance of SimCode: time 2.625e-06/0.1813, allocations: 0 / 428.5 MB, free: 5.484 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04323/0.2245, allocations: 8.993 MB / 437.5 MB, free: 12.53 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003641/0.2249, allocations: 211.2 kB / 437.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/2.723, allocations: 3.438 kB / 437.7 MB, free: 12.29 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat