Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadModel(Modelica): time 2.023/2.023, allocations: 194.9 MB / 211.7 MB, free: 2.879 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.00035, allocations: 12 kB / 264.5 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09639, allocations: 44.49 MB / 309 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4892/0.5857, allocations: 93.08 MB / 402.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.586, allocations: 93.2 kB / 402.2 MB, free: 14.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4106/0.9967, allocations: 97.44 MB / 499.7 MB, free: 4.172 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.9968, allocations: 0 / 499.7 MB, free: 4.172 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003957/0.9972, allocations: 103.9 kB / 499.8 MB, free: 4.07 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.03471/1.032, allocations: 5.758 MB / 0.4937 GB, free: 14.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.032, allocations: 8.031 kB / 0.4937 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01877/1.051, allocations: 2.325 MB / 0.4959 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02028/1.071, allocations: 4.933 MB / 0.5008 GB, free: 6.898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006342/1.072, allocations: 390.3 kB / 0.5011 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003361/1.075, allocations: 0.5192 MB / 0.5016 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04556/1.121, allocations: 13.01 MB / 0.5143 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004507/1.121, allocations: 67.41 kB / 0.5144 GB, free: 7.797 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003003/1.124, allocations: 251.9 kB / 0.5146 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003305/1.128, allocations: 1.196 MB / 0.5158 GB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3224/1.45, allocations: 11.22 MB / 0.5268 GB, free: 78.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0963/1.546, allocations: 57.09 MB / 0.5825 GB, free: 47.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02712/1.574, allocations: 5.189 MB / 0.5876 GB, free: 46.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001906/1.576, allocations: 0.6852 MB / 0.5883 GB, free: 45.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.251e-05/1.576, allocations: 61.23 kB / 0.5883 GB, free: 45.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=221): time 6.262e-06/1.576, allocations: 0 / 0.5883 GB, free: 45.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.1221/1.698, allocations: 26.26 MB / 0.614 GB, free: 36.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.084e-05/1.698, allocations: 159.8 kB / 0.6141 GB, free: 36.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01033/1.708, allocations: 4.577 MB / 0.6186 GB, free: 34.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007769/1.709, allocations: 65.14 kB / 0.6186 GB, free: 34.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00332/1.712, allocations: 3.576 MB / 0.6221 GB, free: 32.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001658/1.714, allocations: 0.946 MB / 0.6231 GB, free: 31.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/1.715, allocations: 145.4 kB / 0.6232 GB, free: 31.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000596/1.716, allocations: 0.5982 MB / 0.6238 GB, free: 30.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008326/1.724, allocations: 3.052 MB / 0.6268 GB, free: 29.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01133/1.736, allocations: 7.074 MB / 0.6337 GB, free: 23.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/1.747, allocations: 4.539 MB / 0.6381 GB, free: 20.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/1.747, allocations: 40 kB / 0.6381 GB, free: 20.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.03137/1.778, allocations: 10.97 MB / 0.6489 GB, free: 11.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/1.779, allocations: 72.03 kB / 0.6489 GB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002032/1.779, allocations: 140 kB / 0.6491 GB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004923/1.784, allocations: 1.14 MB / 0.6502 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0116/1.795, allocations: 1.731 MB / 0.6519 GB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/1.807, allocations: 6.042 MB / 0.6578 GB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00969/1.817, allocations: 420.7 kB / 0.6582 GB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003013/1.82, allocations: 435.6 kB / 0.6586 GB, free: 2.91 MB / 410.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.01025/1.831, allocations: 2.447 MB / 0.661 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/1.832, allocations: 410.7 kB / 0.6614 GB, free: 352 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02099/1.853, allocations: 5.667 MB / 0.6669 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.34e-05/1.853, allocations: 35.66 kB / 0.6669 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/1.853, allocations: 7.375 kB / 0.6669 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.767e-05/1.853, allocations: 11.34 kB / 0.6669 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04164/1.895, allocations: 12.21 MB / 0.6789 GB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.361e-05/1.895, allocations: 4 kB / 0.6789 GB, free: 1.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005623/1.9, allocations: 0.4954 MB / 0.6794 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004944/1.905, allocations: 0.9255 MB / 0.6803 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000822/1.906, allocations: 59.67 kB / 0.6803 GB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3107/2.217, allocations: 5.735 MB / 0.6859 GB, free: 88.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/2.217, allocations: 9.469 kB / 0.6859 GB, free: 88.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02656/2.244, allocations: 9.464 MB / 0.6952 GB, free: 88.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003793/2.248, allocations: 0.9106 MB / 0.6961 GB, free: 87.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001605/2.249, allocations: 43.91 kB / 0.6961 GB, free: 87.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003954/2.253, allocations: 170.7 kB / 0.6963 GB, free: 87.92 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007645/2.254, allocations: 153.8 kB / 0.6964 GB, free: 87.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003247/2.254, allocations: 72.66 kB / 0.6965 GB, free: 87.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006447/2.261, allocations: 2.866 MB / 0.6993 GB, free: 87.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.82e-07/2.261, allocations: 0 / 0.6993 GB, free: 87.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01115/2.272, allocations: 1.26 MB / 0.7005 GB, free: 87.73 MB / 426.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.001034/2.273, allocations: 193.1 kB / 0.7007 GB, free: 87.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01798/2.291, allocations: 7.298 MB / 0.7078 GB, free: 87.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/2.291, allocations: 0 / 0.7078 GB, free: 87.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006984/2.298, allocations: 2.743 MB / 0.7105 GB, free: 87.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003957/2.302, allocations: 453.9 kB / 0.7109 GB, free: 87.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0342/2.336, allocations: 14.07 MB / 0.7247 GB, free: 82.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008876/2.345, allocations: 3.909 MB / 0.7285 GB, free: 81.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01079/2.356, allocations: 2.324 MB / 0.7308 GB, free: 81.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002717/2.359, allocations: 313 kB / 0.7311 GB, free: 81.26 MB / 426.7 MB Notification: Performance of SimCode: time 2.685e-06/2.359, allocations: 0 / 0.7311 GB, free: 81.26 MB / 426.7 MB Notification: Performance of Templates: time 0.1336/2.493, allocations: 47.52 MB / 0.7775 GB, free: 60.82 MB / 426.7 MB