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.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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.01154/0.01154, 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.1.mo): time 0.001239/0.001238, allocations: 171.8 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.726/1.726, allocations: 170.9 MB / 187.5 MB, free: 1.004 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.2863/0.2863, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006392/0.0006394, allocations: 8 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1023, allocations: 48.72 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002708/0.1051, allocations: 1.456 MB / 373.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.1082, allocations: 1.198 MB / 375 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.1084, allocations: 0 / 375 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003571/0.1088, allocations: 55.72 kB / 375 MB, free: 10.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.1092, allocations: 71.81 kB / 375.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008701/0.1101, allocations: 187.5 kB / 375.3 MB, free: 9.855 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005114/0.1106, allocations: 287.3 kB / 375.6 MB, free: 9.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1107, allocations: 52.72 kB / 375.6 MB, free: 9.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000286/0.111, allocations: 131.3 kB / 375.7 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.1113, allocations: 151.4 kB / 375.9 MB, free: 9.246 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.1114, allocations: 12 kB / 375.9 MB, free: 9.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.1126, allocations: 447.3 kB / 376.3 MB, free: 8.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.1128, allocations: 127.5 kB / 376.5 MB, free: 8.672 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.113, allocations: 89.45 kB / 376.5 MB, free: 8.578 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000891/0.1139, allocations: 407.3 kB / 376.9 MB, free: 8.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1139, allocations: 4 kB / 376.9 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1139, allocations: 0 / 376.9 MB, free: 8.176 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1139, allocations: 0 / 376.9 MB, free: 8.176 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001589/0.1155, allocations: 0.7017 MB / 377.6 MB, free: 7.422 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.1156, allocations: 8.031 kB / 377.7 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001701/0.1157, allocations: 102.5 kB / 377.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.1159, allocations: 51.34 kB / 377.8 MB, free: 7.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005955/0.1165, allocations: 314.2 kB / 378.1 MB, free: 6.906 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.1166, allocations: 32.98 kB / 378.1 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.1167, allocations: 40 kB / 378.2 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.1184, allocations: 0.6992 MB / 378.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.1184, allocations: 4 kB / 378.9 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.1185, allocations: 16 kB / 378.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/0.1186, allocations: 57.28 kB / 379 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.1204, allocations: 0.7234 MB / 379.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00412/0.1246, allocations: 1.735 MB / 381.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.1258, allocations: 360.8 kB / 381.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.848e-05/0.126, allocations: 16.2 kB / 381.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.126, allocations: 34.8 kB / 381.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 3.316e-06/0.126, allocations: 0 / 381.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.001811/0.1278, allocations: 0.4928 MB / 382.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.1279, allocations: 55.41 kB / 382.4 MB, free: 2.488 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008597/0.1288, allocations: 453.4 kB / 382.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.1289, allocations: 33.64 kB / 382.8 MB, free: 2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.1291, allocations: 259.6 kB / 383.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.1293, allocations: 102.6 kB / 383.2 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.1293, allocations: 8 kB / 383.2 MB, free: 1.629 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.1295, allocations: 358.7 kB / 383.6 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/0.1301, allocations: 143.9 kB / 383.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/0.1307, allocations: 254.4 kB / 383.9 MB, free: 0.832 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/0.1313, allocations: 196 kB / 384.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1313, allocations: 3.938 kB / 384.1 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001757/0.1331, allocations: 480.6 kB / 384.6 MB, free: 164 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.1332, allocations: 8 kB / 384.6 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.1332, allocations: 4 kB / 384.6 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.299e-05/0.1333, allocations: 4 kB / 384.6 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/0.1352, allocations: 160.2 kB / 384.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004836/0.1401, allocations: 3.614 MB / 388.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.1412, allocations: 67.56 kB / 388.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.1413, allocations: 19.98 kB / 388.5 MB, free: 12.15 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007272/0.1421, allocations: 221.6 kB / 388.7 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.1423, allocations: 35.62 kB / 388.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/0.1455, allocations: 0.548 MB / 389.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.1455, allocations: 4 kB / 389.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/0.1456, allocations: 4 kB / 389.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.1456, allocations: 7.984 kB / 389.3 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.1471, allocations: 453.1 kB / 389.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.1472, allocations: 4 kB / 389.7 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/0.1491, allocations: 135.8 kB / 389.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.708e-05/0.1492, allocations: 4 kB / 389.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.55e-05/0.1493, allocations: 12 kB / 389.9 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003754/0.153, allocations: 3.606 MB / 393.5 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.1531, allocations: 3.984 kB / 393.5 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002911/0.156, allocations: 0.676 MB / 394.2 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/0.1566, allocations: 172.5 kB / 394.3 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.1568, allocations: 7.938 kB / 394.4 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/0.1574, allocations: 20.05 kB / 394.4 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.1576, allocations: 27.91 kB / 394.4 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.1577, allocations: 15.98 kB / 394.4 MB, free: 5.973 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009669/0.1587, allocations: 343 kB / 394.7 MB, free: 5.641 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.1587, allocations: 0 / 394.7 MB, free: 5.641 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001268/0.16, allocations: 171.6 kB / 394.9 MB, free: 5.473 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * 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 (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003882/0.1639, allocations: 1.293 MB / 396.2 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003063/0.167, allocations: 451.5 kB / 396.7 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.1671, allocations: 0.875 kB / 396.7 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.1691, allocations: 263.9 kB / 396.9 MB, free: 3.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.1697, allocations: 25.56 kB / 396.9 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.1815, allocations: 5.262 MB / 402.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009037/0.1824, allocations: 0.9132 MB / 403.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00107/0.1835, allocations: 143 kB / 403.2 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005549/0.1841, allocations: 167.4 kB / 403.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of SimCode: time 3.857e-06/0.1841, allocations: 0 / 403.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05916/0.2433, allocations: 10.11 MB / 413.5 MB, free: 2.801 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002876/0.2437, allocations: 271.1 kB / 413.8 MB, free: 2.438 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.212/3.456, allocations: 3.375 kB / 413.8 MB, free: 2.438 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat