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.CutTorque.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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadModel(ModelicaTest): time 2.215/2.215, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.624e-05, allocations: 4 kB / 309.7 MB, free: 1.344 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3121, allocations: 54.87 MB / 364.5 MB, free: 5.512 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2074/0.5196, allocations: 98.81 MB / 463.3 MB, free: 13.64 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/0.52, allocations: 83.64 kB / 463.4 MB, free: 13.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9707/1.491, allocations: 166.3 MB / 0.6149 GB, free: 77.41 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.426e-06/1.491, allocations: 0 / 0.6149 GB, free: 77.41 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003753/1.491, allocations: 164 kB / 0.6151 GB, free: 77.25 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.02312/1.514, allocations: 7.971 MB / 0.6229 GB, free: 69.19 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/1.514, allocations: 8.031 kB / 0.6229 GB, free: 69.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02463/1.539, allocations: 3.666 MB / 0.6265 GB, free: 65.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02505/1.564, allocations: 9.687 MB / 0.6359 GB, free: 55.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007376/1.565, allocations: 0.6297 MB / 0.6365 GB, free: 55.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003485/1.568, allocations: 0.8282 MB / 0.6374 GB, free: 54.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04709/1.616, allocations: 19.38 MB / 0.6563 GB, free: 33.36 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004449/1.616, allocations: 95.06 kB / 0.6564 GB, free: 33.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003164/1.619, allocations: 395.8 kB / 0.6567 GB, free: 32.88 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003407/1.623, allocations: 1.873 MB / 0.6586 GB, free: 31 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03695/1.66, allocations: 15.04 MB / 0.6733 GB, free: 15.94 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4113/2.071, allocations: 81.53 MB / 0.7529 GB, free: 34.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02106/2.092, allocations: 5.921 MB / 0.7587 GB, free: 34.12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004993/2.097, allocations: 2.477 MB / 0.7611 GB, free: 34.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02578/2.123, allocations: 11.33 MB / 0.7721 GB, free: 30.87 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/2.123, allocations: 68.31 kB / 0.7722 GB, free: 30.83 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 7.144e-06/2.123, allocations: 1.312 kB / 0.7722 GB, free: 30.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=274): time 0.0538/2.177, allocations: 14.98 MB / 0.7868 GB, free: 26.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.057e-05/2.177, allocations: 156.2 kB / 0.787 GB, free: 25.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0123/2.189, allocations: 5.843 MB / 0.7927 GB, free: 25.38 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004353/2.19, allocations: 63.02 kB / 0.7928 GB, free: 25.35 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003863/2.194, allocations: 5.576 MB / 0.7982 GB, free: 22.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001211/2.195, allocations: 1.056 MB / 0.7992 GB, free: 21.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008174/2.196, allocations: 183.4 kB / 0.7994 GB, free: 21.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005991/2.196, allocations: 0.6938 MB / 0.8001 GB, free: 21.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005318/2.202, allocations: 2.478 MB / 0.8025 GB, free: 20.37 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008687/2.21, allocations: 8.247 MB / 0.8106 GB, free: 11.78 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008511/2.219, allocations: 4.468 MB / 0.8149 GB, free: 10.56 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001586/2.219, allocations: 56.75 kB / 0.815 GB, free: 10.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02288/2.242, allocations: 10.19 MB / 0.8249 GB, free: 7.43 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001656/2.242, allocations: 94.22 kB / 0.825 GB, free: 7.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002489/2.243, allocations: 211.5 kB / 0.8252 GB, free: 7.426 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003403/2.243, allocations: 300.4 kB / 0.8255 GB, free: 7.426 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/2.253, allocations: 2.245 MB / 0.8277 GB, free: 7.152 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003489/2.253, allocations: 405.9 kB / 0.8281 GB, free: 7.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009756/2.263, allocations: 0.6229 MB / 0.8287 GB, free: 6.891 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001591/2.265, allocations: 0.55 MB / 0.8292 GB, free: 6.82 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 940 * 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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1168): * Single equations (assignments): 1165 * 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.002106/2.267, allocations: 0.8277 MB / 0.8301 GB, free: 6.145 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/2.268, allocations: 0.5941 MB / 0.8306 GB, free: 5.812 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006643/2.275, allocations: 2.921 MB / 0.8335 GB, free: 4.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-05/2.275, allocations: 31.5 kB / 0.8335 GB, free: 4.68 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.496e-05/2.275, allocations: 3.562 kB / 0.8335 GB, free: 4.68 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.746e-05/2.275, allocations: 10.83 kB / 0.8335 GB, free: 4.68 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05106/2.326, allocations: 24.78 MB / 0.8577 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001302/2.326, allocations: 61.69 kB / 0.8578 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002801/2.329, allocations: 0.5973 MB / 0.8584 GB, free: 360 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/2.329, allocations: 96 kB / 0.8585 GB, free: 264 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003526/2.33, allocations: 135.5 kB / 0.8586 GB, free: 132 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000113/2.33, allocations: 121.7 kB / 0.8587 GB, free: 24 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001116/2.33, allocations: 95.67 kB / 0.8588 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/2.345, allocations: 16.85 MB / 0.8752 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/2.347, allocations: 0.7257 MB / 0.876 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001447/2.349, allocations: 148.3 kB / 0.8761 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004549/2.353, allocations: 201.4 kB / 0.8763 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008911/2.354, allocations: 413.6 kB / 0.8767 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000456/2.355, allocations: 170.5 kB / 0.8768 GB, free: 11.51 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01036/2.365, allocations: 4.09 MB / 0.8808 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.389e-06/2.365, allocations: 0 / 0.8808 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01196/2.377, allocations: 1.554 MB / 0.8824 GB, free: 6.375 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 315 * 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.001086/2.378, allocations: 303.8 kB / 0.8826 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01393/2.392, allocations: 6.022 MB / 0.8885 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.845e-05/2.392, allocations: 8 kB / 0.8885 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003807/2.396, allocations: 1.585 MB / 0.8901 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006676/2.403, allocations: 0.9125 MB / 0.891 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4376/2.84, allocations: 15.78 MB / 0.9064 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02328/2.864, allocations: 5.964 MB / 0.9122 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001879/2.866, allocations: 486.4 kB / 0.9127 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.927e-06/2.866, allocations: 3.188 kB / 0.9127 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.1551/3.021, allocations: 95.5 MB / 1.006 GB, free: 103.6 MB / 0.5261 GB