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.Force.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.Force,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.Force") Notification: Performance of loadModel(ModelicaTest): time 1.863/1.863, allocations: 209.3 MB / 224.9 MB, free: 332 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004327, allocations: 12 kB / 282.6 MB, free: 9.605 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3209, allocations: 48.7 MB / 331.3 MB, free: 6.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.4629, allocations: 94.71 MB / 426 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.4632, allocations: 79.95 kB / 426.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7349/1.198, allocations: 128.6 MB / 0.5416 GB, free: 54.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.198, allocations: 0 / 0.5416 GB, free: 54.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003573/1.199, allocations: 132 kB / 0.5418 GB, free: 54.48 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.02172/1.22, allocations: 7.073 MB / 0.5487 GB, free: 47.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/1.22, allocations: 8.031 kB / 0.5487 GB, free: 47.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03536/1.256, allocations: 7.113 MB / 0.5556 GB, free: 40.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02031/1.276, allocations: 7.403 MB / 0.5628 GB, free: 32.69 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005213/1.277, allocations: 497 kB / 0.5633 GB, free: 32.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002505/1.279, allocations: 0.6404 MB / 0.5639 GB, free: 31.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03709/1.316, allocations: 16.29 MB / 0.5798 GB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003047/1.317, allocations: 87.12 kB / 0.5799 GB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001834/1.318, allocations: 323.8 kB / 0.5802 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002373/1.321, allocations: 1.541 MB / 0.5817 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03153/1.352, allocations: 13.33 MB / 0.5948 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.361/1.713, allocations: 72.46 MB / 0.6655 GB, free: 34.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0249/1.738, allocations: 7.472 MB / 0.6728 GB, free: 34.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01925/1.758, allocations: 9.661 MB / 0.6823 GB, free: 32.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/1.758, allocations: 65.69 kB / 0.6823 GB, free: 32.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=273): time 6.957e-06/1.758, allocations: 3.812 kB / 0.6823 GB, free: 32.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=315): time 0.09879/1.857, allocations: 31.94 MB / 0.7135 GB, free: 25.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/1.857, allocations: 246 kB / 0.7137 GB, free: 24.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01204/1.869, allocations: 6.077 MB / 0.7197 GB, free: 22.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006479/1.869, allocations: 72.08 kB / 0.7198 GB, free: 22.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003263/1.873, allocations: 4.449 MB / 0.7241 GB, free: 19.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001498/1.874, allocations: 1.187 MB / 0.7253 GB, free: 18.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008245/1.875, allocations: 177.3 kB / 0.7254 GB, free: 18.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005095/1.876, allocations: 0.6836 MB / 0.7261 GB, free: 17.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007203/1.883, allocations: 3.56 MB / 0.7296 GB, free: 16.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/1.893, allocations: 8.672 MB / 0.738 GB, free: 8.441 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009878/1.903, allocations: 5.441 MB / 0.7434 GB, free: 4.871 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001381/1.903, allocations: 52 kB / 0.7434 GB, free: 4.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.03266/1.936, allocations: 13.31 MB / 0.7564 GB, free: 10.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001666/1.936, allocations: 84.03 kB / 0.7565 GB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002956/1.936, allocations: 180 kB / 0.7567 GB, free: 9.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005615/1.942, allocations: 1.679 MB / 0.7583 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009308/1.951, allocations: 2.111 MB / 0.7604 GB, free: 6.703 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/1.973, allocations: 11.56 MB / 0.7716 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009522/1.982, allocations: 0.5263 MB / 0.7722 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001991/1.984, allocations: 0.5261 MB / 0.7727 GB, free: 11.43 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1084): * Single equations (assignments): 1079 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008491/1.993, allocations: 3.155 MB / 0.7757 GB, free: 8.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001591/1.995, allocations: 0.5822 MB / 0.7763 GB, free: 8.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01774/2.012, allocations: 6.801 MB / 0.783 GB, free: 2.562 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.856e-05/2.012, allocations: 32.55 kB / 0.783 GB, free: 2.531 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.429e-05/2.012, allocations: 10.19 kB / 0.783 GB, free: 2.523 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.019e-05/2.013, allocations: 23.19 kB / 0.783 GB, free: 2.516 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04075/2.053, allocations: 15.19 MB / 0.7979 GB, free: 3.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-05/2.053, allocations: 4 kB / 0.7979 GB, free: 3.586 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003951/2.057, allocations: 0.585 MB / 0.7984 GB, free: 3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00519/2.063, allocations: 1.402 MB / 0.7998 GB, free: 1.594 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007172/2.063, allocations: 63.98 kB / 0.7999 GB, free: 1.531 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3726/2.436, allocations: 10.73 MB / 0.8103 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.759e-05/2.436, allocations: 12.98 kB / 0.8103 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03985/2.476, allocations: 11.91 MB / 0.822 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003805/2.48, allocations: 1.159 MB / 0.8231 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001717/2.481, allocations: 53.34 kB / 0.8232 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004121/2.486, allocations: 213.1 kB / 0.8234 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008938/2.487, allocations: 192.9 kB / 0.8235 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003284/2.487, allocations: 85.83 kB / 0.8236 GB, free: 117.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009788/2.497, allocations: 4.358 MB / 0.8279 GB, free: 117 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.116e-06/2.497, allocations: 4.969 kB / 0.8279 GB, free: 117 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01043/2.507, allocations: 1.632 MB / 0.8295 GB, free: 117 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (260): * Single equations (assignments): 255 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009286/2.508, allocations: 213 kB / 0.8297 GB, free: 116.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01615/2.524, allocations: 8.741 MB / 0.8382 GB, free: 116.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.658e-06/2.524, allocations: 0 / 0.8382 GB, free: 116.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006885/2.531, allocations: 3.456 MB / 0.8416 GB, free: 114.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00478/2.536, allocations: 0.7031 MB / 0.8423 GB, free: 114.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03493/2.571, allocations: 18.68 MB / 0.8605 GB, free: 105.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01019/2.581, allocations: 4.936 MB / 0.8653 GB, free: 103.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002462/2.584, allocations: 469.7 kB / 0.8658 GB, free: 103.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.08e-06/2.584, allocations: 0 / 0.8658 GB, free: 103.6 MB / 474.7 MB Notification: Performance of Templates: time 0.4683/3.052, allocations: 144.7 MB / 1.007 GB, free: 121.7 MB / 474.7 MB