Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01573/0.01574, allocations: 106 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.0021/0.0021, allocations: 166.4 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.923/1.923, allocations: 170.9 MB / 187.5 MB, free: 0.8555 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2613/0.2613, allocations: 38.09 MB / 265.1 MB, free: 3.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006655/0.0006659, allocations: 12 kB / 323.6 MB, free: 29.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1027, allocations: 48.7 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW): time 0.002385/0.1051, allocations: 1.336 MB / 373.6 MB, free: 11.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.1069, allocations: 0.7371 MB / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.107, allocations: 0 / 374.4 MB, free: 10.74 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.1072, allocations: 27.89 kB / 374.4 MB, free: 10.71 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.1074, allocations: 39.81 kB / 374.4 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.1078, allocations: 71.81 kB / 374.5 MB, free: 10.6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.108, allocations: 99.78 kB / 374.6 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.475e-05/0.1081, allocations: 13.11 kB / 374.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1083, allocations: 55.77 kB / 374.7 MB, free: 10.44 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.1084, allocations: 47.83 kB / 374.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.1084, allocations: 0 / 374.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.1089, allocations: 167.7 kB / 374.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.931e-05/0.109, allocations: 31.89 kB / 374.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.202e-05/0.1091, allocations: 45.64 kB / 375 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.1094, allocations: 128 kB / 375.1 MB, free: 10.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1095, allocations: 4 kB / 375.1 MB, free: 10.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1095, allocations: 0 / 375.1 MB, free: 10.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.1095, allocations: 0 / 375.1 MB, free: 10.02 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007503/0.1102, allocations: 434.9 kB / 375.5 MB, free: 9.543 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1103, allocations: 12.03 kB / 375.5 MB, free: 9.531 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.776e-05/0.1104, allocations: 54.48 kB / 375.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007308/0.1111, allocations: 63.73 kB / 375.6 MB, free: 9.406 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.1114, allocations: 210.8 kB / 375.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.1115, allocations: 15.98 kB / 375.9 MB, free: 9.145 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.1115, allocations: 15.98 kB / 375.9 MB, free: 9.129 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006908/0.1122, allocations: 234.5 kB / 376.1 MB, free: 8.895 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.1123, allocations: 0 / 376.1 MB, free: 8.895 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.1123, allocations: 4 kB / 376.1 MB, free: 8.891 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.224e-05/0.1124, allocations: 19.98 kB / 376.1 MB, free: 8.871 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007639/0.1132, allocations: 235.6 kB / 376.4 MB, free: 8.641 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.1149, allocations: 0.7439 MB / 377.1 MB, free: 7.805 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.1153, allocations: 102.4 kB / 377.2 MB, free: 7.695 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1153, allocations: 4 kB / 377.2 MB, free: 7.691 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.1153, allocations: 34.5 kB / 377.2 MB, free: 7.648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.1154, allocations: 0 / 377.2 MB, free: 7.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008697/0.1162, allocations: 189.8 kB / 377.4 MB, free: 7.457 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.1163, allocations: 55.34 kB / 377.5 MB, free: 7.391 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002641/0.1166, allocations: 188 kB / 377.7 MB, free: 7.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.1166, allocations: 33.69 kB / 377.7 MB, free: 7.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1167, allocations: 131.6 kB / 377.8 MB, free: 7.027 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.1168, allocations: 27.64 kB / 377.9 MB, free: 7 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.566e-05/0.1168, allocations: 4 kB / 377.9 MB, free: 6.996 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.117, allocations: 322.8 kB / 378.2 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.1173, allocations: 47.95 kB / 378.2 MB, free: 6.625 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.1176, allocations: 106.8 kB / 378.3 MB, free: 6.496 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.1179, allocations: 63.95 kB / 378.4 MB, free: 6.434 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1179, allocations: 3.938 kB / 378.4 MB, free: 6.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007107/0.1186, allocations: 197.2 kB / 378.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.1187, allocations: 9.406 kB / 378.6 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1187, allocations: 0 / 378.6 MB, free: 6.223 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.1187, allocations: 4 kB / 378.6 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.1203, allocations: 112 kB / 378.7 MB, free: 6.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.122, allocations: 1.805 MB / 380.5 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.1223, allocations: 35.67 kB / 380.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.1223, allocations: 4 kB / 380.6 MB, free: 4.195 MB / 282.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 (14): * Single equations (assignments): 11 * 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.0002004/0.1225, allocations: 146.5 kB / 380.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.1226, allocations: 11.95 kB / 380.7 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007373/0.1233, allocations: 194.9 kB / 380.9 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.1233, allocations: 4 kB / 380.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1234, allocations: 0 / 380.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1234, allocations: 0 / 380.9 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.1237, allocations: 229.5 kB / 381.1 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1238, allocations: 0 / 381.1 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/0.1251, allocations: 103.8 kB / 381.2 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1251, allocations: 0 / 381.2 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.1251, allocations: 0 / 381.2 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001373/0.1265, allocations: 1.781 MB / 383 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1265, allocations: 0 / 383 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000619/0.1272, allocations: 243.5 kB / 383.3 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.343e-05/0.1273, allocations: 104.8 kB / 383.4 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.1273, allocations: 0 / 383.4 MB, free: 1.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.1276, allocations: 11.98 kB / 383.4 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.1277, allocations: 15.92 kB / 383.4 MB, free: 1.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.1277, allocations: 0 / 383.4 MB, free: 1.203 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001721/0.1279, allocations: 139.9 kB / 383.5 MB, free: 1.066 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1279, allocations: 0 / 383.5 MB, free: 1.066 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004241/0.1283, allocations: 36 kB / 383.6 MB, free: 1.031 MB / 282.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 (11): * Single equations (assignments): 8 * 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.001072/0.1294, allocations: 0.8093 MB / 384.4 MB, free: 204 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002125/0.1316, allocations: 224.2 kB / 384.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.1316, allocations: 0 / 384.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.1328, allocations: 123.7 kB / 384.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005517/0.1334, allocations: 35.97 kB / 384.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.1364, allocations: 2.092 MB / 386.8 MB, free: 13.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.1369, allocations: 0.7475 MB / 387.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002537/0.1371, allocations: 37.34 kB / 387.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.1373, allocations: 47.42 kB / 387.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1373, allocations: 0 / 387.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.1664, allocations: 4.548 MB / 392.2 MB, free: 8.402 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003935/0.1668, allocations: 269.2 kB / 392.5 MB, free: 8.047 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/2.765, allocations: 0 / 392.5 MB, free: 8.047 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat