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.737/1.737, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 8 kB / 233.9 MB, free: 2.371 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09111/0.09148, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4022/0.4938, allocations: 88.99 MB / 361.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003976/0.4942, allocations: 97.52 kB / 361.7 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8398/1.334, allocations: 97.55 MB / 459.3 MB, free: 73.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.334, allocations: 3.391 kB / 459.3 MB, free: 73.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003327/1.334, allocations: 93.58 kB / 459.4 MB, free: 73.23 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: 1732 * Number of variables: 1732 Notification: Performance of Generate backend data structure: time 0.01883/1.353, allocations: 4.97 MB / 464.3 MB, free: 71.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/1.353, allocations: 7.656 kB / 464.3 MB, free: 71.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03248/1.386, allocations: 4.501 MB / 468.8 MB, free: 70.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01877/1.405, allocations: 5.062 MB / 473.9 MB, free: 70.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000424/1.405, allocations: 357.9 kB / 474.2 MB, free: 70.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002713/1.408, allocations: 474.5 kB / 474.7 MB, free: 70.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03475/1.443, allocations: 12.04 MB / 486.7 MB, free: 65.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002687/1.443, allocations: 56.5 kB / 486.8 MB, free: 65.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001948/1.445, allocations: 231.6 kB / 487 MB, free: 65.05 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002489/1.447, allocations: 1.194 MB / 488.2 MB, free: 64.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02999/1.477, allocations: 9.968 MB / 498.2 MB, free: 59.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07878/1.556, allocations: 52.84 MB / 0.5381 GB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02142/1.578, allocations: 5.226 MB / 0.5432 GB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02689/1.605, allocations: 8.048 MB / 0.5511 GB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.423e-05/1.605, allocations: 59.19 kB / 0.5511 GB, free: 9.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=216): time 9.057e-06/1.605, allocations: 3.938 kB / 0.5511 GB, free: 9.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=237): time 0.408/2.013, allocations: 19.8 MB / 0.5705 GB, free: 79.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/2.013, allocations: 183.3 kB / 0.5707 GB, free: 79.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01849/2.032, allocations: 4.704 MB / 0.5752 GB, free: 79.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008227/2.033, allocations: 57.89 kB / 0.5753 GB, free: 79.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004878/2.037, allocations: 3.43 MB / 0.5787 GB, free: 77.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001991/2.04, allocations: 0.8816 MB / 0.5795 GB, free: 77.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/2.041, allocations: 130.5 kB / 0.5796 GB, free: 77.03 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0007826/2.042, allocations: 0.5875 MB / 0.5802 GB, free: 76.71 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009491/2.051, allocations: 2.5 MB / 0.5827 GB, free: 76.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01214/2.063, allocations: 6.379 MB / 0.5889 GB, free: 71.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009447/2.073, allocations: 3.938 MB / 0.5927 GB, free: 70.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001564/2.073, allocations: 37.16 kB / 0.5928 GB, free: 70.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.03042/2.104, allocations: 9.45 MB / 0.602 GB, free: 67.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/2.104, allocations: 63.66 kB / 0.6021 GB, free: 67.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002541/2.104, allocations: 143.1 kB / 0.6022 GB, free: 67.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003812/2.108, allocations: 0.8932 MB / 0.6031 GB, free: 67.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01049/2.118, allocations: 1.603 MB / 0.6046 GB, free: 67.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01169/2.13, allocations: 5.935 MB / 0.6104 GB, free: 64.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008418/2.139, allocations: 382.2 kB / 0.6108 GB, free: 63.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001842/2.141, allocations: 396.5 kB / 0.6112 GB, free: 63.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * 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 (816): * Single equations (assignments): 812 * 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 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007983/2.149, allocations: 2.357 MB / 0.6135 GB, free: 62.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00143/2.15, allocations: 417.5 kB / 0.6139 GB, free: 62.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/2.164, allocations: 4.277 MB / 0.618 GB, free: 60.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.965e-05/2.164, allocations: 25.08 kB / 0.6181 GB, free: 60.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.048e-05/2.165, allocations: 7.344 kB / 0.6181 GB, free: 60.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-05/2.165, allocations: 10.62 kB / 0.6181 GB, free: 60.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03515/2.2, allocations: 10.36 MB / 0.6282 GB, free: 57.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.27e-05/2.2, allocations: 4.562 kB / 0.6282 GB, free: 57.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004647/2.205, allocations: 476.8 kB / 0.6287 GB, free: 57.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003366/2.208, allocations: 0.7037 MB / 0.6293 GB, free: 56.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006255/2.209, allocations: 52.45 kB / 0.6294 GB, free: 56.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/2.22, allocations: 5.458 MB / 0.6347 GB, free: 52.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/2.22, allocations: 10.95 kB / 0.6347 GB, free: 52.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02424/2.244, allocations: 7.51 MB / 0.6421 GB, free: 45.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004369/2.249, allocations: 0.8166 MB / 0.6429 GB, free: 44.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002005/2.251, allocations: 43.98 kB / 0.6429 GB, free: 44.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005268/2.256, allocations: 143.8 kB / 0.643 GB, free: 44.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008421/2.257, allocations: 148.3 kB / 0.6432 GB, free: 44.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003462/2.257, allocations: 73.06 kB / 0.6433 GB, free: 44.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.009586/2.267, allocations: 3.008 MB / 0.6462 GB, free: 42.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.162e-06/2.267, allocations: 4 kB / 0.6462 GB, free: 42.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0237/2.291, allocations: 1.151 MB / 0.6473 GB, free: 40.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/2.292, allocations: 192.2 kB / 0.6475 GB, free: 40.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.02907/2.321, allocations: 6.134 MB / 0.6535 GB, free: 35.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.811e-05/2.321, allocations: 4 kB / 0.6535 GB, free: 35.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00873/2.33, allocations: 2.261 MB / 0.6557 GB, free: 33.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005938/2.336, allocations: 488.3 kB / 0.6562 GB, free: 32.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04066/2.377, allocations: 12.9 MB / 0.6688 GB, free: 21.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01205/2.389, allocations: 3.759 MB / 0.6724 GB, free: 18.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.01422/2.403, allocations: 2.213 MB / 0.6746 GB, free: 16.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003015/2.406, allocations: 292.2 kB / 0.6749 GB, free: 16.58 MB / 362.7 MB Notification: Performance of SimCode: time 2.585e-06/2.406, allocations: 0 / 0.6749 GB, free: 16.58 MB / 362.7 MB Notification: Performance of Templates: time 0.4129/2.819, allocations: 41.86 MB / 0.7158 GB, free: 70.27 MB / 362.7 MB