Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.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.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.228/2.228, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005939/0.0005939, allocations: 12 kB / 314.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.333, allocations: 54.87 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1752/0.5083, allocations: 96.52 MB / 465.9 MB, free: 9.938 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003934/0.5088, allocations: 107.9 kB / 466 MB, free: 9.832 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.4015/0.9103, allocations: 22.55 MB / 488.6 MB, free: 94.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.9104, allocations: 0 / 488.6 MB, free: 94.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.9104, allocations: 7.062 kB / 488.6 MB, free: 94.96 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001396/0.9118, allocations: 0.6322 MB / 489.2 MB, free: 94.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.9119, allocations: 7.656 kB / 489.2 MB, free: 94.43 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.912, allocations: 73.27 kB / 489.3 MB, free: 94.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.898e-05/0.9121, allocations: 34.88 kB / 489.3 MB, free: 94.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.9125, allocations: 272.8 kB / 489.6 MB, free: 94.13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.9125, allocations: 27.69 kB / 489.6 MB, free: 94.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.169e-05/0.9126, allocations: 29.44 kB / 489.6 MB, free: 94.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.9137, allocations: 0.4959 MB / 490.1 MB, free: 93.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.9137, allocations: 0 / 490.1 MB, free: 93.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/0.9138, allocations: 15.77 kB / 490.1 MB, free: 93.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-05/0.9139, allocations: 31.33 kB / 490.2 MB, free: 93.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.9151, allocations: 0.5492 MB / 490.7 MB, free: 93.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.9177, allocations: 1.336 MB / 492.1 MB, free: 92.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.9189, allocations: 375 kB / 492.4 MB, free: 92.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.419e-05/0.919, allocations: 17.31 kB / 492.4 MB, free: 92.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.919, allocations: 38.5 kB / 492.5 MB, free: 92.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 2.564e-06/0.919, allocations: 0 / 492.5 MB, free: 92.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.00138/0.9204, allocations: 435.8 kB / 492.9 MB, free: 92.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.9204, allocations: 67.34 kB / 493 MB, free: 92.31 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/0.9208, allocations: 281.6 kB / 493.2 MB, free: 92.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.9209, allocations: 29.7 kB / 493.3 MB, free: 91.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.921, allocations: 242.6 kB / 493.5 MB, free: 91.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.311e-05/0.9211, allocations: 94.56 kB / 493.6 MB, free: 91.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.9211, allocations: 8 kB / 493.6 MB, free: 91.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.9212, allocations: 322.8 kB / 493.9 MB, free: 91.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.9216, allocations: 127.9 kB / 494 MB, free: 91.21 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004157/0.922, allocations: 162 kB / 494.2 MB, free: 91.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004378/0.9225, allocations: 153.2 kB / 494.4 MB, free: 90.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.9225, allocations: 0 / 494.4 MB, free: 90.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001053/0.9236, allocations: 359.6 kB / 494.7 MB, free: 90.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.9236, allocations: 11.94 kB / 494.7 MB, free: 90.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.9236, allocations: 4.062 kB / 494.7 MB, free: 90.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.9237, allocations: 4 kB / 494.7 MB, free: 90.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.9247, allocations: 123.8 kB / 494.8 MB, free: 90.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.9261, allocations: 3.008 MB / 497.9 MB, free: 87.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.9266, allocations: 51.61 kB / 497.9 MB, free: 87.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-05/0.9266, allocations: 15.98 kB / 497.9 MB, free: 87.2 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002707/0.9269, allocations: 180.6 kB / 498.1 MB, free: 87.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.927, allocations: 27.62 kB / 498.1 MB, free: 86.99 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.9285, allocations: 483 kB / 498.6 MB, free: 86.51 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.9285, allocations: 0 / 498.6 MB, free: 86.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.9285, allocations: 3.984 kB / 498.6 MB, free: 86.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.9286, allocations: 7.953 kB / 498.6 MB, free: 86.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005962/0.9292, allocations: 369.1 kB / 499 MB, free: 86.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9292, allocations: 0 / 499 MB, free: 86.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009462/0.9301, allocations: 123.8 kB / 499.1 MB, free: 85.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.9302, allocations: 0 / 499.1 MB, free: 85.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.9302, allocations: 8 kB / 499.1 MB, free: 85.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.9316, allocations: 3.012 MB / 0.4903 GB, free: 82.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.9316, allocations: 4.031 kB / 0.4903 GB, free: 82.84 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.9326, allocations: 455.2 kB / 0.4908 GB, free: 82.38 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.9328, allocations: 108.7 kB / 0.4909 GB, free: 82.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.351e-05/0.9328, allocations: 8 kB / 0.4909 GB, free: 82.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.9332, allocations: 8 kB / 0.4909 GB, free: 82.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.9333, allocations: 31.95 kB / 0.4909 GB, free: 82.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.9334, allocations: 12 kB / 0.4909 GB, free: 82.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002896/0.9336, allocations: 225.9 kB / 0.4912 GB, free: 81.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.9337, allocations: 0 / 0.4912 GB, free: 81.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009609/0.9346, allocations: 203.6 kB / 0.4913 GB, free: 81.77 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002044/0.9367, allocations: 1.175 MB / 0.4925 GB, free: 80.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.9382, allocations: 355.9 kB / 0.4928 GB, free: 80.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.9382, allocations: 128 / 0.4928 GB, free: 80.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009408/0.9392, allocations: 207.7 kB / 0.493 GB, free: 80.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005901/0.9398, allocations: 60.52 kB / 0.4931 GB, free: 79.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/0.9444, allocations: 2.506 MB / 0.4955 GB, free: 77.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.9448, allocations: 0.838 MB / 0.4964 GB, free: 76.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000286/0.9451, allocations: 111.4 kB / 0.4965 GB, free: 76.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.9451, allocations: 4 kB / 0.4965 GB, free: 76.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.025/3.97, allocations: 14.51 MB / 0.5106 GB, free: 61.93 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat