Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend.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.TestComponents.NewFittings.Bends.EdgedBend,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_EdgedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.928/1.928, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.000455, allocations: 16 kB / 282.7 MB, free: 9.535 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3565, allocations: 48.7 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.667/2.024, allocations: 0.606 GB / 0.9296 GB, free: 42.45 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000379/2.024, allocations: 89.27 kB / 0.9297 GB, free: 42.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.446/3.47, allocations: 238.2 MB / 1.162 GB, free: 81.47 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.965e-06/3.47, allocations: 2.562 kB / 1.162 GB, free: 81.47 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.591e-05/3.47, allocations: 17.77 kB / 1.162 GB, free: 81.47 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.003161/3.473, allocations: 1.041 MB / 1.163 GB, free: 81.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/3.474, allocations: 14.56 kB / 1.163 GB, free: 81.07 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002161/3.474, allocations: 83.19 kB / 1.163 GB, free: 81.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/3.475, allocations: 144.8 kB / 1.164 GB, free: 81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/3.477, allocations: 0.5219 MB / 1.164 GB, free: 80.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.897e-05/3.477, allocations: 32.62 kB / 1.164 GB, free: 80.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.995e-05/3.477, allocations: 39.06 kB / 1.164 GB, free: 80.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001505/3.478, allocations: 0.5823 MB / 1.165 GB, free: 80.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/3.478, allocations: 5.016 kB / 1.165 GB, free: 80.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-05/3.479, allocations: 18.62 kB / 1.165 GB, free: 80.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/3.479, allocations: 9.625 kB / 1.165 GB, free: 80.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/3.48, allocations: 485.9 kB / 1.165 GB, free: 80.64 MB / 442.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.00411/3.484, allocations: 2.595 MB / 1.168 GB, free: 78.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/3.485, allocations: 308.6 kB / 1.168 GB, free: 78.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004837/3.486, allocations: 332.5 kB / 1.168 GB, free: 78.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/3.486, allocations: 35.47 kB / 1.168 GB, free: 78.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 4.118e-06/3.486, allocations: 0 / 1.168 GB, free: 78.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002527/3.488, allocations: 0.6774 MB / 1.169 GB, free: 78.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/3.489, allocations: 132 kB / 1.169 GB, free: 78.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006935/3.489, allocations: 366.6 kB / 1.17 GB, free: 78.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.05e-05/3.489, allocations: 29.8 kB / 1.17 GB, free: 78.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/3.49, allocations: 345 kB / 1.17 GB, free: 77.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/3.49, allocations: 115.8 kB / 1.17 GB, free: 77.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/3.49, allocations: 10.78 kB / 1.17 GB, free: 77.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.46e-05/3.49, allocations: 326.1 kB / 1.17 GB, free: 77.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005635/3.49, allocations: 175.7 kB / 1.171 GB, free: 77.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/3.491, allocations: 342.8 kB / 1.171 GB, free: 77.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/3.492, allocations: 225.6 kB / 1.171 GB, free: 77.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/3.492, allocations: 1.219 kB / 1.171 GB, free: 77.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001887/3.494, allocations: 0.6103 MB / 1.172 GB, free: 77.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/3.494, allocations: 6.812 kB / 1.172 GB, free: 77.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/3.494, allocations: 4.469 kB / 1.172 GB, free: 77.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002181/3.496, allocations: 240.4 kB / 1.172 GB, free: 77.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/3.497, allocations: 140.2 kB / 1.172 GB, free: 77.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006164/3.503, allocations: 17.47 MB / 1.189 GB, free: 59.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009234/3.504, allocations: 69.69 kB / 1.189 GB, free: 59.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/3.504, allocations: 52.52 kB / 1.189 GB, free: 59.25 MB / 442.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.0004701/3.505, allocations: 188.3 kB / 1.189 GB, free: 59.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/3.505, allocations: 51.98 kB / 1.189 GB, free: 59.11 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/3.508, allocations: 0.6644 MB / 1.19 GB, free: 59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/3.508, allocations: 2.438 kB / 1.19 GB, free: 59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/3.508, allocations: 1.438 kB / 1.19 GB, free: 59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/3.508, allocations: 5.562 kB / 1.19 GB, free: 59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/3.51, allocations: 1.149 MB / 1.191 GB, free: 58.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/3.51, allocations: 3.75 kB / 1.191 GB, free: 58.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/3.511, allocations: 65.08 kB / 1.191 GB, free: 58.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002062/3.513, allocations: 226.1 kB / 1.192 GB, free: 58.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.203e-05/3.513, allocations: 15 kB / 1.192 GB, free: 58.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005065/3.514, allocations: 0.5841 MB / 1.192 GB, free: 58.01 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/3.514, allocations: 2.625 kB / 1.192 GB, free: 58.01 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/3.515, allocations: 0.5914 MB / 1.193 GB, free: 57.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/3.515, allocations: 141.2 kB / 1.193 GB, free: 57.55 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/3.515, allocations: 9.531 kB / 1.193 GB, free: 57.55 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005265/3.516, allocations: 32.08 kB / 1.193 GB, free: 57.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/3.516, allocations: 35.53 kB / 1.193 GB, free: 57.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/3.516, allocations: 14.62 kB / 1.193 GB, free: 57.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005623/3.517, allocations: 310.9 kB / 1.193 GB, free: 57.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.11e-07/3.517, allocations: 3.938 kB / 1.193 GB, free: 57.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002644/3.519, allocations: 488.7 kB / 1.194 GB, free: 57.46 MB / 442.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.00487/3.524, allocations: 2.746 MB / 1.196 GB, free: 55.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001623/3.526, allocations: 414.1 kB / 1.197 GB, free: 55.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/3.526, allocations: 3.969 kB / 1.197 GB, free: 55.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005169/3.527, allocations: 166.8 kB / 1.197 GB, free: 55.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/3.529, allocations: 224.7 kB / 1.197 GB, free: 55.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/3.542, allocations: 6.889 MB / 1.204 GB, free: 51.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/3.542, allocations: 0.8597 MB / 1.205 GB, free: 50.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007038/3.543, allocations: 224.3 kB / 1.205 GB, free: 50.95 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/3.543, allocations: 7.984 kB / 1.205 GB, free: 50.95 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.174/6.717, allocations: 26.37 MB / 1.231 GB, free: 49.74 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.EdgedBend_res.mat does not exist to compare? outputFormat=mat