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.221/2.221, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.96e-05/2.976e-05, allocations: 4 kB / 309.7 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3187, allocations: 54.85 MB / 364.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.4698, allocations: 102.4 MB / 467 MB, free: 10.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.4701, allocations: 83.95 kB / 467 MB, free: 9.977 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6407/1.111, allocations: 106.2 MB / 0.5598 GB, free: 104.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.111, allocations: 0 / 0.5598 GB, free: 104.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003174/1.111, allocations: 107.8 kB / 0.5599 GB, free: 104.1 MB / 458.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.01644/1.128, allocations: 5.254 MB / 0.565 GB, free: 102 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/1.128, allocations: 11.06 kB / 0.565 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03565/1.163, allocations: 6.898 MB / 0.5718 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02672/1.19, allocations: 6.86 MB / 0.5785 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007195/1.191, allocations: 409.4 kB / 0.5789 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003214/1.194, allocations: 0.5231 MB / 0.5794 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0382/1.232, allocations: 12.29 MB / 0.5914 GB, free: 93.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000285/1.233, allocations: 80.39 kB / 0.5914 GB, free: 93.43 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001683/1.234, allocations: 254.3 kB / 0.5917 GB, free: 93.29 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001847/1.236, allocations: 1.127 MB / 0.5928 GB, free: 93.07 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02343/1.26, allocations: 9.801 MB / 0.6024 GB, free: 87.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06492/1.325, allocations: 56.63 MB / 0.6577 GB, free: 29.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/1.337, allocations: 4.121 MB / 0.6617 GB, free: 25.29 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003423/1.341, allocations: 2.253 MB / 0.6639 GB, free: 23.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01657/1.357, allocations: 9.499 MB / 0.6732 GB, free: 13.43 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/1.357, allocations: 54.53 kB / 0.6732 GB, free: 13.37 MB / 458.7 MB Notification: Performance of pre-optimization done (n=190): time 6.356e-06/1.357, allocations: 0 / 0.6732 GB, free: 13.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=212): time 0.05118/1.409, allocations: 15.82 MB / 0.6887 GB, free: 13.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/1.409, allocations: 209.2 kB / 0.6889 GB, free: 13.21 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009296/1.418, allocations: 4.18 MB / 0.6929 GB, free: 9.035 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003944/1.418, allocations: 57.7 kB / 0.693 GB, free: 8.973 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003541/1.422, allocations: 3.616 MB / 0.6965 GB, free: 5.359 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/1.423, allocations: 0.8106 MB / 0.6973 GB, free: 4.555 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005205/1.424, allocations: 132 kB / 0.6974 GB, free: 4.426 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005834/1.424, allocations: 0.5875 MB / 0.698 GB, free: 3.828 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004749/1.429, allocations: 2.168 MB / 0.7001 GB, free: 1.656 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2775/1.707, allocations: 6.076 MB / 0.7061 GB, free: 104.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007661/1.714, allocations: 3.616 MB / 0.7096 GB, free: 104.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000228/1.715, allocations: 38.97 kB / 0.7096 GB, free: 104.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=849) (initialization): time 0.02219/1.737, allocations: 8.567 MB / 0.718 GB, free: 103.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001882/1.737, allocations: 65.09 kB / 0.7181 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002974/1.737, allocations: 138.8 kB / 0.7182 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003924/1.741, allocations: 0.9179 MB / 0.7191 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006858/1.748, allocations: 1.494 MB / 0.7206 GB, free: 103.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/1.759, allocations: 7.232 MB / 0.7276 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007259/1.767, allocations: 355.2 kB / 0.728 GB, free: 100.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/1.768, allocations: 391.6 kB / 0.7283 GB, free: 100.8 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 () * 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.001478/1.769, allocations: 0.6168 MB / 0.7289 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009135/1.77, allocations: 426.3 kB / 0.7293 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008163/1.779, allocations: 3.463 MB / 0.7327 GB, free: 99.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.774e-05/1.779, allocations: 23.38 kB / 0.7327 GB, free: 99.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/1.779, allocations: 8.906 kB / 0.7328 GB, free: 99.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-05/1.779, allocations: 8.062 kB / 0.7328 GB, free: 99.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02271/1.801, allocations: 9.052 MB / 0.7416 GB, free: 96.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/1.802, allocations: 0 / 0.7416 GB, free: 96.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002196/1.804, allocations: 337.8 kB / 0.7419 GB, free: 96.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002813/1.807, allocations: 0.6857 MB / 0.7426 GB, free: 96.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003592/1.807, allocations: 40.17 kB / 0.7426 GB, free: 96.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009784/1.817, allocations: 6.544 MB / 0.749 GB, free: 92.13 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.119e-06/1.817, allocations: 3.844 kB / 0.749 GB, free: 92.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/1.828, allocations: 6.131 MB / 0.755 GB, free: 89.72 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002197/1.83, allocations: 0.7343 MB / 0.7557 GB, free: 89.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/1.831, allocations: 38.42 kB / 0.7558 GB, free: 89.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00259/1.834, allocations: 112.1 kB / 0.7559 GB, free: 89.24 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004843/1.835, allocations: 129.7 kB / 0.756 GB, free: 89.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/1.835, allocations: 55.56 kB / 0.756 GB, free: 89.21 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006471/1.841, allocations: 2.949 MB / 0.7589 GB, free: 88.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.116e-06/1.841, allocations: 0 / 0.7589 GB, free: 88.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007712/1.849, allocations: 1.179 MB / 0.7601 GB, free: 88.05 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 () * 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.0006256/1.85, allocations: 171.3 kB / 0.7602 GB, free: 87.92 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01091/1.861, allocations: 5.557 MB / 0.7657 GB, free: 85.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.9e-06/1.861, allocations: 3 kB / 0.7657 GB, free: 85.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004067/1.865, allocations: 1.924 MB / 0.7676 GB, free: 84.94 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/1.868, allocations: 0.5163 MB / 0.7681 GB, free: 84.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02461/1.893, allocations: 9.833 MB / 0.7777 GB, free: 80.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008968/1.902, allocations: 4.104 MB / 0.7817 GB, free: 77.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/1.904, allocations: 337.8 kB / 0.782 GB, free: 77.19 MB / 474.7 MB Notification: Performance of SimCode: time 3.044e-06/1.904, allocations: 0 / 0.782 GB, free: 77.19 MB / 474.7 MB Notification: Performance of Templates: time 0.446/2.35, allocations: 111.4 MB / 0.8908 GB, free: 118.9 MB / 490.7 MB