Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") Notification: Performance of loadModel(ModelicaTest): time 2.171/2.171, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.266e-05/2.28e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.273, allocations: 54.86 MB / 358 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.4277, allocations: 101.8 MB / 459.8 MB, free: 8.934 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.428, allocations: 83.95 kB / 459.9 MB, free: 8.852 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6378/1.066, allocations: 103.8 MB / 0.5504 GB, free: 17.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.63e-06/1.066, allocations: 4 kB / 0.5504 GB, free: 17.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000303/1.066, allocations: 104 kB / 0.5505 GB, free: 17.34 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: 1834 * Number of variables: 1834 Notification: Performance of Generate backend data structure: time 0.01494/1.081, allocations: 5.248 MB / 0.5557 GB, free: 12.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.081, allocations: 8.031 kB / 0.5557 GB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03371/1.115, allocations: 6.896 MB / 0.5624 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01901/1.134, allocations: 6.855 MB / 0.5691 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003506/1.134, allocations: 176.3 kB / 0.5693 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002246/1.137, allocations: 323.8 kB / 0.5696 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01759/1.154, allocations: 7.209 MB / 0.5766 GB, free: 6.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02704/1.181, allocations: 11.14 MB / 0.5875 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002788/1.182, allocations: 75.25 kB / 0.5876 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001182/1.183, allocations: 36 kB / 0.5876 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002034/1.185, allocations: 1.125 MB / 0.5887 GB, free: 8.949 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4785/1.663, allocations: 55.48 MB / 0.6429 GB, free: 61.75 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005307/1.669, allocations: 3.401 MB / 0.6462 GB, free: 61.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003395/1.672, allocations: 2.165 MB / 0.6483 GB, free: 61.05 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004351/1.673, allocations: 336.2 kB / 0.6486 GB, free: 60.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/1.673, allocations: 58.53 kB / 0.6487 GB, free: 60.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=199): time 6.574e-06/1.673, allocations: 0 / 0.6487 GB, free: 60.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=221): time 0.04998/1.723, allocations: 18.69 MB / 0.6669 GB, free: 57.36 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/1.723, allocations: 204 kB / 0.6671 GB, free: 57.14 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007121/1.73, allocations: 3.664 MB / 0.6707 GB, free: 56.76 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004072/1.731, allocations: 25.7 kB / 0.6707 GB, free: 56.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002566/1.733, allocations: 3.706 MB / 0.6744 GB, free: 54.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001057/1.734, allocations: 0.8204 MB / 0.6752 GB, free: 54.33 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000634/1.735, allocations: 3.609 kB / 0.6752 GB, free: 54.33 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004799/1.735, allocations: 0.5952 MB / 0.6757 GB, free: 54 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004231/1.74, allocations: 2.14 MB / 0.6778 GB, free: 53.99 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006423/1.746, allocations: 6.189 MB / 0.6839 GB, free: 48.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006675/1.753, allocations: 3.615 MB / 0.6874 GB, free: 47.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001252/1.753, allocations: 42.06 kB / 0.6875 GB, free: 47.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=885) (initialization): time 0.0197/1.773, allocations: 8.017 MB / 0.6953 GB, free: 45.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/1.773, allocations: 70.25 kB / 0.6953 GB, free: 45.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/1.773, allocations: 150.9 kB / 0.6955 GB, free: 45.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003734/1.777, allocations: 0.9385 MB / 0.6964 GB, free: 45.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006387/1.783, allocations: 1.56 MB / 0.6979 GB, free: 45.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/1.794, allocations: 7.083 MB / 0.7049 GB, free: 40.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006586/1.8, allocations: 230 kB / 0.7051 GB, free: 40.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001331/1.802, allocations: 411 kB / 0.7055 GB, free: 40.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 660 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (825): * Single equations (assignments): 820 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001537/1.803, allocations: 476.7 kB / 0.7059 GB, free: 40.44 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008905/1.804, allocations: 401.2 kB / 0.7063 GB, free: 40.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007577/1.812, allocations: 3.394 MB / 0.7096 GB, free: 38.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.308e-05/1.812, allocations: 24.55 kB / 0.7096 GB, free: 38.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/1.812, allocations: 11.95 kB / 0.7096 GB, free: 38.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.505e-05/1.812, allocations: 14.25 kB / 0.7097 GB, free: 38.69 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02071/1.832, allocations: 8.356 MB / 0.7178 GB, free: 31.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/1.833, allocations: 7.891 kB / 0.7178 GB, free: 31.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002123/1.835, allocations: 346.8 kB / 0.7182 GB, free: 31.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002848/1.838, allocations: 0.6723 MB / 0.7188 GB, free: 31.16 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003927/1.838, allocations: 8.609 kB / 0.7188 GB, free: 31.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008653/1.847, allocations: 6.208 MB / 0.7249 GB, free: 25.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.035e-06/1.847, allocations: 0 / 0.7249 GB, free: 25.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01079/1.858, allocations: 6.181 MB / 0.7309 GB, free: 19.85 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/1.86, allocations: 0.7106 MB / 0.7316 GB, free: 19.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/1.861, allocations: 11.95 kB / 0.7316 GB, free: 19.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/1.863, allocations: 81.03 kB / 0.7317 GB, free: 19.12 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005881/1.864, allocations: 134.5 kB / 0.7318 GB, free: 19.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/1.864, allocations: 61.3 kB / 0.7319 GB, free: 18.98 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005574/1.87, allocations: 2.485 MB / 0.7343 GB, free: 16.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.295e-06/1.87, allocations: 2.406 kB / 0.7343 GB, free: 16.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007692/1.878, allocations: 1.021 MB / 0.7353 GB, free: 15.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 167 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006237/1.878, allocations: 139.1 kB / 0.7355 GB, free: 15.67 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009915/1.888, allocations: 5.387 MB / 0.7407 GB, free: 10.81 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.991e-06/1.888, allocations: 0 / 0.7407 GB, free: 10.81 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003637/1.892, allocations: 1.902 MB / 0.7426 GB, free: 9.086 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003078/1.895, allocations: 446 kB / 0.743 GB, free: 8.719 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02339/1.919, allocations: 9.798 MB / 0.7526 GB, free: 112 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01282/1.931, allocations: 4.278 MB / 0.7567 GB, free: 13.45 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00153/1.933, allocations: 322.1 kB / 0.757 GB, free: 13.14 MB / 474.7 MB Notification: Performance of SimCode: time 1.825e-06/1.933, allocations: 0 / 0.757 GB, free: 13.14 MB / 474.7 MB Notification: Performance of Templates: time 0.4528/2.386, allocations: 109.3 MB / 0.8638 GB, free: 144.1 MB / 0.5105 GB