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.Sensors.CutForce2.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.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadModel(ModelicaTest): time 1.996/1.996, allocations: 209.4 MB / 217.3 MB, free: 4.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.531e-05/1.54e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2651, allocations: 48.68 MB / 320 MB, free: 14.3 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.3996, allocations: 88.57 MB / 408.6 MB, free: 7.766 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/0.3999, allocations: 71.97 kB / 408.6 MB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4305/0.8304, allocations: 53.86 MB / 462.5 MB, free: 93.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.075e-06/0.8304, allocations: 0 / 462.5 MB, free: 93.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000108/0.8306, allocations: 51.16 kB / 462.6 MB, free: 93.3 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.007103/0.8377, allocations: 2.607 MB / 465.2 MB, free: 92.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.8378, allocations: 14.7 kB / 465.2 MB, free: 92.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01024/0.848, allocations: 1.816 MB / 467 MB, free: 91.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004487/0.8525, allocations: 1.708 MB / 468.7 MB, free: 91.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.8527, allocations: 94.77 kB / 468.8 MB, free: 91.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001191/0.854, allocations: 167.8 kB / 469 MB, free: 91.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008959/0.8629, allocations: 4.379 MB / 473.3 MB, free: 90.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.8762, allocations: 6.049 MB / 479.4 MB, free: 88.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.388e-05/0.8763, allocations: 18.75 kB / 479.4 MB, free: 88.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000573/0.8769, allocations: 14.16 kB / 479.4 MB, free: 88.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001007/0.8779, allocations: 0.6793 MB / 480.1 MB, free: 88.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03139/0.9093, allocations: 22.36 MB / 0.4907 GB, free: 68.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.9115, allocations: 1.563 MB / 0.4922 GB, free: 66.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008735/0.9124, allocations: 0.5742 MB / 0.4928 GB, free: 65.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/0.9125, allocations: 12.61 kB / 0.4928 GB, free: 65.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.9125, allocations: 43.34 kB / 0.4928 GB, free: 65.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=108): time 4.89e-06/0.9125, allocations: 0 / 0.4928 GB, free: 65.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=108): time 0.005545/0.9181, allocations: 1.557 MB / 0.4943 GB, free: 64.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.9182, allocations: 60.19 kB / 0.4944 GB, free: 64.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002825/0.921, allocations: 1.58 MB / 0.4959 GB, free: 62.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.9212, allocations: 25.7 kB / 0.496 GB, free: 62.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001279/0.9225, allocations: 1.994 MB / 0.4979 GB, free: 60.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005212/0.923, allocations: 402.7 kB / 0.4983 GB, free: 60.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.9232, allocations: 0 / 0.4983 GB, free: 60.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.9235, allocations: 454.1 kB / 0.4987 GB, free: 59.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.9253, allocations: 0.9085 MB / 0.4996 GB, free: 58.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/0.928, allocations: 2.938 MB / 0.5025 GB, free: 54.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003349/0.9314, allocations: 1.67 MB / 0.5041 GB, free: 53.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-05/0.9315, allocations: 24 kB / 0.5041 GB, free: 53.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=440) (initialization): time 0.00777/0.9393, allocations: 3.392 MB / 0.5075 GB, free: 49.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/0.9394, allocations: 38.34 kB / 0.5075 GB, free: 49.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.345e-05/0.9395, allocations: 72 kB / 0.5076 GB, free: 49.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001174/0.9396, allocations: 108 kB / 0.5077 GB, free: 49.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.9425, allocations: 0.7531 MB / 0.5084 GB, free: 48.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.711e-05/0.9426, allocations: 147.4 kB / 0.5085 GB, free: 48.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/0.9455, allocations: 375.4 kB / 0.5089 GB, free: 48.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005122/0.946, allocations: 215.1 kB / 0.5091 GB, free: 48 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 334 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 413 * 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.0004841/0.9465, allocations: 285.3 kB / 0.5094 GB, free: 47.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/0.9468, allocations: 173.8 kB / 0.5095 GB, free: 47.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/0.9493, allocations: 1.326 MB / 0.5108 GB, free: 46.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/0.9493, allocations: 12 kB / 0.5108 GB, free: 46.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.738e-06/0.9494, allocations: 3.984 kB / 0.5108 GB, free: 46.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.9494, allocations: 3.984 kB / 0.5109 GB, free: 46.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009579/0.959, allocations: 4.909 MB / 0.5156 GB, free: 41.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/0.959, allocations: 12.94 kB / 0.5157 GB, free: 41.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008031/0.9599, allocations: 155.7 kB / 0.5158 GB, free: 40.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.481e-05/0.9599, allocations: 24 kB / 0.5158 GB, free: 40.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.821e-05/0.96, allocations: 19.98 kB / 0.5158 GB, free: 40.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.69e-05/0.96, allocations: 15.94 kB / 0.5159 GB, free: 40.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-05/0.9601, allocations: 23.92 kB / 0.5159 GB, free: 40.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.9626, allocations: 2.389 MB / 0.5182 GB, free: 38.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004227/0.9631, allocations: 254.6 kB / 0.5185 GB, free: 37.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/0.9633, allocations: 19.98 kB / 0.5185 GB, free: 37.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008433/0.9642, allocations: 19.98 kB / 0.5185 GB, free: 37.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.9644, allocations: 87.7 kB / 0.5186 GB, free: 37.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.9645, allocations: 47.98 kB / 0.5186 GB, free: 37.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001722/0.9662, allocations: 1.046 MB / 0.5196 GB, free: 36.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-07/0.9662, allocations: 4 kB / 0.5197 GB, free: 36.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006932/0.9732, allocations: 0.6956 MB / 0.5203 GB, free: 35.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.0008055/0.974, allocations: 144 kB / 0.5205 GB, free: 35.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007981/0.9821, allocations: 2.157 MB / 0.5226 GB, free: 33.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.37e-05/0.9822, allocations: 0 / 0.5226 GB, free: 33.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/0.9843, allocations: 0.6005 MB / 0.5232 GB, free: 32.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.987, allocations: 181.9 kB / 0.5233 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02269/1.01, allocations: 5.008 MB / 0.5282 GB, free: 27.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008109/1.018, allocations: 2.464 MB / 0.5306 GB, free: 25.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/1.019, allocations: 163.4 kB / 0.5308 GB, free: 24.93 MB / 378.7 MB Notification: Performance of SimCode: time 3.119e-06/1.019, allocations: 0 / 0.5308 GB, free: 24.93 MB / 378.7 MB Notification: Performance of Templates: time 0.0761/1.096, allocations: 30.44 MB / 0.5605 GB, free: 10.54 MB / 394.7 MB