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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.237/2.237, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.000435, allocations: 12 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3444, allocations: 54.86 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.4933, allocations: 82.26 MB / 451.6 MB, free: 8.352 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.4936, allocations: 79.95 kB / 451.7 MB, free: 8.273 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02318/0.5168, allocations: 5.282 MB / 457 MB, free: 2.984 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.927e-06/0.5169, allocations: 0 / 457 MB, free: 2.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.5169, allocations: 3.938 kB / 457 MB, free: 2.98 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.0005456/0.5175, allocations: 418.8 kB / 457.4 MB, free: 2.523 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.5175, allocations: 8.031 kB / 457.4 MB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.345e-05/0.5176, allocations: 38.56 kB / 457.4 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.5176, allocations: 7.906 kB / 457.5 MB, free: 2.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.5178, allocations: 175 kB / 457.6 MB, free: 2.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.5178, allocations: 4 kB / 457.6 MB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.5178, allocations: 7.938 kB / 457.6 MB, free: 2.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.518, allocations: 69.61 kB / 457.7 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.5181, allocations: 0 / 457.7 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.5181, allocations: 4 kB / 457.7 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.5181, allocations: 4 kB / 457.7 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.5182, allocations: 55.91 kB / 457.8 MB, free: 2.102 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.5185, allocations: 189.6 kB / 457.9 MB, free: 1.867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.5186, allocations: 66.55 kB / 458 MB, free: 1.793 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.213e-05/0.5187, allocations: 16 kB / 458 MB, free: 1.777 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.5187, allocations: 30.56 kB / 458.1 MB, free: 1.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.5188, allocations: 0 / 458.1 MB, free: 1.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.03238/0.5511, allocations: 1.322 MB / 459.4 MB, free: 396 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.5512, allocations: 63.34 kB / 459.4 MB, free: 320 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.5514, allocations: 117.2 kB / 459.6 MB, free: 192 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.5515, allocations: 29.7 kB / 459.6 MB, free: 156 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.5516, allocations: 154.9 kB / 459.7 MB, free: 15.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.359e-05/0.5517, allocations: 43.27 kB / 459.8 MB, free: 15.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.5517, allocations: 0 / 459.8 MB, free: 15.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5519, allocations: 318.8 kB / 460.1 MB, free: 15.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/0.5525, allocations: 91.95 kB / 460.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005421/0.553, allocations: 99.98 kB / 460.3 MB, free: 15.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006299/0.5537, allocations: 91.97 kB / 460.4 MB, free: 15.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5537, allocations: 0 / 460.4 MB, free: 15.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0013/0.555, allocations: 237.5 kB / 460.6 MB, free: 15.12 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.555, allocations: 7.953 kB / 460.6 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.5551, allocations: 4 kB / 460.6 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.5551, allocations: 3.984 kB / 460.6 MB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005986/0.5557, allocations: 39.91 kB / 460.7 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.5557, allocations: 0 / 460.7 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.5561, allocations: 15.98 kB / 460.7 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.5562, allocations: 8 kB / 460.7 MB, free: 15.04 MB / 394.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 () * Number of clocked 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.0001569/0.5563, allocations: 121.8 kB / 460.8 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.5564, allocations: 7.906 kB / 460.8 MB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.5579, allocations: 298 kB / 461.1 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.558, allocations: 4 kB / 461.1 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.558, allocations: 0 / 461.1 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.558, allocations: 0 / 461.1 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003069/0.5611, allocations: 0.6775 MB / 461.8 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.5611, allocations: 0 / 461.8 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/0.5617, allocations: 40.06 kB / 461.8 MB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.5617, allocations: 0 / 461.8 MB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.193e-05/0.5617, allocations: 7.984 kB / 461.8 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.5617, allocations: 4 kB / 461.8 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.5618, allocations: 4.406 kB / 461.8 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.5631, allocations: 391 kB / 462.2 MB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.5633, allocations: 101 kB / 462.3 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.99e-05/0.5634, allocations: 8 kB / 462.3 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.5638, allocations: 11.98 kB / 462.3 MB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.5639, allocations: 15.88 kB / 462.3 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.5639, allocations: 12 kB / 462.4 MB, free: 13.21 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.995e-05/0.564, allocations: 97.52 kB / 462.5 MB, free: 13.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.564, allocations: 4 kB / 462.5 MB, free: 13.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008321/0.5649, allocations: 171.8 kB / 462.6 MB, free: 12.94 MB / 394.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.002701/0.5676, allocations: 1.283 MB / 463.9 MB, free: 11.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.5688, allocations: 212.6 kB / 464.1 MB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.5689, allocations: 3.938 kB / 464.1 MB, free: 11.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005759/0.5695, allocations: 111.9 kB / 464.2 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.5698, allocations: 20.17 kB / 464.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.573, allocations: 0.5238 MB / 464.8 MB, free: 10.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.5733, allocations: 0.6965 MB / 465.5 MB, free: 9.973 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.5735, allocations: 31.42 kB / 465.5 MB, free: 9.945 MB / 394.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5736, allocations: 3.938 kB / 465.5 MB, free: 9.941 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.418/2.992, allocations: 4.749 MB / 470.3 MB, free: 5.18 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