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.General.dp_nominalDensityViscosity_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.General.dp_nominalDensityViscosity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalDensityViscosity_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.01174/0.01174, allocations: 105.7 kB / 15.05 MB, free: 6.035 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.001268/0.001268, allocations: 170 kB / 15.93 MB, free: 5.973 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.819/1.819, allocations: 170.9 MB / 187.6 MB, free: 0.9961 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.3077/0.3077, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004957, allocations: 16 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09455/0.09509, allocations: 48.7 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW): time 0.002751/0.0979, allocations: 1.445 MB / 373.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.09934, allocations: 0.5497 MB / 374.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.602e-05/0.09946, allocations: 4 kB / 374.3 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.0998, allocations: 43.8 kB / 374.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.1, allocations: 51.78 kB / 374.4 MB, free: 10.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.1005, allocations: 87.73 kB / 374.5 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.1008, allocations: 163.6 kB / 374.6 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1009, allocations: 32.27 kB / 374.7 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.101, allocations: 63.72 kB / 374.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.1012, allocations: 79.61 kB / 374.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.078e-05/0.1012, allocations: 12 kB / 374.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005491/0.1018, allocations: 219.7 kB / 375 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.685e-05/0.1019, allocations: 47.81 kB / 375.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.449e-05/0.102, allocations: 61.58 kB / 375.2 MB, free: 9.977 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.1024, allocations: 207.8 kB / 375.4 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1024, allocations: 0 / 375.4 MB, free: 9.773 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.508e-06/0.1025, allocations: 4 kB / 375.4 MB, free: 9.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1025, allocations: 0 / 375.4 MB, free: 9.77 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008881/0.1034, allocations: 0.4913 MB / 375.9 MB, free: 9.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.1034, allocations: 12.03 kB / 375.9 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.027e-05/0.1035, allocations: 58.55 kB / 375.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/0.1067, allocations: 203.3 kB / 376.1 MB, free: 8.949 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.1072, allocations: 266.7 kB / 376.4 MB, free: 8.648 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.1073, allocations: 20.55 kB / 376.4 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.1074, allocations: 23.94 kB / 376.4 MB, free: 8.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.109, allocations: 0.4966 MB / 376.9 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1091, allocations: 4 kB / 376.9 MB, free: 8.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/0.1091, allocations: 8 kB / 376.9 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.321e-05/0.1092, allocations: 32.53 kB / 377 MB, free: 8.062 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002317/0.1116, allocations: 0.5915 MB / 377.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00363/0.1152, allocations: 1.166 MB / 378.7 MB, free: 6.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.1165, allocations: 178.3 kB / 378.9 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.1166, allocations: 7.984 kB / 378.9 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1166, allocations: 34.56 kB / 378.9 MB, free: 5.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 4.568e-06/0.1166, allocations: 3.984 kB / 378.9 MB, free: 5.973 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.002273/0.1189, allocations: 309.2 kB / 379.2 MB, free: 5.664 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.119, allocations: 51.41 kB / 379.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005135/0.1195, allocations: 286.5 kB / 379.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.1196, allocations: 29.7 kB / 379.6 MB, free: 5.277 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.1198, allocations: 171.4 kB / 379.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.743e-05/0.1198, allocations: 27.8 kB / 379.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/0.1199, allocations: 0 / 379.8 MB, free: 5.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.12, allocations: 338.8 kB / 380.1 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006981/0.1207, allocations: 91.91 kB / 380.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007127/0.1215, allocations: 123.3 kB / 380.3 MB, free: 4.516 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007091/0.1222, allocations: 103.8 kB / 380.4 MB, free: 4.414 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1222, allocations: 4 kB / 380.4 MB, free: 4.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001634/0.1239, allocations: 269.2 kB / 380.7 MB, free: 4.141 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.1239, allocations: 9.406 kB / 380.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1239, allocations: 0 / 380.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.124, allocations: 0 / 380.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01175/0.1357, allocations: 471.2 kB / 381.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004664/0.1404, allocations: 1.945 MB / 383.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007569/0.1412, allocations: 47.69 kB / 383.2 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.382e-05/0.1413, allocations: 7.984 kB / 383.2 MB, free: 1.602 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 0.0002564/0.1416, allocations: 158.9 kB / 383.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/0.1416, allocations: 19.81 kB / 383.3 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.313e-05/0.1417, allocations: 25.7 kB / 383.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1418, allocations: 0 / 383.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.1418, allocations: 96 / 383.4 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.1418, allocations: 7.938 kB / 383.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000552/0.1423, allocations: 297.3 kB / 383.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1424, allocations: 0 / 383.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01162/0.154, allocations: 463.2 kB / 384.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.137e-06/0.1541, allocations: 0 / 384.1 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.1541, allocations: 11.98 kB / 384.1 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005435/0.1596, allocations: 1.941 MB / 386.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.1596, allocations: 0 / 386.1 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.1622, allocations: 339.4 kB / 386.4 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.1625, allocations: 88.92 kB / 386.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.1626, allocations: 0 / 386.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.1638, allocations: 23.97 kB / 386.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/0.164, allocations: 15.91 kB / 386.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.1641, allocations: 7.984 kB / 386.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005796/0.1647, allocations: 201.9 kB / 386.7 MB, free: 13.88 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1647, allocations: 4 kB / 386.7 MB, free: 13.87 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00115/0.1659, allocations: 71.84 kB / 386.8 MB, free: 13.8 MB / 298.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 (7): * Single equations (assignments): 4 * 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.003168/0.1691, allocations: 0.8873 MB / 387.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.01289/0.182, allocations: 0.5928 MB / 388.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.1821, allocations: 0 / 388.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01148/0.1936, allocations: 0.5111 MB / 388.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.1941, allocations: 32.73 kB / 388.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/0.1996, allocations: 2.128 MB / 391 MB, free: 9.562 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.2001, allocations: 0.7908 MB / 391.8 MB, free: 8.746 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00035/0.2005, allocations: 57.83 kB / 391.8 MB, free: 8.688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.2007, allocations: 67.41 kB / 391.9 MB, free: 8.621 MB / 298.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2007, allocations: 0 / 391.9 MB, free: 8.621 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04276/0.2435, allocations: 7.195 MB / 399.1 MB, free: 1.578 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004095/0.244, allocations: 273.3 kB / 399.3 MB, free: 1.219 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.209/3.453, allocations: 0 / 399.3 MB, free: 1.219 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalDensityViscosity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat