Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.277/2.277, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.029e-05/2.038e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3764, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.5372, allocations: 81.5 MB / 439.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/0.5376, allocations: 79.94 kB / 439.7 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02556/0.5631, allocations: 5.174 MB / 444.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5632, allocations: 0 / 444.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.5632, allocations: 4 kB / 444.9 MB, free: 7.969 MB / 378.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.000637/0.5639, allocations: 408.2 kB / 445.3 MB, free: 7.527 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.5639, allocations: 8.031 kB / 445.3 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.564, allocations: 7.906 kB / 445.3 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.5642, allocations: 180.2 kB / 445.5 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.5642, allocations: 0 / 445.5 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.5643, allocations: 4 kB / 445.5 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001938/0.5645, allocations: 55.95 kB / 445.5 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.5647, allocations: 65.58 kB / 445.6 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5647, allocations: 0 / 445.6 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.5647, allocations: 3.984 kB / 445.6 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.5648, allocations: 7.984 kB / 445.6 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.5651, allocations: 166.2 kB / 445.8 MB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.5652, allocations: 50.58 kB / 445.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.5653, allocations: 36.84 kB / 445.9 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.801e-05/0.5655, allocations: 23.98 kB / 445.9 MB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.5655, allocations: 46.5 kB / 445.9 MB, free: 6.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.424e-06/0.5655, allocations: 0 / 445.9 MB, free: 6.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.04711/0.6126, allocations: 1.614 MB / 447.5 MB, free: 5.137 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.6128, allocations: 55.41 kB / 447.6 MB, free: 5.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.6129, allocations: 115.2 kB / 447.7 MB, free: 4.949 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.613, allocations: 25.7 kB / 447.7 MB, free: 4.918 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.6131, allocations: 158.8 kB / 447.9 MB, free: 4.758 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.589e-05/0.6132, allocations: 35.45 kB / 447.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.6133, allocations: 0 / 447.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.6135, allocations: 310.8 kB / 448.2 MB, free: 4.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.6138, allocations: 75.92 kB / 448.3 MB, free: 4.336 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.6141, allocations: 67.98 kB / 448.4 MB, free: 4.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002984/0.6171, allocations: 223.7 kB / 448.6 MB, free: 4.051 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6171, allocations: 0 / 448.6 MB, free: 4.051 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.003524/0.6206, allocations: 345.4 kB / 448.9 MB, free: 3.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.6207, allocations: 8 kB / 448.9 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6207, allocations: 0 / 448.9 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.6207, allocations: 7.953 kB / 448.9 MB, free: 3.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007453/0.6215, allocations: 35.97 kB / 449 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.6215, allocations: 0 / 449 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/0.622, allocations: 11.98 kB / 449 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.288e-05/0.6221, allocations: 7.984 kB / 449 MB, free: 3.637 MB / 378.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.000156/0.6223, allocations: 112.9 kB / 449.1 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003595/0.6259, allocations: 349.7 kB / 449.4 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.626, allocations: 11.86 kB / 449.5 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003826/0.6298, allocations: 397.9 kB / 449.8 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.6299, allocations: 0 / 449.8 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.6299, allocations: 3.984 kB / 449.9 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.6299, allocations: 0 / 449.9 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005727/0.6356, allocations: 0.7409 MB / 450.6 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6357, allocations: 3.938 kB / 450.6 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006822/0.6364, allocations: 44.06 kB / 450.6 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.6364, allocations: 0 / 450.6 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.6365, allocations: 4 kB / 450.6 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.6365, allocations: 0 / 450.6 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.124e-05/0.6365, allocations: 8 kB / 450.7 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/0.6394, allocations: 490.8 kB / 451.1 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.6396, allocations: 101 kB / 451.2 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.6397, allocations: 4 kB / 451.2 MB, free: 1.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00042/0.6401, allocations: 11.98 kB / 451.2 MB, free: 1.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.6402, allocations: 19.94 kB / 451.3 MB, free: 1.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.6402, allocations: 8 kB / 451.3 MB, free: 1.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.661e-05/0.6403, allocations: 91.27 kB / 451.4 MB, free: 1.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6403, allocations: 3.938 kB / 451.4 MB, free: 1.129 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007858/0.6411, allocations: 175.7 kB / 451.5 MB, free: 0.957 MB / 378.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 () * 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.003821/0.6449, allocations: 1.372 MB / 452.9 MB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005088/0.6455, allocations: 159.9 kB / 453.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6455, allocations: 0 / 453.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.6457, allocations: 79.92 kB / 453.1 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.6461, allocations: 20.2 kB / 453.2 MB, free: 15.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.6485, allocations: 381.9 kB / 453.5 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.6489, allocations: 0.7041 MB / 454.2 MB, free: 14.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002406/0.6491, allocations: 35.42 kB / 454.3 MB, free: 14.09 MB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/0.6491, allocations: 0 / 454.3 MB, free: 14.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.474/3.123, allocations: 4.835 MB / 459.1 MB, free: 9.246 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives_res.mat does not exist to compare? outputFormat=mat