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.Parts.Rotor1D.Rotor1D_2.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.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 1.901/1.901, allocations: 209.3 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004446, allocations: 15.98 kB / 282.5 MB, free: 9.641 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2828, allocations: 48.69 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.05554/0.3384, allocations: 41.18 MB / 372.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02766/0.3661, allocations: 9.81 MB / 382.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00904/0.3752, allocations: 199.6 kB / 382.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006598/0.3818, allocations: 2.053 MB / 384.4 MB, free: 9.168 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02074/0.4026, allocations: 5.926 MB / 390.3 MB, free: 3.223 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.4056, allocations: 0.5187 MB / 390.9 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005345/0.411, allocations: 2.156 MB / 393 MB, free: 0.543 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008456/0.4195, allocations: 4.477 MB / 397.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001973/0.4215, allocations: 1.012 MB / 398.5 MB, free: 11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00235/0.4239, allocations: 1.371 MB / 399.9 MB, free: 9.625 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005414/0.4245, allocations: 140 kB / 400 MB, free: 9.488 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.4265, allocations: 0.8153 MB / 400.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00209/0.4286, allocations: 1.539 MB / 402.4 MB, free: 7.129 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.4298, allocations: 0.8311 MB / 403.2 MB, free: 6.289 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008214/0.438, allocations: 5.553 MB / 408.8 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.726e-06/0.4381, allocations: 0 / 408.8 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.4381, allocations: 0 / 408.8 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001146/0.4382, allocations: 0 / 408.8 MB, free: 0.7227 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01662/0.4549, allocations: 4.982 MB / 413.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.4549, allocations: 8.031 kB / 413.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.4652, allocations: 2.233 MB / 416 MB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006298/0.4715, allocations: 2.506 MB / 418.5 MB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003271/0.4719, allocations: 238.1 kB / 418.7 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001332/0.4733, allocations: 315.8 kB / 419 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02484/0.4981, allocations: 10.38 MB / 429.4 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001676/0.4983, allocations: 43.59 kB / 429.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009027/0.4992, allocations: 147.9 kB / 429.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004011/0.5033, allocations: 1.873 MB / 431.5 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02453/0.5278, allocations: 8.99 MB / 440.5 MB, free: 208 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06575/0.5936, allocations: 38.7 MB / 479.2 MB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01412/0.6078, allocations: 3.694 MB / 482.9 MB, free: 4.566 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/0.6093, allocations: 0.6906 MB / 483.5 MB, free: 3.766 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.552e-05/0.6094, allocations: 51.56 kB / 483.6 MB, free: 3.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 5.994e-06/0.6094, allocations: 4 kB / 483.6 MB, free: 3.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.2912/0.9006, allocations: 13.84 MB / 497.4 MB, free: 128 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.9007, allocations: 147.1 kB / 497.6 MB, free: 127.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007059/0.9078, allocations: 4.172 MB / 0.49 GB, free: 126.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002846/0.9081, allocations: 47.11 kB / 0.49 GB, free: 126.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001802/0.9099, allocations: 3.035 MB / 0.493 GB, free: 123.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006607/0.9106, allocations: 0.6225 MB / 0.4936 GB, free: 123.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/0.9109, allocations: 115 kB / 0.4937 GB, free: 123.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003294/0.9113, allocations: 0.5578 MB / 0.4943 GB, free: 122.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003838/0.9151, allocations: 1.983 MB / 0.4962 GB, free: 122.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005327/0.9205, allocations: 5.67 MB / 0.5017 GB, free: 116.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0062/0.9267, allocations: 3.277 MB / 0.5049 GB, free: 115 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-05/0.9268, allocations: 38.28 kB / 0.505 GB, free: 115 MB / 410.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01701/0.9439, allocations: 8.004 MB / 0.5128 GB, free: 109.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.944, allocations: 63.95 kB / 0.5129 GB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/0.9441, allocations: 132.1 kB / 0.513 GB, free: 109 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002827/0.947, allocations: 0.9342 MB / 0.5139 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005024/0.952, allocations: 1.341 MB / 0.5152 GB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007543/0.9596, allocations: 4.967 MB / 0.5201 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005288/0.9649, allocations: 329 kB / 0.5204 GB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006636/0.9656, allocations: 360.7 kB / 0.5207 GB, free: 101 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (715): * Single equations (assignments): 711 * Array equations: 3 * 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: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003366/0.969, allocations: 2.073 MB / 0.5227 GB, free: 98.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006942/0.9697, allocations: 351.5 kB / 0.5231 GB, free: 98.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006333/0.9761, allocations: 2.945 MB / 0.5259 GB, free: 95.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.322e-05/0.9762, allocations: 27.92 kB / 0.526 GB, free: 95.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.9762, allocations: 4 kB / 0.526 GB, free: 95.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/0.9762, allocations: 11.94 kB / 0.526 GB, free: 95.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/0.9953, allocations: 7.641 MB / 0.5334 GB, free: 87.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.981e-05/0.9954, allocations: 3.938 kB / 0.5335 GB, free: 87.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003811/0.9992, allocations: 291.7 kB / 0.5337 GB, free: 87.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005843/1.005, allocations: 0.7168 MB / 0.5344 GB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004036/1.006, allocations: 28.8 kB / 0.5345 GB, free: 86.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/1.021, allocations: 4.523 MB / 0.5389 GB, free: 82.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.704e-06/1.021, allocations: 7.984 kB / 0.5389 GB, free: 82.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02194/1.043, allocations: 5.375 MB / 0.5441 GB, free: 76.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003372/1.046, allocations: 0.6292 MB / 0.5447 GB, free: 76.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/1.048, allocations: 27.94 kB / 0.5448 GB, free: 76.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004101/1.052, allocations: 96.81 kB / 0.5449 GB, free: 75.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006015/1.052, allocations: 100.8 kB / 0.545 GB, free: 75.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000369/1.053, allocations: 41.25 kB / 0.545 GB, free: 75.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.009172/1.062, allocations: 2.628 MB / 0.5476 GB, free: 73.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.394e-06/1.062, allocations: 0 / 0.5476 GB, free: 73.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01258/1.075, allocations: 0.9662 MB / 0.5485 GB, free: 72.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * 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 (126): * Single equations (assignments): 122 * Array equations: 3 * 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: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004625/1.075, allocations: 173.8 kB / 0.5487 GB, free: 72.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01594/1.091, allocations: 4.782 MB / 0.5533 GB, free: 67.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.864e-06/1.091, allocations: 0 / 0.5533 GB, free: 67.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002394/1.094, allocations: 1.456 MB / 0.5548 GB, free: 65.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/1.096, allocations: 386.5 kB / 0.5551 GB, free: 65.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/1.113, allocations: 11 MB / 0.5659 GB, free: 54.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004441/1.118, allocations: 3.327 MB / 0.5691 GB, free: 51.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/1.119, allocations: 287.4 kB / 0.5694 GB, free: 50.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.812e-06/1.119, allocations: 0 / 0.5694 GB, free: 50.75 MB / 410.7 MB Notification: Performance of Templates: time 0.3349/1.454, allocations: 71.94 MB / 0.6397 GB, free: 132.5 MB / 426.7 MB