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.StraightPipe.dp_laminar_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.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.01114/0.01114, allocations: 104.2 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.001206/0.001206, allocations: 169.6 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.681/1.681, allocations: 170.9 MB / 187.5 MB, free: 0.8125 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.3157/0.3157, allocations: 38.09 MB / 265.1 MB, free: 3.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000791/0.0007915, allocations: 16 kB / 323.6 MB, free: 29.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1053, allocations: 48.71 MB / 372.3 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002591/0.1079, allocations: 1.429 MB / 373.7 MB, free: 11.35 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.1096, allocations: 0.7254 MB / 374.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.786e-05/0.1097, allocations: 4 kB / 374.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.1099, allocations: 35.81 kB / 374.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.1102, allocations: 51.84 kB / 374.6 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.1104, allocations: 55.84 kB / 374.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.1106, allocations: 79.81 kB / 374.7 MB, free: 10.4 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.523e-05/0.1107, allocations: 19.97 kB / 374.7 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1108, allocations: 39.86 kB / 374.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.111, allocations: 59.8 kB / 374.8 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.111, allocations: 3.938 kB / 374.8 MB, free: 10.28 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002263/0.1113, allocations: 79.81 kB / 374.9 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.1114, allocations: 27.91 kB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.1114, allocations: 37.7 kB / 375 MB, free: 10.13 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.1116, allocations: 92.08 kB / 375 MB, free: 10.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1117, allocations: 0 / 375 MB, free: 10.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1117, allocations: 0 / 375 MB, free: 10.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1117, allocations: 0 / 375 MB, free: 10.04 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006531/0.1124, allocations: 391.1 kB / 375.4 MB, free: 9.613 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1124, allocations: 12.03 kB / 375.4 MB, free: 9.602 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.611e-05/0.1125, allocations: 46.48 kB / 375.5 MB, free: 9.547 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004043/0.1129, allocations: 31.88 kB / 375.5 MB, free: 9.516 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.1131, allocations: 190.8 kB / 375.7 MB, free: 9.289 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1132, allocations: 8 kB / 375.7 MB, free: 9.281 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.2e-05/0.1132, allocations: 12 kB / 375.7 MB, free: 9.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/0.1138, allocations: 184 kB / 375.9 MB, free: 9.074 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1138, allocations: 0 / 375.9 MB, free: 9.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.1138, allocations: 4 kB / 375.9 MB, free: 9.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/0.1139, allocations: 11.98 kB / 375.9 MB, free: 9.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000552/0.1144, allocations: 151.8 kB / 376.1 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.1156, allocations: 0.6445 MB / 376.7 MB, free: 8.195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.1162, allocations: 118.7 kB / 376.8 MB, free: 8.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.1162, allocations: 0 / 376.8 MB, free: 8.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.1163, allocations: 34.5 kB / 376.9 MB, free: 8.027 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.1163, allocations: 0 / 376.9 MB, free: 8.027 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007253/0.117, allocations: 149.6 kB / 377 MB, free: 7.875 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.1171, allocations: 51.41 kB / 377.1 MB, free: 7.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1172, allocations: 130 kB / 377.2 MB, free: 7.676 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.1173, allocations: 29.7 kB / 377.2 MB, free: 7.641 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.1174, allocations: 115.9 kB / 377.3 MB, free: 7.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.1175, allocations: 31.7 kB / 377.4 MB, free: 7.488 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.1175, allocations: 4 kB / 377.4 MB, free: 7.484 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1176, allocations: 314.8 kB / 377.7 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.1179, allocations: 39.95 kB / 377.7 MB, free: 7.129 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.1181, allocations: 107.6 kB / 377.8 MB, free: 6.996 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.1184, allocations: 59.91 kB / 377.9 MB, free: 6.938 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1184, allocations: 0 / 377.9 MB, free: 6.938 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005679/0.119, allocations: 165.4 kB / 378 MB, free: 6.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.119, allocations: 9.406 kB / 378 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.119, allocations: 0 / 378 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1191, allocations: 4 kB / 378 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.1194, allocations: 48.16 kB / 378.1 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.1195, allocations: 7.938 kB / 378.1 MB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.1196, allocations: 27.83 kB / 378.1 MB, free: 6.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.1197, allocations: 4 kB / 378.1 MB, free: 6.672 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.1198, allocations: 130.8 kB / 378.3 MB, free: 6.535 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.1199, allocations: 11.91 kB / 378.3 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005301/0.1204, allocations: 134 kB / 378.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.1204, allocations: 3.984 kB / 378.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1204, allocations: 0 / 378.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.1205, allocations: 0 / 378.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.1208, allocations: 201.6 kB / 378.6 MB, free: 6.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1208, allocations: 3.953 kB / 378.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.1211, allocations: 35.91 kB / 378.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1211, allocations: 0 / 378.6 MB, free: 6.098 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1211, allocations: 4 kB / 378.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1211, allocations: 480 / 378.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1211, allocations: 0 / 378.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005407/0.1217, allocations: 223.4 kB / 378.9 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.1218, allocations: 92.89 kB / 379 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.1218, allocations: 0 / 379 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.122, allocations: 8 kB / 379 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.122, allocations: 11.98 kB / 379 MB, free: 5.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1221, allocations: 0 / 379 MB, free: 5.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.5e-05/0.1222, allocations: 99.27 kB / 379.1 MB, free: 5.633 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.435e-06/0.1222, allocations: 0 / 379.1 MB, free: 5.633 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003598/0.1225, allocations: 27.84 kB / 379.1 MB, free: 5.605 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 (8): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008539/0.1234, allocations: 0.7515 MB / 379.9 MB, free: 4.828 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004985/0.1239, allocations: 111.8 kB / 380 MB, free: 4.719 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1239, allocations: 0 / 380 MB, free: 4.719 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.1242, allocations: 48.47 kB / 380 MB, free: 4.672 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.1244, allocations: 8 kB / 380 MB, free: 4.664 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.1267, allocations: 1.957 MB / 382 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1271, allocations: 0.7198 MB / 382.7 MB, free: 1.879 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.1273, allocations: 28.53 kB / 382.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.683e-05/0.1274, allocations: 27.42 kB / 382.7 MB, free: 1.824 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.1274, allocations: 3.938 kB / 382.7 MB, free: 1.82 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.1488, allocations: 1.965 MB / 384.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003429/0.1493, allocations: 232.2 kB / 384.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/2.672, allocations: 0 / 384.9 MB, free: 15.73 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat