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.Bend.dp_curvedOverall_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.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.01172/0.01172, allocations: 106 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.001163/0.001163, allocations: 166.4 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.883/1.883, allocations: 170.9 MB / 187.6 MB, free: 0.8516 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.3179/0.3179, allocations: 38.1 MB / 265.1 MB, free: 3.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004725, allocations: 16 kB / 323.6 MB, free: 29.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09279/0.09331, allocations: 48.71 MB / 372.3 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW): time 0.003109/0.09648, allocations: 1.71 MB / 374 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004046/0.1006, allocations: 1.677 MB / 375.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.1008, allocations: 0 / 375.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003465/0.1012, allocations: 55.78 kB / 375.8 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004506/0.1016, allocations: 111.6 kB / 375.9 MB, free: 9.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.1041, allocations: 0.5067 MB / 376.4 MB, free: 8.727 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006261/0.1047, allocations: 251.5 kB / 376.6 MB, free: 8.48 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1049, allocations: 28.73 kB / 376.6 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003369/0.1052, allocations: 131.5 kB / 376.8 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003213/0.1056, allocations: 135.5 kB / 376.9 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.974e-05/0.1056, allocations: 12 kB / 376.9 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004361/0.11, allocations: 1.599 MB / 378.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002654/0.1103, allocations: 83.77 kB / 378.6 MB, free: 6.496 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.1105, allocations: 77.52 kB / 378.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001895/0.1124, allocations: 0.5071 MB / 379.2 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1125, allocations: 0 / 379.2 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1125, allocations: 0 / 379.2 MB, free: 5.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.1125, allocations: 0 / 379.2 MB, free: 5.906 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001903/0.1144, allocations: 0.6237 MB / 379.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.1145, allocations: 12.03 kB / 379.8 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002056/0.1147, allocations: 82.45 kB / 379.9 MB, free: 5.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.1149, allocations: 31.62 kB / 379.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006435/0.1155, allocations: 274.3 kB / 380.2 MB, free: 4.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/0.1156, allocations: 20.66 kB / 380.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.1157, allocations: 31.98 kB / 380.2 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.1177, allocations: 0.496 MB / 380.7 MB, free: 4.238 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.1178, allocations: 11.86 kB / 380.8 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-05/0.1179, allocations: 16 kB / 380.8 MB, free: 4.211 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001821/0.1181, allocations: 44.97 kB / 380.8 MB, free: 4.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008098/0.1262, allocations: 0.5309 MB / 381.3 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004089/0.1303, allocations: 1.333 MB / 382.7 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007972/0.1384, allocations: 371.3 kB / 383 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.391e-05/0.1385, allocations: 15.97 kB / 383.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.1385, allocations: 31 kB / 383.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 3.426e-06/0.1386, allocations: 0 / 383.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.002157/0.1407, allocations: 441 kB / 383.5 MB, free: 1.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.1408, allocations: 55.41 kB / 383.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006852/0.1415, allocations: 314.4 kB / 383.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/0.1416, allocations: 33.7 kB / 383.9 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.1418, allocations: 188.2 kB / 384.1 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.142, allocations: 90.66 kB / 384.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.1421, allocations: 8 kB / 384.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.1423, allocations: 346.9 kB / 384.5 MB, free: 276 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00665/0.1489, allocations: 119.9 kB / 384.6 MB, free: 156 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007507/0.1497, allocations: 154.6 kB / 384.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007429/0.1505, allocations: 157.2 kB / 385 MB, free: 15.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1505, allocations: 0 / 385 MB, free: 15.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001834/0.1524, allocations: 379.4 kB / 385.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.1525, allocations: 9.406 kB / 385.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.1525, allocations: 0 / 385.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.1525, allocations: 7.938 kB / 385.3 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.154, allocations: 123.8 kB / 385.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0111/0.1651, allocations: 3.008 MB / 388.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006568/0.1658, allocations: 47.55 kB / 388.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.538e-05/0.1659, allocations: 12 kB / 388.5 MB, free: 12.14 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004286/0.1664, allocations: 184.6 kB / 388.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.1665, allocations: 27.67 kB / 388.7 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/0.169, allocations: 479 kB / 389.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.169, allocations: 0 / 389.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.169, allocations: 4 kB / 389.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.934e-06/0.1691, allocations: 0 / 389.2 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.1701, allocations: 373.3 kB / 389.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1702, allocations: 0 / 389.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007614/0.1778, allocations: 123.8 kB / 389.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/0.1779, allocations: 0 / 389.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.96e-05/0.1779, allocations: 8 kB / 389.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002926/0.1809, allocations: 3.012 MB / 392.7 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/0.1809, allocations: 4.312 kB / 392.7 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.1827, allocations: 451.2 kB / 393.2 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.1829, allocations: 108.7 kB / 393.3 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.183, allocations: 7.984 kB / 393.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/0.1836, allocations: 16 kB / 393.3 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.1838, allocations: 31.89 kB / 393.3 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/0.1838, allocations: 16 kB / 393.3 MB, free: 7.121 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005236/0.1844, allocations: 225.9 kB / 393.6 MB, free: 6.902 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1844, allocations: 0 / 393.6 MB, free: 6.902 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00131/0.1857, allocations: 179.7 kB / 393.7 MB, free: 6.727 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003199/0.189, allocations: 1.109 MB / 394.8 MB, free: 5.594 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001958/0.191, allocations: 371.8 kB / 395.2 MB, free: 5.23 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.191, allocations: 3.938 kB / 395.2 MB, free: 5.227 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.1922, allocations: 232.2 kB / 395.4 MB, free: 5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.1928, allocations: 56.61 kB / 395.5 MB, free: 4.941 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005819/0.1987, allocations: 2.46 MB / 397.9 MB, free: 2.422 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005794/0.1993, allocations: 0.838 MB / 398.8 MB, free: 1.559 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000647/0.2, allocations: 126.7 kB / 398.9 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.2003, allocations: 107.4 kB / 399 MB, free: 1.332 MB / 298.7 MB Notification: Performance of SimCode: time 1.684e-06/0.2003, allocations: 0 / 399 MB, free: 1.332 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04582/0.2461, allocations: 10.16 MB / 409.2 MB, free: 7.297 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000342/0.2466, allocations: 254.5 kB / 409.4 MB, free: 6.949 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.141/3.388, allocations: 3.938 kB / 409.4 MB, free: 6.945 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat