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.Orifice.dp_thickEdgedOverall_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.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01512/0.01512, allocations: 106.6 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.001908/0.001908, allocations: 179.8 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.121/2.121, 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.3113/0.3113, allocations: 40.04 MB / 296.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004745/0.0004746, allocations: 11.98 kB / 361.2 MB, free: 9.512 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1212, allocations: 54.87 MB / 416 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW): time 0.002703/0.124, allocations: 1.464 MB / 417.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002678/0.1267, allocations: 1.21 MB / 418.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00016/0.127, allocations: 0 / 418.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.1273, allocations: 59.72 kB / 418.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000345/0.1277, allocations: 75.69 kB / 418.8 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007475/0.1284, allocations: 179.6 kB / 419 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005344/0.129, allocations: 283.3 kB / 419.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1291, allocations: 48.72 kB / 419.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003022/0.1295, allocations: 131.3 kB / 419.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.1298, allocations: 151.3 kB / 419.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.357e-05/0.1298, allocations: 12 kB / 419.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.1311, allocations: 459.2 kB / 420.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000261/0.1314, allocations: 123.6 kB / 420.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001678/0.1316, allocations: 89.45 kB / 420.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009915/0.1326, allocations: 403.4 kB / 420.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1326, allocations: 0 / 420.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1326, allocations: 0 / 420.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1326, allocations: 0 / 420.7 MB, free: 13.86 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001628/0.1343, allocations: 0.7017 MB / 421.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.1343, allocations: 11.97 kB / 421.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001623/0.1345, allocations: 98.52 kB / 421.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.1347, allocations: 51.34 kB / 421.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/0.1353, allocations: 318.2 kB / 421.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.393e-05/0.1353, allocations: 32.95 kB / 421.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.1355, allocations: 44 kB / 421.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.1372, allocations: 0.6953 MB / 422.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/0.1372, allocations: 0 / 422.6 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.55e-05/0.1373, allocations: 19.98 kB / 422.6 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001225/0.1374, allocations: 61.27 kB / 422.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.1394, allocations: 0.7311 MB / 423.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004161/0.1436, allocations: 1.723 MB / 425.2 MB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.1448, allocations: 363.3 kB / 425.5 MB, free: 8.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.8e-05/0.1448, allocations: 12.22 kB / 425.5 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1449, allocations: 38.78 kB / 425.6 MB, free: 8.723 MB / 362.7 MB Notification: Performance of pre-optimization done (n=27): time 2.835e-06/0.1449, allocations: 4 kB / 425.6 MB, free: 8.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=27): time 0.001752/0.1467, allocations: 491.3 kB / 426 MB, free: 8.234 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.1467, allocations: 67.34 kB / 426.1 MB, free: 8.156 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008366/0.1476, allocations: 453.4 kB / 426.6 MB, free: 7.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.1477, allocations: 29.7 kB / 426.6 MB, free: 7.672 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.1479, allocations: 267.5 kB / 426.8 MB, free: 7.406 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.1481, allocations: 94.59 kB / 426.9 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.1481, allocations: 8 kB / 426.9 MB, free: 7.305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1483, allocations: 350.8 kB / 427.3 MB, free: 6.953 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/0.1488, allocations: 151.6 kB / 427.4 MB, free: 6.805 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/0.1494, allocations: 250.6 kB / 427.7 MB, free: 6.512 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000593/0.15, allocations: 188.7 kB / 427.9 MB, free: 6.328 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.1501, allocations: 0 / 427.9 MB, free: 6.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001523/0.1516, allocations: 492.5 kB / 428.3 MB, free: 5.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.1516, allocations: 11.28 kB / 428.4 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.1517, allocations: 11.94 kB / 428.4 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.1517, allocations: 4 kB / 428.4 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.153, allocations: 155.8 kB / 428.5 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.1556, allocations: 3.614 MB / 432.1 MB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005513/0.1562, allocations: 67.3 kB / 432.2 MB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.377e-05/0.1563, allocations: 19.98 kB / 432.2 MB, free: 1.824 MB / 362.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.0004048/0.1567, allocations: 213.7 kB / 432.4 MB, free: 1.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.1568, allocations: 47.67 kB / 432.5 MB, free: 1.559 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.159, allocations: 0.5471 MB / 433 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.1591, allocations: 4 kB / 433 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1591, allocations: 0 / 433 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.1591, allocations: 7.984 kB / 433 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.1601, allocations: 453 kB / 433.5 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1602, allocations: 0 / 433.5 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.1615, allocations: 139.8 kB / 433.6 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.355e-05/0.1615, allocations: 4 kB / 433.6 MB, free: 372 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/0.1616, allocations: 11.98 kB / 433.6 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002602/0.1642, allocations: 3.606 MB / 437.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1643, allocations: 4.219 kB / 437.2 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.1662, allocations: 0.6797 MB / 437.9 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.1666, allocations: 180.4 kB / 438.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.633e-05/0.1667, allocations: 4 kB / 438.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004251/0.1671, allocations: 15.98 kB / 438.1 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.1673, allocations: 23.91 kB / 438.1 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.139e-05/0.1674, allocations: 19.98 kB / 438.2 MB, free: 11.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008478/0.1682, allocations: 339.1 kB / 438.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.1683, allocations: 0 / 438.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001218/0.1695, allocations: 167.6 kB / 438.7 MB, free: 11.15 MB / 378.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.003449/0.173, allocations: 1.298 MB / 440 MB, free: 9.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002553/0.1756, allocations: 440.3 kB / 440.4 MB, free: 9.398 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.1756, allocations: 0 / 440.4 MB, free: 9.398 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.1773, allocations: 267.8 kB / 440.6 MB, free: 9.137 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005469/0.1779, allocations: 33.48 kB / 440.7 MB, free: 9.105 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.1888, allocations: 5.252 MB / 445.9 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009535/0.1899, allocations: 0.9171 MB / 446.8 MB, free: 2.789 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001015/0.1909, allocations: 139 kB / 447 MB, free: 2.652 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005539/0.1915, allocations: 163.4 kB / 447.1 MB, free: 2.492 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.1915, allocations: 4 kB / 447.1 MB, free: 2.488 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4477/0.6392, allocations: 10.11 MB / 457.3 MB, free: 59.33 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/0.6396, allocations: 272.7 kB / 457.5 MB, free: 58.97 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.089/3.728, allocations: 0 / 457.5 MB, free: 58.97 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat