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_idealGas_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_idealGas_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_idealGas_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.01457/0.01457, allocations: 105.3 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.001753/0.001753, allocations: 168.7 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.848/1.848, 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.368/0.368, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005269/0.0005271, allocations: 12 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09811/0.09869, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW): time 0.002663/0.1014, allocations: 1.414 MB / 373.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.1035, allocations: 0.8815 MB / 374.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.1037, allocations: 0 / 374.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.104, allocations: 39.88 kB / 374.6 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.1043, allocations: 63.64 kB / 374.7 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.1048, allocations: 83.81 kB / 374.8 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.1051, allocations: 163.6 kB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.833e-05/0.1052, allocations: 21.66 kB / 375 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.1053, allocations: 75.7 kB / 375 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1055, allocations: 83.61 kB / 375.1 MB, free: 10 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.1056, allocations: 8 kB / 375.1 MB, free: 9.996 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005821/0.1062, allocations: 203.7 kB / 375.3 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1063, allocations: 51.81 kB / 375.4 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.597e-05/0.1064, allocations: 57.58 kB / 375.4 MB, free: 9.684 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.1069, allocations: 187.9 kB / 375.6 MB, free: 9.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1069, allocations: 0 / 375.6 MB, free: 9.5 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1069, allocations: 0 / 375.6 MB, free: 9.5 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1069, allocations: 0 / 375.6 MB, free: 9.5 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001031/0.1079, allocations: 0.5028 MB / 376.1 MB, free: 8.949 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.108, allocations: 8.031 kB / 376.1 MB, free: 8.941 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.398e-05/0.1081, allocations: 58.55 kB / 376.2 MB, free: 8.875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001346/0.1095, allocations: 139.5 kB / 376.3 MB, free: 8.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/0.1101, allocations: 258.6 kB / 376.6 MB, free: 8.445 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.1101, allocations: 12.44 kB / 376.6 MB, free: 8.434 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.897e-05/0.1102, allocations: 16 kB / 376.6 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.1113, allocations: 441.9 kB / 377 MB, free: 7.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1114, allocations: 0 / 377 MB, free: 7.961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.324e-05/0.1114, allocations: 11.98 kB / 377.1 MB, free: 7.949 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.668e-05/0.1115, allocations: 28.55 kB / 377.1 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.1128, allocations: 405.8 kB / 377.5 MB, free: 7.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003556/0.1164, allocations: 1.477 MB / 379 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.1169, allocations: 98.52 kB / 379 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.117, allocations: 0 / 379 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.117, allocations: 34.56 kB / 379.1 MB, free: 5.785 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.117, allocations: 0 / 379.1 MB, free: 5.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.001056/0.1181, allocations: 201.3 kB / 379.3 MB, free: 5.582 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.554e-05/0.1182, allocations: 55.41 kB / 379.3 MB, free: 5.516 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006017/0.1188, allocations: 334.5 kB / 379.7 MB, free: 5.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.1189, allocations: 25.7 kB / 379.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.119, allocations: 179.5 kB / 379.9 MB, free: 4.969 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-05/0.1191, allocations: 23.66 kB / 379.9 MB, free: 4.945 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.1192, allocations: 4 kB / 379.9 MB, free: 4.941 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1193, allocations: 342.8 kB / 380.2 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003756/0.1197, allocations: 71.94 kB / 380.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.1201, allocations: 128.5 kB / 380.4 MB, free: 4.383 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.1205, allocations: 91.88 kB / 380.5 MB, free: 4.293 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.1206, allocations: 3.938 kB / 380.5 MB, free: 4.289 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009533/0.1215, allocations: 245.2 kB / 380.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.1216, allocations: 8 kB / 380.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1216, allocations: 192 / 380.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.918e-05/0.1216, allocations: 15.92 kB / 380.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/0.1244, allocations: 119.8 kB / 380.9 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003042/0.1275, allocations: 1.84 MB / 382.7 MB, free: 1.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005229/0.1281, allocations: 31.72 kB / 382.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.1281, allocations: 11.98 kB / 382.8 MB, free: 1.949 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 16 * 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.0002578/0.1284, allocations: 159 kB / 382.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.1285, allocations: 23.72 kB / 383 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008928/0.1294, allocations: 203.2 kB / 383.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1294, allocations: 4 kB / 383.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1294, allocations: 0 / 383.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.1295, allocations: 3.953 kB / 383.2 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005219/0.13, allocations: 281.4 kB / 383.4 MB, free: 1.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.13, allocations: 4 kB / 383.4 MB, free: 1.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002196/0.1322, allocations: 99.81 kB / 383.5 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.1323, allocations: 4 kB / 383.5 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.1323, allocations: 0 / 383.5 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.1342, allocations: 1.805 MB / 385.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.1343, allocations: 0 / 385.3 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007912/0.1351, allocations: 267.4 kB / 385.6 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.1352, allocations: 100.8 kB / 385.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.487e-05/0.1353, allocations: 0 / 385.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.1357, allocations: 11.98 kB / 385.7 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/0.1358, allocations: 15.92 kB / 385.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.1358, allocations: 0 / 385.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000419/0.1362, allocations: 249.9 kB / 386 MB, free: 14.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1363, allocations: 0 / 386 MB, free: 14.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005399/0.1368, allocations: 67.89 kB / 386 MB, free: 14.51 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 (11): * Single equations (assignments): 8 * 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.001275/0.1381, allocations: 0.8137 MB / 386.9 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004159/0.1423, allocations: 267.6 kB / 387.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.1424, allocations: 7.938 kB / 387.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.1442, allocations: 116.2 kB / 387.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005041/0.1447, allocations: 44.84 kB / 387.3 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.1495, allocations: 2.525 MB / 389.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.1501, allocations: 0.7947 MB / 390.6 MB, free: 9.816 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003084/0.1504, allocations: 58.17 kB / 390.7 MB, free: 9.762 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.1507, allocations: 71.41 kB / 390.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1507, allocations: 0 / 390.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/0.2799, allocations: 7.053 MB / 397.8 MB, free: 2.77 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000408/0.2804, allocations: 257 kB / 398 MB, free: 2.434 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.989/3.27, allocations: 0 / 398 MB, free: 2.434 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_idealGas_DPMFLOW_res.mat does not exist to compare? outputFormat=mat