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.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.3 MB / 224.8 MB, free: 1.199 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004432, allocations: 16 kB / 282.6 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08799/0.08846, allocations: 48.7 MB / 331.3 MB, free: 8.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3428/0.4313, allocations: 89.43 MB / 420.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.4316, allocations: 83.94 kB / 420.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2139/0.6456, allocations: 56.84 MB / 477.6 MB, free: 2.391 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.599e-06/0.6456, allocations: 4 kB / 477.6 MB, free: 2.387 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001378/0.6458, allocations: 59.94 kB / 477.7 MB, free: 2.328 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: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.008487/0.6543, allocations: 2.766 MB / 480.5 MB, free: 15.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.6543, allocations: 16.03 kB / 480.5 MB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/0.6646, allocations: 1.837 MB / 482.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005186/0.6698, allocations: 1.731 MB / 484 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.6702, allocations: 233.9 kB / 484.3 MB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001358/0.6716, allocations: 295.9 kB / 484.6 MB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01875/0.6904, allocations: 6.799 MB / 491.4 MB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.684e-05/0.6905, allocations: 19.75 kB / 491.4 MB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009538/0.6915, allocations: 143.9 kB / 491.5 MB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001326/0.6928, allocations: 0.6962 MB / 492.2 MB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2569/0.9497, allocations: 5.935 MB / 498.2 MB, free: 98.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05469/1.004, allocations: 23.83 MB / 0.5097 GB, free: 87.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005671/1.01, allocations: 2.191 MB / 0.5119 GB, free: 87.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008891/1.019, allocations: 4.015 MB / 0.5158 GB, free: 85.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/1.019, allocations: 38.31 kB / 0.5158 GB, free: 85.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 5.465e-06/1.019, allocations: 0 / 0.5158 GB, free: 85.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.008081/1.027, allocations: 2.514 MB / 0.5183 GB, free: 84.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/1.027, allocations: 58.88 kB / 0.5184 GB, free: 84.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/1.031, allocations: 1.789 MB / 0.5201 GB, free: 83.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001357/1.031, allocations: 41.52 kB / 0.5201 GB, free: 83.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/1.032, allocations: 2.014 MB / 0.5221 GB, free: 82.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003932/1.032, allocations: 375.5 kB / 0.5225 GB, free: 81.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/1.032, allocations: 62.64 kB / 0.5225 GB, free: 81.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002178/1.033, allocations: 461.3 kB / 0.523 GB, free: 81.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/1.035, allocations: 0.9484 MB / 0.5239 GB, free: 81.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/1.037, allocations: 2.899 MB / 0.5267 GB, free: 78.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/1.04, allocations: 1.665 MB / 0.5283 GB, free: 77.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-05/1.04, allocations: 22.81 kB / 0.5284 GB, free: 77.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.007867/1.048, allocations: 3.713 MB / 0.532 GB, free: 76.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.396e-05/1.048, allocations: 33.56 kB / 0.532 GB, free: 76.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-05/1.048, allocations: 69.31 kB / 0.5321 GB, free: 76.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/1.048, allocations: 104.3 kB / 0.5322 GB, free: 76.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002792/1.051, allocations: 0.7219 MB / 0.5329 GB, free: 76.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001131/1.051, allocations: 138.2 kB / 0.533 GB, free: 76.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/1.054, allocations: 442 kB / 0.5335 GB, free: 75.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004178/1.055, allocations: 194.1 kB / 0.5336 GB, free: 75.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 317 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (395): * Single equations (assignments): 392 * 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.002667/1.057, allocations: 1.47 MB / 0.5351 GB, free: 75.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/1.058, allocations: 170.3 kB / 0.5352 GB, free: 75.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/1.06, allocations: 1.236 MB / 0.5364 GB, free: 74.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/1.06, allocations: 14.89 kB / 0.5365 GB, free: 74.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.06, allocations: 0 / 0.5365 GB, free: 74.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/1.06, allocations: 3.844 kB / 0.5365 GB, free: 74.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/1.071, allocations: 5.035 MB / 0.5414 GB, free: 72.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/1.071, allocations: 7.594 kB / 0.5414 GB, free: 72.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008303/1.072, allocations: 143.7 kB / 0.5415 GB, free: 72.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.056e-05/1.072, allocations: 17.09 kB / 0.5415 GB, free: 72.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-05/1.072, allocations: 24.09 kB / 0.5416 GB, free: 72.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.719e-05/1.072, allocations: 20.61 kB / 0.5416 GB, free: 72.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.205e-05/1.073, allocations: 15.38 kB / 0.5416 GB, free: 72.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/1.075, allocations: 2.305 MB / 0.5438 GB, free: 70.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005135/1.076, allocations: 278.4 kB / 0.5441 GB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/1.076, allocations: 34.95 kB / 0.5441 GB, free: 70.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009367/1.077, allocations: 42.66 kB / 0.5442 GB, free: 70.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/1.077, allocations: 76.27 kB / 0.5443 GB, free: 70.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/1.077, allocations: 44.42 kB / 0.5443 GB, free: 70.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002434/1.08, allocations: 1.313 MB / 0.5456 GB, free: 69.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.08, allocations: 0 / 0.5456 GB, free: 69.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003841/1.084, allocations: 0.7724 MB / 0.5463 GB, free: 69.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0003912/1.084, allocations: 157.6 kB / 0.5465 GB, free: 69.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004325/1.088, allocations: 2.224 MB / 0.5487 GB, free: 68.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/1.088, allocations: 3.875 kB / 0.5487 GB, free: 68.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00106/1.089, allocations: 0.5602 MB / 0.5492 GB, free: 68.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/1.091, allocations: 244.6 kB / 0.5494 GB, free: 68.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/1.108, allocations: 7.255 MB / 0.5565 GB, free: 64.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008672/1.117, allocations: 2.509 MB / 0.559 GB, free: 63.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/1.119, allocations: 170.1 kB / 0.5591 GB, free: 63.2 MB / 410.7 MB Notification: Performance of SimCode: time 3.813e-06/1.119, allocations: 0 / 0.5591 GB, free: 63.2 MB / 410.7 MB Notification: Performance of Templates: time 0.0833/1.202, allocations: 32.3 MB / 0.5907 GB, free: 35.34 MB / 410.7 MB