Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.223/2.223, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004431, allocations: 12 kB / 314.5 MB, free: 9.449 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3596, allocations: 54.86 MB / 369.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.817/2.176, allocations: 0.6137 GB / 0.9744 GB, free: 45.39 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/2.177, allocations: 103.3 kB / 0.9745 GB, free: 45.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.22/3.397, allocations: 243.3 MB / 1.212 GB, free: 5.355 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.685e-06/3.397, allocations: 3.938 kB / 1.212 GB, free: 5.352 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.603e-05/3.397, allocations: 12 kB / 1.212 GB, free: 5.34 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.0031/3.4, allocations: 1.044 MB / 1.213 GB, free: 4.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/3.4, allocations: 12.03 kB / 1.213 GB, free: 4.238 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002037/3.4, allocations: 90.47 kB / 1.213 GB, free: 4.141 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/3.402, allocations: 131.2 kB / 1.213 GB, free: 4.012 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/3.403, allocations: 0.5327 MB / 1.214 GB, free: 3.438 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/3.403, allocations: 37 kB / 1.214 GB, free: 3.402 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.401e-05/3.404, allocations: 36 kB / 1.214 GB, free: 3.367 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/3.405, allocations: 0.5884 MB / 1.215 GB, free: 2.738 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/3.405, allocations: 3.938 kB / 1.215 GB, free: 2.734 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-05/3.405, allocations: 24 kB / 1.215 GB, free: 2.711 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/3.405, allocations: 15.95 kB / 1.215 GB, free: 2.695 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/3.407, allocations: 487.6 kB / 1.215 GB, free: 2.215 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3502/3.757, allocations: 2.586 MB / 1.218 GB, free: 93.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/3.758, allocations: 316.8 kB / 1.218 GB, free: 93.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004743/3.759, allocations: 326.7 kB / 1.218 GB, free: 93.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/3.759, allocations: 37.39 kB / 1.218 GB, free: 93.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.995e-06/3.759, allocations: 0 / 1.218 GB, free: 93.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.002654/3.761, allocations: 0.6842 MB / 1.219 GB, free: 93.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/3.761, allocations: 133.4 kB / 1.219 GB, free: 93.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007093/3.762, allocations: 383.7 kB / 1.219 GB, free: 93.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/3.762, allocations: 32.09 kB / 1.219 GB, free: 93.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/3.762, allocations: 338.6 kB / 1.22 GB, free: 92.81 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/3.763, allocations: 127 kB / 1.22 GB, free: 92.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/3.763, allocations: 7.719 kB / 1.22 GB, free: 92.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.561e-05/3.763, allocations: 330.4 kB / 1.22 GB, free: 92.44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005767/3.763, allocations: 200.7 kB / 1.22 GB, free: 92.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006836/3.764, allocations: 363.1 kB / 1.221 GB, free: 92.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006535/3.765, allocations: 239.2 kB / 1.221 GB, free: 92.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/3.765, allocations: 3 kB / 1.221 GB, free: 92.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001851/3.767, allocations: 0.6551 MB / 1.222 GB, free: 92.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/3.767, allocations: 6.984 kB / 1.222 GB, free: 92.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/3.767, allocations: 4.844 kB / 1.222 GB, free: 92.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002216/3.769, allocations: 238.3 kB / 1.222 GB, free: 92.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009704/3.77, allocations: 153.5 kB / 1.222 GB, free: 92.17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007637/3.778, allocations: 23.09 MB / 1.245 GB, free: 68.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009236/3.779, allocations: 73.62 kB / 1.245 GB, free: 68.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/3.779, allocations: 49.67 kB / 1.245 GB, free: 68.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (61): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004553/3.779, allocations: 194.8 kB / 1.245 GB, free: 68.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/3.779, allocations: 49.25 kB / 1.245 GB, free: 68.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/3.782, allocations: 0.6641 MB / 1.246 GB, free: 68.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/3.782, allocations: 3.812 kB / 1.246 GB, free: 68.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/3.782, allocations: 3.312 kB / 1.246 GB, free: 68.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/3.782, allocations: 3.609 kB / 1.246 GB, free: 68.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/3.784, allocations: 1.148 MB / 1.247 GB, free: 67.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/3.784, allocations: 10.59 kB / 1.247 GB, free: 67.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/3.785, allocations: 58.45 kB / 1.247 GB, free: 67.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002041/3.787, allocations: 233.8 kB / 1.247 GB, free: 67.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.643e-05/3.787, allocations: 9.969 kB / 1.247 GB, free: 67.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000451/3.787, allocations: 0.5953 MB / 1.248 GB, free: 67.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/3.787, allocations: 0 / 1.248 GB, free: 67.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/3.789, allocations: 0.6068 MB / 1.248 GB, free: 66.83 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/3.789, allocations: 139.9 kB / 1.248 GB, free: 66.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/3.789, allocations: 6.688 kB / 1.248 GB, free: 66.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/3.789, allocations: 33.17 kB / 1.248 GB, free: 66.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/3.79, allocations: 28.3 kB / 1.248 GB, free: 66.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/3.79, allocations: 26.48 kB / 1.248 GB, free: 66.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005172/3.79, allocations: 319.7 kB / 1.249 GB, free: 66.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.7e-07/3.79, allocations: 0 / 1.249 GB, free: 66.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002587/3.793, allocations: 490.7 kB / 1.249 GB, free: 66.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004831/3.798, allocations: 2.758 MB / 1.252 GB, free: 65.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001566/3.799, allocations: 434.6 kB / 1.252 GB, free: 65.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/3.799, allocations: 5.125 kB / 1.252 GB, free: 65.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005352/3.8, allocations: 167.1 kB / 1.252 GB, free: 65.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/3.802, allocations: 227.1 kB / 1.253 GB, free: 65.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/3.815, allocations: 6.95 MB / 1.259 GB, free: 60.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/3.815, allocations: 0.869 MB / 1.26 GB, free: 60.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006997/3.816, allocations: 224.6 kB / 1.261 GB, free: 60.22 MB / 490.7 MB Notification: Performance of SimCode: time 1.734e-06/3.816, allocations: 0 / 1.261 GB, free: 60.22 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.283/7.099, allocations: 28.89 MB / 1.289 GB, free: 59.29 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend_res.mat does not exist to compare? outputFormat=mat