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.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.484/2.484, allocations: 235 MB / 248 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.191e-05/3.2e-05, allocations: 4 kB / 309.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4175, allocations: 54.84 MB / 364.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.58, allocations: 87.8 MB / 452.4 MB, free: 8.691 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003728/0.5804, allocations: 93.34 kB / 452.5 MB, free: 8.602 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.05324/0.6337, allocations: 10.22 MB / 462.8 MB, free: 14.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.468e-06/0.6337, allocations: 0 / 462.8 MB, free: 14.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.6338, allocations: 11.94 kB / 462.8 MB, free: 14.23 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001351/0.6351, allocations: 0.658 MB / 463.4 MB, free: 13.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.6352, allocations: 8.031 kB / 463.4 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.6354, allocations: 98.52 kB / 463.5 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.6355, allocations: 55.34 kB / 463.6 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/0.6362, allocations: 326.2 kB / 463.9 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.6362, allocations: 37 kB / 463.9 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.6364, allocations: 47.95 kB / 464 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.638, allocations: 0.6446 MB / 464.6 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.638, allocations: 3.938 kB / 464.6 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/0.6381, allocations: 20 kB / 464.7 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.6382, allocations: 57.28 kB / 464.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.6398, allocations: 0.6922 MB / 465.4 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0041/0.6439, allocations: 1.731 MB / 467.1 MB, free: 9.621 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009575/0.6449, allocations: 347.3 kB / 467.5 MB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.6453, allocations: 129.2 kB / 467.6 MB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.824e-05/0.6454, allocations: 8.219 kB / 467.6 MB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.6455, allocations: 38.8 kB / 467.6 MB, free: 9.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 3.396e-06/0.6455, allocations: 0 / 467.6 MB, free: 9.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.001097/0.6466, allocations: 335.7 kB / 468 MB, free: 8.758 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.6467, allocations: 63.34 kB / 468 MB, free: 8.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007894/0.6475, allocations: 407.4 kB / 468.4 MB, free: 8.273 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.6475, allocations: 29.7 kB / 468.5 MB, free: 8.238 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.6478, allocations: 310 kB / 468.8 MB, free: 7.934 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.6479, allocations: 98.59 kB / 468.9 MB, free: 7.836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.648, allocations: 4 kB / 468.9 MB, free: 7.832 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6481, allocations: 322.8 kB / 469.2 MB, free: 7.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.6485, allocations: 135.6 kB / 469.3 MB, free: 7.375 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.649, allocations: 229.7 kB / 469.5 MB, free: 7.102 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/0.6494, allocations: 167.8 kB / 469.7 MB, free: 6.938 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.6495, allocations: 4 kB / 469.7 MB, free: 6.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001208/0.6507, allocations: 417.4 kB / 470.1 MB, free: 6.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.6508, allocations: 12 kB / 470.1 MB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.6508, allocations: 3.984 kB / 470.1 MB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.6508, allocations: 8 kB / 470.1 MB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.6522, allocations: 159.8 kB / 470.3 MB, free: 6.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002772/0.655, allocations: 3.61 MB / 473.9 MB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000575/0.6556, allocations: 63.36 kB / 474 MB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.348e-05/0.6557, allocations: 19.98 kB / 474 MB, free: 2.508 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.6559, allocations: 125.1 kB / 474.1 MB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.656, allocations: 43.48 kB / 474.2 MB, free: 2.336 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.6578, allocations: 0.5167 MB / 474.7 MB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.6578, allocations: 4 kB / 474.7 MB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6578, allocations: 0 / 474.7 MB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.6579, allocations: 3.984 kB / 474.7 MB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000925/0.6588, allocations: 449.1 kB / 475.1 MB, free: 1.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.6588, allocations: 7.984 kB / 475.1 MB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.6599, allocations: 131.9 kB / 475.3 MB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/0.66, allocations: 3.953 kB / 475.3 MB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.66, allocations: 19.92 kB / 475.3 MB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003322/0.6634, allocations: 3.605 MB / 478.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/0.6634, allocations: 0 / 478.9 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.6649, allocations: 0.6096 MB / 479.5 MB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/0.6653, allocations: 176.4 kB / 479.7 MB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/0.6654, allocations: 12.2 kB / 479.7 MB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.6659, allocations: 15.98 kB / 479.7 MB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.666, allocations: 31.91 kB / 479.7 MB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.6661, allocations: 19.92 kB / 479.7 MB, free: 12.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000639/0.6667, allocations: 341.1 kB / 480.1 MB, free: 12.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6667, allocations: 0 / 480.1 MB, free: 12.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008492/0.6676, allocations: 183.5 kB / 480.3 MB, free: 12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002323/0.6699, allocations: 1.267 MB / 481.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.6716, allocations: 399.9 kB / 481.9 MB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.6716, allocations: 3.938 kB / 481.9 MB, free: 10.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.6726, allocations: 224.9 kB / 482.1 MB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.673, allocations: 29.52 kB / 482.2 MB, free: 10.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.6757, allocations: 0.8994 MB / 483.1 MB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007005/0.6764, allocations: 0.9093 MB / 484 MB, free: 8.188 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.6768, allocations: 167.4 kB / 484.1 MB, free: 8.023 MB / 410.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6769, allocations: 0 / 484.1 MB, free: 8.023 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.356/4.032, allocations: 19.38 MB / 0.4917 GB, free: 4.621 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat