Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.497/2.497, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.588e-05/4.604e-05, allocations: 4 kB / 309.8 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4385, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8222/1.261, allocations: 333.3 MB / 0.6816 GB, free: 14.59 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003783/1.261, allocations: 91.44 kB / 0.6817 GB, free: 14.54 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.588/3.849, allocations: 448.1 MB / 1.119 GB, free: 45.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.993e-06/3.849, allocations: 0.75 kB / 1.119 GB, free: 45.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002201/3.849, allocations: 45 kB / 1.119 GB, free: 45.36 MB / 490.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.007367/3.857, allocations: 1.926 MB / 1.121 GB, free: 44.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/3.857, allocations: 9.062 kB / 1.121 GB, free: 44.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005518/3.857, allocations: 191.8 kB / 1.121 GB, free: 44.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/3.859, allocations: 235 kB / 1.122 GB, free: 44.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004121/3.863, allocations: 1.183 MB / 1.123 GB, free: 44.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/3.864, allocations: 98.03 kB / 1.123 GB, free: 44.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006593/3.864, allocations: 129.1 kB / 1.123 GB, free: 44.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006413/3.871, allocations: 1.873 MB / 1.125 GB, free: 43.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.259e-05/3.871, allocations: 11.86 kB / 1.125 GB, free: 43.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003601/3.871, allocations: 69.75 kB / 1.125 GB, free: 43.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/3.871, allocations: 36.09 kB / 1.125 GB, free: 43.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004263/3.876, allocations: 1.552 MB / 1.126 GB, free: 43.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01373/3.889, allocations: 9.154 MB / 1.135 GB, free: 37.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/3.892, allocations: 1.003 MB / 1.136 GB, free: 37.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/3.893, allocations: 479.4 kB / 1.137 GB, free: 37.68 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009985/3.903, allocations: 6.901 MB / 1.144 GB, free: 31.94 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/3.904, allocations: 39.22 kB / 1.144 GB, free: 31.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 4.368e-06/3.904, allocations: 3.406 kB / 1.144 GB, free: 31.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.002723/3.906, allocations: 0.573 MB / 1.144 GB, free: 31.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/3.906, allocations: 371.5 kB / 1.145 GB, free: 31.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/3.908, allocations: 1.081 MB / 1.146 GB, free: 31.15 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000154/3.909, allocations: 38.83 kB / 1.146 GB, free: 31.12 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006512/3.909, allocations: 0.9797 MB / 1.147 GB, free: 30.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/3.909, allocations: 176.1 kB / 1.147 GB, free: 30.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.979e-05/3.91, allocations: 30.06 kB / 1.147 GB, free: 30.42 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/3.91, allocations: 369.1 kB / 1.147 GB, free: 30.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00071/3.91, allocations: 275 kB / 1.147 GB, free: 30.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/3.912, allocations: 1.342 MB / 1.149 GB, free: 28.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/3.913, allocations: 0.522 MB / 1.149 GB, free: 28.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.222e-05/3.913, allocations: 10 kB / 1.149 GB, free: 28.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003694/3.917, allocations: 1.497 MB / 1.151 GB, free: 28.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.376e-05/3.917, allocations: 18.47 kB / 1.151 GB, free: 28.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-05/3.917, allocations: 35.38 kB / 1.151 GB, free: 28.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.435e-05/3.917, allocations: 54.19 kB / 1.151 GB, free: 28.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007496/3.924, allocations: 0.6899 MB / 1.151 GB, free: 28.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001636/3.926, allocations: 1.904 MB / 1.153 GB, free: 26.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/3.929, allocations: 273.2 kB / 1.154 GB, free: 26.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003044/3.929, allocations: 111.2 kB / 1.154 GB, free: 26.76 MB / 490.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 () * 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.0003707/3.93, allocations: 236.3 kB / 1.154 GB, free: 26.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/3.93, allocations: 147.8 kB / 1.154 GB, free: 26.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004136/3.934, allocations: 1.266 MB / 1.155 GB, free: 26.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.227e-05/3.934, allocations: 18.14 kB / 1.155 GB, free: 26.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/3.934, allocations: 0 / 1.155 GB, free: 26.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/3.934, allocations: 3.703 kB / 1.155 GB, free: 26.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/3.937, allocations: 0.9797 MB / 1.156 GB, free: 26.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/3.937, allocations: 0 / 1.156 GB, free: 26.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/3.938, allocations: 202.1 kB / 1.156 GB, free: 26.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005077/3.939, allocations: 60.33 kB / 1.157 GB, free: 26.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-05/3.939, allocations: 23.28 kB / 1.157 GB, free: 26.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009876/3.94, allocations: 1.754 MB / 1.158 GB, free: 24.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/3.94, allocations: 0 / 1.158 GB, free: 24.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/3.942, allocations: 0.7866 MB / 1.159 GB, free: 24.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007219/3.943, allocations: 261.8 kB / 1.159 GB, free: 24.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004776/3.943, allocations: 16.67 kB / 1.159 GB, free: 24.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/3.945, allocations: 63.91 kB / 1.159 GB, free: 24.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/3.945, allocations: 46.95 kB / 1.159 GB, free: 24.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/3.945, allocations: 34.31 kB / 1.159 GB, free: 24.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001994/3.947, allocations: 0.8306 MB / 1.16 GB, free: 23.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.052e-06/3.947, allocations: 0 / 1.16 GB, free: 23.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00435/3.952, allocations: 0.7996 MB / 1.161 GB, free: 23.82 MB / 490.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 () * 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.005082/3.957, allocations: 2.356 MB / 1.163 GB, free: 22.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007063/3.964, allocations: 1.126 MB / 1.164 GB, free: 22.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/3.964, allocations: 7.719 kB / 1.164 GB, free: 22.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001473/3.965, allocations: 364.1 kB / 1.165 GB, free: 22.84 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004502/3.97, allocations: 0.532 MB / 1.165 GB, free: 22.82 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007756/3.978, allocations: 2.471 MB / 1.168 GB, free: 22.13 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/3.979, allocations: 1.269 MB / 1.169 GB, free: 37.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/3.98, allocations: 0.62 MB / 1.17 GB, free: 37.41 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/3.98, allocations: 0 / 1.17 GB, free: 37.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.578/7.559, allocations: 54.32 MB / 1.223 GB, free: 34.46 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat does not exist to compare? outputFormat=mat