Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|position1.w|position2.w|r1.phi|r2.phi|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 1.815/1.815, allocations: 171.2 MB / 186.7 MB, free: 1.023 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000574/0.0005742, allocations: 8 kB / 233.9 MB, free: 2.375 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09979/0.1004, allocations: 38.76 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3784/0.4789, allocations: 87.36 MB / 360 MB, free: 2.293 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/0.4793, allocations: 98.06 kB / 360.1 MB, free: 2.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6905/1.17, allocations: 97.42 MB / 457.5 MB, free: 72.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/1.17, allocations: 0 / 457.5 MB, free: 72.35 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003712/1.17, allocations: 107.3 kB / 457.6 MB, free: 72.34 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.0316/1.202, allocations: 5.763 MB / 463.4 MB, free: 70.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.202, allocations: 11 kB / 463.4 MB, free: 70.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0174/1.219, allocations: 2.321 MB / 465.7 MB, free: 69.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01803/1.237, allocations: 4.928 MB / 470.6 MB, free: 69.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004904/1.238, allocations: 393.3 kB / 471 MB, free: 69.13 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003074/1.241, allocations: 0.5108 MB / 471.5 MB, free: 69.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03927/1.28, allocations: 13.02 MB / 484.5 MB, free: 64.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003049/1.281, allocations: 72.56 kB / 484.6 MB, free: 64.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00232/1.283, allocations: 247.8 kB / 484.9 MB, free: 64.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002808/1.286, allocations: 1.202 MB / 486.1 MB, free: 64.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0352/1.321, allocations: 11.21 MB / 497.3 MB, free: 59.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09026/1.411, allocations: 57.06 MB / 0.5413 GB, free: 3.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02615/1.438, allocations: 5.198 MB / 0.5464 GB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/1.44, allocations: 0.6846 MB / 0.5471 GB, free: 13.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.959e-05/1.44, allocations: 67.81 kB / 0.5472 GB, free: 13.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=221): time 6.452e-06/1.44, allocations: 0 / 0.5472 GB, free: 13.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=252): time 0.3961/1.836, allocations: 26.25 MB / 0.5728 GB, free: 77.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/1.836, allocations: 162.9 kB / 0.5729 GB, free: 77.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01532/1.851, allocations: 4.592 MB / 0.5774 GB, free: 77.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001118/1.853, allocations: 60.42 kB / 0.5775 GB, free: 77.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005042/1.858, allocations: 3.573 MB / 0.581 GB, free: 75.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002473/1.86, allocations: 0.948 MB / 0.5819 GB, free: 74.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001718/1.862, allocations: 138.3 kB / 0.582 GB, free: 74.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.001099/1.863, allocations: 0.6006 MB / 0.5826 GB, free: 74.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01242/1.876, allocations: 3.055 MB / 0.5856 GB, free: 74.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01612/1.892, allocations: 7.076 MB / 0.5925 GB, free: 68.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01596/1.908, allocations: 4.553 MB / 0.597 GB, free: 67.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002543/1.908, allocations: 38.5 kB / 0.597 GB, free: 67.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.04309/1.951, allocations: 10.97 MB / 0.6077 GB, free: 63.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/1.951, allocations: 68.84 kB / 0.6078 GB, free: 63.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001926/1.952, allocations: 144 kB / 0.6079 GB, free: 63.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005076/1.957, allocations: 1.132 MB / 0.609 GB, free: 63.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01528/1.972, allocations: 1.729 MB / 0.6107 GB, free: 63.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/1.989, allocations: 6.044 MB / 0.6166 GB, free: 60.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0129/2.002, allocations: 419.6 kB / 0.617 GB, free: 60.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002245/2.004, allocations: 439.9 kB / 0.6174 GB, free: 59.97 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 650 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 866 * 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.00931/2.013, allocations: 2.434 MB / 0.6198 GB, free: 58.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001771/2.015, allocations: 420.9 kB / 0.6202 GB, free: 58.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02373/2.039, allocations: 5.579 MB / 0.6256 GB, free: 56.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.495e-05/2.039, allocations: 28.59 kB / 0.6257 GB, free: 56.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-05/2.039, allocations: 9.312 kB / 0.6257 GB, free: 56.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-05/2.039, allocations: 12.38 kB / 0.6257 GB, free: 56.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05682/2.096, allocations: 12.2 MB / 0.6376 GB, free: 48.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.338e-05/2.096, allocations: 4.703 kB / 0.6376 GB, free: 48.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008046/2.104, allocations: 0.501 MB / 0.6381 GB, free: 48.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005659/2.11, allocations: 0.9258 MB / 0.639 GB, free: 47.81 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007897/2.111, allocations: 52 kB / 0.6391 GB, free: 47.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01102/2.122, allocations: 5.758 MB / 0.6447 GB, free: 42.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/2.122, allocations: 4 kB / 0.6447 GB, free: 42.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02508/2.147, allocations: 9.468 MB / 0.6539 GB, free: 34.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003826/2.151, allocations: 0.9088 MB / 0.6548 GB, free: 33.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001931/2.153, allocations: 43.66 kB / 0.6549 GB, free: 33.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00507/2.158, allocations: 183.5 kB / 0.655 GB, free: 33.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00127/2.159, allocations: 147.7 kB / 0.6552 GB, free: 33.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007492/2.16, allocations: 73.45 kB / 0.6552 GB, free: 33.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.007893/2.168, allocations: 2.871 MB / 0.658 GB, free: 30.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.81e-07/2.168, allocations: 0 / 0.658 GB, free: 30.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.009499/2.178, allocations: 1.262 MB / 0.6593 GB, free: 29.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 221 * 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 Backend phase and start with SimCode phase: time 0.001092/2.179, allocations: 190.7 kB / 0.6595 GB, free: 29.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01774/2.196, allocations: 7.293 MB / 0.6666 GB, free: 23.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/2.197, allocations: 8 kB / 0.6666 GB, free: 23.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006938/2.204, allocations: 2.739 MB / 0.6693 GB, free: 20.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004357/2.208, allocations: 463.2 kB / 0.6697 GB, free: 20.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03435/2.242, allocations: 14.1 MB / 0.6835 GB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008795/2.251, allocations: 3.908 MB / 0.6873 GB, free: 3.023 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.01106/2.262, allocations: 2.322 MB / 0.6896 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002697/2.265, allocations: 315.3 kB / 0.6899 GB, free: 408 kB / 362.7 MB Notification: Performance of SimCode: time 1.964e-06/2.265, allocations: 0 / 0.6899 GB, free: 408 kB / 362.7 MB Notification: Performance of Templates: time 0.4081/2.673, allocations: 47.51 MB / 0.7363 GB, free: 80.43 MB / 378.7 MB