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.CutForceAndTorque1.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.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadModel(ModelicaTest): time 1.855/1.855, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004488/0.0004489, allocations: 16 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2866, allocations: 48.7 MB / 331.2 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.1604/0.447, allocations: 109.3 MB / 440.4 MB, free: 1.027 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.06115/0.5082, allocations: 23.84 MB / 464.3 MB, free: 9.113 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02204/0.5303, allocations: 0.5339 MB / 464.8 MB, free: 8.578 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01725/0.5476, allocations: 5.658 MB / 470.5 MB, free: 2.895 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3192/0.8669, allocations: 15.5 MB / 486 MB, free: 5.082 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006893/0.8739, allocations: 1.417 MB / 487.4 MB, free: 5.062 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01033/0.8842, allocations: 5.44 MB / 492.8 MB, free: 5 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01745/0.9017, allocations: 11.37 MB / 0.4924 GB, free: 2.977 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004492/0.9063, allocations: 2.509 MB / 0.4948 GB, free: 2.52 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004928/0.9112, allocations: 3.32 MB / 0.4981 GB, free: 1.758 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001683/0.9129, allocations: 381.6 kB / 0.4984 GB, free: 1.754 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/0.9164, allocations: 1.019 MB / 0.4994 GB, free: 1.562 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004768/0.9212, allocations: 3.915 MB / 0.5033 GB, free: 0.75 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002577/0.9238, allocations: 1.962 MB / 0.5052 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01794/0.9417, allocations: 13.12 MB / 0.518 GB, free: 9.168 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.036e-06/0.9418, allocations: 0 / 0.518 GB, free: 9.168 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.954e-06/0.9418, allocations: 0 / 0.518 GB, free: 9.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004134/0.9422, allocations: 0 / 0.518 GB, free: 9.168 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.02395/0.9662, allocations: 9.609 MB / 0.5274 GB, free: 328 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.9663, allocations: 8.031 kB / 0.5274 GB, free: 320 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01876/0.985, allocations: 3.474 MB / 0.5308 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/1, allocations: 6.396 MB / 0.537 GB, free: 8.301 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006728/1.001, allocations: 0.591 MB / 0.5376 GB, free: 7.969 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002765/1.004, allocations: 0.7708 MB / 0.5383 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05736/1.061, allocations: 24.68 MB / 0.5625 GB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003076/1.061, allocations: 82.8 kB / 0.5625 GB, free: 4.496 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001727/1.063, allocations: 364.7 kB / 0.5629 GB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009193/1.072, allocations: 4.536 MB / 0.5673 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05326/1.126, allocations: 19.4 MB / 0.5863 GB, free: 3.215 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6816/1.807, allocations: 85.94 MB / 0.6702 GB, free: 149.7 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02789/1.835, allocations: 7.778 MB / 0.6778 GB, free: 149 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02818/1.864, allocations: 13.28 MB / 0.6907 GB, free: 145.6 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/1.864, allocations: 73.62 kB / 0.6908 GB, free: 145.6 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=336): time 8.133e-06/1.864, allocations: 0 / 0.6908 GB, free: 145.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=360): time 0.06731/1.931, allocations: 21.09 MB / 0.7114 GB, free: 134.5 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/1.931, allocations: 169.2 kB / 0.7116 GB, free: 134.3 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01366/1.945, allocations: 7.825 MB / 0.7192 GB, free: 130.4 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0005527/1.945, allocations: 84.03 kB / 0.7193 GB, free: 130.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004115/1.949, allocations: 6.524 MB / 0.7257 GB, free: 124.6 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001445/1.951, allocations: 1.363 MB / 0.727 GB, free: 123.4 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007776/1.952, allocations: 217.3 kB / 0.7272 GB, free: 123.3 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000603/1.952, allocations: 0.7754 MB / 0.728 GB, free: 122.6 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007293/1.96, allocations: 3.232 MB / 0.7311 GB, free: 119.4 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01004/1.97, allocations: 9.825 MB / 0.7407 GB, free: 106.6 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009959/1.98, allocations: 5.417 MB / 0.746 GB, free: 101.5 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001606/1.98, allocations: 68 kB / 0.7461 GB, free: 101.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 0.0258/2.006, allocations: 12.49 MB / 0.7583 GB, free: 89.11 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001671/2.006, allocations: 105 kB / 0.7584 GB, free: 89.01 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002306/2.006, allocations: 232 kB / 0.7586 GB, free: 88.79 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003296/2.007, allocations: 340 kB / 0.7589 GB, free: 88.45 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01334/2.02, allocations: 2.558 MB / 0.7614 GB, free: 85.89 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000549/2.021, allocations: 457.1 kB / 0.7619 GB, free: 85.45 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01545/2.036, allocations: 0.5151 MB / 0.7624 GB, free: 84.93 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002515/2.039, allocations: 0.6637 MB / 0.763 GB, free: 84.27 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1060 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[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 (1374): * Single equations (assignments): 1363 * Array equations: 11 * 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.01143/2.05, allocations: 4.517 MB / 0.7674 GB, free: 79.73 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/2.051, allocations: 0.6555 MB / 0.7681 GB, free: 79.07 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008433/2.06, allocations: 4.085 MB / 0.772 GB, free: 74.94 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.932e-05/2.06, allocations: 40.41 kB / 0.7721 GB, free: 74.9 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/2.06, allocations: 4 kB / 0.7721 GB, free: 74.89 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.612e-05/2.06, allocations: 15.94 kB / 0.7721 GB, free: 74.88 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07858/2.138, allocations: 49.28 MB / 0.8202 GB, free: 24.58 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.935e-05/2.139, allocations: 72 kB / 0.8203 GB, free: 24.51 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003205/2.142, allocations: 0.7407 MB / 0.821 GB, free: 23.77 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/2.142, allocations: 111.9 kB / 0.8211 GB, free: 23.66 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003404/2.142, allocations: 164.5 kB / 0.8213 GB, free: 23.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.319e-05/2.142, allocations: 147.4 kB / 0.8214 GB, free: 23.35 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.939e-05/2.142, allocations: 111.6 kB / 0.8215 GB, free: 23.24 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009176/2.152, allocations: 7.32 MB / 0.8287 GB, free: 14.68 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002097/2.154, allocations: 0.8084 MB / 0.8295 GB, free: 13.84 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/2.155, allocations: 167.9 kB / 0.8296 GB, free: 13.68 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004879/2.16, allocations: 224.3 kB / 0.8298 GB, free: 13.46 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007955/2.161, allocations: 493.9 kB / 0.8303 GB, free: 12.98 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004075/2.161, allocations: 212 kB / 0.8305 GB, free: 12.77 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.009252/2.171, allocations: 4.928 MB / 0.8353 GB, free: 7.883 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.63e-06/2.171, allocations: 0 / 0.8353 GB, free: 7.883 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01232/2.183, allocations: 1.905 MB / 0.8372 GB, free: 5.98 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 334 * 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 (380): * Single equations (assignments): 377 * 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.001118/2.184, allocations: 379 kB / 0.8375 GB, free: 5.605 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.3029/2.487, allocations: 7.647 MB / 0.845 GB, free: 191.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 4.996e-05/2.487, allocations: 10.25 kB / 0.845 GB, free: 191.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004878/2.492, allocations: 2.138 MB / 0.8471 GB, free: 191.2 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01108/2.503, allocations: 1.034 MB / 0.8481 GB, free: 191.2 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04594/2.549, allocations: 27.09 MB / 0.8746 GB, free: 176.6 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01398/2.563, allocations: 7.137 MB / 0.8815 GB, free: 174.4 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002309/2.566, allocations: 0.5792 MB / 0.8821 GB, free: 174.3 MB / 0.4949 GB Notification: Performance of SimCode: time 1.662e-06/2.566, allocations: 0 / 0.8821 GB, free: 174.3 MB / 0.4949 GB Notification: Performance of Templates: time 0.1654/2.731, allocations: 114.1 MB / 0.9935 GB, free: 66.34 MB / 0.4949 GB