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.FrameTorques.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 1.912/1.912, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.685e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2637, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.4061, allocations: 93.3 MB / 413.3 MB, free: 3.117 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.4064, allocations: 79.95 kB / 413.4 MB, free: 3.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.649/1.055, allocations: 112 MB / 0.5131 GB, free: 47.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.047e-06/1.055, allocations: 0 / 0.5131 GB, free: 47.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003125/1.056, allocations: 112 kB / 0.5132 GB, free: 47.34 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.01638/1.072, allocations: 5.474 MB / 0.5186 GB, free: 41.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.072, allocations: 8.031 kB / 0.5186 GB, free: 41.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03445/1.107, allocations: 6.947 MB / 0.5253 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01851/1.125, allocations: 6.852 MB / 0.532 GB, free: 27.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002901/1.126, allocations: 176 kB / 0.5322 GB, free: 27.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/1.128, allocations: 323.9 kB / 0.5325 GB, free: 27.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01546/1.143, allocations: 7.453 MB / 0.5398 GB, free: 19.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02244/1.166, allocations: 11.72 MB / 0.5512 GB, free: 7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002346/1.166, allocations: 83.25 kB / 0.5513 GB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009272/1.167, allocations: 43.98 kB / 0.5514 GB, free: 6.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00181/1.169, allocations: 1.247 MB / 0.5526 GB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3928/1.561, allocations: 57.38 MB / 0.6086 GB, free: 46.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004782/1.566, allocations: 3.44 MB / 0.612 GB, free: 46.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00303/1.569, allocations: 2.097 MB / 0.614 GB, free: 46.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/1.569, allocations: 42.27 kB / 0.6141 GB, free: 46.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/1.569, allocations: 57.94 kB / 0.6141 GB, free: 45.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 6.238e-06/1.57, allocations: 0 / 0.6141 GB, free: 45.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=198): time 0.0386/1.608, allocations: 17.53 MB / 0.6312 GB, free: 41.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/1.608, allocations: 232.9 kB / 0.6314 GB, free: 41.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007299/1.616, allocations: 4.131 MB / 0.6355 GB, free: 41.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003317/1.616, allocations: 25.7 kB / 0.6355 GB, free: 41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00255/1.618, allocations: 4.105 MB / 0.6395 GB, free: 38.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008725/1.619, allocations: 0.763 MB / 0.6403 GB, free: 38.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000434/1.62, allocations: 0 / 0.6403 GB, free: 38.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004412/1.62, allocations: 0.6273 MB / 0.6409 GB, free: 37.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003909/1.624, allocations: 2.196 MB / 0.643 GB, free: 37.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006454/1.631, allocations: 6.855 MB / 0.6497 GB, free: 30.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006809/1.638, allocations: 3.858 MB / 0.6535 GB, free: 28.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001379/1.638, allocations: 48.59 kB / 0.6535 GB, free: 28.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01859/1.656, allocations: 8.246 MB / 0.6616 GB, free: 26.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/1.657, allocations: 82 kB / 0.6617 GB, free: 26.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001817/1.657, allocations: 169.9 kB / 0.6618 GB, free: 26.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/1.658, allocations: 0.6067 MB / 0.6624 GB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006576/1.665, allocations: 1.715 MB / 0.6641 GB, free: 26.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006929/1.672, allocations: 5.531 MB / 0.6695 GB, free: 21.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007123/1.679, allocations: 248.5 kB / 0.6697 GB, free: 21.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/1.681, allocations: 463.7 kB / 0.6702 GB, free: 21.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 764 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (925): * Single equations (assignments): 920 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001345/1.682, allocations: 0.5135 MB / 0.6707 GB, free: 20.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009341/1.683, allocations: 430.4 kB / 0.6711 GB, free: 20.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006035/1.689, allocations: 2.919 MB / 0.6739 GB, free: 17.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.573e-05/1.689, allocations: 24 kB / 0.6739 GB, free: 17.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/1.689, allocations: 4 kB / 0.674 GB, free: 17.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/1.689, allocations: 9.516 kB / 0.674 GB, free: 17.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01825/1.708, allocations: 7.537 MB / 0.6813 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/1.708, allocations: 5.906 kB / 0.6813 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/1.709, allocations: 300.3 kB / 0.6816 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/1.711, allocations: 350.6 kB / 0.6819 GB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002838/1.711, allocations: 15.09 kB / 0.682 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005807/1.717, allocations: 4.85 MB / 0.6867 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.127e-06/1.717, allocations: 4.031 kB / 0.6867 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00916/1.726, allocations: 5.692 MB / 0.6923 GB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002095/1.728, allocations: 0.7146 MB / 0.693 GB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009545/1.729, allocations: 7.375 kB / 0.693 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002729/1.732, allocations: 65.16 kB / 0.693 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004761/1.733, allocations: 108.7 kB / 0.6931 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/1.733, allocations: 55.67 kB / 0.6932 GB, free: 480 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01649/1.749, allocations: 3.334 MB / 0.6964 GB, free: 15.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.16e-06/1.749, allocations: 0 / 0.6964 GB, free: 15.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008826/1.758, allocations: 1.054 MB / 0.6975 GB, free: 14.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 150 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006662/1.759, allocations: 132.1 kB / 0.6976 GB, free: 14.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01159/1.771, allocations: 5.423 MB / 0.7029 GB, free: 9.273 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.583e-06/1.771, allocations: 3.562 kB / 0.7029 GB, free: 9.273 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003364/1.774, allocations: 1.669 MB / 0.7045 GB, free: 7.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/1.777, allocations: 492.3 kB / 0.705 GB, free: 7.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02639/1.804, allocations: 10.11 MB / 0.7149 GB, free: 14.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01009/1.814, allocations: 4.244 MB / 0.719 GB, free: 11.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001648/1.816, allocations: 346.1 kB / 0.7193 GB, free: 10.89 MB / 442.7 MB Notification: Performance of SimCode: time 1.711e-06/1.816, allocations: 0 / 0.7193 GB, free: 10.89 MB / 442.7 MB Notification: Performance of Templates: time 0.4363/2.252, allocations: 114 MB / 0.8307 GB, free: 110.2 MB / 474.7 MB