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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.161/2.161, allocations: 234.9 MB / 250.5 MB, free: 9.453 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007127/0.0007129, allocations: 16 kB / 314.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2809, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.4323, allocations: 102.5 MB / 471.8 MB, free: 4.039 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4326, allocations: 87.95 kB / 471.9 MB, free: 3.953 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5877/1.02, allocations: 106.1 MB / 0.5644 GB, free: 7.055 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.599e-06/1.02, allocations: 7.984 kB / 0.5644 GB, free: 7.047 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003037/1.021, allocations: 104 kB / 0.5645 GB, free: 6.945 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.01665/1.037, allocations: 5.719 MB / 0.5701 GB, free: 1.148 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.037, allocations: 8.031 kB / 0.5701 GB, free: 1.141 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03619/1.074, allocations: 6.896 MB / 0.5768 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02094/1.095, allocations: 6.887 MB / 0.5836 GB, free: 3.281 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005232/1.095, allocations: 406.6 kB / 0.584 GB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002126/1.097, allocations: 0.5232 MB / 0.5845 GB, free: 2.359 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03141/1.129, allocations: 12.4 MB / 0.5966 GB, free: 4.805 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002826/1.129, allocations: 83.23 kB / 0.5966 GB, free: 4.723 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001347/1.13, allocations: 255.9 kB / 0.5969 GB, free: 4.473 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002036/1.132, allocations: 1.125 MB / 0.598 GB, free: 3.348 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02601/1.158, allocations: 9.994 MB / 0.6078 GB, free: 9.332 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3832/1.542, allocations: 56.64 MB / 0.6631 GB, free: 64.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0222/1.564, allocations: 4.16 MB / 0.6671 GB, free: 63.36 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03045/1.594, allocations: 9.498 MB / 0.6764 GB, free: 61.91 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/1.595, allocations: 51.31 kB / 0.6764 GB, free: 61.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=190): time 6.305e-06/1.595, allocations: 0 / 0.6764 GB, free: 61.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=212): time 0.0607/1.655, allocations: 18.32 MB / 0.6943 GB, free: 58.01 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/1.655, allocations: 200.1 kB / 0.6945 GB, free: 57.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008424/1.664, allocations: 4.228 MB / 0.6987 GB, free: 57.42 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003984/1.664, allocations: 54.44 kB / 0.6987 GB, free: 57.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002593/1.667, allocations: 3.625 MB / 0.7023 GB, free: 55.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009959/1.668, allocations: 0.8068 MB / 0.703 GB, free: 55.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006262/1.669, allocations: 129.7 kB / 0.7032 GB, free: 55.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004226/1.669, allocations: 0.5807 MB / 0.7037 GB, free: 54.72 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004813/1.674, allocations: 2.236 MB / 0.7059 GB, free: 54.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006599/1.68, allocations: 6.153 MB / 0.7119 GB, free: 49.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007045/1.688, allocations: 3.642 MB / 0.7155 GB, free: 48.52 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/1.688, allocations: 41.89 kB / 0.7155 GB, free: 48.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.02113/1.709, allocations: 8.705 MB / 0.724 GB, free: 46.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/1.709, allocations: 62.94 kB / 0.7241 GB, free: 46.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/1.709, allocations: 139.1 kB / 0.7242 GB, free: 46.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003313/1.713, allocations: 0.9262 MB / 0.7251 GB, free: 45.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006265/1.719, allocations: 1.494 MB / 0.7266 GB, free: 45.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/1.73, allocations: 7.421 MB / 0.7338 GB, free: 41.11 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006371/1.736, allocations: 348.5 kB / 0.7342 GB, free: 40.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/1.738, allocations: 403.4 kB / 0.7345 GB, free: 40.93 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 633 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (789): * Single equations (assignments): 784 * 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.005727/1.743, allocations: 2.56 MB / 0.737 GB, free: 39.73 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009301/1.744, allocations: 428 kB / 0.7375 GB, free: 39.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007968/1.752, allocations: 3.533 MB / 0.7409 GB, free: 38.15 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.198e-05/1.752, allocations: 23.25 kB / 0.7409 GB, free: 38.15 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.757e-05/1.752, allocations: 5.812 kB / 0.7409 GB, free: 38.15 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-05/1.752, allocations: 12.8 kB / 0.7409 GB, free: 38.15 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02151/1.774, allocations: 9.128 MB / 0.7499 GB, free: 31.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/1.774, allocations: 3.5 kB / 0.7499 GB, free: 31.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00207/1.776, allocations: 331.5 kB / 0.7502 GB, free: 30.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002763/1.779, allocations: 0.691 MB / 0.7509 GB, free: 30.49 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003681/1.779, allocations: 36 kB / 0.7509 GB, free: 30.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009587/1.789, allocations: 6.736 MB / 0.7575 GB, free: 24.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.38e-06/1.789, allocations: 0 / 0.7575 GB, free: 24.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/1.801, allocations: 6.249 MB / 0.7636 GB, free: 18.72 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002221/1.803, allocations: 0.7314 MB / 0.7643 GB, free: 18.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009877/1.804, allocations: 33.97 kB / 0.7643 GB, free: 17.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002527/1.807, allocations: 109 kB / 0.7644 GB, free: 17.92 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004934/1.807, allocations: 135.1 kB / 0.7645 GB, free: 17.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/1.807, allocations: 51.66 kB / 0.7646 GB, free: 17.79 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006188/1.813, allocations: 2.994 MB / 0.7675 GB, free: 15.33 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.888e-06/1.813, allocations: 2.031 kB / 0.7675 GB, free: 15.33 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00745/1.821, allocations: 1.182 MB / 0.7687 GB, free: 14.16 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 158 * 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.0006287/1.822, allocations: 179.2 kB / 0.7688 GB, free: 13.99 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01089/1.833, allocations: 5.671 MB / 0.7744 GB, free: 9.039 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.191e-06/1.833, allocations: 0 / 0.7744 GB, free: 9.039 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003836/1.836, allocations: 1.966 MB / 0.7763 GB, free: 7.289 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/1.84, allocations: 0.5282 MB / 0.7768 GB, free: 6.852 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02755/1.867, allocations: 13.93 MB / 0.7904 GB, free: 10.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008975/1.876, allocations: 4.102 MB / 0.7944 GB, free: 7.156 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/1.878, allocations: 334.1 kB / 0.7947 GB, free: 6.848 MB / 490.7 MB Notification: Performance of SimCode: time 3.344e-06/1.878, allocations: 0 / 0.7947 GB, free: 6.848 MB / 490.7 MB Notification: Performance of Templates: time 0.4637/2.341, allocations: 111.4 MB / 0.9036 GB, free: 134.9 MB / 0.5261 GB