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.CutForceAndTorque3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadModel(ModelicaTest): time 2.288/2.288, allocations: 234.9 MB / 250.5 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004317/0.0004319, allocations: 8 kB / 314.3 MB, free: 9.641 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2927, allocations: 54.86 MB / 369.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.05986/0.3526, allocations: 44.8 MB / 414 MB, free: 15.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02532/0.378, allocations: 10.02 MB / 424 MB, free: 5.797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00839/0.3864, allocations: 211.6 kB / 424.2 MB, free: 5.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007179/0.3937, allocations: 2.31 MB / 426.5 MB, free: 3.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02158/0.4153, allocations: 6.393 MB / 432.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.4178, allocations: 327.6 kB / 433.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00384/0.4217, allocations: 1.592 MB / 434.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007306/0.4291, allocations: 3.866 MB / 438.7 MB, free: 7.012 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.4306, allocations: 0.7124 MB / 439.4 MB, free: 6.297 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.4324, allocations: 0.946 MB / 440.3 MB, free: 5.348 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004499/0.4329, allocations: 120 kB / 440.5 MB, free: 5.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001378/0.4343, allocations: 0.5461 MB / 441 MB, free: 4.684 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001567/0.4359, allocations: 1.223 MB / 442.2 MB, free: 3.457 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008781/0.4368, allocations: 0.6792 MB / 442.9 MB, free: 2.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006754/0.4435, allocations: 4.646 MB / 447.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.665e-06/0.4436, allocations: 0 / 447.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.824e-06/0.4436, allocations: 0 / 447.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000115/0.4437, allocations: 0 / 447.5 MB, free: 14.11 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: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.007111/0.4509, allocations: 3.112 MB / 450.7 MB, free: 10.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4509, allocations: 11.97 kB / 450.7 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009337/0.4603, allocations: 2.043 MB / 452.7 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004187/0.4645, allocations: 1.605 MB / 454.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/0.4648, allocations: 213.1 kB / 454.5 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009203/0.4657, allocations: 263.9 kB / 454.8 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01892/0.4847, allocations: 8.388 MB / 463.2 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.62e-05/0.4848, allocations: 19.81 kB / 463.2 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005648/0.4854, allocations: 127.8 kB / 463.3 MB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003645/0.4891, allocations: 1.756 MB / 465.1 MB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01879/0.5079, allocations: 7.061 MB / 472.1 MB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04887/0.5568, allocations: 25.85 MB / 498 MB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0076/0.5645, allocations: 2.552 MB / 0.4888 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01122/0.5757, allocations: 4.472 MB / 0.4932 GB, free: 3.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.5758, allocations: 43.56 kB / 0.4932 GB, free: 3.199 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 5.631e-06/0.5758, allocations: 0 / 0.4932 GB, free: 3.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=120): time 0.01082/0.5867, allocations: 2.979 MB / 0.4961 GB, free: 160 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.5868, allocations: 60.41 kB / 0.4962 GB, free: 88 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2574/0.8442, allocations: 2.218 MB / 0.4983 GB, free: 125.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001722/0.8444, allocations: 37.02 kB / 0.4984 GB, free: 125.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.8459, allocations: 2.308 MB / 0.5006 GB, free: 123.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005173/0.8465, allocations: 465.2 kB / 0.5011 GB, free: 123.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.8467, allocations: 71.25 kB / 0.5011 GB, free: 123.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.847, allocations: 469.1 kB / 0.5016 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00226/0.8492, allocations: 1.107 MB / 0.5027 GB, free: 122.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003285/0.8525, allocations: 3.249 MB / 0.5058 GB, free: 119.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003602/0.8562, allocations: 1.896 MB / 0.5077 GB, free: 118.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-05/0.8563, allocations: 19.47 kB / 0.5077 GB, free: 118.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.009561/0.8659, allocations: 4.213 MB / 0.5118 GB, free: 116.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.341e-05/0.866, allocations: 41.78 kB / 0.5119 GB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.301e-05/0.8661, allocations: 77.19 kB / 0.5119 GB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001217/0.8662, allocations: 113.8 kB / 0.5121 GB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/0.8693, allocations: 0.8036 MB / 0.5128 GB, free: 116.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000113/0.8695, allocations: 154.2 kB / 0.513 GB, free: 116 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003105/0.8726, allocations: 499 kB / 0.5135 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004979/0.8731, allocations: 220.5 kB / 0.5137 GB, free: 115.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 344 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 442 * Array equations: 5 * 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.00299/0.8761, allocations: 1.699 MB / 0.5153 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/0.8764, allocations: 197 kB / 0.5155 GB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.8793, allocations: 1.507 MB / 0.517 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/0.8794, allocations: 16 kB / 0.517 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.097e-06/0.8794, allocations: 0 / 0.517 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.8794, allocations: 7.547 kB / 0.517 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.8938, allocations: 7.358 MB / 0.5242 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.353e-05/0.8938, allocations: 16.03 kB / 0.5242 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008969/0.8947, allocations: 197.4 kB / 0.5244 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-05/0.8948, allocations: 25.97 kB / 0.5244 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.77e-05/0.8949, allocations: 36 kB / 0.5245 GB, free: 104.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.173e-05/0.8949, allocations: 27.92 kB / 0.5245 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.565e-05/0.895, allocations: 23.88 kB / 0.5245 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/0.8976, allocations: 1.978 MB / 0.5264 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005645/0.8982, allocations: 334 kB / 0.5268 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.8985, allocations: 35.98 kB / 0.5268 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.8996, allocations: 53.12 kB / 0.5268 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.8997, allocations: 107.6 kB / 0.527 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.8999, allocations: 55.98 kB / 0.527 GB, free: 102 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002386/0.9023, allocations: 1.542 MB / 0.5285 GB, free: 100.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.059e-06/0.9023, allocations: 0 / 0.5285 GB, free: 100.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003894/0.9062, allocations: 0.9232 MB / 0.5294 GB, free: 99.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.0004056/0.9066, allocations: 167.7 kB / 0.5296 GB, free: 99.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004876/0.9115, allocations: 2.597 MB / 0.5321 GB, free: 96.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/0.9116, allocations: 4 kB / 0.5321 GB, free: 96.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.9128, allocations: 0.6899 MB / 0.5328 GB, free: 96.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/0.9146, allocations: 303.5 kB / 0.5331 GB, free: 95.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/0.9353, allocations: 8.793 MB / 0.5417 GB, free: 86.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006882/0.9422, allocations: 2.895 MB / 0.5445 GB, free: 83.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001129/0.9434, allocations: 195.4 kB / 0.5447 GB, free: 83.69 MB / 426.7 MB Notification: Performance of SimCode: time 1.948e-06/0.9434, allocations: 0 / 0.5447 GB, free: 83.69 MB / 426.7 MB Notification: Performance of Templates: time 0.06187/1.005, allocations: 38.2 MB / 0.582 GB, free: 45.46 MB / 426.7 MB