Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.061/2.061, allocations: 209.3 MB / 224.8 MB, free: 1.551 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006352/0.0006353, allocations: 15.98 kB / 282.7 MB, free: 9.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1149, allocations: 48.7 MB / 331.4 MB, free: 8.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.267, allocations: 326.9 MB / 0.6428 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003715/1.267, allocations: 91.94 kB / 0.6429 GB, free: 13.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.361/3.629, allocations: 449.7 MB / 1.082 GB, free: 42.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.567e-06/3.629, allocations: 0 / 1.082 GB, free: 42.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001981/3.629, allocations: 46.91 kB / 1.082 GB, free: 42.11 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.007497/3.636, allocations: 2.119 MB / 1.084 GB, free: 41.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/3.637, allocations: 7.094 kB / 1.084 GB, free: 41.04 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008316/3.637, allocations: 204.4 kB / 1.084 GB, free: 40.99 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/3.639, allocations: 236 kB / 1.085 GB, free: 40.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/3.643, allocations: 1.179 MB / 1.086 GB, free: 40.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.73e-05/3.643, allocations: 101.2 kB / 1.086 GB, free: 40.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003421/3.643, allocations: 125.9 kB / 1.086 GB, free: 40.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004995/3.648, allocations: 1.9 MB / 1.088 GB, free: 40.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.051e-05/3.648, allocations: 5.125 kB / 1.088 GB, free: 40.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003838/3.649, allocations: 69.94 kB / 1.088 GB, free: 40.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/3.649, allocations: 36.7 kB / 1.088 GB, free: 40.02 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004295/3.653, allocations: 1.593 MB / 1.089 GB, free: 40.01 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/3.667, allocations: 9.151 MB / 1.098 GB, free: 34.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/3.67, allocations: 1.034 MB / 1.099 GB, free: 34.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009586/3.679, allocations: 6.554 MB / 1.106 GB, free: 28.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/3.679, allocations: 41.97 kB / 1.106 GB, free: 28.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 3.216e-06/3.679, allocations: 2.688 kB / 1.106 GB, free: 28.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.003147/3.682, allocations: 0.7059 MB / 1.107 GB, free: 28.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/3.683, allocations: 370.2 kB / 1.107 GB, free: 27.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/3.685, allocations: 1.095 MB / 1.108 GB, free: 27.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001732/3.685, allocations: 38.48 kB / 1.108 GB, free: 27.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007398/3.686, allocations: 0.9851 MB / 1.109 GB, free: 26.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/3.686, allocations: 170.4 kB / 1.109 GB, free: 26.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/3.686, allocations: 32.69 kB / 1.109 GB, free: 26.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/3.686, allocations: 375.3 kB / 1.11 GB, free: 26.46 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008279/3.687, allocations: 283 kB / 1.11 GB, free: 26.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/3.688, allocations: 1.363 MB / 1.111 GB, free: 25.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/3.69, allocations: 0.5226 MB / 1.112 GB, free: 25.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.242e-05/3.69, allocations: 10.78 kB / 1.112 GB, free: 25.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004184/3.694, allocations: 1.519 MB / 1.113 GB, free: 24.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/3.694, allocations: 25.91 kB / 1.113 GB, free: 24.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.064e-05/3.694, allocations: 36.59 kB / 1.113 GB, free: 24.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.89e-05/3.694, allocations: 57.8 kB / 1.113 GB, free: 24.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007534/3.702, allocations: 0.6888 MB / 1.114 GB, free: 24.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/3.704, allocations: 1.906 MB / 1.116 GB, free: 22.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/3.706, allocations: 274.3 kB / 1.116 GB, free: 22.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000284/3.707, allocations: 112.2 kB / 1.116 GB, free: 22.81 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * 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 (203): * Single equations (assignments): 200 * 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.0009678/3.708, allocations: 392.4 kB / 1.117 GB, free: 22.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/3.708, allocations: 137.8 kB / 1.117 GB, free: 22.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004214/3.712, allocations: 1.293 MB / 1.118 GB, free: 22.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/3.712, allocations: 14.23 kB / 1.118 GB, free: 22.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/3.712, allocations: 0 / 1.118 GB, free: 22.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/3.712, allocations: 7.328 kB / 1.118 GB, free: 22.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/3.715, allocations: 0.9887 MB / 1.119 GB, free: 22.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/3.715, allocations: 0 / 1.119 GB, free: 22.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/3.716, allocations: 194.2 kB / 1.119 GB, free: 22.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000504/3.717, allocations: 62.03 kB / 1.119 GB, free: 22.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.332e-05/3.717, allocations: 17.38 kB / 1.119 GB, free: 22.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/3.718, allocations: 1.761 MB / 1.121 GB, free: 20.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/3.718, allocations: 0 / 1.121 GB, free: 20.44 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/3.72, allocations: 0.8068 MB / 1.122 GB, free: 20.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008134/3.721, allocations: 345.7 kB / 1.122 GB, free: 20.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003218/3.721, allocations: 15.56 kB / 1.122 GB, free: 20.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001155/3.723, allocations: 65.58 kB / 1.122 GB, free: 20 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/3.723, allocations: 42.33 kB / 1.122 GB, free: 20 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.101e-05/3.723, allocations: 31.72 kB / 1.122 GB, free: 20 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00167/3.725, allocations: 0.8403 MB / 1.123 GB, free: 19.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.52e-07/3.725, allocations: 4 kB / 1.123 GB, free: 19.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004135/3.729, allocations: 0.8094 MB / 1.124 GB, free: 19.74 MB / 442.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 (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005315/3.734, allocations: 2.36 MB / 1.126 GB, free: 18.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007585/3.742, allocations: 1.162 MB / 1.127 GB, free: 18.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/3.742, allocations: 3.719 kB / 1.127 GB, free: 18.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001685/3.743, allocations: 369.4 kB / 1.128 GB, free: 18.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004751/3.748, allocations: 0.5495 MB / 1.128 GB, free: 18.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02794/3.776, allocations: 33.16 MB / 1.16 GB, free: 21.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009729/3.777, allocations: 1.276 MB / 1.162 GB, free: 20.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/3.778, allocations: 0.6165 MB / 1.162 GB, free: 20.85 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/3.778, allocations: 0 / 1.162 GB, free: 20.85 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.242/8.021, allocations: 54.14 MB / 1.215 GB, free: 71.83 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat does not exist to compare? outputFormat=mat