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.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.01124/0.01124, allocations: 105.6 kB / 15.06 MB, free: 6.023 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.001405/0.001404, allocations: 183.3 kB / 15.95 MB, free: 5.957 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.009/2.009, 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.317/0.317, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004735/0.0004737, allocations: 8 kB / 361.2 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1194, allocations: 54.88 MB / 416.1 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002405/0.1219, allocations: 1.324 MB / 417.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.1237, allocations: 0.777 MB / 418.2 MB, free: 420 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.151e-05/0.1238, allocations: 0 / 418.2 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.1241, allocations: 31.78 kB / 418.2 MB, free: 388 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.1243, allocations: 31.94 kB / 418.2 MB, free: 356 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.1248, allocations: 99.69 kB / 418.3 MB, free: 256 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.125, allocations: 95.78 kB / 418.4 MB, free: 160 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.206e-05/0.1251, allocations: 13.44 kB / 418.4 MB, free: 144 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.644e-05/0.1252, allocations: 39.84 kB / 418.5 MB, free: 104 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1253, allocations: 55.75 kB / 418.5 MB, free: 48 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.1253, allocations: 0 / 418.5 MB, free: 48 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005454/0.1259, allocations: 215.6 kB / 418.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.126, allocations: 39.89 kB / 418.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.126, allocations: 45.64 kB / 418.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.1264, allocations: 147.9 kB / 418.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1265, allocations: 0 / 418.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1265, allocations: 0 / 418.9 MB, free: 15.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1265, allocations: 0 / 418.9 MB, free: 15.6 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007891/0.1273, allocations: 450.8 kB / 419.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1273, allocations: 12.03 kB / 419.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.39e-05/0.1274, allocations: 54.55 kB / 419.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001257/0.1287, allocations: 83.67 kB / 419.5 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.1291, allocations: 218.8 kB / 419.8 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.1291, allocations: 15.95 kB / 419.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.1292, allocations: 12 kB / 419.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008036/0.13, allocations: 293.3 kB / 420.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.13, allocations: 0 / 420.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.1301, allocations: 4 kB / 420.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.979e-05/0.1301, allocations: 19.98 kB / 420.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008704/0.131, allocations: 271.7 kB / 420.4 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001928/0.133, allocations: 0.7988 MB / 421.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006393/0.1337, allocations: 190.3 kB / 421.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.963e-05/0.1337, allocations: 3.984 kB / 421.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.1338, allocations: 34.78 kB / 421.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 3.106e-06/0.1338, allocations: 4 kB / 421.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.001152/0.1349, allocations: 269.5 kB / 421.6 MB, free: 12.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.135, allocations: 55.48 kB / 421.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.1353, allocations: 183.3 kB / 421.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.1354, allocations: 33.7 kB / 421.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.1356, allocations: 143.3 kB / 422 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.019e-05/0.1357, allocations: 35.48 kB / 422.1 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.1357, allocations: 4 kB / 422.1 MB, free: 12.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.136, allocations: 322.8 kB / 422.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.1363, allocations: 71.92 kB / 422.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.1367, allocations: 133.5 kB / 422.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.1371, allocations: 95.86 kB / 422.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1371, allocations: 0 / 422.7 MB, free: 11.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009056/0.138, allocations: 253.2 kB / 422.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1381, allocations: 4 kB / 422.9 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.1381, allocations: 4 kB / 423 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.1381, allocations: 3.953 kB / 423 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007654/0.1389, allocations: 83.84 kB / 423 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.1402, allocations: 1.785 MB / 424.8 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.1406, allocations: 28.14 kB / 424.9 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-05/0.1407, allocations: 15.98 kB / 424.9 MB, free: 9.328 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.1409, allocations: 141.8 kB / 425 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.141, allocations: 15.81 kB / 425 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.1423, allocations: 298.6 kB / 425.3 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1423, allocations: 0 / 425.3 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1424, allocations: 4 kB / 425.3 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1424, allocations: 0 / 425.3 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.1428, allocations: 237.5 kB / 425.5 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.1428, allocations: 3.984 kB / 425.6 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.1434, allocations: 63.88 kB / 425.6 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.1434, allocations: 0 / 425.6 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.1434, allocations: 12 kB / 425.6 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/0.1448, allocations: 1.785 MB / 427.4 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1448, allocations: 0 / 427.4 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006996/0.1455, allocations: 263.3 kB / 427.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.322e-05/0.1456, allocations: 100.9 kB / 427.8 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.516e-05/0.1457, allocations: 4 kB / 427.8 MB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.1459, allocations: 19.88 kB / 427.8 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.146, allocations: 11.98 kB / 427.8 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.15e-05/0.1461, allocations: 4 kB / 427.8 MB, free: 6.219 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000266/0.1464, allocations: 147.2 kB / 427.9 MB, free: 6.074 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.992e-06/0.1464, allocations: 0 / 427.9 MB, free: 6.074 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007879/0.1472, allocations: 63.78 kB / 428 MB, free: 6.012 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001763/0.149, allocations: 0.8178 MB / 428.8 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.1507, allocations: 208.1 kB / 429 MB, free: 4.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.1507, allocations: 0 / 429 MB, free: 4.965 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00096/0.1517, allocations: 99.86 kB / 429.1 MB, free: 4.867 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1521, allocations: 16.14 kB / 429.1 MB, free: 4.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00507/0.1572, allocations: 2.227 MB / 431.4 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/0.1578, allocations: 0.7397 MB / 432.1 MB, free: 1.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005339/0.1584, allocations: 53.52 kB / 432.2 MB, free: 1.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/0.1587, allocations: 63.39 kB / 432.2 MB, free: 1.668 MB / 362.7 MB Notification: Performance of SimCode: time 1.693e-06/0.1587, allocations: 0 / 432.2 MB, free: 1.668 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07773/0.2364, allocations: 4.66 MB / 436.9 MB, free: 13.1 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000386/0.2369, allocations: 267 kB / 437.1 MB, free: 12.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.968/3.205, allocations: 0 / 437.1 MB, free: 12.73 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat