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.Rotor1D_2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 2.195/2.195, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.651e-05/1.663e-05, allocations: 4 kB / 303.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2702, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1523/0.4226, allocations: 101.2 MB / 459.3 MB, free: 9.555 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.4229, allocations: 79.95 kB / 459.4 MB, free: 9.477 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5202/0.9431, allocations: 82.36 MB / 0.529 GB, free: 39.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.902e-06/0.9432, allocations: 0 / 0.529 GB, free: 39.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002179/0.9434, allocations: 79.98 kB / 0.5291 GB, free: 39.41 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.01727/0.9607, allocations: 4.494 MB / 0.5335 GB, free: 34.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.9607, allocations: 8.031 kB / 0.5335 GB, free: 34.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01245/0.9732, allocations: 2.217 MB / 0.5357 GB, free: 32.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/0.9863, allocations: 4.497 MB / 0.5401 GB, free: 28.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/0.9866, allocations: 143.9 kB / 0.5402 GB, free: 27.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001966/0.9886, allocations: 251.8 kB / 0.5404 GB, free: 27.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01325/1.002, allocations: 6.404 MB / 0.5467 GB, free: 21.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01973/1.022, allocations: 9.61 MB / 0.5561 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002326/1.022, allocations: 63.39 kB / 0.5561 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001564/1.024, allocations: 36 kB / 0.5562 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001805/1.025, allocations: 1.007 MB / 0.5571 GB, free: 9.535 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07249/1.098, allocations: 45.41 MB / 0.6015 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005939/1.104, allocations: 3.236 MB / 0.6047 GB, free: 7.414 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003319/1.107, allocations: 1.761 MB / 0.6064 GB, free: 5.645 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/1.118, allocations: 4.619 MB / 0.6109 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.359e-05/1.118, allocations: 55.22 kB / 0.6109 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of pre-optimization done (n=142): time 5.406e-06/1.118, allocations: 4 kB / 0.6109 GB, free: 0.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=148): time 0.03017/1.148, allocations: 11.05 MB / 0.6217 GB, free: 5.594 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/1.149, allocations: 141.3 kB / 0.6219 GB, free: 5.426 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006896/1.156, allocations: 3.064 MB / 0.6249 GB, free: 2.367 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002986/1.156, allocations: 25.7 kB / 0.6249 GB, free: 2.336 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3355/1.491, allocations: 3.17 MB / 0.628 GB, free: 108.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008957/1.492, allocations: 0.5818 MB / 0.6286 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005556/1.493, allocations: 0.6562 kB / 0.6286 GB, free: 108.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005506/1.494, allocations: 0.5663 MB / 0.6291 GB, free: 108.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004334/1.498, allocations: 1.83 MB / 0.6309 GB, free: 108.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006911/1.505, allocations: 5.633 MB / 0.6364 GB, free: 103.2 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005853/1.511, allocations: 3.179 MB / 0.6395 GB, free: 103.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001257/1.511, allocations: 46.31 kB / 0.6395 GB, free: 103.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.0175/1.528, allocations: 7.197 MB / 0.6466 GB, free: 102.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/1.529, allocations: 67.91 kB / 0.6466 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/1.529, allocations: 137.3 kB / 0.6468 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003097/1.532, allocations: 0.9138 MB / 0.6477 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005449/1.537, allocations: 1.4 MB / 0.649 GB, free: 102.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006928/1.544, allocations: 4.609 MB / 0.6535 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/1.55, allocations: 208.6 kB / 0.6537 GB, free: 101.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001198/1.551, allocations: 383.9 kB / 0.6541 GB, free: 101.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (741): * Single equations (assignments): 737 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001013/1.552, allocations: 451.8 kB / 0.6545 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006416/1.553, allocations: 316.5 kB / 0.6548 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006359/1.559, allocations: 2.718 MB / 0.6575 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.944e-05/1.559, allocations: 16.88 kB / 0.6575 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/1.559, allocations: 6.281 kB / 0.6575 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.219e-05/1.559, allocations: 8.953 kB / 0.6575 GB, free: 100.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/1.574, allocations: 6.206 MB / 0.6636 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/1.574, allocations: 3.719 kB / 0.6636 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/1.576, allocations: 249.7 kB / 0.6638 GB, free: 100.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/1.579, allocations: 0.6942 MB / 0.6645 GB, free: 100 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002381/1.579, allocations: 7.375 kB / 0.6645 GB, free: 100 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006496/1.586, allocations: 4.191 MB / 0.6686 GB, free: 97.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.728e-06/1.586, allocations: 1.406 kB / 0.6686 GB, free: 97.67 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008947/1.595, allocations: 4.998 MB / 0.6735 GB, free: 95.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/1.596, allocations: 0.5727 MB / 0.674 GB, free: 95.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004977/1.597, allocations: 5.891 kB / 0.674 GB, free: 95.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001764/1.598, allocations: 72.66 kB / 0.6741 GB, free: 95.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/1.599, allocations: 83.34 kB / 0.6742 GB, free: 95.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/1.599, allocations: 44.7 kB / 0.6742 GB, free: 95.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003515/1.603, allocations: 2.03 MB / 0.6762 GB, free: 94.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.449e-06/1.603, allocations: 0 / 0.6762 GB, free: 94.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006397/1.609, allocations: 0.8134 MB / 0.677 GB, free: 94.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 113 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004693/1.609, allocations: 141.2 kB / 0.6771 GB, free: 94.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007846/1.617, allocations: 4.382 MB / 0.6814 GB, free: 92.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.867e-06/1.617, allocations: 4 kB / 0.6814 GB, free: 92.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002318/1.62, allocations: 1.32 MB / 0.6827 GB, free: 92.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/1.622, allocations: 314.8 kB / 0.683 GB, free: 92.15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/1.638, allocations: 7.566 MB / 0.6904 GB, free: 86.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005007/1.643, allocations: 3.31 MB / 0.6936 GB, free: 83.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.644, allocations: 270.4 kB / 0.6939 GB, free: 83.59 MB / 458.7 MB Notification: Performance of SimCode: time 1.709e-06/1.644, allocations: 0 / 0.6939 GB, free: 83.59 MB / 458.7 MB Notification: Performance of Templates: time 0.09617/1.741, allocations: 68.82 MB / 0.7611 GB, free: 22.6 MB / 458.7 MB