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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.864/1.864, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.504e-05/1.51e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2561, allocations: 48.68 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1623/0.4184, allocations: 94.51 MB / 414.5 MB, free: 1.906 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003636/0.4188, allocations: 79.94 kB / 414.6 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6307/1.05, allocations: 103.8 MB / 0.5062 GB, free: 54.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.739e-06/1.05, allocations: 0 / 0.5062 GB, free: 54.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002951/1.05, allocations: 119.4 kB / 0.5063 GB, free: 54.42 MB / 378.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.01469/1.065, allocations: 5.241 MB / 0.5115 GB, free: 49.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/1.065, allocations: 12.03 kB / 0.5115 GB, free: 49.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03379/1.098, allocations: 6.897 MB / 0.5182 GB, free: 42.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01857/1.117, allocations: 6.867 MB / 0.5249 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/1.117, allocations: 172 kB / 0.5251 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/1.119, allocations: 323.8 kB / 0.5254 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01447/1.134, allocations: 7.205 MB / 0.5324 GB, free: 27.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02192/1.155, allocations: 11.14 MB / 0.5433 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002716/1.156, allocations: 71.34 kB / 0.5434 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001193/1.157, allocations: 32 kB / 0.5434 GB, free: 15.22 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001655/1.159, allocations: 1.125 MB / 0.5445 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3428/1.502, allocations: 55.39 MB / 0.5986 GB, free: 54.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005253/1.507, allocations: 3.407 MB / 0.6019 GB, free: 54.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003339/1.51, allocations: 2.169 MB / 0.604 GB, free: 54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004536/1.511, allocations: 341.3 kB / 0.6044 GB, free: 53.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/1.511, allocations: 58.62 kB / 0.6044 GB, free: 53.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 6.62e-06/1.511, allocations: 0 / 0.6044 GB, free: 53.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.04765/1.558, allocations: 18.68 MB / 0.6227 GB, free: 50.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/1.559, allocations: 204.5 kB / 0.6229 GB, free: 50.14 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006334/1.565, allocations: 3.678 MB / 0.6264 GB, free: 49.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003834/1.565, allocations: 29.27 kB / 0.6265 GB, free: 49.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002424/1.568, allocations: 3.696 MB / 0.6301 GB, free: 47.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009745/1.569, allocations: 0.8114 MB / 0.6309 GB, free: 47.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004786/1.569, allocations: 3.938 kB / 0.6309 GB, free: 47.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004274/1.57, allocations: 0.5994 MB / 0.6315 GB, free: 46.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00394/1.574, allocations: 2.142 MB / 0.6336 GB, free: 46.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005963/1.58, allocations: 6.176 MB / 0.6396 GB, free: 39.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006319/1.586, allocations: 3.626 MB / 0.6431 GB, free: 38.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001194/1.586, allocations: 42.59 kB / 0.6432 GB, free: 38.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.01927/1.605, allocations: 8.005 MB / 0.651 GB, free: 36.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/1.606, allocations: 64.5 kB / 0.651 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001855/1.606, allocations: 146.3 kB / 0.6512 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003621/1.609, allocations: 0.9378 MB / 0.6521 GB, free: 36.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006348/1.616, allocations: 1.563 MB / 0.6536 GB, free: 36.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009963/1.626, allocations: 7.094 MB / 0.6606 GB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006242/1.632, allocations: 229.4 kB / 0.6608 GB, free: 29.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001263/1.633, allocations: 413.3 kB / 0.6612 GB, free: 29.53 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * 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 (824): * Single equations (assignments): 819 * 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.001114/1.635, allocations: 483.3 kB / 0.6616 GB, free: 29.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008359/1.635, allocations: 405.1 kB / 0.662 GB, free: 28.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007077/1.642, allocations: 3.384 MB / 0.6653 GB, free: 25.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-05/1.643, allocations: 27.52 kB / 0.6653 GB, free: 25.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/1.643, allocations: 8 kB / 0.6654 GB, free: 25.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.062e-05/1.643, allocations: 6.516 kB / 0.6654 GB, free: 25.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/1.661, allocations: 8.364 MB / 0.6735 GB, free: 19.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/1.661, allocations: 4 kB / 0.6735 GB, free: 19.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002046/1.663, allocations: 351.1 kB / 0.6739 GB, free: 18.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002733/1.666, allocations: 0.674 MB / 0.6745 GB, free: 18.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002814/1.666, allocations: 6.297 kB / 0.6745 GB, free: 18.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008469/1.674, allocations: 6.213 MB / 0.6806 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.2e-06/1.674, allocations: 0 / 0.6806 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/1.685, allocations: 6.185 MB / 0.6866 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001987/1.687, allocations: 0.7031 MB / 0.6873 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006138/1.688, allocations: 6.953 kB / 0.6873 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/1.69, allocations: 81.91 kB / 0.6874 GB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004242/1.69, allocations: 136.7 kB / 0.6875 GB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/1.691, allocations: 55.53 kB / 0.6876 GB, free: 6.176 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004788/1.695, allocations: 2.497 MB / 0.69 GB, free: 4.004 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.307e-06/1.695, allocations: 2.188 kB / 0.69 GB, free: 4.004 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007259/1.703, allocations: 1.019 MB / 0.691 GB, free: 2.988 MB / 410.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.0004676/1.703, allocations: 150.8 kB / 0.6912 GB, free: 2.848 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01086/1.714, allocations: 5.393 MB / 0.6964 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.935e-06/1.714, allocations: 1.688 kB / 0.6964 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00415/1.718, allocations: 1.9 MB / 0.6983 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/1.721, allocations: 441.9 kB / 0.6987 GB, free: 11.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/1.746, allocations: 9.802 MB / 0.7083 GB, free: 3.227 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009126/1.755, allocations: 4.113 MB / 0.7123 GB, free: 156 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/1.757, allocations: 327.8 kB / 0.7126 GB, free: 15.85 MB / 442.7 MB Notification: Performance of SimCode: time 1.811e-06/1.757, allocations: 0 / 0.7126 GB, free: 15.85 MB / 442.7 MB Notification: Performance of Templates: time 0.4212/2.178, allocations: 109.2 MB / 0.8193 GB, free: 120.1 MB / 474.7 MB