Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.918/1.918, allocations: 209.2 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006963/0.0006963, allocations: 12 kB / 283.1 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4922/0.4929, allocations: 48.7 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1976/0.6906, allocations: 78.01 MB / 409.8 MB, free: 436 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005477/0.6912, allocations: 95.92 kB / 409.9 MB, free: 340 kB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.04423/0.7354, allocations: 6.015 MB / 415.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.301e-06/0.7355, allocations: 3.938 kB / 415.9 MB, free: 10.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.7355, allocations: 3.938 kB / 416 MB, free: 10.29 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001055/0.7366, allocations: 442.7 kB / 416.4 MB, free: 9.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/0.7367, allocations: 8.031 kB / 416.4 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.7378, allocations: 79.62 kB / 416.5 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.7384, allocations: 226.8 kB / 416.7 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.483e-05/0.7384, allocations: 11.98 kB / 416.7 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.454e-05/0.7385, allocations: 20 kB / 416.7 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.7397, allocations: 277.4 kB / 417 MB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.7398, allocations: 0 / 417 MB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.7399, allocations: 7.984 kB / 417 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.467e-05/0.7399, allocations: 15.98 kB / 417 MB, free: 9.125 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.7413, allocations: 275.7 kB / 417.3 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002953/0.7443, allocations: 0.8065 MB / 418.1 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000948/0.7453, allocations: 182.3 kB / 418.3 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.852e-05/0.7453, allocations: 8.031 kB / 418.3 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.7454, allocations: 42.55 kB / 418.3 MB, free: 7.711 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 3.867e-06/0.7454, allocations: 0 / 418.3 MB, free: 7.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.001665/0.7471, allocations: 261.3 kB / 418.6 MB, free: 7.449 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.7472, allocations: 51.41 kB / 418.6 MB, free: 7.387 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.7476, allocations: 195.2 kB / 418.8 MB, free: 7.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.7477, allocations: 25.7 kB / 418.8 MB, free: 7.152 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.7479, allocations: 198.3 kB / 419 MB, free: 6.957 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.659e-05/0.748, allocations: 39.55 kB / 419.1 MB, free: 6.918 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.748, allocations: 0 / 419.1 MB, free: 6.918 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.7482, allocations: 322.8 kB / 419.4 MB, free: 6.594 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.7487, allocations: 75.86 kB / 419.5 MB, free: 6.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.7493, allocations: 126.8 kB / 419.6 MB, free: 6.371 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005459/0.7498, allocations: 92.7 kB / 419.7 MB, free: 6.281 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.7499, allocations: 4 kB / 419.7 MB, free: 6.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001341/0.7512, allocations: 249.2 kB / 419.9 MB, free: 6.027 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.7513, allocations: 12.17 kB / 419.9 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.7513, allocations: 4 kB / 419.9 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.7514, allocations: 4 kB / 419.9 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.7525, allocations: 79.86 kB / 420 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.7544, allocations: 1.789 MB / 421.8 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/0.755, allocations: 19.84 kB / 421.8 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.755, allocations: 19.95 kB / 421.8 MB, free: 4.031 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003066/0.7554, allocations: 149.9 kB / 422 MB, free: 3.875 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.222e-05/0.7555, allocations: 11.81 kB / 422 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.7575, allocations: 298.7 kB / 422.3 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.7576, allocations: 3.984 kB / 422.3 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.7576, allocations: 0 / 422.3 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.7576, allocations: 4 kB / 422.3 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/0.7582, allocations: 237.5 kB / 422.5 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.7583, allocations: 0 / 422.5 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008329/0.7591, allocations: 63.88 kB / 422.6 MB, free: 3.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.7591, allocations: 3.938 kB / 422.6 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.7592, allocations: 3.953 kB / 422.6 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.7609, allocations: 1.785 MB / 424.4 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.761, allocations: 0 / 424.4 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.762, allocations: 267.6 kB / 424.7 MB, free: 1.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.7622, allocations: 92.91 kB / 424.7 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.357e-05/0.7623, allocations: 7.953 kB / 424.8 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.7627, allocations: 11.98 kB / 424.8 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.7628, allocations: 15.98 kB / 424.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.7629, allocations: 4 kB / 424.8 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003024/0.7632, allocations: 147.2 kB / 424.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.7632, allocations: 3.938 kB / 424.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008578/0.7641, allocations: 59.94 kB / 425 MB, free: 0.7148 MB / 346.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004575/0.7645, allocations: 159 kB / 425.1 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.7661, allocations: 199.8 kB / 425.3 MB, free: 364 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.7662, allocations: 4.438 kB / 425.3 MB, free: 360 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008982/0.7671, allocations: 107.8 kB / 425.5 MB, free: 252 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.7675, allocations: 8.188 kB / 425.5 MB, free: 240 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.7694, allocations: 478.1 kB / 425.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005483/0.77, allocations: 0.7475 MB / 426.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.7702, allocations: 23.42 kB / 426.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.7702, allocations: 0 / 426.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of Templates: time 0.01687/0.7871, allocations: 4.952 MB / 431.6 MB, free: 9.996 MB / 362.7 MB