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.EdgedBend.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.EdgedBend,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.333/2.333, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006168/0.0006169, allocations: 15.98 kB / 314.5 MB, free: 9.441 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3619, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.816/2.178, allocations: 0.6129 GB / 0.9736 GB, free: 45.96 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/2.178, allocations: 105.9 kB / 0.9737 GB, free: 45.89 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.133/3.311, allocations: 238.3 MB / 1.206 GB, free: 10.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.635e-06/3.311, allocations: 0 / 1.206 GB, free: 10.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.062e-05/3.311, allocations: 12.22 kB / 1.206 GB, free: 10.73 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.003079/3.314, allocations: 1.048 MB / 1.207 GB, free: 9.637 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/3.314, allocations: 8.031 kB / 1.207 GB, free: 9.629 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002148/3.315, allocations: 90.52 kB / 1.208 GB, free: 9.531 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/3.316, allocations: 139.1 kB / 1.208 GB, free: 9.395 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/3.318, allocations: 0.5172 MB / 1.208 GB, free: 8.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.105e-05/3.318, allocations: 29 kB / 1.208 GB, free: 8.809 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/3.318, allocations: 44 kB / 1.208 GB, free: 8.766 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/3.319, allocations: 0.5845 MB / 1.209 GB, free: 8.141 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/3.319, allocations: 0 / 1.209 GB, free: 8.141 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-05/3.319, allocations: 23.98 kB / 1.209 GB, free: 8.117 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/3.32, allocations: 11.95 kB / 1.209 GB, free: 8.105 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/3.321, allocations: 491.5 kB / 1.209 GB, free: 7.621 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.003815/3.325, allocations: 2.585 MB / 1.212 GB, free: 4.809 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009844/3.326, allocations: 311.7 kB / 1.212 GB, free: 4.496 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004325/3.326, allocations: 329.5 kB / 1.212 GB, free: 4.117 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/3.326, allocations: 42.88 kB / 1.213 GB, free: 4.066 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.885e-06/3.326, allocations: 0 / 1.213 GB, free: 4.066 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.002317/3.329, allocations: 0.6694 MB / 1.213 GB, free: 3.371 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/3.329, allocations: 136.5 kB / 1.213 GB, free: 3.207 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005685/3.329, allocations: 365 kB / 1.214 GB, free: 2.852 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.316e-05/3.329, allocations: 33.7 kB / 1.214 GB, free: 2.812 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/3.329, allocations: 341.9 kB / 1.214 GB, free: 2.477 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/3.33, allocations: 110.4 kB / 1.214 GB, free: 2.367 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/3.33, allocations: 12 kB / 1.214 GB, free: 2.355 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.896e-05/3.33, allocations: 338.8 kB / 1.214 GB, free: 2.016 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/3.33, allocations: 169 kB / 1.215 GB, free: 1.852 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/3.331, allocations: 346.9 kB / 1.215 GB, free: 1.438 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005852/3.331, allocations: 219.9 kB / 1.215 GB, free: 1.223 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/3.332, allocations: 3.953 kB / 1.215 GB, free: 1.219 MB / 490.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001638/3.333, allocations: 0.6063 MB / 1.216 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/3.333, allocations: 8 kB / 1.216 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/3.333, allocations: 4 kB / 1.216 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/3.335, allocations: 237.2 kB / 1.216 GB, free: 364 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008926/3.336, allocations: 139.8 kB / 1.216 GB, free: 224 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3545/3.691, allocations: 17.45 MB / 1.233 GB, free: 76.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009047/3.692, allocations: 70.55 kB / 1.233 GB, free: 76.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/3.692, allocations: 53.66 kB / 1.233 GB, free: 76.39 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 (59): * 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): 6 * 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: 6 {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.0004811/3.692, allocations: 193.9 kB / 1.233 GB, free: 76.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/3.693, allocations: 50.19 kB / 1.234 GB, free: 76.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002778/3.695, allocations: 0.6561 MB / 1.234 GB, free: 76.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/3.696, allocations: 6.594 kB / 1.234 GB, free: 76.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/3.696, allocations: 4.312 kB / 1.234 GB, free: 76.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/3.696, allocations: 1.688 kB / 1.234 GB, free: 76.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/3.698, allocations: 1.152 MB / 1.235 GB, free: 75.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/3.698, allocations: 3.875 kB / 1.235 GB, free: 75.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/3.699, allocations: 60.3 kB / 1.235 GB, free: 75.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002127/3.701, allocations: 230.4 kB / 1.236 GB, free: 75.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.499e-05/3.701, allocations: 15.83 kB / 1.236 GB, free: 75.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005291/3.702, allocations: 0.582 MB / 1.236 GB, free: 75.17 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/3.702, allocations: 4.719 kB / 1.236 GB, free: 75.17 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/3.703, allocations: 0.5968 MB / 1.237 GB, free: 74.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/3.703, allocations: 147 kB / 1.237 GB, free: 74.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/3.703, allocations: 7.578 kB / 1.237 GB, free: 74.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/3.704, allocations: 37.73 kB / 1.237 GB, free: 74.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/3.704, allocations: 33.98 kB / 1.237 GB, free: 74.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-05/3.704, allocations: 16.5 kB / 1.237 GB, free: 74.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006005/3.705, allocations: 310.4 kB / 1.237 GB, free: 74.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.1e-07/3.705, allocations: 0 / 1.237 GB, free: 74.61 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002855/3.708, allocations: 481.9 kB / 1.238 GB, free: 74.61 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.005081/3.713, allocations: 2.736 MB / 1.24 GB, free: 73.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/3.714, allocations: 413.4 kB / 1.241 GB, free: 73.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/3.714, allocations: 0 / 1.241 GB, free: 73.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004973/3.715, allocations: 157.1 kB / 1.241 GB, free: 73.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/3.717, allocations: 238.8 kB / 1.241 GB, free: 73.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/3.73, allocations: 6.888 MB / 1.248 GB, free: 68.95 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/3.731, allocations: 0.8651 MB / 1.249 GB, free: 68.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007351/3.731, allocations: 225.2 kB / 1.249 GB, free: 68.25 MB / 490.7 MB Notification: Performance of SimCode: time 9.22e-07/3.731, allocations: 0 / 1.249 GB, free: 68.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.25/6.982, allocations: 26.38 MB / 1.275 GB, free: 67.44 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.EdgedBend_res.mat does not exist to compare? outputFormat=mat