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.Rotor1D_2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 1.819/1.819, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.226e-05, allocations: 8 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08507/0.08513, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.4477, allocations: 95.11 MB / 421.7 MB, free: 12.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.448, allocations: 85.62 kB / 421.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.37/0.8181, allocations: 84 MB / 0.4939 GB, free: 15.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.8181, allocations: 4 kB / 0.4939 GB, free: 15.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002578/0.8184, allocations: 80 kB / 0.494 GB, free: 15.45 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01928/0.8377, allocations: 4.486 MB / 0.4983 GB, free: 10.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.8378, allocations: 8.031 kB / 0.4984 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0134/0.8512, allocations: 2.217 MB / 0.5005 GB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01513/0.8663, allocations: 4.504 MB / 0.5049 GB, free: 4.102 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004753/0.8669, allocations: 320.4 kB / 0.5052 GB, free: 3.785 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002051/0.8689, allocations: 427.8 kB / 0.5056 GB, free: 3.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02985/0.8988, allocations: 10.66 MB / 0.516 GB, free: 7.699 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002472/0.8991, allocations: 55.47 kB / 0.5161 GB, free: 7.645 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001665/0.9008, allocations: 207.9 kB / 0.5163 GB, free: 7.441 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002304/0.9031, allocations: 1.01 MB / 0.5173 GB, free: 6.426 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2656/1.169, allocations: 8.904 MB / 0.526 GB, free: 89.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06091/1.23, allocations: 47.4 MB / 0.5723 GB, free: 61.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01426/1.244, allocations: 3.568 MB / 0.5757 GB, free: 60.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003229/1.247, allocations: 1.799 MB / 0.5775 GB, free: 60.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009647/1.257, allocations: 4.741 MB / 0.5821 GB, free: 58.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/1.257, allocations: 47 kB / 0.5822 GB, free: 58.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 6.059e-06/1.257, allocations: 0 / 0.5822 GB, free: 58.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=148): time 0.03116/1.288, allocations: 9.9 MB / 0.5918 GB, free: 54.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/1.288, allocations: 140.4 kB / 0.592 GB, free: 54.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007492/1.296, allocations: 3.597 MB / 0.5955 GB, free: 52.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003091/1.296, allocations: 41.64 kB / 0.5955 GB, free: 52.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002079/1.298, allocations: 3.07 MB / 0.5985 GB, free: 50.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007519/1.299, allocations: 0.5902 MB / 0.5991 GB, free: 49.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005304/1.3, allocations: 113.7 kB / 0.5992 GB, free: 49.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003756/1.3, allocations: 0.5475 MB / 0.5998 GB, free: 49.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003828/1.304, allocations: 1.892 MB / 0.6016 GB, free: 48.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005823/1.31, allocations: 5.558 MB / 0.607 GB, free: 43.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005934/1.316, allocations: 3.217 MB / 0.6102 GB, free: 42.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001085/1.316, allocations: 42.66 kB / 0.6102 GB, free: 42.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01849/1.334, allocations: 7.79 MB / 0.6178 GB, free: 39.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/1.335, allocations: 62.5 kB / 0.6179 GB, free: 39.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000157/1.335, allocations: 136.5 kB / 0.618 GB, free: 39.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003393/1.338, allocations: 0.9111 MB / 0.6189 GB, free: 39.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006007/1.344, allocations: 1.347 MB / 0.6202 GB, free: 39.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007668/1.352, allocations: 4.772 MB / 0.6249 GB, free: 36.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006138/1.358, allocations: 320.7 kB / 0.6252 GB, free: 36.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001166/1.359, allocations: 365.7 kB / 0.6255 GB, free: 36.55 MB / 426.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.001433/1.361, allocations: 0.5496 MB / 0.6261 GB, free: 36.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007732/1.361, allocations: 350.7 kB / 0.6264 GB, free: 35.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007174/1.369, allocations: 2.822 MB / 0.6292 GB, free: 34.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.323e-05/1.369, allocations: 22.56 kB / 0.6292 GB, free: 34.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.369, allocations: 3.188 kB / 0.6292 GB, free: 34.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-05/1.369, allocations: 6.422 kB / 0.6292 GB, free: 34.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/1.386, allocations: 7.092 MB / 0.6361 GB, free: 30.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/1.386, allocations: 3.656 kB / 0.6361 GB, free: 30.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/1.388, allocations: 252 kB / 0.6364 GB, free: 30.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/1.391, allocations: 0.6984 MB / 0.637 GB, free: 29.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002948/1.391, allocations: 27.47 kB / 0.6371 GB, free: 29.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006413/1.398, allocations: 4.334 MB / 0.6413 GB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.673e-06/1.398, allocations: 4.031 kB / 0.6413 GB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009386/1.407, allocations: 5.132 MB / 0.6463 GB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/1.409, allocations: 0.6159 MB / 0.6469 GB, free: 20.67 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009222/1.41, allocations: 28 kB / 0.6469 GB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00232/1.412, allocations: 93.33 kB / 0.647 GB, free: 20.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004597/1.413, allocations: 86.62 kB / 0.6471 GB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/1.413, allocations: 46.72 kB / 0.6472 GB, free: 20.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005821/1.419, allocations: 2.506 MB / 0.6496 GB, free: 18.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.055e-06/1.419, allocations: 0 / 0.6496 GB, free: 18.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006645/1.425, allocations: 0.9504 MB / 0.6505 GB, free: 17.31 MB / 426.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.0006495/1.426, allocations: 152.8 kB / 0.6507 GB, free: 17.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008866/1.435, allocations: 4.601 MB / 0.6552 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.589e-06/1.435, allocations: 0 / 0.6552 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/1.437, allocations: 1.354 MB / 0.6565 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/1.44, allocations: 403.5 kB / 0.6569 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/1.458, allocations: 7.641 MB / 0.6643 GB, free: 4.633 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005976/1.464, allocations: 3.317 MB / 0.6676 GB, free: 2.109 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/1.465, allocations: 282.6 kB / 0.6678 GB, free: 1.844 MB / 426.7 MB Notification: Performance of SimCode: time 2.065e-06/1.465, allocations: 0 / 0.6678 GB, free: 1.844 MB / 426.7 MB Notification: Performance of Templates: time 0.3628/1.828, allocations: 71.19 MB / 0.7374 GB, free: 89.28 MB / 442.7 MB