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_suddenChange_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_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_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.0113/0.01131, allocations: 104 kB / 15.05 MB, free: 5.551 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.00121/0.00121, allocations: 166.4 kB / 15.93 MB, free: 5.523 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.792/1.792, allocations: 170.9 MB / 187.5 MB, free: 0.9922 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.275/0.275, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005141/0.0005144, allocations: 20 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09398, allocations: 48.7 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002585/0.09662, allocations: 1.437 MB / 373.7 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002717/0.09939, allocations: 1.201 MB / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.09955, allocations: 0 / 374.9 MB, free: 10.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.09981, allocations: 31.83 kB / 375 MB, free: 10.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002439/0.1001, allocations: 47.84 kB / 375 MB, free: 10.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008602/0.1009, allocations: 203.5 kB / 375.2 MB, free: 9.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1011, allocations: 71.81 kB / 375.3 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.482e-05/0.1012, allocations: 13.09 kB / 375.3 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.1014, allocations: 51.83 kB / 375.4 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1015, allocations: 47.7 kB / 375.4 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.1016, allocations: 8 kB / 375.4 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.1027, allocations: 491.2 kB / 375.9 MB, free: 9.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/0.1027, allocations: 11.92 kB / 375.9 MB, free: 9.219 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.1028, allocations: 41.64 kB / 375.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006061/0.1034, allocations: 219.9 kB / 376.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1034, allocations: 0 / 376.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1035, allocations: 0 / 376.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1035, allocations: 0 / 376.2 MB, free: 8.957 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007428/0.1042, allocations: 430.9 kB / 376.6 MB, free: 8.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.1043, allocations: 8.031 kB / 376.6 MB, free: 8.48 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.569e-05/0.1044, allocations: 46.55 kB / 376.6 MB, free: 8.426 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.1044, allocations: 11.91 kB / 376.6 MB, free: 8.414 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.1046, allocations: 178.8 kB / 376.8 MB, free: 8.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.1046, allocations: 12 kB / 376.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.1047, allocations: 12 kB / 376.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.1051, allocations: 141.6 kB / 377 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1052, allocations: 0 / 377 MB, free: 8.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.1052, allocations: 4 kB / 377 MB, free: 8.027 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.1052, allocations: 4 kB / 377 MB, free: 8.023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000521/0.1057, allocations: 147.9 kB / 377.1 MB, free: 7.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.107, allocations: 0.526 MB / 377.7 MB, free: 7.285 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.1074, allocations: 110.6 kB / 377.8 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.136e-05/0.1075, allocations: 3.984 kB / 377.8 MB, free: 7.164 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1075, allocations: 30.56 kB / 377.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 2.475e-06/0.1075, allocations: 0 / 377.8 MB, free: 7.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008009/0.1084, allocations: 181.6 kB / 378 MB, free: 6.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.1084, allocations: 55.41 kB / 378 MB, free: 6.875 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1085, allocations: 122 kB / 378.2 MB, free: 6.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.1086, allocations: 29.7 kB / 378.2 MB, free: 6.711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.578e-05/0.1087, allocations: 111.7 kB / 378.3 MB, free: 6.598 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/0.1087, allocations: 43.39 kB / 378.3 MB, free: 6.555 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.1088, allocations: 4 kB / 378.3 MB, free: 6.551 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1089, allocations: 318.8 kB / 378.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.1091, allocations: 43.97 kB / 378.7 MB, free: 6.188 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.1094, allocations: 88.48 kB / 378.8 MB, free: 6.086 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.1096, allocations: 55.92 kB / 378.8 MB, free: 6.031 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1097, allocations: 0 / 378.8 MB, free: 6.031 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006051/0.1103, allocations: 169.8 kB / 379 MB, free: 5.859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1103, allocations: 5.406 kB / 379 MB, free: 5.855 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.1103, allocations: 7.984 kB / 379 MB, free: 5.848 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1104, allocations: 0 / 379 MB, free: 5.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.1108, allocations: 47.97 kB / 379.1 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005163/0.1113, allocations: 0.59 MB / 379.6 MB, free: 5.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.1115, allocations: 23.88 kB / 379.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.1116, allocations: 8 kB / 379.7 MB, free: 5.156 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.1117, allocations: 126.8 kB / 379.8 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.1118, allocations: 7.984 kB / 379.8 MB, free: 5.016 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007517/0.1125, allocations: 182.3 kB / 380 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.1126, allocations: 0 / 380 MB, free: 4.832 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1126, allocations: 4 kB / 380 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1126, allocations: 0 / 380 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000388/0.113, allocations: 217.6 kB / 380.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.113, allocations: 0 / 380.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.1134, allocations: 43.91 kB / 380.2 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.1134, allocations: 0 / 380.2 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.1135, allocations: 4 kB / 380.3 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004153/0.1139, allocations: 0.6014 MB / 380.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1139, allocations: 0 / 380.9 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008286/0.1147, allocations: 315.4 kB / 381.2 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.1149, allocations: 89 kB / 381.2 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.1149, allocations: 4 kB / 381.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.1151, allocations: 11.98 kB / 381.3 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.1152, allocations: 15.94 kB / 381.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.1152, allocations: 4 kB / 381.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.244e-05/0.1153, allocations: 99.27 kB / 381.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1153, allocations: 0 / 381.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000518/0.1158, allocations: 71.92 kB / 381.5 MB, free: 3.262 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001607/0.1175, allocations: 0.9156 MB / 382.4 MB, free: 2.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007388/0.1183, allocations: 128.2 kB / 382.5 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1183, allocations: 4.062 kB / 382.5 MB, free: 2.191 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.1187, allocations: 79.88 kB / 382.6 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.119, allocations: 8.172 kB / 382.6 MB, free: 2.105 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.1216, allocations: 1.577 MB / 384.2 MB, free: 468 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.1221, allocations: 0.7083 MB / 384.9 MB, free: 15.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.1223, allocations: 20.77 kB / 384.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.1224, allocations: 39.42 kB / 384.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1224, allocations: 0 / 384.9 MB, free: 15.66 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06154/0.184, allocations: 3.359 MB / 388.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004185/0.1845, allocations: 264.8 kB / 388.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.746/2.931, allocations: 0 / 388.5 MB, free: 12.07 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW_res.mat does not exist to compare? outputFormat=mat