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/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.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.152/2.152, allocations: 235 MB / 248.1 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.065e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3226, allocations: 54.85 MB / 364.5 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.4759, allocations: 101.9 MB / 466.4 MB, free: 10.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.4762, allocations: 84.56 kB / 466.5 MB, free: 10.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6288/1.105, allocations: 84.01 MB / 0.5376 GB, free: 105.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.021e-06/1.105, allocations: 3.312 kB / 0.5376 GB, free: 105.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002548/1.105, allocations: 89.06 kB / 0.5377 GB, free: 105.6 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.01764/1.123, allocations: 4.488 MB / 0.5421 GB, free: 103.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.123, allocations: 17.61 kB / 0.5421 GB, free: 103.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/1.136, allocations: 2.212 MB / 0.5443 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01371/1.15, allocations: 4.508 MB / 0.5487 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003748/1.15, allocations: 315.9 kB / 0.549 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/1.152, allocations: 430 kB / 0.5494 GB, free: 103 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02423/1.176, allocations: 10.66 MB / 0.5598 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002/1.176, allocations: 66.23 kB / 0.5599 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/1.178, allocations: 208.3 kB / 0.5601 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001842/1.18, allocations: 1.011 MB / 0.5611 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02189/1.201, allocations: 8.902 MB / 0.5697 GB, free: 98.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1011/1.303, allocations: 47.4 MB / 0.616 GB, free: 63.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/1.315, allocations: 3.578 MB / 0.6195 GB, free: 61.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003158/1.318, allocations: 1.797 MB / 0.6213 GB, free: 61.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00923/1.327, allocations: 4.742 MB / 0.6259 GB, free: 57.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/1.328, allocations: 51.28 kB / 0.626 GB, free: 57.33 MB / 458.7 MB Notification: Performance of pre-optimization done (n=142): time 6.562e-06/1.328, allocations: 0 / 0.626 GB, free: 57.33 MB / 458.7 MB Notification: Performance of matching and sorting (n=148): time 0.02857/1.356, allocations: 9.883 MB / 0.6356 GB, free: 48.72 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.831e-05/1.356, allocations: 149.2 kB / 0.6358 GB, free: 48.55 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006935/1.363, allocations: 3.592 MB / 0.6393 GB, free: 45.33 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002986/1.364, allocations: 41.7 kB / 0.6393 GB, free: 45.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002075/1.366, allocations: 3.064 MB / 0.6423 GB, free: 42.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007315/1.366, allocations: 0.6018 MB / 0.6429 GB, free: 41.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004523/1.367, allocations: 112 kB / 0.643 GB, free: 41.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003393/1.367, allocations: 0.5533 MB / 0.6435 GB, free: 41.38 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003728/1.371, allocations: 1.89 MB / 0.6454 GB, free: 39.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005705/1.377, allocations: 5.551 MB / 0.6508 GB, free: 32.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005817/1.383, allocations: 3.209 MB / 0.6539 GB, free: 29.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.872e-05/1.383, allocations: 40 kB / 0.654 GB, free: 29.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01725/1.4, allocations: 7.791 MB / 0.6616 GB, free: 22.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.384e-05/1.4, allocations: 65 kB / 0.6616 GB, free: 21.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001251/1.4, allocations: 128 kB / 0.6618 GB, free: 21.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002951/1.403, allocations: 0.9154 MB / 0.6627 GB, free: 20.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005311/1.409, allocations: 1.353 MB / 0.664 GB, free: 19.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007363/1.416, allocations: 4.77 MB / 0.6686 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00566/1.422, allocations: 319.8 kB / 0.6689 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000929/1.423, allocations: 364 kB / 0.6693 GB, free: 14.03 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * 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 (711): * Single equations (assignments): 707 * 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.0008887/1.424, allocations: 0.555 MB / 0.6698 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006654/1.424, allocations: 343.5 kB / 0.6702 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006224/1.43, allocations: 2.827 MB / 0.6729 GB, free: 10.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.17e-05/1.43, allocations: 16 kB / 0.6729 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.431, allocations: 7.938 kB / 0.6729 GB, free: 10.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/1.431, allocations: 11.97 kB / 0.673 GB, free: 10.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/1.447, allocations: 7.087 MB / 0.6799 GB, free: 3.121 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/1.447, allocations: 4 kB / 0.6799 GB, free: 3.117 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/1.448, allocations: 247.7 kB / 0.6801 GB, free: 2.875 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002605/1.451, allocations: 0.7034 MB / 0.6808 GB, free: 2.168 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002534/1.451, allocations: 24 kB / 0.6808 GB, free: 2.145 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007407/1.459, allocations: 4.334 MB / 0.6851 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-06/1.459, allocations: 0 / 0.6851 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/1.47, allocations: 5.138 MB / 0.6901 GB, free: 8.492 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002017/1.472, allocations: 0.6059 MB / 0.6907 GB, free: 7.863 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005376/1.473, allocations: 24 kB / 0.6907 GB, free: 7.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001778/1.475, allocations: 95.88 kB / 0.6908 GB, free: 7.746 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000321/1.475, allocations: 88.81 kB / 0.6909 GB, free: 7.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/1.475, allocations: 43.98 kB / 0.6909 GB, free: 7.617 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005871/1.481, allocations: 2.492 MB / 0.6933 GB, free: 5.105 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.017e-06/1.481, allocations: 3.938 kB / 0.6934 GB, free: 5.102 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006696/1.488, allocations: 0.9528 MB / 0.6943 GB, free: 4.152 MB / 474.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.000555/1.488, allocations: 158.8 kB / 0.6944 GB, free: 3.992 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01036/1.499, allocations: 4.604 MB / 0.6989 GB, free: 15.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.371e-06/1.499, allocations: 0 / 0.6989 GB, free: 15.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002861/1.502, allocations: 1.355 MB / 0.7003 GB, free: 14.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/1.504, allocations: 397.9 kB / 0.7006 GB, free: 13.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01962/1.524, allocations: 7.643 MB / 0.7081 GB, free: 5.984 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007077/1.531, allocations: 3.316 MB / 0.7113 GB, free: 2.656 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/1.532, allocations: 279.4 kB / 0.7116 GB, free: 2.383 MB / 490.7 MB Notification: Performance of SimCode: time 1.829e-06/1.533, allocations: 4 kB / 0.7116 GB, free: 2.379 MB / 490.7 MB Notification: Performance of Templates: time 0.387/1.919, allocations: 71.21 MB / 0.7811 GB, free: 104.2 MB / 490.7 MB