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 1.869/1.869, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003509, allocations: 8 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08975/0.09012, allocations: 44.51 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.08038/0.1706, allocations: 54.22 MB / 363.3 MB, free: 10.01 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.3015/0.4721, allocations: 12.48 MB / 375.8 MB, free: 7.926 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01026/0.4825, allocations: 265.7 kB / 376 MB, free: 7.926 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009496/0.492, allocations: 2.75 MB / 378.8 MB, free: 7.922 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02742/0.5195, allocations: 7.714 MB / 386.5 MB, free: 7.258 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004426/0.524, allocations: 0.6284 MB / 387.1 MB, free: 7.098 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006023/0.53, allocations: 2.529 MB / 389.6 MB, free: 6.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01005/0.5401, allocations: 5.777 MB / 395.4 MB, free: 5.039 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.5425, allocations: 1.202 MB / 396.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002795/0.5453, allocations: 1.629 MB / 398.2 MB, free: 4.477 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007424/0.5461, allocations: 171.9 kB / 398.4 MB, free: 4.477 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002321/0.5484, allocations: 0.8392 MB / 399.3 MB, free: 4.289 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00211/0.5505, allocations: 1.84 MB / 401.1 MB, free: 3.922 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.5519, allocations: 1.005 MB / 402.1 MB, free: 3.891 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008595/0.5605, allocations: 6.649 MB / 408.7 MB, free: 236 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5606, allocations: 4 kB / 408.8 MB, free: 232 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.5606, allocations: 0 / 408.8 MB, free: 232 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002513/0.5609, allocations: 0 / 408.8 MB, free: 232 kB / 314.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.02994/0.5908, allocations: 6.076 MB / 414.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.5909, allocations: 10.59 kB / 414.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/0.6055, allocations: 2.341 MB / 417.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008813/0.6144, allocations: 2.903 MB / 420.1 MB, free: 8.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/0.6147, allocations: 308.5 kB / 420.4 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001459/0.6162, allocations: 407.9 kB / 420.8 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03434/0.6505, allocations: 12.58 MB / 433.4 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001929/0.6508, allocations: 49.08 kB / 433.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008963/0.6517, allocations: 192.9 kB / 433.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005424/0.6571, allocations: 2.148 MB / 435.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0355/0.6927, allocations: 11.13 MB / 446.9 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09083/0.7835, allocations: 47.53 MB / 494.4 MB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02802/0.8116, allocations: 5.326 MB / 499.7 MB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/0.813, allocations: 399.5 kB / 0.4884 GB, free: 2.156 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/0.8131, allocations: 55.22 kB / 0.4884 GB, free: 2.098 MB / 394.7 MB Notification: Performance of pre-optimization done (n=221): time 6.662e-06/0.8131, allocations: 4 kB / 0.4885 GB, free: 2.094 MB / 394.7 MB Notification: Performance of matching and sorting (n=252): time 0.1238/0.937, allocations: 26.52 MB / 0.5143 GB, free: 7.441 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.9371, allocations: 158.5 kB / 0.5145 GB, free: 7.258 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/0.9473, allocations: 4.688 MB / 0.5191 GB, free: 2.559 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008218/0.9482, allocations: 61.7 kB / 0.5191 GB, free: 2.492 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2588/1.207, allocations: 3.566 MB / 0.5226 GB, free: 155.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001939/1.209, allocations: 0.9463 MB / 0.5235 GB, free: 155.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009512/1.21, allocations: 141.7 kB / 0.5237 GB, free: 155.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005985/1.211, allocations: 0.6013 MB / 0.5243 GB, free: 154.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008793/1.219, allocations: 3.055 MB / 0.5273 GB, free: 154.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.012/1.231, allocations: 7.081 MB / 0.5342 GB, free: 148.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/1.243, allocations: 4.551 MB / 0.5386 GB, free: 146.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001793/1.243, allocations: 39.44 kB / 0.5386 GB, free: 146.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=907) (initialization): time 0.03016/1.273, allocations: 10.99 MB / 0.5494 GB, free: 142.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.273, allocations: 65.62 kB / 0.5494 GB, free: 142.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/1.273, allocations: 140.7 kB / 0.5496 GB, free: 142.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004583/1.278, allocations: 1.146 MB / 0.5507 GB, free: 142.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01089/1.289, allocations: 1.727 MB / 0.5524 GB, free: 142.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/1.3, allocations: 6.122 MB / 0.5584 GB, free: 139 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008112/1.309, allocations: 417.1 kB / 0.5588 GB, free: 138.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001081/1.31, allocations: 438.1 kB / 0.5592 GB, free: 138.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 648 * 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 (868): * Single equations (assignments): 864 * 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.005232/1.315, allocations: 2.439 MB / 0.5616 GB, free: 136 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.316, allocations: 414.6 kB / 0.562 GB, free: 135.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0147/1.331, allocations: 5.635 MB / 0.5675 GB, free: 129.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-05/1.331, allocations: 11.95 kB / 0.5675 GB, free: 129.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.331, allocations: 0 / 0.5675 GB, free: 129.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002923/1.334, allocations: 0.9132 MB / 0.5684 GB, free: 128.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/1.335, allocations: 39.98 kB / 0.5684 GB, free: 128.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003565/1.338, allocations: 171.8 kB / 0.5686 GB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006347/1.339, allocations: 155.5 kB / 0.5687 GB, free: 128.6 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01735/1.356, allocations: 6.054 MB / 0.5746 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01651/1.373, allocations: 8.569 MB / 0.583 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005025/1.378, allocations: 2.337 MB / 0.5853 GB, free: 111.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005925/1.384, allocations: 2.957 MB / 0.5882 GB, free: 108.6 MB / 426.7 MB Notification: Performance of Backend: time 1.683e-06/1.384, allocations: 0 / 0.5882 GB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01445/1.398, allocations: 5.377 MB / 0.5934 GB, free: 103.3 MB / 426.7 MB Notification: Performance of SimCode: time 0.02545/1.424, allocations: 13.03 MB / 0.6061 GB, free: 90.23 MB / 426.7 MB Notification: Performance of Templates: time 0.1473/1.571, allocations: 58.42 MB / 0.6632 GB, free: 31.88 MB / 426.7 MB