Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.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.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.931/1.931, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004229, allocations: 16 kB / 282.7 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3418, allocations: 48.7 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1645/0.5064, allocations: 93.34 MB / 424.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.5067, allocations: 75.97 kB / 424.8 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.623/1.13, allocations: 82.28 MB / 0.4952 GB, free: 47.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.13, allocations: 0 / 0.4952 GB, free: 47.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002409/1.13, allocations: 86.03 kB / 0.4952 GB, free: 47.42 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.02331/1.153, allocations: 4.484 MB / 0.4996 GB, free: 45.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/1.153, allocations: 11.25 kB / 0.4996 GB, free: 45.53 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003676/1.157, allocations: 0.7933 MB / 0.5004 GB, free: 45.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01761/1.175, allocations: 2.259 MB / 0.5026 GB, free: 45.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01756/1.192, allocations: 4.773 MB / 0.5073 GB, free: 44.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003764/1.193, allocations: 342.2 kB / 0.5076 GB, free: 44.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002248/1.195, allocations: 446.7 kB / 0.508 GB, free: 44.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02859/1.224, allocations: 10.61 MB / 0.5184 GB, free: 41.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002635/1.224, allocations: 57.59 kB / 0.5184 GB, free: 41.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001802/1.226, allocations: 219.9 kB / 0.5187 GB, free: 41.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002189/1.228, allocations: 1.013 MB / 0.5196 GB, free: 41.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02439/1.252, allocations: 8.507 MB / 0.528 GB, free: 40.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07892/1.331, allocations: 49.28 MB / 0.5761 GB, free: 20.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02074/1.352, allocations: 3.54 MB / 0.5795 GB, free: 16.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0254/1.378, allocations: 7.532 MB / 0.5869 GB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.214e-05/1.378, allocations: 51.5 kB / 0.5869 GB, free: 8.922 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 7.995e-06/1.378, allocations: 0 / 0.5869 GB, free: 8.922 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.08557/1.463, allocations: 12.86 MB / 0.5995 GB, free: 11.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002731/1.466, allocations: 1.628 MB / 0.6011 GB, free: 10.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01486/1.481, allocations: 3.522 MB / 0.6045 GB, free: 6.535 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006206/1.482, allocations: 49.69 kB / 0.6046 GB, free: 6.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004962/1.487, allocations: 3.106 MB / 0.6076 GB, free: 3.375 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001732/1.489, allocations: 0.6051 MB / 0.6082 GB, free: 2.773 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/1.49, allocations: 116 kB / 0.6083 GB, free: 2.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009902/1.491, allocations: 0.5588 MB / 0.6088 GB, free: 2.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009802/1.501, allocations: 2.127 MB / 0.6109 GB, free: 15.96 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01475/1.516, allocations: 5.832 MB / 0.6166 GB, free: 8.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0134/1.529, allocations: 3.444 MB / 0.62 GB, free: 4.809 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001655/1.529, allocations: 36 kB / 0.62 GB, free: 4.773 MB / 442.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.3748/1.904, allocations: 8.401 MB / 0.6282 GB, free: 81.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/1.904, allocations: 65.58 kB / 0.6283 GB, free: 81.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01022/1.915, allocations: 2.849 MB / 0.6311 GB, free: 81.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005858/1.921, allocations: 1.122 MB / 0.6322 GB, free: 81.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008236/1.929, allocations: 1.376 MB / 0.6335 GB, free: 81.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007861/1.937, allocations: 4.802 MB / 0.6382 GB, free: 78.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007399/1.944, allocations: 415 kB / 0.6386 GB, free: 78.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/1.946, allocations: 372.7 kB / 0.6389 GB, free: 78.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 36 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (735): * Single equations (assignments): 726 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.005943/1.952, allocations: 2.093 MB / 0.641 GB, free: 78.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008883/1.953, allocations: 333 kB / 0.6413 GB, free: 78.56 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/1.963, allocations: 3.083 MB / 0.6443 GB, free: 78.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008611/1.972, allocations: 2.611 MB / 0.6469 GB, free: 78.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.449e-05/1.972, allocations: 7.641 kB / 0.6469 GB, free: 78.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.891e-05/1.972, allocations: 8.719 kB / 0.6469 GB, free: 78.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/1.982, allocations: 3.852 MB / 0.6506 GB, free: 78.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.889e-05/1.982, allocations: 0 / 0.6506 GB, free: 78.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002532/1.985, allocations: 255.8 kB / 0.6509 GB, free: 78.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00539/1.99, allocations: 1.021 MB / 0.6519 GB, free: 78.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004512/1.991, allocations: 32.7 kB / 0.6519 GB, free: 78.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008568/1.999, allocations: 5.11 MB / 0.6569 GB, free: 75.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001193/2.001, allocations: 1.49 MB / 0.6584 GB, free: 74.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/2.015, allocations: 5.489 MB / 0.6637 GB, free: 73.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/2.016, allocations: 402.5 kB / 0.6641 GB, free: 73.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/2.017, allocations: 32.62 kB / 0.6641 GB, free: 73.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003458/2.021, allocations: 137.6 kB / 0.6643 GB, free: 73.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006279/2.021, allocations: 93.08 kB / 0.6644 GB, free: 73.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001928/2.021, allocations: 46.47 kB / 0.6644 GB, free: 73.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006462/2.028, allocations: 2.444 MB / 0.6668 GB, free: 73.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.42e-07/2.028, allocations: 0 / 0.6668 GB, free: 73.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007524/2.036, allocations: 1.066 MB / 0.6678 GB, free: 73.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01502/2.051, allocations: 6.302 MB / 0.674 GB, free: 71.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01507/2.066, allocations: 5.671 MB / 0.6795 GB, free: 71.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/2.066, allocations: 0 / 0.6795 GB, free: 71.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007229/2.073, allocations: 2.211 MB / 0.6817 GB, free: 70.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003656/2.077, allocations: 401.4 kB / 0.6821 GB, free: 70.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1127/2.189, allocations: 125.7 MB / 0.8048 GB, free: 7.211 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007384/2.197, allocations: 3.338 MB / 0.808 GB, free: 5.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004738/2.202, allocations: 1.895 MB / 0.8099 GB, free: 3.66 MB / 490.7 MB Notification: Performance of SimCode: time 2.234e-06/2.202, allocations: 4 kB / 0.8099 GB, free: 3.656 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.566/7.768, allocations: 151.1 MB / 0.9575 GB, free: 59.03 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat