Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadModel(ModelicaTest): time 1.904/1.904, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004289, allocations: 8 kB / 283.1 MB, free: 9.711 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3896, allocations: 48.71 MB / 331.8 MB, free: 6.477 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.5536, allocations: 92.5 MB / 424.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.554, allocations: 83.95 kB / 424.4 MB, free: 1.852 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5549/1.109, allocations: 66.55 MB / 490.9 MB, free: 93.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.109, allocations: 0 / 490.9 MB, free: 93.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002238/1.109, allocations: 72.11 kB / 491 MB, free: 93.36 MB / 394.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.01185/1.121, allocations: 3.229 MB / 494.2 MB, free: 91.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/1.121, allocations: 20.05 kB / 494.3 MB, free: 91.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01413/1.135, allocations: 1.936 MB / 496.2 MB, free: 91.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006715/1.142, allocations: 2.038 MB / 498.2 MB, free: 91.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002913/1.142, allocations: 277.2 kB / 498.5 MB, free: 91.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001905/1.144, allocations: 368.5 kB / 498.9 MB, free: 91.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02305/1.167, allocations: 8.163 MB / 0.4951 GB, free: 88.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/1.168, allocations: 19.06 kB / 0.4952 GB, free: 88.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001178/1.169, allocations: 167.4 kB / 0.4953 GB, free: 88.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001599/1.17, allocations: 0.8085 MB / 0.4961 GB, free: 88.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02012/1.19, allocations: 7.013 MB / 0.503 GB, free: 86.44 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05027/1.241, allocations: 27.52 MB / 0.5298 GB, free: 65.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008167/1.249, allocations: 2.544 MB / 0.5323 GB, free: 62.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01206/1.261, allocations: 4.488 MB / 0.5367 GB, free: 58.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/1.261, allocations: 43.56 kB / 0.5367 GB, free: 58.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 5.14e-06/1.261, allocations: 0 / 0.5367 GB, free: 58.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.01223/1.273, allocations: 2.983 MB / 0.5396 GB, free: 55.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/1.274, allocations: 60.41 kB / 0.5397 GB, free: 54.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004364/1.278, allocations: 2.201 MB / 0.5419 GB, free: 52.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002418/1.278, allocations: 45.61 kB / 0.5419 GB, free: 52.65 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/1.28, allocations: 2.308 MB / 0.5442 GB, free: 50.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006362/1.28, allocations: 463.5 kB / 0.5446 GB, free: 49.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003336/1.281, allocations: 68 kB / 0.5447 GB, free: 49.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002511/1.281, allocations: 470.6 kB / 0.5451 GB, free: 49.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002589/1.284, allocations: 1.077 MB / 0.5462 GB, free: 48.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003901/1.288, allocations: 3.207 MB / 0.5493 GB, free: 44.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004074/1.292, allocations: 1.847 MB / 0.5511 GB, free: 42.17 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.382e-05/1.292, allocations: 20 kB / 0.5511 GB, free: 42.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.01034/1.302, allocations: 4.138 MB / 0.5552 GB, free: 38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.288e-05/1.302, allocations: 43.92 kB / 0.5552 GB, free: 37.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.35e-05/1.302, allocations: 76 kB / 0.5553 GB, free: 37.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/1.303, allocations: 112 kB / 0.5554 GB, free: 37.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004559/1.307, allocations: 0.8071 MB / 0.5562 GB, free: 36.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001207/1.307, allocations: 150.5 kB / 0.5563 GB, free: 36.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003546/1.311, allocations: 495.2 kB / 0.5568 GB, free: 36.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006402/1.311, allocations: 216 kB / 0.557 GB, free: 36.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * 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 (444): * Single equations (assignments): 441 * 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.00415/1.316, allocations: 1.705 MB / 0.5587 GB, free: 34.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004328/1.316, allocations: 201.4 kB / 0.5588 GB, free: 34.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0042/1.32, allocations: 1.51 MB / 0.5603 GB, free: 32.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/1.32, allocations: 12 kB / 0.5603 GB, free: 32.69 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/1.32, allocations: 0 / 0.5603 GB, free: 32.69 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/1.32, allocations: 3.984 kB / 0.5603 GB, free: 32.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01862/1.339, allocations: 7.379 MB / 0.5675 GB, free: 25.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/1.339, allocations: 12 kB / 0.5676 GB, free: 25.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/1.341, allocations: 191.6 kB / 0.5677 GB, free: 24.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-05/1.341, allocations: 24 kB / 0.5678 GB, free: 24.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/1.341, allocations: 39.98 kB / 0.5678 GB, free: 24.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.28e-05/1.341, allocations: 32.38 kB / 0.5678 GB, free: 24.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/1.341, allocations: 23.94 kB / 0.5678 GB, free: 24.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003509/1.344, allocations: 1.981 MB / 0.5698 GB, free: 22.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008132/1.345, allocations: 329.9 kB / 0.5701 GB, free: 22.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005027/1.346, allocations: 35.98 kB / 0.5701 GB, free: 22.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/1.347, allocations: 51.88 kB / 0.5702 GB, free: 22.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/1.347, allocations: 111.6 kB / 0.5703 GB, free: 22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/1.348, allocations: 51.98 kB / 0.5703 GB, free: 21.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003488/1.351, allocations: 1.542 MB / 0.5718 GB, free: 20.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.62e-07/1.351, allocations: 0 / 0.5718 GB, free: 20.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004606/1.356, allocations: 0.9284 MB / 0.5728 GB, free: 19.46 MB / 394.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.0005794/1.356, allocations: 172.2 kB / 0.5729 GB, free: 19.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006144/1.363, allocations: 2.545 MB / 0.5754 GB, free: 16.76 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/1.363, allocations: 4 kB / 0.5754 GB, free: 16.76 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001659/1.364, allocations: 0.6947 MB / 0.5761 GB, free: 16.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/1.367, allocations: 297.2 kB / 0.5764 GB, free: 15.79 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/1.386, allocations: 8.793 MB / 0.585 GB, free: 6.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006211/1.392, allocations: 2.891 MB / 0.5878 GB, free: 3.867 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009965/1.394, allocations: 195.4 kB / 0.588 GB, free: 3.676 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/1.394, allocations: 0 / 0.588 GB, free: 3.676 MB / 394.7 MB Notification: Performance of Templates: time 0.3808/1.774, allocations: 38.27 MB / 0.6253 GB, free: 99.03 MB / 426.7 MB