Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.13/2.13, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.907e-05/1.907e-05, allocations: 0 / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.324, allocations: 54.86 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1789/0.5029, allocations: 99.29 MB / 457.4 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.5033, allocations: 75.97 kB / 457.5 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6166/1.12, allocations: 80.59 MB / 0.5255 GB, free: 43.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.12, allocations: 8 kB / 0.5255 GB, free: 43.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002333/1.12, allocations: 80 kB / 0.5256 GB, free: 42.96 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.02645/1.147, allocations: 4.272 MB / 0.5297 GB, free: 38.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.147, allocations: 12.03 kB / 0.5297 GB, free: 38.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/1.164, allocations: 2.268 MB / 0.5319 GB, free: 36.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01691/1.181, allocations: 4.766 MB / 0.5366 GB, free: 31.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/1.181, allocations: 140 kB / 0.5367 GB, free: 31.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001814/1.183, allocations: 263.9 kB / 0.537 GB, free: 31.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01375/1.197, allocations: 6.124 MB / 0.543 GB, free: 24.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02009/1.217, allocations: 9.465 MB / 0.5522 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000193/1.217, allocations: 59.55 kB / 0.5523 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000826/1.218, allocations: 32 kB / 0.5523 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001976/1.22, allocations: 1.014 MB / 0.5533 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06985/1.29, allocations: 48 MB / 0.6002 GB, free: 11.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005402/1.296, allocations: 2.609 MB / 0.6027 GB, free: 8.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003426/1.299, allocations: 1.589 MB / 0.6043 GB, free: 7.332 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/1.3, allocations: 0.6514 MB / 0.6049 GB, free: 6.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/1.3, allocations: 51.28 kB / 0.6049 GB, free: 6.512 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 4.98e-06/1.3, allocations: 0 / 0.6049 GB, free: 6.512 MB / 442.7 MB Notification: Performance of matching and sorting (n=157): time 0.03587/1.336, allocations: 10.29 MB / 0.615 GB, free: 12.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/1.336, allocations: 153.2 kB / 0.6151 GB, free: 11.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007587/1.344, allocations: 3.003 MB / 0.6181 GB, free: 8.918 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004555/1.345, allocations: 25.7 kB / 0.6181 GB, free: 8.887 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003745/1.348, allocations: 3.192 MB / 0.6212 GB, free: 5.648 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001284/1.35, allocations: 0.6249 MB / 0.6218 GB, free: 5.016 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007213/1.35, allocations: 4 kB / 0.6218 GB, free: 5.012 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005844/1.351, allocations: 0.5712 MB / 0.6224 GB, free: 4.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005657/1.357, allocations: 2.043 MB / 0.6244 GB, free: 2.383 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3269/1.684, allocations: 5.898 MB / 0.6301 GB, free: 103.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01272/1.696, allocations: 3.438 MB / 0.6335 GB, free: 103.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003525/1.697, allocations: 39.78 kB / 0.6335 GB, free: 103.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.04525/1.742, allocations: 8.443 MB / 0.6418 GB, free: 102.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002285/1.742, allocations: 63.91 kB / 0.6418 GB, free: 102.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0191/1.761, allocations: 3.446 MB / 0.6452 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01687/1.778, allocations: 1.931 MB / 0.6471 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009217/1.788, allocations: 1.442 MB / 0.6485 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/1.799, allocations: 5.605 MB / 0.654 GB, free: 100.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007698/1.807, allocations: 309.4 kB / 0.6543 GB, free: 100.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/1.809, allocations: 387.9 kB / 0.6546 GB, free: 100.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (771): * Single equations (assignments): 762 * Array equations: 5 * 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 {(4,100.0%),(3,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 prepare postOptimizeDAE: time 0.00176/1.811, allocations: 452.1 kB / 0.6551 GB, free: 99.89 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01033/1.821, allocations: 3.354 MB / 0.6583 GB, free: 99.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.822, allocations: 311.8 kB / 0.6586 GB, free: 99.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009487/1.832, allocations: 3.075 MB / 0.6616 GB, free: 99.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00792/1.84, allocations: 2.549 MB / 0.6641 GB, free: 99.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.122e-05/1.84, allocations: 7.094 kB / 0.6641 GB, free: 99.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.66e-05/1.84, allocations: 7.047 kB / 0.6641 GB, free: 99.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02485/1.865, allocations: 8.573 MB / 0.6725 GB, free: 96.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.651e-05/1.865, allocations: 9.734 kB / 0.6725 GB, free: 96.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002692/1.867, allocations: 271 kB / 0.6728 GB, free: 96.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005388/1.873, allocations: 1.007 MB / 0.6738 GB, free: 96.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004608/1.873, allocations: 24.12 kB / 0.6738 GB, free: 96.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008128/1.881, allocations: 4.911 MB / 0.6786 GB, free: 93.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001044/1.883, allocations: 1.416 MB / 0.68 GB, free: 91.97 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.896, allocations: 5.58 MB / 0.6854 GB, free: 89.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/1.897, allocations: 369.7 kB / 0.6858 GB, free: 89.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006878/1.897, allocations: 11.38 kB / 0.6858 GB, free: 89.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002749/1.9, allocations: 122.9 kB / 0.6859 GB, free: 89.42 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004576/1.901, allocations: 92.95 kB / 0.686 GB, free: 89.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/1.901, allocations: 52.11 kB / 0.686 GB, free: 89.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004122/1.905, allocations: 1.981 MB / 0.688 GB, free: 88.66 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.162e-06/1.905, allocations: 0 / 0.688 GB, free: 88.66 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007527/1.913, allocations: 0.9749 MB / 0.6889 GB, free: 87.97 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET7244534152.x[3],$STATESET7244534152.x[2],$STATESET7244534152.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 116 * 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.01329/1.926, allocations: 6.537 MB / 0.6953 GB, free: 82.15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01372/1.94, allocations: 5.495 MB / 0.7007 GB, free: 77.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.94, allocations: 3.828 kB / 0.7007 GB, free: 77.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006508/1.946, allocations: 2.196 MB / 0.7028 GB, free: 75.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/1.949, allocations: 331.8 kB / 0.7031 GB, free: 75.02 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02803/1.977, allocations: 9.712 MB / 0.7126 GB, free: 66.67 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005292/1.982, allocations: 3.342 MB / 0.7159 GB, free: 64.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003892/1.986, allocations: 1.911 MB / 0.7178 GB, free: 62.37 MB / 458.7 MB Notification: Performance of SimCode: time 1.543e-06/1.986, allocations: 4 kB / 0.7178 GB, free: 62.36 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.859/6.846, allocations: 149.3 MB / 0.8636 GB, free: 110.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat