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.Beveal1d.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.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.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") Notification: Performance of loadModel(ModelicaTest): time 1.805/1.805, allocations: 209.3 MB / 222.4 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.876e-05, allocations: 0 / 277.8 MB, free: 12.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08823/0.08828, allocations: 48.71 MB / 326.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3494/0.4377, allocations: 95.17 MB / 421.7 MB, free: 7.922 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.438, allocations: 78.36 kB / 421.8 MB, free: 7.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6148/1.053, allocations: 106.2 MB / 0.5156 GB, free: 85.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.188e-06/1.053, allocations: 3.328 kB / 0.5156 GB, free: 85.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003178/1.053, allocations: 106.6 kB / 0.5157 GB, free: 85.52 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1833 * Number of variables: 1833 Notification: Performance of Generate backend data structure: time 0.01665/1.07, allocations: 5.254 MB / 0.5208 GB, free: 83.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/1.07, allocations: 10.72 kB / 0.5208 GB, free: 83.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03607/1.106, allocations: 6.893 MB / 0.5276 GB, free: 82.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01961/1.126, allocations: 6.867 MB / 0.5343 GB, free: 81.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004433/1.126, allocations: 406.5 kB / 0.5347 GB, free: 81.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00228/1.129, allocations: 0.5269 MB / 0.5352 GB, free: 81.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02913/1.158, allocations: 12.28 MB / 0.5472 GB, free: 74.96 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002909/1.158, allocations: 79.44 kB / 0.5473 GB, free: 74.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001792/1.16, allocations: 256.4 kB / 0.5475 GB, free: 74.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002022/1.162, allocations: 1.126 MB / 0.5486 GB, free: 74.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02374/1.186, allocations: 9.795 MB / 0.5582 GB, free: 68.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06439/1.25, allocations: 56.56 MB / 0.6134 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01233/1.262, allocations: 4.104 MB / 0.6174 GB, free: 6.426 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003482/1.266, allocations: 2.249 MB / 0.6196 GB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0189/1.285, allocations: 9.501 MB / 0.6289 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.624e-05/1.285, allocations: 51.88 kB / 0.6289 GB, free: 10.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 8.072e-06/1.285, allocations: 0 / 0.6289 GB, free: 10.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=212): time 0.3403/1.625, allocations: 15.82 MB / 0.6444 GB, free: 92.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/1.625, allocations: 204 kB / 0.6446 GB, free: 91.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008863/1.634, allocations: 4.197 MB / 0.6487 GB, free: 91.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003831/1.635, allocations: 57.81 kB / 0.6487 GB, free: 91.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002668/1.637, allocations: 3.615 MB / 0.6523 GB, free: 89.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.638, allocations: 0.8052 MB / 0.653 GB, free: 89.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005251/1.639, allocations: 129.9 kB / 0.6532 GB, free: 89.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004705/1.639, allocations: 0.588 MB / 0.6537 GB, free: 88.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004543/1.644, allocations: 2.163 MB / 0.6559 GB, free: 88.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007228/1.651, allocations: 6.08 MB / 0.6618 GB, free: 83.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007529/1.659, allocations: 3.624 MB / 0.6653 GB, free: 83.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002275/1.659, allocations: 39.53 kB / 0.6654 GB, free: 83.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=848) (initialization): time 0.02044/1.68, allocations: 8.555 MB / 0.6737 GB, free: 81.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/1.68, allocations: 63.97 kB / 0.6738 GB, free: 81.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001692/1.68, allocations: 138.6 kB / 0.6739 GB, free: 81.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003562/1.684, allocations: 0.9247 MB / 0.6748 GB, free: 81.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006365/1.69, allocations: 1.489 MB / 0.6763 GB, free: 81.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/1.701, allocations: 7.23 MB / 0.6833 GB, free: 77.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006796/1.708, allocations: 358.1 kB / 0.6837 GB, free: 76.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001132/1.709, allocations: 392.5 kB / 0.684 GB, free: 76.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * 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 (788): * Single equations (assignments): 783 * 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.001218/1.71, allocations: 0.6099 MB / 0.6846 GB, free: 76.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009246/1.711, allocations: 427 kB / 0.685 GB, free: 76.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008074/1.719, allocations: 3.451 MB / 0.6884 GB, free: 74.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-05/1.719, allocations: 21.72 kB / 0.6884 GB, free: 74.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/1.719, allocations: 10.48 kB / 0.6885 GB, free: 74.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-05/1.719, allocations: 7.594 kB / 0.6885 GB, free: 74.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02084/1.74, allocations: 9.066 MB / 0.6973 GB, free: 71.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/1.74, allocations: 0 / 0.6973 GB, free: 71.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002338/1.743, allocations: 330.3 kB / 0.6976 GB, free: 71.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003224/1.746, allocations: 0.6933 MB / 0.6983 GB, free: 71.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003871/1.746, allocations: 34.62 kB / 0.6983 GB, free: 71.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009967/1.756, allocations: 6.559 MB / 0.7047 GB, free: 67.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.489e-06/1.756, allocations: 3.531 kB / 0.7047 GB, free: 67.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/1.768, allocations: 6.135 MB / 0.7107 GB, free: 64.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/1.77, allocations: 0.7349 MB / 0.7115 GB, free: 63.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/1.772, allocations: 33.56 kB / 0.7115 GB, free: 63.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002749/1.774, allocations: 115.9 kB / 0.7116 GB, free: 63.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005327/1.775, allocations: 130 kB / 0.7117 GB, free: 63.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002006/1.775, allocations: 55.7 kB / 0.7118 GB, free: 63.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006567/1.782, allocations: 2.953 MB / 0.7147 GB, free: 62.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.109e-06/1.782, allocations: 0 / 0.7147 GB, free: 62.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008032/1.79, allocations: 1.169 MB / 0.7158 GB, free: 62.73 MB / 426.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 () * 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.0006399/1.791, allocations: 178.5 kB / 0.716 GB, free: 62.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01106/1.802, allocations: 5.556 MB / 0.7214 GB, free: 59.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.291e-06/1.802, allocations: 0 / 0.7214 GB, free: 59.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003708/1.805, allocations: 1.92 MB / 0.7233 GB, free: 57.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003729/1.809, allocations: 0.5229 MB / 0.7238 GB, free: 57.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02352/1.833, allocations: 9.839 MB / 0.7334 GB, free: 48.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008161/1.841, allocations: 4.117 MB / 0.7374 GB, free: 45.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/1.842, allocations: 334.9 kB / 0.7377 GB, free: 45.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.805e-06/1.843, allocations: 0 / 0.7377 GB, free: 45.05 MB / 426.7 MB Notification: Performance of Templates: time 0.4183/2.261, allocations: 111.4 MB / 0.8465 GB, free: 78.14 MB / 442.7 MB