Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.22/2.22, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.842e-05/1.843e-05, allocations: 7.984 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2775, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1483/0.4259, allocations: 98.04 MB / 456.1 MB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/0.4261, allocations: 75.97 kB / 456.1 MB, free: 12.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.779/1.205, allocations: 155.4 MB / 0.5972 GB, free: 1.117 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.778e-06/1.205, allocations: 4 kB / 0.5972 GB, free: 1.113 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004327/1.206, allocations: 156 kB / 0.5973 GB, free: 0.9609 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.02572/1.231, allocations: 7.739 MB / 0.6049 GB, free: 9.141 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/1.231, allocations: 8.031 kB / 0.6049 GB, free: 9.133 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02363/1.255, allocations: 3.624 MB / 0.6084 GB, free: 5.492 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02963/1.285, allocations: 9.53 MB / 0.6178 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00059/1.285, allocations: 267.9 kB / 0.618 GB, free: 11.62 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003355/1.289, allocations: 483.9 kB / 0.6185 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3095/1.598, allocations: 11.16 MB / 0.6294 GB, free: 64.83 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03918/1.638, allocations: 16.32 MB / 0.6453 GB, free: 60.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003929/1.638, allocations: 94.14 kB / 0.6454 GB, free: 60.81 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00261/1.641, allocations: 45.56 kB / 0.6454 GB, free: 60.81 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003492/1.644, allocations: 1.781 MB / 0.6472 GB, free: 60.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1081/1.752, allocations: 79.68 MB / 0.725 GB, free: 29.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005328/1.758, allocations: 2.985 MB / 0.7279 GB, free: 28.26 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002634/1.76, allocations: 1.416 MB / 0.7293 GB, free: 27.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/1.761, allocations: 43.72 kB / 0.7293 GB, free: 27.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/1.761, allocations: 61.62 kB / 0.7294 GB, free: 27.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=232): time 6.379e-06/1.761, allocations: 0 / 0.7294 GB, free: 27.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=244): time 0.03251/1.793, allocations: 11.44 MB / 0.7406 GB, free: 22.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/1.793, allocations: 156 kB / 0.7407 GB, free: 21.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01093/1.804, allocations: 5.03 MB / 0.7456 GB, free: 20.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004043/1.805, allocations: 25.7 kB / 0.7456 GB, free: 20.18 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00389/1.809, allocations: 5.515 MB / 0.751 GB, free: 15.99 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001157/1.81, allocations: 0.9296 MB / 0.7519 GB, free: 15.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000732/1.81, allocations: 0 / 0.7519 GB, free: 15.32 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000717/1.811, allocations: 0.6951 MB / 0.7526 GB, free: 14.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005194/1.816, allocations: 2.246 MB / 0.7548 GB, free: 14.06 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01091/1.827, allocations: 7.998 MB / 0.7626 GB, free: 5.461 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008608/1.836, allocations: 4.185 MB / 0.7667 GB, free: 4.184 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001711/1.836, allocations: 59.28 kB / 0.7668 GB, free: 4.184 MB / 474.7 MB Notification: Performance of matching and sorting (n=1182) (initialization): time 0.02235/1.859, allocations: 8.782 MB / 0.7753 GB, free: 1.145 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001843/1.859, allocations: 92 kB / 0.7754 GB, free: 1.055 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003144/1.859, allocations: 208 kB / 0.7756 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004367/1.86, allocations: 308.7 kB / 0.7759 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009799/1.869, allocations: 2.24 MB / 0.7781 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004222/1.87, allocations: 408.1 kB / 0.7785 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009788/1.88, allocations: 456.4 kB / 0.7789 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002096/1.882, allocations: 0.5544 MB / 0.7795 GB, free: 13.36 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 948 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1158): * Single equations (assignments): 1155 * 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.00231/1.884, allocations: 0.6112 MB / 0.7801 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/1.886, allocations: 0.5322 MB / 0.7806 GB, free: 12.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006317/1.892, allocations: 2.404 MB / 0.7829 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.881e-05/1.892, allocations: 28 kB / 0.783 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/1.892, allocations: 0 / 0.783 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-05/1.892, allocations: 14.16 kB / 0.783 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05173/1.944, allocations: 23.05 MB / 0.8055 GB, free: 6.734 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001094/1.944, allocations: 51.94 kB / 0.8055 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002364/1.946, allocations: 492.6 kB / 0.806 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/1.946, allocations: 68.75 kB / 0.8061 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003502/1.947, allocations: 71.47 kB / 0.8061 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.821e-05/1.947, allocations: 101 kB / 0.8062 GB, free: 6.047 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.366e-05/1.947, allocations: 75.69 kB / 0.8063 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.311/2.258, allocations: 12.58 MB / 0.8186 GB, free: 92.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/2.26, allocations: 0.6169 MB / 0.8192 GB, free: 92.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001539/2.262, allocations: 72.67 kB / 0.8193 GB, free: 92.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004367/2.266, allocations: 152.2 kB / 0.8194 GB, free: 92.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007825/2.267, allocations: 322.3 kB / 0.8197 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003844/2.267, allocations: 133.4 kB / 0.8199 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00879/2.276, allocations: 3.386 MB / 0.8232 GB, free: 92.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.395e-06/2.276, allocations: 0 / 0.8232 GB, free: 92.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01125/2.287, allocations: 1.268 MB / 0.8244 GB, free: 92.07 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 216 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 249 * 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.0009628/2.288, allocations: 224.9 kB / 0.8246 GB, free: 91.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01046/2.299, allocations: 5.281 MB / 0.8298 GB, free: 91.96 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.409e-05/2.299, allocations: 7.469 kB / 0.8298 GB, free: 91.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002527/2.301, allocations: 1.295 MB / 0.831 GB, free: 91.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005344/2.307, allocations: 0.695 MB / 0.8317 GB, free: 91.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0352/2.342, allocations: 14.42 MB / 0.8458 GB, free: 87.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01297/2.355, allocations: 5.697 MB / 0.8514 GB, free: 86.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00174/2.357, allocations: 446.3 kB / 0.8518 GB, free: 86.75 MB / 0.4948 GB Notification: Performance of SimCode: time 1.817e-06/2.357, allocations: 3.281 kB / 0.8518 GB, free: 86.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.1359/2.493, allocations: 87.75 MB / 0.9375 GB, free: 47.09 MB / 0.4948 GB