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.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.223/2.223, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005958/0.0005959, allocations: 8 kB / 314.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3367, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.5427, allocations: 105.3 MB / 474.7 MB, free: 1.273 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003896/0.5431, allocations: 103.8 kB / 474.8 MB, free: 1.172 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4955:11-4956:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4977:11-4978:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4937:11-4953:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4959:11-4975:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.438/0.9812, allocations: 27.83 MB / 0.4908 GB, free: 83.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.9812, allocations: 0 / 0.4908 GB, free: 83.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.9813, allocations: 12 kB / 0.4908 GB, free: 83.62 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00226/0.9835, allocations: 0.9048 MB / 0.4917 GB, free: 82.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.9836, allocations: 15.97 kB / 0.4917 GB, free: 82.65 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002064/0.9838, allocations: 151.9 kB / 0.4919 GB, free: 82.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/0.984, allocations: 67.16 kB / 0.4919 GB, free: 82.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005996/0.9846, allocations: 350 kB / 0.4923 GB, free: 82.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.771e-05/0.9847, allocations: 54 kB / 0.4923 GB, free: 82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.9848, allocations: 83.92 kB / 0.4924 GB, free: 81.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.9873, allocations: 1.19 MB / 0.4936 GB, free: 80.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.9873, allocations: 0 / 0.4936 GB, free: 80.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.9875, allocations: 32 kB / 0.4936 GB, free: 80.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.9876, allocations: 69.97 kB / 0.4937 GB, free: 80.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003588/0.9912, allocations: 1.729 MB / 0.4953 GB, free: 78.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006215/0.9974, allocations: 2.968 MB / 0.4982 GB, free: 75.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.9987, allocations: 439.6 kB / 0.4987 GB, free: 75.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.829e-05/0.9988, allocations: 8.266 kB / 0.4987 GB, free: 75.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.9989, allocations: 38.84 kB / 0.4987 GB, free: 75.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 3.076e-06/0.9989, allocations: 0 / 0.4987 GB, free: 75.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001462/1, allocations: 499.8 kB / 0.4992 GB, free: 74.78 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/1, allocations: 55.41 kB / 0.4992 GB, free: 74.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/1.001, allocations: 189.5 kB / 0.4994 GB, free: 74.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/1.001, allocations: 29.7 kB / 0.4994 GB, free: 74.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/1.001, allocations: 456.5 kB / 0.4999 GB, free: 74.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/1.001, allocations: 122.3 kB / 0.5 GB, free: 73.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/1.001, allocations: 12 kB / 0.5 GB, free: 73.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.964e-05/1.001, allocations: 326.8 kB / 0.5003 GB, free: 73.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/1.002, allocations: 153 kB / 0.5005 GB, free: 73.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/1.002, allocations: 342.3 kB / 0.5008 GB, free: 73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005408/1.003, allocations: 213.4 kB / 0.501 GB, free: 72.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.003, allocations: 4 kB / 0.501 GB, free: 72.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001322/1.004, allocations: 0.5435 MB / 0.5015 GB, free: 72.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.004, allocations: 11.95 kB / 0.5015 GB, free: 72.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/1.004, allocations: 8 kB / 0.5015 GB, free: 72.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/1.004, allocations: 8.75 kB / 0.5016 GB, free: 72.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/1.005, allocations: 211.8 kB / 0.5018 GB, free: 72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/1.007, allocations: 3 MB / 0.5047 GB, free: 68.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/1.007, allocations: 63.8 kB / 0.5047 GB, free: 68.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/1.007, allocations: 31.98 kB / 0.5048 GB, free: 68.79 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * 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.0004663/1.008, allocations: 265.5 kB / 0.505 GB, free: 68.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/1.008, allocations: 23.72 kB / 0.5051 GB, free: 68.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/1.01, allocations: 0.5736 MB / 0.5056 GB, free: 67.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/1.01, allocations: 12 kB / 0.5056 GB, free: 67.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.01, allocations: 3.938 kB / 0.5056 GB, free: 67.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/1.01, allocations: 7.938 kB / 0.5056 GB, free: 67.89 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/1.012, allocations: 1.18 MB / 0.5068 GB, free: 66.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.012, allocations: 0 / 0.5068 GB, free: 66.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.014, allocations: 184.1 kB / 0.507 GB, free: 66.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/1.014, allocations: 4 kB / 0.507 GB, free: 66.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/1.014, allocations: 12 kB / 0.507 GB, free: 66.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/1.015, allocations: 2.965 MB / 0.5099 GB, free: 63.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.015, allocations: 4.219 kB / 0.5099 GB, free: 63.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/1.016, allocations: 0.6011 MB / 0.5105 GB, free: 62.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/1.016, allocations: 104.8 kB / 0.5106 GB, free: 62.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-05/1.016, allocations: 12 kB / 0.5106 GB, free: 62.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/1.016, allocations: 15.98 kB / 0.5106 GB, free: 62.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/1.017, allocations: 39.95 kB / 0.5106 GB, free: 62.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/1.017, allocations: 16 kB / 0.5106 GB, free: 62.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001174/1.017, allocations: 140.5 kB / 0.5108 GB, free: 62.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.1e-07/1.017, allocations: 0 / 0.5108 GB, free: 62.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001469/1.018, allocations: 382.6 kB / 0.5111 GB, free: 61.95 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * 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.002322/1.021, allocations: 1.98 MB / 0.5131 GB, free: 59.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001596/1.022, allocations: 464.9 kB / 0.5135 GB, free: 59.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.022, allocations: 64 / 0.5135 GB, free: 59.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009381/1.023, allocations: 243.6 kB / 0.5138 GB, free: 59.19 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/1.023, allocations: 31.89 kB / 0.5138 GB, free: 59.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005611/1.029, allocations: 6.978 MB / 0.5206 GB, free: 51.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/1.03, allocations: 0.9877 MB / 0.5216 GB, free: 50.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003788/1.03, allocations: 211.4 kB / 0.5218 GB, free: 50.75 MB / 394.7 MB Notification: Performance of SimCode: time 1.002e-06/1.03, allocations: 0 / 0.5218 GB, free: 50.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.982/4.012, allocations: 23.93 MB / 0.5451 GB, free: 26.8 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.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat