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.617/1.617, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 8 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08603/0.08639, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2863/0.3727, allocations: 54.2 MB / 326.8 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0332/0.406, allocations: 12.44 MB / 339.3 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01178/0.4178, allocations: 268.2 kB / 339.5 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009767/0.4276, allocations: 2.753 MB / 342.3 MB, free: 7.273 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02946/0.4571, allocations: 7.714 MB / 350 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004632/0.4618, allocations: 0.6358 MB / 350.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0067/0.4686, allocations: 2.536 MB / 353.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01174/0.4803, allocations: 5.775 MB / 359 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/0.4832, allocations: 1.211 MB / 360.2 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003493/0.4867, allocations: 1.623 MB / 361.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009622/0.4877, allocations: 172 kB / 362 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002767/0.4905, allocations: 0.8427 MB / 362.8 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002799/0.4933, allocations: 1.835 MB / 364.6 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001613/0.495, allocations: 1.006 MB / 365.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.5056, allocations: 6.653 MB / 372.3 MB, free: 9.133 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5057, allocations: 0 / 372.3 MB, free: 9.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.003e-06/0.5057, allocations: 4 kB / 372.3 MB, free: 9.129 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002498/0.506, allocations: 3.938 kB / 372.3 MB, free: 9.125 MB / 298.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.03014/0.5361, allocations: 6.076 MB / 378.4 MB, free: 2.977 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.5362, allocations: 8.031 kB / 378.4 MB, free: 2.969 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/0.5505, allocations: 2.333 MB / 380.7 MB, free: 0.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008806/0.5593, allocations: 2.914 MB / 383.6 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/0.5598, allocations: 311.7 kB / 383.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001872/0.5616, allocations: 403.7 kB / 384.3 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03662/0.5983, allocations: 12.57 MB / 396.9 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002044/0.5985, allocations: 55.52 kB / 397 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001125/0.5997, allocations: 183.8 kB / 397.1 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005956/0.6056, allocations: 2.144 MB / 399.3 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.037/0.6427, allocations: 11.14 MB / 410.4 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3242/0.9669, allocations: 47.52 MB / 457.9 MB, free: 98.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02732/0.9943, allocations: 5.325 MB / 463.3 MB, free: 97.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001395/0.9957, allocations: 401.7 kB / 463.7 MB, free: 97.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.9958, allocations: 50.47 kB / 463.7 MB, free: 97.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=221): time 7.714e-06/0.9958, allocations: 0 / 463.7 MB, free: 97.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=252): time 0.1171/1.113, allocations: 26.53 MB / 490.2 MB, free: 84.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/1.113, allocations: 154.5 kB / 490.4 MB, free: 83.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008193/1.121, allocations: 4.698 MB / 495.1 MB, free: 79.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007399/1.122, allocations: 70.2 kB / 495.2 MB, free: 79.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002626/1.125, allocations: 3.57 MB / 498.7 MB, free: 75.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001475/1.126, allocations: 0.9516 MB / 499.7 MB, free: 74.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007229/1.127, allocations: 136 kB / 499.8 MB, free: 74.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003724/1.127, allocations: 0.6079 MB / 0.4887 GB, free: 73.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00718/1.134, allocations: 3.051 MB / 0.4917 GB, free: 70.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009663/1.144, allocations: 7.082 MB / 0.4986 GB, free: 61.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009863/1.154, allocations: 4.546 MB / 0.503 GB, free: 57.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001146/1.154, allocations: 44 kB / 0.5031 GB, free: 57.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=907) (initialization): time 0.02889/1.183, allocations: 10.98 MB / 0.5138 GB, free: 46.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/1.183, allocations: 64 kB / 0.5138 GB, free: 46.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/1.183, allocations: 144 kB / 0.514 GB, free: 46.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004795/1.188, allocations: 1.148 MB / 0.5151 GB, free: 45.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/1.199, allocations: 1.727 MB / 0.5168 GB, free: 43.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/1.211, allocations: 6.118 MB / 0.5228 GB, free: 37.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007827/1.219, allocations: 420.2 kB / 0.5232 GB, free: 36.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001326/1.221, allocations: 432.6 kB / 0.5236 GB, free: 36.23 MB / 362.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.005746/1.226, allocations: 2.442 MB / 0.526 GB, free: 33.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/1.228, allocations: 422.5 kB / 0.5264 GB, free: 33.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/1.243, allocations: 5.631 MB / 0.5319 GB, free: 27.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-05/1.243, allocations: 15.95 kB / 0.5319 GB, free: 27.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.243, allocations: 0 / 0.5319 GB, free: 27.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003267/1.247, allocations: 0.9055 MB / 0.5328 GB, free: 26.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001516/1.248, allocations: 43.98 kB / 0.5328 GB, free: 26.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004202/1.252, allocations: 171.7 kB / 0.533 GB, free: 26.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008311/1.253, allocations: 165.7 kB / 0.5331 GB, free: 26.39 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01907/1.272, allocations: 6.049 MB / 0.539 GB, free: 20.37 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01825/1.291, allocations: 8.575 MB / 0.5474 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004993/1.296, allocations: 2.335 MB / 0.5497 GB, free: 9.395 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005979/1.302, allocations: 2.965 MB / 0.5526 GB, free: 6.43 MB / 362.7 MB Notification: Performance of Backend: time 1.183e-06/1.302, allocations: 0 / 0.5526 GB, free: 6.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0145/1.316, allocations: 5.379 MB / 0.5578 GB, free: 1.094 MB / 362.7 MB Notification: Performance of SimCode: time 0.02922/1.346, allocations: 13.05 MB / 0.5706 GB, free: 3.992 MB / 378.7 MB Notification: Performance of Templates: time 0.3832/1.729, allocations: 58.41 MB / 0.6276 GB, free: 95.65 MB / 378.7 MB