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.Elementary.ForceAndTorque.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.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadModel(Modelica): time 1.603/1.603, allocations: 171.2 MB / 186.7 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07605/0.0764, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.2806/0.357, allocations: 47.49 MB / 320.1 MB, free: 7.453 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02809/0.3852, allocations: 11.25 MB / 331.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01007/0.3953, allocations: 235.1 kB / 331.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008473/0.4038, allocations: 2.398 MB / 334 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02627/0.4301, allocations: 6.903 MB / 340.9 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004061/0.4342, allocations: 0.628 MB / 341.5 MB, free: 8.023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.02913/0.4634, allocations: 9.903 MB / 351.4 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01005/0.4735, allocations: 5.077 MB / 356.5 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002226/0.4758, allocations: 1.133 MB / 357.6 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.4785, allocations: 1.487 MB / 359.1 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000668/0.4792, allocations: 164 kB / 359.3 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.4819, allocations: 0.9831 MB / 360.3 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002397/0.4843, allocations: 1.792 MB / 362.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.4857, allocations: 0.944 MB / 363 MB, free: 2.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009916/0.4956, allocations: 6.387 MB / 369.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4956, allocations: 3.938 kB / 369.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4957, allocations: 4 kB / 369.4 MB, free: 12.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.000181/0.4958, allocations: 0 / 369.4 MB, free: 12.04 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: 1732 * Number of variables: 1732 Notification: Performance of Generate backend data structure: time 0.01639/0.5122, allocations: 4.877 MB / 374.3 MB, free: 7.094 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.5123, allocations: 8.031 kB / 374.3 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04851/0.5608, allocations: 5.123 MB / 379.4 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009553/0.5704, allocations: 3.089 MB / 382.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.5708, allocations: 266.7 kB / 382.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001073/0.5718, allocations: 355.7 kB / 383.1 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0311/0.603, allocations: 11.74 MB / 394.9 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/0.6032, allocations: 43.59 kB / 394.9 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007279/0.6039, allocations: 171.8 kB / 395.1 MB, free: 1.523 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005592/0.6095, allocations: 2.222 MB / 397.3 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03166/0.6412, allocations: 9.979 MB / 407.3 MB, free: 5.305 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3182/0.9594, allocations: 44.27 MB / 451.5 MB, free: 101.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02236/0.9818, allocations: 5.416 MB / 457 MB, free: 101 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01809/0.9999, allocations: 8.048 MB / 465 MB, free: 98.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/1, allocations: 54.12 kB / 465.1 MB, free: 98.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=216): time 6.251e-06/1, allocations: 0 / 465.1 MB, free: 98.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=237): time 0.07858/1.079, allocations: 20.7 MB / 485.8 MB, free: 86.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/1.079, allocations: 183.7 kB / 485.9 MB, free: 86.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007593/1.086, allocations: 4.852 MB / 490.8 MB, free: 81.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005683/1.087, allocations: 58.72 kB / 490.8 MB, free: 81.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/1.089, allocations: 3.395 MB / 494.2 MB, free: 77.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001103/1.09, allocations: 0.8822 MB / 495.1 MB, free: 77.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004574/1.091, allocations: 135.4 kB / 495.3 MB, free: 76.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003385/1.091, allocations: 0.5902 MB / 495.8 MB, free: 76.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005312/1.096, allocations: 2.558 MB / 498.4 MB, free: 73.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007074/1.104, allocations: 6.427 MB / 0.493 GB, free: 65.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008031/1.112, allocations: 3.998 MB / 0.4969 GB, free: 61.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.479e-05/1.112, allocations: 40 kB / 0.4969 GB, free: 61.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=871) (initialization): time 0.02232/1.134, allocations: 9.61 MB / 0.5063 GB, free: 52.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.486e-05/1.134, allocations: 60 kB / 0.5064 GB, free: 52.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001258/1.134, allocations: 143.7 kB / 0.5065 GB, free: 52.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003558/1.138, allocations: 0.9693 MB / 0.5075 GB, free: 51.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009128/1.147, allocations: 1.567 MB / 0.509 GB, free: 49.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/1.158, allocations: 6.268 MB / 0.5151 GB, free: 43.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006616/1.165, allocations: 367.5 kB / 0.5155 GB, free: 42.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007728/1.166, allocations: 408 kB / 0.5159 GB, free: 42.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 39 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (813): * Single equations (assignments): 807 * Array equations: 5 * 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 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004383/1.17, allocations: 2.36 MB / 0.5182 GB, free: 39.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009008/1.171, allocations: 422.5 kB / 0.5186 GB, free: 39.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/1.182, allocations: 4.394 MB / 0.5229 GB, free: 35.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.891e-05/1.182, allocations: 11.95 kB / 0.5229 GB, free: 35.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.182, allocations: 0 / 0.5229 GB, free: 35.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00244/1.184, allocations: 0.8196 MB / 0.5237 GB, free: 34.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008875/1.185, allocations: 39.98 kB / 0.5237 GB, free: 34.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/1.188, allocations: 147.1 kB / 0.5238 GB, free: 34.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000465/1.189, allocations: 137.8 kB / 0.524 GB, free: 34 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01333/1.202, allocations: 4.939 MB / 0.5288 GB, free: 29.08 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01268/1.215, allocations: 6.884 MB / 0.5355 GB, free: 22.17 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003431/1.218, allocations: 1.851 MB / 0.5373 GB, free: 20.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005583/1.224, allocations: 3.088 MB / 0.5403 GB, free: 17.24 MB / 362.7 MB Notification: Performance of Backend: time 6.61e-07/1.224, allocations: 0 / 0.5403 GB, free: 17.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0118/1.236, allocations: 4.788 MB / 0.545 GB, free: 12.49 MB / 362.7 MB Notification: Performance of SimCode: time 0.02201/1.258, allocations: 12.28 MB / 0.557 GB, free: 152 kB / 362.7 MB Notification: Performance of Templates: time 0.3696/1.627, allocations: 53.12 MB / 0.6089 GB, free: 113.2 MB / 378.7 MB