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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.01098/0.01098, allocations: 104.9 kB / 15.05 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.001161/0.001161, allocations: 166.3 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.873/1.873, allocations: 170.9 MB / 187.5 MB, free: 1.008 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.3372/0.3372, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004742, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09503/0.09555, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002804/0.09842, allocations: 1.527 MB / 373.8 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.1007, allocations: 0.9983 MB / 374.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.759e-05/0.1008, allocations: 0 / 374.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.1012, allocations: 67.64 kB / 374.9 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.1015, allocations: 63.81 kB / 375 MB, free: 10.17 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.102, allocations: 111.7 kB / 375.1 MB, free: 10.06 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000337/0.1024, allocations: 187.6 kB / 375.3 MB, free: 9.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1025, allocations: 40.7 kB / 375.3 MB, free: 9.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.1027, allocations: 87.52 kB / 375.4 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1029, allocations: 95.53 kB / 375.5 MB, free: 9.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.934e-05/0.103, allocations: 12 kB / 375.5 MB, free: 9.645 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007699/0.1037, allocations: 311.6 kB / 375.8 MB, free: 9.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.915e-05/0.1038, allocations: 51.75 kB / 375.8 MB, free: 9.289 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.348e-05/0.1039, allocations: 61.58 kB / 375.9 MB, free: 9.223 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005807/0.1045, allocations: 275.7 kB / 376.2 MB, free: 8.953 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1046, allocations: 0 / 376.2 MB, free: 8.953 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1046, allocations: 0 / 376.2 MB, free: 8.953 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1046, allocations: 4 kB / 376.2 MB, free: 8.949 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0008919/0.1055, allocations: 0.5268 MB / 376.7 MB, free: 8.371 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.1055, allocations: 12.03 kB / 376.7 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.1057, allocations: 70.53 kB / 376.8 MB, free: 8.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.227e-05/0.1058, allocations: 35.61 kB / 376.8 MB, free: 8.246 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.1062, allocations: 242.5 kB / 377.1 MB, free: 7.969 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.1062, allocations: 28.98 kB / 377.1 MB, free: 7.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.934e-05/0.1063, allocations: 28 kB / 377.1 MB, free: 7.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.1074, allocations: 493.4 kB / 377.6 MB, free: 7.418 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.1074, allocations: 0 / 377.6 MB, free: 7.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.1075, allocations: 15.98 kB / 377.6 MB, free: 7.402 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.758e-05/0.1076, allocations: 28.98 kB / 377.6 MB, free: 7.375 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.1087, allocations: 435.6 kB / 378.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.111, allocations: 1.209 MB / 379.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.1114, allocations: 82.52 kB / 379.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.1114, allocations: 0 / 379.4 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1115, allocations: 34.56 kB / 379.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.1115, allocations: 4 kB / 379.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008294/0.1123, allocations: 177.6 kB / 379.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.1124, allocations: 51.41 kB / 379.6 MB, free: 5.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.1127, allocations: 170.5 kB / 379.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.1127, allocations: 33.64 kB / 379.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.1129, allocations: 219.2 kB / 380 MB, free: 4.836 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-05/0.113, allocations: 31.64 kB / 380.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.644e-05/0.113, allocations: 4 kB / 380.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1132, allocations: 322.8 kB / 380.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.1135, allocations: 59.94 kB / 380.4 MB, free: 4.418 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.1138, allocations: 177.1 kB / 380.6 MB, free: 4.188 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.1142, allocations: 79.89 kB / 380.7 MB, free: 4.109 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.1142, allocations: 4 kB / 380.7 MB, free: 4.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008322/0.115, allocations: 257.3 kB / 380.9 MB, free: 3.848 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.1151, allocations: 8 kB / 380.9 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.1151, allocations: 8 kB / 381 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.1151, allocations: 4 kB / 381 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006275/0.1158, allocations: 95.81 kB / 381.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.117, allocations: 1.786 MB / 382.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.1173, allocations: 32.12 kB / 382.9 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.1174, allocations: 19.94 kB / 382.9 MB, free: 1.828 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0003346/0.1177, allocations: 181.6 kB / 383.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.1178, allocations: 7.906 kB / 383.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009573/0.1187, allocations: 209.9 kB / 383.3 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.1188, allocations: 0 / 383.3 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1188, allocations: 4 kB / 383.3 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1188, allocations: 0 / 383.3 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/0.1193, allocations: 289.5 kB / 383.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.1193, allocations: 3.984 kB / 383.6 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/0.1198, allocations: 63.89 kB / 383.6 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.1198, allocations: 0 / 383.6 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.1199, allocations: 8 kB / 383.6 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.1211, allocations: 1.778 MB / 385.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1211, allocations: 0 / 385.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005687/0.1217, allocations: 228.1 kB / 385.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/0.1218, allocations: 89 kB / 385.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.1218, allocations: 0 / 385.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.122, allocations: 16 kB / 385.7 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.1221, allocations: 11.92 kB / 385.8 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.1221, allocations: 4 kB / 385.8 MB, free: 14.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.1222, allocations: 111.2 kB / 385.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1223, allocations: 0 / 385.9 MB, free: 14.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006427/0.1229, allocations: 107.5 kB / 386 MB, free: 14.58 MB / 298.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 (7): * Single equations (assignments): 4 * 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.001127/0.1241, allocations: 0.81 MB / 386.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009824/0.1251, allocations: 196.8 kB / 387 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1251, allocations: 0 / 387 MB, free: 13.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005755/0.1257, allocations: 99.8 kB / 387.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.1259, allocations: 7.938 kB / 387.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003933/0.1299, allocations: 3.922 MB / 391 MB, free: 9.391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/0.1304, allocations: 0.8102 MB / 391.8 MB, free: 8.555 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.1308, allocations: 65.19 kB / 391.9 MB, free: 8.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.131, allocations: 77.75 kB / 392 MB, free: 8.418 MB / 298.7 MB Notification: Performance of SimCode: time 1.142e-06/0.131, allocations: 0 / 392 MB, free: 8.418 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.1593, allocations: 4.733 MB / 396.7 MB, free: 3.84 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000421/0.1598, allocations: 276.3 kB / 397 MB, free: 3.484 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.666/2.826, allocations: 0 / 397 MB, free: 3.484 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_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat