Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.152/2.152, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004258, allocations: 8 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3441, allocations: 48.71 MB / 331.8 MB, free: 6.484 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1734/0.5176, allocations: 95.25 MB / 427.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003554/0.5181, allocations: 87.95 kB / 427.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7153/1.233, allocations: 106.9 MB / 0.5215 GB, free: 75.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.196e-06/1.233, allocations: 0 / 0.5215 GB, free: 75.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004134/1.234, allocations: 108 kB / 0.5216 GB, free: 75.57 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: 1833 * Number of variables: 1833 Notification: Performance of Generate backend data structure: time 0.02457/1.258, allocations: 5.732 MB / 0.5272 GB, free: 69.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/1.259, allocations: 12.03 kB / 0.5272 GB, free: 69.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05013/1.309, allocations: 6.889 MB / 0.5339 GB, free: 62.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02666/1.335, allocations: 6.898 MB / 0.5407 GB, free: 55.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005361/1.336, allocations: 402.6 kB / 0.5411 GB, free: 55.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003085/1.339, allocations: 0.527 MB / 0.5416 GB, free: 54.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03574/1.375, allocations: 12.44 MB / 0.5537 GB, free: 41.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003676/1.375, allocations: 75.34 kB / 0.5538 GB, free: 41.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002259/1.378, allocations: 259.9 kB / 0.554 GB, free: 41.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002275/1.38, allocations: 1.125 MB / 0.5551 GB, free: 39.92 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02866/1.409, allocations: 9.987 MB / 0.5649 GB, free: 29.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1071/1.516, allocations: 56.55 MB / 0.6201 GB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3341/1.85, allocations: 4.149 MB / 0.6242 GB, free: 100.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02445/1.875, allocations: 9.504 MB / 0.6335 GB, free: 99.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.952e-05/1.875, allocations: 53.78 kB / 0.6335 GB, free: 99.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 6.913e-06/1.875, allocations: 1.625 kB / 0.6335 GB, free: 99.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=212): time 0.08297/1.958, allocations: 18.74 MB / 0.6518 GB, free: 95.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/1.958, allocations: 207.2 kB / 0.652 GB, free: 95.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01042/1.968, allocations: 4.751 MB / 0.6566 GB, free: 94.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004999/1.969, allocations: 56.05 kB / 0.6567 GB, free: 94.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003022/1.972, allocations: 3.624 MB / 0.6602 GB, free: 91.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001226/1.973, allocations: 0.804 MB / 0.661 GB, free: 90.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007229/1.974, allocations: 132.3 kB / 0.6612 GB, free: 90.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004033/1.974, allocations: 0.5898 MB / 0.6617 GB, free: 90.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005497/1.98, allocations: 2.227 MB / 0.6639 GB, free: 89.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00776/1.988, allocations: 6.173 MB / 0.6699 GB, free: 83.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00846/1.996, allocations: 3.633 MB / 0.6735 GB, free: 82.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001684/1.996, allocations: 42.25 kB / 0.6735 GB, free: 82.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=848) (initialization): time 0.02454/2.021, allocations: 8.698 MB / 0.682 GB, free: 79.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000153/2.021, allocations: 63.16 kB / 0.6821 GB, free: 79.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002812/2.021, allocations: 143.2 kB / 0.6822 GB, free: 79.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007123/2.029, allocations: 0.9246 MB / 0.6831 GB, free: 79.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/2.04, allocations: 1.49 MB / 0.6846 GB, free: 79.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/2.053, allocations: 7.422 MB / 0.6918 GB, free: 74.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007308/2.061, allocations: 352.4 kB / 0.6922 GB, free: 74.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/2.062, allocations: 395.2 kB / 0.6925 GB, free: 73.73 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 () * Number of clocked 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.006773/2.069, allocations: 2.568 MB / 0.695 GB, free: 71.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/2.07, allocations: 430.2 kB / 0.6954 GB, free: 71.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/2.08, allocations: 3.531 MB / 0.6989 GB, free: 68.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.208e-05/2.08, allocations: 20 kB / 0.6989 GB, free: 68.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/2.08, allocations: 8 kB / 0.6989 GB, free: 68.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.73e-05/2.08, allocations: 7.312 kB / 0.6989 GB, free: 68.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02539/2.106, allocations: 9.143 MB / 0.7079 GB, free: 60.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.413e-05/2.106, allocations: 4 kB / 0.7079 GB, free: 60.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0032/2.109, allocations: 330.7 kB / 0.7082 GB, free: 60.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003819/2.113, allocations: 0.6937 MB / 0.7089 GB, free: 59.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003898/2.113, allocations: 36 kB / 0.7089 GB, free: 59.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/2.125, allocations: 6.734 MB / 0.7155 GB, free: 53.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/2.125, allocations: 0 / 0.7155 GB, free: 53.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01546/2.141, allocations: 6.165 MB / 0.7215 GB, free: 48.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002791/2.144, allocations: 0.7342 MB / 0.7222 GB, free: 47.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001557/2.145, allocations: 33.33 kB / 0.7222 GB, free: 47.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003574/2.149, allocations: 109.2 kB / 0.7223 GB, free: 47.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006949/2.15, allocations: 137.6 kB / 0.7225 GB, free: 47.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002366/2.15, allocations: 65.92 kB / 0.7225 GB, free: 47.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007724/2.158, allocations: 2.994 MB / 0.7255 GB, free: 44.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.91e-07/2.158, allocations: 0 / 0.7255 GB, free: 44.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008095/2.166, allocations: 1.171 MB / 0.7266 GB, free: 43.65 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 () * 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.0008029/2.167, allocations: 178.6 kB / 0.7268 GB, free: 43.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01356/2.18, allocations: 5.666 MB / 0.7323 GB, free: 38.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/2.18, allocations: 0 / 0.7323 GB, free: 38.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005203/2.185, allocations: 1.964 MB / 0.7342 GB, free: 36.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00477/2.19, allocations: 0.5227 MB / 0.7347 GB, free: 36.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0343/2.225, allocations: 13.98 MB / 0.7484 GB, free: 23.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009678/2.234, allocations: 4.111 MB / 0.7524 GB, free: 20.07 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001929/2.236, allocations: 327.4 kB / 0.7527 GB, free: 19.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/2.236, allocations: 0 / 0.7527 GB, free: 19.75 MB / 426.7 MB Notification: Performance of Templates: time 0.5503/2.787, allocations: 111.4 MB / 0.8615 GB, free: 62.74 MB / 442.7 MB