Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadModel(ModelicaTest): time 2.239/2.239, allocations: 234.9 MB / 251.1 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005885/0.0005886, allocations: 12 kB / 314.9 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3639, allocations: 54.85 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.5688, allocations: 98.78 MB / 468.6 MB, free: 7.812 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.5692, allocations: 87.89 kB / 468.7 MB, free: 7.727 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.01/1.579, allocations: 160.7 MB / 0.6146 GB, free: 3.504 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.256e-06/1.579, allocations: 0 / 0.6146 GB, free: 3.504 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006172/1.58, allocations: 160 kB / 0.6148 GB, free: 3.348 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.03559/1.615, allocations: 8.288 MB / 0.6229 GB, free: 10.97 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/1.615, allocations: 8.031 kB / 0.6229 GB, free: 10.96 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03207/1.647, allocations: 3.624 MB / 0.6264 GB, free: 7.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3805/2.028, allocations: 9.582 MB / 0.6358 GB, free: 59.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001102/2.029, allocations: 0.5989 MB / 0.6364 GB, free: 59.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004816/2.034, allocations: 0.7928 MB / 0.6372 GB, free: 59.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06133/2.095, allocations: 19.01 MB / 0.6557 GB, free: 55.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005827/2.096, allocations: 97.31 kB / 0.6558 GB, free: 55.73 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004244/2.1, allocations: 381.8 kB / 0.6562 GB, free: 55.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004754/2.105, allocations: 1.775 MB / 0.6579 GB, free: 55.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04891/2.154, allocations: 14.97 MB / 0.6725 GB, free: 55.65 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1369/2.291, allocations: 79 MB / 0.7497 GB, free: 20.02 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02804/2.319, allocations: 6.077 MB / 0.7556 GB, free: 18.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03169/2.351, allocations: 11 MB / 0.7664 GB, free: 12.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.138e-05/2.351, allocations: 67.34 kB / 0.7664 GB, free: 12.05 MB / 474.7 MB Notification: Performance of pre-optimization done (n=238): time 5.961e-06/2.351, allocations: 0 / 0.7664 GB, free: 12.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=262): time 0.07626/2.427, allocations: 16.27 MB / 0.7823 GB, free: 14.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/2.427, allocations: 154.5 kB / 0.7825 GB, free: 14.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01813/2.445, allocations: 6.64 MB / 0.7889 GB, free: 8.926 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000695/2.446, allocations: 65.7 kB / 0.789 GB, free: 8.855 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005942/2.452, allocations: 5.351 MB / 0.7942 GB, free: 4.039 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001628/2.454, allocations: 1.011 MB / 0.7952 GB, free: 3.148 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/2.455, allocations: 178.7 kB / 0.7954 GB, free: 2.977 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007383/2.456, allocations: 0.6817 MB / 0.7961 GB, free: 2.391 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00906/2.465, allocations: 2.567 MB / 0.7986 GB, free: 292 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0267/2.492, allocations: 8.947 MB / 0.8073 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/2.505, allocations: 4.438 MB / 0.8116 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002596/2.505, allocations: 56 kB / 0.8117 GB, free: 3.965 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.3918/2.897, allocations: 10.23 MB / 0.8217 GB, free: 92.01 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001617/2.897, allocations: 92.66 kB / 0.8218 GB, free: 92.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004105/2.897, allocations: 203.2 kB / 0.822 GB, free: 92.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003978/2.898, allocations: 290.9 kB / 0.8222 GB, free: 92.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01372/2.912, allocations: 2.188 MB / 0.8244 GB, free: 92.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005033/2.912, allocations: 391.5 kB / 0.8247 GB, free: 92.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01168/2.924, allocations: 0.6058 MB / 0.8253 GB, free: 92.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002088/2.926, allocations: 0.5312 MB / 0.8258 GB, free: 92.01 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1128): * Single equations (assignments): 1125 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009876/2.936, allocations: 3.611 MB / 0.8294 GB, free: 91.89 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001376/2.937, allocations: 0.5742 MB / 0.8299 GB, free: 91.89 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008426/2.946, allocations: 2.804 MB / 0.8327 GB, free: 91.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-05/2.946, allocations: 29.69 kB / 0.8327 GB, free: 91.73 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/2.946, allocations: 3.875 kB / 0.8327 GB, free: 91.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-05/2.946, allocations: 17.25 kB / 0.8327 GB, free: 91.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05942/3.005, allocations: 26.44 MB / 0.8585 GB, free: 89.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001464/3.006, allocations: 53.97 kB / 0.8586 GB, free: 89.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003572/3.009, allocations: 0.5203 MB / 0.8591 GB, free: 89.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.939e-05/3.009, allocations: 76.44 kB / 0.8592 GB, free: 89.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004902/3.01, allocations: 114.8 kB / 0.8593 GB, free: 89.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-05/3.01, allocations: 103.5 kB / 0.8594 GB, free: 89.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.719e-05/3.01, allocations: 87.62 kB / 0.8595 GB, free: 89.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009847/3.02, allocations: 5.179 MB / 0.8645 GB, free: 86.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002325/3.022, allocations: 0.687 MB / 0.8652 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002203/3.024, allocations: 120.6 kB / 0.8653 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005658/3.03, allocations: 199 kB / 0.8655 GB, free: 86.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00094/3.031, allocations: 355.5 kB / 0.8658 GB, free: 86.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003476/3.031, allocations: 148.8 kB / 0.866 GB, free: 86.37 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01251/3.044, allocations: 4.202 MB / 0.8701 GB, free: 86.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.21e-07/3.044, allocations: 0 / 0.8701 GB, free: 86.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01135/3.055, allocations: 1.486 MB / 0.8715 GB, free: 86.15 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * Number of states: 0 () * 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 (270): * Single equations (assignments): 267 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001198/3.057, allocations: 292.5 kB / 0.8718 GB, free: 86.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01561/3.072, allocations: 5.968 MB / 0.8776 GB, free: 85.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.502e-05/3.072, allocations: 13.55 kB / 0.8777 GB, free: 85.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003827/3.076, allocations: 1.477 MB / 0.8791 GB, free: 85.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007649/3.084, allocations: 0.8597 MB / 0.8799 GB, free: 84.86 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04801/3.132, allocations: 20.95 MB / 0.9004 GB, free: 72.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01447/3.147, allocations: 5.737 MB / 0.906 GB, free: 71.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002258/3.149, allocations: 463.8 kB / 0.9064 GB, free: 71.09 MB / 0.4948 GB Notification: Performance of SimCode: time 1.373e-06/3.149, allocations: 0 / 0.9064 GB, free: 71.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.1825/3.331, allocations: 91.9 MB / 0.9962 GB, free: 12.81 MB / 0.5105 GB