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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.858/1.858, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004388, allocations: 8 kB / 282.5 MB, free: 9.641 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2883, allocations: 48.71 MB / 331.2 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.05434/0.3426, allocations: 41.11 MB / 372.3 MB, free: 5.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02718/0.3699, allocations: 9.972 MB / 382.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01017/0.3801, allocations: 203.5 kB / 382.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006592/0.3867, allocations: 2.073 MB / 384.5 MB, free: 9.059 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0206/0.4074, allocations: 5.883 MB / 390.4 MB, free: 3.156 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003132/0.4105, allocations: 0.5927 MB / 391 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005023/0.4156, allocations: 2.184 MB / 393.2 MB, free: 384 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008706/0.4244, allocations: 4.591 MB / 397.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.4265, allocations: 1.012 MB / 398.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002477/0.429, allocations: 1.304 MB / 400.1 MB, free: 9.391 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000656/0.4297, allocations: 140 kB / 400.2 MB, free: 9.254 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.4321, allocations: 0.8816 MB / 401.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002457/0.4346, allocations: 1.551 MB / 402.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002221/0.4369, allocations: 0.8427 MB / 403.5 MB, free: 5.965 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01657/0.4535, allocations: 5.573 MB / 409.1 MB, free: 388 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.494e-06/0.4536, allocations: 0 / 409.1 MB, free: 388 kB / 330.7 MB Notification: Performance of FrontEnd: time 4.959e-06/0.4536, allocations: 4 kB / 409.1 MB, free: 384 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.00019/0.4538, allocations: 0 / 409.1 MB, free: 384 kB / 330.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.01831/0.4721, allocations: 3.953 MB / 413.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7e-05/0.4723, allocations: 15.95 kB / 413.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02128/0.4936, allocations: 2.252 MB / 415.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/0.5051, allocations: 2.415 MB / 417.7 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005654/0.5057, allocations: 250.3 kB / 418 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002948/0.5087, allocations: 415.6 kB / 418.4 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03882/0.5476, allocations: 10.26 MB / 428.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001544/0.5478, allocations: 39.59 kB / 428.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00075/0.5485, allocations: 159.8 kB / 428.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003885/0.5524, allocations: 1.908 MB / 430.8 MB, free: 9.871 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02252/0.575, allocations: 8.514 MB / 439.3 MB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06638/0.6414, allocations: 39.79 MB / 479.1 MB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/0.6536, allocations: 3.539 MB / 482.6 MB, free: 4.664 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2402/0.8938, allocations: 7.505 MB / 490.1 MB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.8939, allocations: 53.94 kB / 490.2 MB, free: 130 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.816e-06/0.894, allocations: 0 / 490.2 MB, free: 130 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.03702/0.931, allocations: 12.96 MB / 0.4913 GB, free: 124.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001209/0.9322, allocations: 1.632 MB / 0.4929 GB, free: 123.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006915/0.9392, allocations: 4.06 MB / 0.4969 GB, free: 121.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002986/0.9395, allocations: 49.17 kB / 0.4969 GB, free: 121.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003543/0.9431, allocations: 3.116 MB / 0.5 GB, free: 119.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00146/0.9446, allocations: 0.5983 MB / 0.5006 GB, free: 118.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008283/0.9455, allocations: 116.2 kB / 0.5007 GB, free: 118.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006706/0.9462, allocations: 0.5533 MB / 0.5012 GB, free: 118.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008139/0.9543, allocations: 2.149 MB / 0.5033 GB, free: 117.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01105/0.9654, allocations: 5.869 MB / 0.509 GB, free: 111.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/0.9771, allocations: 3.455 MB / 0.5124 GB, free: 108.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001708/0.9773, allocations: 36 kB / 0.5125 GB, free: 108.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.03567/1.013, allocations: 8.486 MB / 0.5207 GB, free: 100.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000202/1.013, allocations: 60 kB / 0.5208 GB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01412/1.027, allocations: 2.936 MB / 0.5237 GB, free: 97.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009415/1.037, allocations: 1.256 MB / 0.5249 GB, free: 95.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01229/1.049, allocations: 1.372 MB / 0.5262 GB, free: 94.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006678/1.056, allocations: 5.107 MB / 0.5312 GB, free: 89.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006199/1.062, allocations: 416.6 kB / 0.5316 GB, free: 88.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009567/1.063, allocations: 372 kB / 0.532 GB, free: 88.36 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 602 * 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 (733): * Single equations (assignments): 724 * 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.004239/1.067, allocations: 2.097 MB / 0.534 GB, free: 86.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007631/1.068, allocations: 331.7 kB / 0.5343 GB, free: 85.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007035/1.075, allocations: 3.11 MB / 0.5374 GB, free: 82.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006048/1.081, allocations: 2.629 MB / 0.5399 GB, free: 80.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/1.081, allocations: 7.953 kB / 0.5399 GB, free: 80.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.124e-05/1.081, allocations: 3.984 kB / 0.54 GB, free: 80.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008021/1.09, allocations: 3.859 MB / 0.5437 GB, free: 76.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/1.09, allocations: 4 kB / 0.5437 GB, free: 76.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/1.091, allocations: 262.3 kB / 0.544 GB, free: 76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003626/1.095, allocations: 1.029 MB / 0.545 GB, free: 74.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003142/1.095, allocations: 31.98 kB / 0.545 GB, free: 74.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006295/1.102, allocations: 5.106 MB / 0.55 GB, free: 69.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001002/1.103, allocations: 1.498 MB / 0.5515 GB, free: 67.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00997/1.113, allocations: 5.443 MB / 0.5568 GB, free: 62.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009994/1.114, allocations: 404.6 kB / 0.5572 GB, free: 62.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007509/1.114, allocations: 35.94 kB / 0.5572 GB, free: 61.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/1.117, allocations: 145.2 kB / 0.5573 GB, free: 61.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003736/1.117, allocations: 88.8 kB / 0.5574 GB, free: 61.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001763/1.117, allocations: 39.98 kB / 0.5575 GB, free: 61.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00585/1.123, allocations: 2.543 MB / 0.5599 GB, free: 59.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.706e-06/1.123, allocations: 0 / 0.5599 GB, free: 59.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0101/1.133, allocations: 1.073 MB / 0.561 GB, free: 58.13 MB / 410.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.0005841/1.134, allocations: 183.8 kB / 0.5612 GB, free: 57.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01054/1.144, allocations: 5.697 MB / 0.5667 GB, free: 52.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.869e-06/1.145, allocations: 0.75 kB / 0.5667 GB, free: 52.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004514/1.149, allocations: 2.218 MB / 0.5689 GB, free: 49.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/1.152, allocations: 411.9 kB / 0.5693 GB, free: 49.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/1.17, allocations: 11.74 MB / 0.5808 GB, free: 37.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005099/1.175, allocations: 3.332 MB / 0.584 GB, free: 34.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/1.177, allocations: 283.4 kB / 0.5843 GB, free: 34.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.719e-06/1.177, allocations: 0 / 0.5843 GB, free: 34.09 MB / 410.7 MB Notification: Performance of Templates: time 0.4014/1.578, allocations: 125.8 MB / 0.7072 GB, free: 66.84 MB / 426.7 MB