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.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_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.01163/0.01164, allocations: 110.8 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.001285/0.001285, allocations: 179.3 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.117/2.117, allocations: 194.5 MB / 211.2 MB, free: 11 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.2853/0.2853, allocations: 40.04 MB / 296.5 MB, free: 6.246 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000672/0.0006723, allocations: 8 kB / 361.2 MB, free: 9.508 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.118, allocations: 54.89 MB / 416 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW): time 0.003173/0.1212, allocations: 1.769 MB / 417.8 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006299/0.1276, allocations: 2.891 MB / 420.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.1279, allocations: 0 / 420.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.1284, allocations: 79.61 kB / 420.8 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004956/0.1289, allocations: 123.6 kB / 420.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003049/0.132, allocations: 0.76 MB / 421.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009391/0.1329, allocations: 415 kB / 422.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.1331, allocations: 85.67 kB / 422.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004271/0.1336, allocations: 203 kB / 422.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004122/0.134, allocations: 230.9 kB / 422.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.227e-05/0.1341, allocations: 16 kB / 422.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004579/0.1387, allocations: 1.927 MB / 424.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002636/0.139, allocations: 131.5 kB / 424.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002399/0.1392, allocations: 121.3 kB / 424.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.1421, allocations: 0.9984 MB / 425.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1422, allocations: 0 / 425.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1422, allocations: 0 / 425.8 MB, free: 8.754 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1422, allocations: 0 / 425.8 MB, free: 8.754 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002505/0.1447, allocations: 0.9129 MB / 426.7 MB, free: 7.789 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.1448, allocations: 8.031 kB / 426.7 MB, free: 7.781 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002654/0.1451, allocations: 147.9 kB / 426.8 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.1453, allocations: 75.06 kB / 426.9 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000745/0.146, allocations: 346 kB / 427.2 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.1461, allocations: 65.94 kB / 427.3 MB, free: 7.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.1463, allocations: 72 kB / 427.4 MB, free: 7.043 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003132/0.1495, allocations: 1.221 MB / 428.6 MB, free: 5.812 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.1495, allocations: 0 / 428.6 MB, free: 5.812 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.1497, allocations: 32 kB / 428.6 MB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/0.1498, allocations: 81.94 kB / 428.7 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004783/0.1546, allocations: 1.722 MB / 430.4 MB, free: 3.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00783/0.1625, allocations: 2.982 MB / 433.4 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.1641, allocations: 435.6 kB / 433.8 MB, free: 428 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.38e-05/0.1642, allocations: 8.266 kB / 433.8 MB, free: 420 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1643, allocations: 34.84 kB / 433.9 MB, free: 376 kB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 3.406e-06/0.1643, allocations: 0 / 433.9 MB, free: 376 kB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001763/0.1661, allocations: 499 kB / 434.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.1662, allocations: 59.39 kB / 434.4 MB, free: 15.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.1665, allocations: 206.4 kB / 434.6 MB, free: 15.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.1666, allocations: 29.7 kB / 434.7 MB, free: 15.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.1669, allocations: 386.1 kB / 435 MB, free: 15.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.1671, allocations: 118.3 kB / 435.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.1671, allocations: 15.94 kB / 435.2 MB, free: 15.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1673, allocations: 338.8 kB / 435.5 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/0.1678, allocations: 153 kB / 435.6 MB, free: 14.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007154/0.1686, allocations: 343.1 kB / 436 MB, free: 14.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006602/0.1692, allocations: 220.8 kB / 436.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/0.1693, allocations: 4 kB / 436.2 MB, free: 13.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001632/0.1709, allocations: 0.5476 MB / 436.7 MB, free: 13.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.171, allocations: 8 kB / 436.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.171, allocations: 8 kB / 436.8 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.1711, allocations: 8 kB / 436.8 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.1725, allocations: 208.2 kB / 437 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.1747, allocations: 2.993 MB / 440 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/0.1753, allocations: 67.7 kB / 440 MB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/0.1754, allocations: 31.98 kB / 440.1 MB, free: 9.914 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (geometry[5],roughness,geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005663/0.176, allocations: 277.4 kB / 440.3 MB, free: 9.633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.1761, allocations: 19.77 kB / 440.4 MB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.1784, allocations: 0.5659 MB / 440.9 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.1784, allocations: 4 kB / 440.9 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1785, allocations: 3.984 kB / 440.9 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1785, allocations: 7.938 kB / 440.9 MB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.1815, allocations: 1.191 MB / 442.1 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.1815, allocations: 0 / 442.1 MB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.1828, allocations: 175.8 kB / 442.3 MB, free: 7.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.1828, allocations: 4.25 kB / 442.3 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.013e-05/0.1829, allocations: 23.98 kB / 442.3 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.1848, allocations: 2.961 MB / 445.3 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.1849, allocations: 4 kB / 445.3 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.1861, allocations: 0.5937 MB / 445.9 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.483e-05/0.1862, allocations: 104.8 kB / 446 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.1863, allocations: 8 kB / 446 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.1867, allocations: 23.98 kB / 446 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.1868, allocations: 35.92 kB / 446.1 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.324e-05/0.1869, allocations: 19.98 kB / 446.1 MB, free: 3.582 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.187, allocations: 132.5 kB / 446.2 MB, free: 3.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.187, allocations: 7.938 kB / 446.2 MB, free: 3.445 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001331/0.1884, allocations: 346.8 kB / 446.5 MB, free: 3.105 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002822/0.1912, allocations: 1.938 MB / 448.5 MB, free: 1.082 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.1932, allocations: 480 kB / 449 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1932, allocations: 1 kB / 449 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.1944, allocations: 268.1 kB / 449.2 MB, free: 360 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.1948, allocations: 24.11 kB / 449.2 MB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.293/0.4879, allocations: 6.924 MB / 456.2 MB, free: 54.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.4885, allocations: 0.9948 MB / 457.2 MB, free: 54.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008781/0.4894, allocations: 164.4 kB / 457.3 MB, free: 54.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003779/0.4898, allocations: 208 kB / 457.5 MB, free: 54.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.4898, allocations: 0 / 457.5 MB, free: 54.02 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/0.6019, allocations: 11.75 MB / 469.3 MB, free: 53.14 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/0.6022, allocations: 269.1 kB / 469.5 MB, free: 52.78 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.108/3.71, allocations: 3.172 kB / 469.5 MB, free: 52.78 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat