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/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.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.5/2.5, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.982e-05/2.984e-05, allocations: 8 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.3996, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.5687, allocations: 95.77 MB / 453.9 MB, free: 15.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000391/0.5691, allocations: 95.94 kB / 454 MB, free: 14.95 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.4062/0.9753, allocations: 22.4 MB / 476.4 MB, free: 98.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.9754, allocations: 0 / 476.4 MB, free: 98.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.9754, allocations: 3.969 kB / 476.4 MB, free: 98.94 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.001301/0.9767, allocations: 0.6017 MB / 477 MB, free: 98.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.9768, allocations: 14.69 kB / 477 MB, free: 98.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.9769, allocations: 38.44 kB / 477.1 MB, free: 98.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.9773, allocations: 270.5 kB / 477.3 MB, free: 98.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.9773, allocations: 11.75 kB / 477.3 MB, free: 98.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.9774, allocations: 15.69 kB / 477.4 MB, free: 98.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008234/0.9783, allocations: 443.3 kB / 477.8 MB, free: 98.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008307/0.9791, allocations: 434.1 kB / 478.2 MB, free: 97.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.9791, allocations: 0 / 478.2 MB, free: 97.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.9792, allocations: 3.953 kB / 478.2 MB, free: 97.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.858e-05/0.9793, allocations: 43.81 kB / 478.3 MB, free: 97.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.9818, allocations: 1.224 MB / 479.5 MB, free: 97.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009372/0.9827, allocations: 346.9 kB / 479.8 MB, free: 97.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.983, allocations: 97.12 kB / 479.9 MB, free: 97.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.505e-05/0.9831, allocations: 18.44 kB / 479.9 MB, free: 97.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.9831, allocations: 37.91 kB / 480 MB, free: 97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 2.826e-06/0.9831, allocations: 0 / 480 MB, free: 97 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007189/0.9838, allocations: 260.7 kB / 480.2 MB, free: 96.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.9839, allocations: 55.36 kB / 480.3 MB, free: 96.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.9841, allocations: 168.1 kB / 480.4 MB, free: 96.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.9841, allocations: 25.7 kB / 480.5 MB, free: 96.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.9842, allocations: 274.2 kB / 480.7 MB, free: 96.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.9843, allocations: 88.97 kB / 480.8 MB, free: 96.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.9844, allocations: 0 / 480.8 MB, free: 96.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.717e-05/0.9844, allocations: 325.8 kB / 481.1 MB, free: 96.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.9847, allocations: 95.92 kB / 481.2 MB, free: 96.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002623/0.9849, allocations: 136.1 kB / 481.4 MB, free: 96.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.9853, allocations: 128 kB / 481.5 MB, free: 96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.9853, allocations: 0 / 481.5 MB, free: 96 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007255/0.986, allocations: 306.7 kB / 481.8 MB, free: 95.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.986, allocations: 7.406 kB / 481.8 MB, free: 95.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9861, allocations: 0 / 481.8 MB, free: 95.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.9861, allocations: 7.078 kB / 481.8 MB, free: 95.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.9872, allocations: 127.8 kB / 481.9 MB, free: 95.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.9886, allocations: 3.019 MB / 484.9 MB, free: 92.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.989, allocations: 32.78 kB / 485 MB, free: 92.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.9891, allocations: 10.28 kB / 485 MB, free: 92.92 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 () * 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.0001207/0.9892, allocations: 116.6 kB / 485.1 MB, free: 92.8 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006325/0.9899, allocations: 259.4 kB / 485.4 MB, free: 92.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.969e-05/0.9899, allocations: 15.66 kB / 485.4 MB, free: 92.72 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.9911, allocations: 405.5 kB / 485.8 MB, free: 92.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.9912, allocations: 3.5 kB / 485.8 MB, free: 92.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.9912, allocations: 0 / 485.8 MB, free: 92.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.9912, allocations: 0 / 485.8 MB, free: 92.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005232/0.9917, allocations: 329.6 kB / 486.1 MB, free: 92.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.9917, allocations: 0 / 486.1 MB, free: 92.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009905/0.9927, allocations: 109.5 kB / 486.2 MB, free: 92.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.9928, allocations: 3.969 kB / 486.2 MB, free: 92.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.9928, allocations: 7.297 kB / 486.2 MB, free: 92.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.9942, allocations: 3.018 MB / 489.2 MB, free: 89.42 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.9942, allocations: 6.797 kB / 489.2 MB, free: 89.42 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007671/0.995, allocations: 389.1 kB / 489.6 MB, free: 89.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/0.9951, allocations: 92.83 kB / 489.7 MB, free: 89.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.693e-05/0.9951, allocations: 7.703 kB / 489.7 MB, free: 89.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.9955, allocations: 11.31 kB / 489.7 MB, free: 89.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.8e-05/0.9956, allocations: 26.8 kB / 489.8 MB, free: 89.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.9956, allocations: 15.33 kB / 489.8 MB, free: 89.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.9957, allocations: 126.8 kB / 489.9 MB, free: 89.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.9957, allocations: 0 / 489.9 MB, free: 89.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009542/0.9967, allocations: 205.2 kB / 490.1 MB, free: 88.96 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 () * 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.00161/0.9983, allocations: 1.108 MB / 491.2 MB, free: 88.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.9995, allocations: 297 kB / 491.5 MB, free: 88.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9995, allocations: 0 / 491.5 MB, free: 88.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007479/1, allocations: 184.4 kB / 491.7 MB, free: 88.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/1.001, allocations: 9.156 kB / 491.7 MB, free: 88.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/1.002, allocations: 0.6405 MB / 492.3 MB, free: 87.79 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/1.003, allocations: 0.8374 MB / 493.2 MB, free: 86.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/1.003, allocations: 111 kB / 493.3 MB, free: 86.89 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/1.003, allocations: 0 / 493.3 MB, free: 86.89 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.299/4.302, allocations: 13.7 MB / 0.4951 GB, free: 74.13 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