Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Frames.AngularVelocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.body.Q.1.|body.body.Q.2.|body.body.Q.3.|body.body.Q.4.|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.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity") Notification: Performance of loadModel(ModelicaTest): time 1.968/1.968, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.173e-05/1.18e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2612, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.4003, allocations: 92.57 MB / 412.6 MB, free: 3.855 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/0.4006, allocations: 67.97 kB / 412.6 MB, free: 3.789 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5069/0.9075, allocations: 80.42 MB / 493.1 MB, free: 79.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.869e-06/0.9075, allocations: 0 / 493.1 MB, free: 79.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001761/0.9077, allocations: 84 kB / 493.1 MB, free: 78.98 MB / 378.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.01506/0.9228, allocations: 4.271 MB / 497.4 MB, free: 74.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.9229, allocations: 11.97 kB / 497.4 MB, free: 74.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01273/0.9356, allocations: 2.257 MB / 499.7 MB, free: 72.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01365/0.9493, allocations: 4.751 MB / 0.4926 GB, free: 67.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.9495, allocations: 152 kB / 0.4928 GB, free: 67.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001427/0.951, allocations: 259.9 kB / 0.493 GB, free: 67.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01211/0.9631, allocations: 6.115 MB / 0.499 GB, free: 61.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01823/0.9814, allocations: 9.473 MB / 0.5082 GB, free: 50.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001799/0.9816, allocations: 59.5 kB / 0.5083 GB, free: 50.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009282/0.9826, allocations: 32 kB / 0.5083 GB, free: 50.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001502/0.9841, allocations: 1.007 MB / 0.5093 GB, free: 49.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05088/1.035, allocations: 47.98 MB / 0.5562 GB, free: 16 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004724/1.04, allocations: 2.611 MB / 0.5587 GB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/1.043, allocations: 1.577 MB / 0.5602 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/1.044, allocations: 0.6637 MB / 0.5609 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.079e-05/1.044, allocations: 47.62 kB / 0.5609 GB, free: 10.85 MB / 394.7 MB Notification: Performance of pre-optimization done (n=150): time 6.012e-06/1.044, allocations: 0 / 0.5609 GB, free: 10.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=157): time 0.0281/1.072, allocations: 10.29 MB / 0.571 GB, free: 448 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.072, allocations: 145.3 kB / 0.5711 GB, free: 268 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006259/1.078, allocations: 2.999 MB / 0.5741 GB, free: 13.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000339/1.079, allocations: 29.7 kB / 0.5741 GB, free: 13.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003177/1.082, allocations: 3.192 MB / 0.5772 GB, free: 9.992 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00101/1.083, allocations: 0.6249 MB / 0.5778 GB, free: 9.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000388/1.083, allocations: 0 / 0.5778 GB, free: 9.359 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005613/1.084, allocations: 0.5673 MB / 0.5784 GB, free: 8.781 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004428/1.088, allocations: 2.039 MB / 0.5804 GB, free: 6.738 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008398/1.097, allocations: 5.881 MB / 0.5861 GB, free: 14.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007245/1.104, allocations: 3.422 MB / 0.5894 GB, free: 11.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/1.104, allocations: 43.94 kB / 0.5895 GB, free: 11.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.0209/1.125, allocations: 7.768 MB / 0.5971 GB, free: 3.648 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.125, allocations: 66.47 kB / 0.5971 GB, free: 3.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006952/1.132, allocations: 2.759 MB / 0.5998 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2479/1.38, allocations: 1.117 MB / 0.6009 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00618/1.386, allocations: 1.446 MB / 0.6023 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006122/1.393, allocations: 4.561 MB / 0.6068 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006192/1.399, allocations: 305.3 kB / 0.6071 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/1.4, allocations: 388.6 kB / 0.6074 GB, free: 108.2 MB / 426.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): 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.001178/1.401, allocations: 452.6 kB / 0.6079 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006839/1.402, allocations: 310.9 kB / 0.6082 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007453/1.41, allocations: 3.077 MB / 0.6112 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006284/1.416, allocations: 2.55 MB / 0.6137 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/1.416, allocations: 1.5 kB / 0.6137 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/1.416, allocations: 7.734 kB / 0.6137 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01947/1.435, allocations: 8.571 MB / 0.6221 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-05/1.435, allocations: 3.094 kB / 0.6221 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001952/1.437, allocations: 268.7 kB / 0.6223 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004012/1.442, allocations: 1.005 MB / 0.6233 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003659/1.442, allocations: 19.69 kB / 0.6233 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006563/1.448, allocations: 4.918 MB / 0.6281 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009194/1.449, allocations: 1.415 MB / 0.6295 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.46, allocations: 5.574 MB / 0.6349 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008735/1.461, allocations: 367.5 kB / 0.6353 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005486/1.461, allocations: 9.578 kB / 0.6353 GB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/1.464, allocations: 129 kB / 0.6354 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003109/1.464, allocations: 93.77 kB / 0.6355 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/1.464, allocations: 47.2 kB / 0.6356 GB, free: 100.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003666/1.468, allocations: 1.987 MB / 0.6375 GB, free: 100.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.237e-06/1.468, allocations: 0 / 0.6375 GB, free: 100.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006681/1.474, allocations: 0.9588 MB / 0.6384 GB, free: 100.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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.0005282/1.475, allocations: 146.4 kB / 0.6386 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01041/1.485, allocations: 5.467 MB / 0.6439 GB, free: 98.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.429e-06/1.486, allocations: 0 / 0.6439 GB, free: 98.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005042/1.491, allocations: 2.196 MB / 0.6461 GB, free: 97.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/1.493, allocations: 325.6 kB / 0.6464 GB, free: 97.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/1.511, allocations: 8.46 MB / 0.6546 GB, free: 91.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005454/1.517, allocations: 3.347 MB / 0.6579 GB, free: 89.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.518, allocations: 273 kB / 0.6582 GB, free: 89.04 MB / 426.7 MB Notification: Performance of SimCode: time 1.695e-06/1.518, allocations: 0 / 0.6582 GB, free: 89.04 MB / 426.7 MB Notification: Performance of Templates: time 0.407/1.925, allocations: 123.4 MB / 0.7787 GB, free: 127.9 MB / 442.7 MB