Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 1.87/1.87, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.286e-05, allocations: 8 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.0857, allocations: 48.7 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3635/0.4493, allocations: 94.47 MB / 421 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.4496, allocations: 71.78 kB / 421.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8187/1.268, allocations: 132.8 MB / 0.5409 GB, free: 74.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.126e-06/1.268, allocations: 0 / 0.5409 GB, free: 74.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004086/1.269, allocations: 129.7 kB / 0.541 GB, free: 74.71 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.02261/1.291, allocations: 6.438 MB / 0.5473 GB, free: 72.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/1.291, allocations: 8.969 kB / 0.5473 GB, free: 72.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03815/1.33, allocations: 7.126 MB / 0.5543 GB, free: 71.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02163/1.351, allocations: 7.229 MB / 0.5613 GB, free: 70.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005856/1.352, allocations: 0.5001 MB / 0.5618 GB, free: 70.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003073/1.355, allocations: 0.6651 MB / 0.5625 GB, free: 70.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04384/1.399, allocations: 16.59 MB / 0.5787 GB, free: 67.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004208/1.399, allocations: 85.42 kB / 0.5787 GB, free: 67.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002816/1.402, allocations: 320.9 kB / 0.5791 GB, free: 67.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002765/1.405, allocations: 1.559 MB / 0.5806 GB, free: 67.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03567/1.441, allocations: 13.77 MB / 0.594 GB, free: 65.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08839/1.529, allocations: 70.11 MB / 0.6625 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02449/1.554, allocations: 7.848 MB / 0.6702 GB, free: 1.066 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02128/1.575, allocations: 4.719 MB / 0.6748 GB, free: 15.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/1.575, allocations: 55.89 kB / 0.6748 GB, free: 15.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.059e-05/1.575, allocations: 68.5 kB / 0.6749 GB, free: 15.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=290): time 8.109e-06/1.575, allocations: 7.938 kB / 0.6749 GB, free: 15.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=332): time 0.3611/1.937, allocations: 28.22 MB / 0.7024 GB, free: 80.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.173e-05/1.937, allocations: 215.8 kB / 0.7026 GB, free: 80.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.014/1.951, allocations: 5.562 MB / 0.7081 GB, free: 79.77 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008176/1.952, allocations: 81.72 kB / 0.7082 GB, free: 79.74 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004048/1.956, allocations: 4.379 MB / 0.7124 GB, free: 77.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001948/1.958, allocations: 1.234 MB / 0.7136 GB, free: 76.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/1.959, allocations: 169.6 kB / 0.7138 GB, free: 76.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008287/1.96, allocations: 0.6761 MB / 0.7145 GB, free: 76.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00834/1.968, allocations: 3.708 MB / 0.7181 GB, free: 76.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01103/1.979, allocations: 8.522 MB / 0.7264 GB, free: 70.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/1.99, allocations: 5.565 MB / 0.7318 GB, free: 70.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001583/1.99, allocations: 48.41 kB / 0.7319 GB, free: 70.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.03195/2.022, allocations: 13.34 MB / 0.7449 GB, free: 68.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/2.022, allocations: 77.12 kB / 0.745 GB, free: 68.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002145/2.023, allocations: 168.3 kB / 0.7452 GB, free: 68.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005459/2.028, allocations: 1.681 MB / 0.7468 GB, free: 68.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009803/2.038, allocations: 2.093 MB / 0.7488 GB, free: 67.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01829/2.056, allocations: 11.35 MB / 0.7599 GB, free: 61.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009858/2.066, allocations: 0.5227 MB / 0.7604 GB, free: 61.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001941/2.068, allocations: 0.5024 MB / 0.7609 GB, free: 61.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1047): * Single equations (assignments): 1042 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003074/2.071, allocations: 0.7548 MB / 0.7617 GB, free: 61.11 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/2.073, allocations: 0.5615 MB / 0.7622 GB, free: 60.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01878/2.092, allocations: 7.415 MB / 0.7694 GB, free: 58.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.839e-05/2.092, allocations: 37.19 kB / 0.7695 GB, free: 58.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-05/2.092, allocations: 6.906 kB / 0.7695 GB, free: 58.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.336e-05/2.092, allocations: 22.53 kB / 0.7695 GB, free: 58.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04266/2.135, allocations: 16.26 MB / 0.7854 GB, free: 52.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.344e-05/2.135, allocations: 3.906 kB / 0.7854 GB, free: 52.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004963/2.14, allocations: 0.6527 MB / 0.786 GB, free: 52.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00479/2.145, allocations: 1.418 MB / 0.7874 GB, free: 51.37 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008791/2.145, allocations: 66.72 kB / 0.7875 GB, free: 51.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01685/2.162, allocations: 10.6 MB / 0.7978 GB, free: 41.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/2.162, allocations: 7.562 kB / 0.7978 GB, free: 41.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02423/2.187, allocations: 12.7 MB / 0.8102 GB, free: 30.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004306/2.191, allocations: 1.204 MB / 0.8114 GB, free: 29.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002344/2.193, allocations: 59.53 kB / 0.8115 GB, free: 29.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005019/2.198, allocations: 270.5 kB / 0.8117 GB, free: 29.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/2.2, allocations: 207.5 kB / 0.8119 GB, free: 29.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005759/2.2, allocations: 87.42 kB / 0.812 GB, free: 28.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00951/2.21, allocations: 3.945 MB / 0.8159 GB, free: 25.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.259e-06/2.21, allocations: 0 / 0.8159 GB, free: 25.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.011/2.221, allocations: 1.669 MB / 0.8175 GB, free: 23.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/2.222, allocations: 205.3 kB / 0.8177 GB, free: 23.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01735/2.239, allocations: 9.184 MB / 0.8267 GB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.695e-06/2.239, allocations: 3.938 kB / 0.8267 GB, free: 15.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008172/2.248, allocations: 3.809 MB / 0.8304 GB, free: 11.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005109/2.253, allocations: 0.6707 MB / 0.831 GB, free: 11.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03891/2.292, allocations: 14.34 MB / 0.845 GB, free: 15.19 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01225/2.304, allocations: 4.993 MB / 0.8499 GB, free: 11.51 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002974/2.307, allocations: 460.9 kB / 0.8504 GB, free: 11.08 MB / 458.7 MB Notification: Performance of SimCode: time 1.919e-06/2.307, allocations: 4 kB / 0.8504 GB, free: 11.08 MB / 458.7 MB Notification: Performance of Templates: time 0.492/2.799, allocations: 147.2 MB / 0.9941 GB, free: 9.102 MB / 458.7 MB