Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01138/0.01139, allocations: 107.2 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.2.mo): time 0.001218/0.001218, allocations: 182.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.209/2.209, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3033/0.3033, allocations: 40.04 MB / 296.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.000487, allocations: 15.98 kB / 361.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1201, allocations: 54.88 MB / 416.1 MB, free: 2.527 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.003386/0.1236, allocations: 1.445 MB / 417.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.1258, allocations: 0.7302 MB / 418.2 MB, free: 332 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.126, allocations: 3.938 kB / 418.2 MB, free: 328 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002867/0.1263, allocations: 23.89 kB / 418.3 MB, free: 304 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.1267, allocations: 63.77 kB / 418.3 MB, free: 240 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.127, allocations: 51.86 kB / 418.4 MB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.1272, allocations: 83.8 kB / 418.4 MB, free: 104 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.764e-05/0.1273, allocations: 8 kB / 418.5 MB, free: 96 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.1275, allocations: 51.83 kB / 418.5 MB, free: 44 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.1277, allocations: 51.81 kB / 418.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.1278, allocations: 4 kB / 418.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003158/0.1281, allocations: 71.94 kB / 418.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.737e-05/0.1282, allocations: 27.91 kB / 418.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.403e-05/0.1283, allocations: 37.64 kB / 418.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.1286, allocations: 88.03 kB / 418.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1286, allocations: 0 / 418.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1287, allocations: 11.94 kB / 418.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.655e-05/0.1287, allocations: 0 / 418.8 MB, free: 15.75 MB / 362.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.0008515/0.1296, allocations: 395 kB / 419.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.1296, allocations: 8.031 kB / 419.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.158e-05/0.1297, allocations: 54.53 kB / 419.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000558/0.1303, allocations: 27.88 kB / 419.3 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.1306, allocations: 190.9 kB / 419.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.1307, allocations: 4 kB / 419.5 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.1307, allocations: 11.95 kB / 419.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.1314, allocations: 180.1 kB / 419.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1314, allocations: 0 / 419.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.1315, allocations: 11.98 kB / 419.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-05/0.1316, allocations: 11.98 kB / 419.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/0.1323, allocations: 143.9 kB / 419.8 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.134, allocations: 0.6484 MB / 420.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/0.1347, allocations: 106.7 kB / 420.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.1347, allocations: 0 / 420.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.1348, allocations: 42.5 kB / 420.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.305e-06/0.1348, allocations: 4 kB / 420.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009288/0.1358, allocations: 149.5 kB / 420.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.1358, allocations: 59.41 kB / 420.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.136, allocations: 126.1 kB / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.822e-05/0.1361, allocations: 25.7 kB / 421 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.1362, allocations: 124 kB / 421.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.1363, allocations: 31.58 kB / 421.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.1363, allocations: 0 / 421.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1365, allocations: 322.8 kB / 421.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.1368, allocations: 39.97 kB / 421.5 MB, free: 12.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.1371, allocations: 95.69 kB / 421.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.1374, allocations: 59.91 kB / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1375, allocations: 0 / 421.6 MB, free: 12.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007697/0.1382, allocations: 169.3 kB / 421.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.286e-05/0.1383, allocations: 11.95 kB / 421.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1383, allocations: 0 / 421.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.1384, allocations: 8.25 kB / 421.8 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004305/0.1388, allocations: 43.91 kB / 421.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.1388, allocations: 4 kB / 421.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.1391, allocations: 19.84 kB / 421.9 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.1391, allocations: 12 kB / 421.9 MB, free: 12.38 MB / 362.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.0001901/0.1393, allocations: 125.8 kB / 422 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.1394, allocations: 11.91 kB / 422 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.1402, allocations: 138.3 kB / 422.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1402, allocations: 0 / 422.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1402, allocations: 0 / 422.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1402, allocations: 4 kB / 422.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005297/0.1455, allocations: 201.6 kB / 422.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1456, allocations: 0 / 422.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.1461, allocations: 27.98 kB / 422.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-06/0.1461, allocations: 0 / 422.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.1461, allocations: 0 / 422.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.239e-05/0.1462, allocations: 7.953 kB / 422.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.1462, allocations: 7.922 kB / 422.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.147, allocations: 215.5 kB / 422.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.323e-05/0.1471, allocations: 88.95 kB / 422.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.1472, allocations: 4 kB / 422.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.1475, allocations: 15.98 kB / 422.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/0.1476, allocations: 11.94 kB / 422.7 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1476, allocations: 0 / 422.7 MB, free: 11.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.1477, allocations: 91.27 kB / 422.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.026e-06/0.1477, allocations: 0 / 422.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006964/0.1484, allocations: 27.94 kB / 422.8 MB, free: 11.32 MB / 362.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.004431/0.1529, allocations: 0.7592 MB / 423.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006015/0.1535, allocations: 107.9 kB / 423.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1536, allocations: 0 / 423.7 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.1538, allocations: 52.41 kB / 423.8 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.1541, allocations: 7.953 kB / 423.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007786/0.1619, allocations: 1.963 MB / 425.7 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.1624, allocations: 0.7237 MB / 426.4 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002299/0.1627, allocations: 28.52 kB / 426.5 MB, free: 7.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.1628, allocations: 27.42 kB / 426.5 MB, free: 7.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.502e-06/0.1628, allocations: 4 kB / 426.5 MB, free: 7.516 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07346/0.2363, allocations: 1.965 MB / 428.5 MB, free: 5.637 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003892/0.2367, allocations: 228.2 kB / 428.7 MB, free: 5.398 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/2.71, allocations: 0 / 428.7 MB, free: 5.398 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat