Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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.1_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002605/0.00261, allocations: 345.9 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.859/3.859, allocations: 341.5 MB / 358.2 MB, free: 28.72 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005611/0.005611, allocations: 211.4 kB / 397.8 MB, free: 6.152 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6379/0.6379, allocations: 76.1 MB / 0.5014 GB, free: 0.8398 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004769, allocations: 12 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09084/0.09134, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.546, allocations: 92.16 MB / 0.6967 GB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5464, allocations: 86.52 kB / 0.6968 GB, free: 11.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.1/1.646, allocations: 165 MB / 0.8579 GB, free: 76.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.895e-06/1.646, allocations: 3.562 kB / 0.8579 GB, free: 76.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00064/1.647, allocations: 156.1 kB / 0.8581 GB, free: 76.98 MB / 426.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.04628/1.693, allocations: 8.333 MB / 0.8662 GB, free: 73.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.693, allocations: 7.25 kB / 0.8662 GB, free: 73.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04685/1.74, allocations: 3.554 MB / 0.8697 GB, free: 72.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03797/1.778, allocations: 8.254 MB / 0.8778 GB, free: 71.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001352/1.779, allocations: 0.6252 MB / 0.8784 GB, free: 71.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006415/1.786, allocations: 0.8268 MB / 0.8792 GB, free: 71.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0919/1.878, allocations: 19.56 MB / 0.8983 GB, free: 62.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008368/1.879, allocations: 98.53 kB / 0.8984 GB, free: 62.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005927/1.885, allocations: 399.2 kB / 0.8988 GB, free: 61.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006828/1.892, allocations: 1.867 MB / 0.9006 GB, free: 60.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07532/1.967, allocations: 15.38 MB / 0.9156 GB, free: 45.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5761/2.543, allocations: 81.34 MB / 0.995 GB, free: 31.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02923/2.573, allocations: 5.986 MB / 1.001 GB, free: 30.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007668/2.58, allocations: 2.523 MB / 1.003 GB, free: 30.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03314/2.613, allocations: 11.23 MB / 1.014 GB, free: 27.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/2.614, allocations: 62.75 kB / 1.014 GB, free: 27.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 6.082e-06/2.614, allocations: 0 / 1.014 GB, free: 27.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=274): time 0.07536/2.689, allocations: 16.33 MB / 1.03 GB, free: 22.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/2.689, allocations: 155.4 kB / 1.03 GB, free: 22.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02374/2.713, allocations: 6.776 MB / 1.037 GB, free: 22.2 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006903/2.714, allocations: 62.48 kB / 1.037 GB, free: 22.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007391/2.721, allocations: 5.804 MB / 1.043 GB, free: 19.06 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002158/2.723, allocations: 1.052 MB / 1.044 GB, free: 18.47 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/2.725, allocations: 182.3 kB / 1.044 GB, free: 18.47 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001141/2.726, allocations: 0.6908 MB / 1.045 GB, free: 18.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01207/2.738, allocations: 2.682 MB / 1.047 GB, free: 18.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0173/2.755, allocations: 8.492 MB / 1.056 GB, free: 10.63 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01689/2.772, allocations: 4.612 MB / 1.06 GB, free: 9.332 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003443/2.773, allocations: 60.47 kB / 1.06 GB, free: 9.332 MB / 442.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03285/2.806, allocations: 10.83 MB / 1.071 GB, free: 6.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/2.806, allocations: 97.48 kB / 1.071 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004007/2.806, allocations: 208.2 kB / 1.071 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003312/2.806, allocations: 303.9 kB / 1.071 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01444/2.821, allocations: 2.245 MB / 1.073 GB, free: 5.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004319/2.821, allocations: 407.1 kB / 1.074 GB, free: 5.895 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01188/2.833, allocations: 0.6205 MB / 1.074 GB, free: 5.734 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002116/2.835, allocations: 0.552 MB / 1.075 GB, free: 5.664 MB / 442.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 () * Number of clocked 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.01157/2.847, allocations: 3.746 MB / 1.079 GB, free: 3.984 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/2.849, allocations: 0.5847 MB / 1.079 GB, free: 3.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008764/2.857, allocations: 3 MB / 1.082 GB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.363e-05/2.858, allocations: 31.09 kB / 1.082 GB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/2.858, allocations: 0 / 1.082 GB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-05/2.858, allocations: 13.27 kB / 1.082 GB, free: 2.461 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06133/2.919, allocations: 24.82 MB / 1.106 GB, free: 36 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004043/2.919, allocations: 70.02 kB / 1.107 GB, free: 0 / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004773/2.924, allocations: 0.6243 MB / 1.107 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/2.924, allocations: 92 kB / 1.107 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006115/2.925, allocations: 133.8 kB / 1.107 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001318/2.925, allocations: 120.5 kB / 1.107 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.281e-05/2.925, allocations: 95.62 kB / 1.108 GB, free: 15.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01235/2.938, allocations: 5.739 MB / 1.113 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002744/2.94, allocations: 0.7196 MB / 1.114 GB, free: 7.992 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002215/2.943, allocations: 142.8 kB / 1.114 GB, free: 7.867 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005961/2.949, allocations: 208.5 kB / 1.114 GB, free: 7.703 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/2.95, allocations: 412 kB / 1.115 GB, free: 7.371 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004521/2.95, allocations: 172 kB / 1.115 GB, free: 7.207 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01427/2.965, allocations: 4.277 MB / 1.119 GB, free: 3.746 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.92e-07/2.965, allocations: 0 / 1.119 GB, free: 3.746 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01309/2.978, allocations: 1.55 MB / 1.12 GB, free: 2.203 MB / 474.7 MB 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 () * Number of clocked 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.00137/2.979, allocations: 317 kB / 1.121 GB, free: 1.891 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01888/2.998, allocations: 6.256 MB / 1.127 GB, free: 12.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.346e-05/2.998, allocations: 15.66 kB / 1.127 GB, free: 12.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004469/3.003, allocations: 1.613 MB / 1.128 GB, free: 11.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01125/3.014, allocations: 0.9541 MB / 1.129 GB, free: 10.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05527/3.069, allocations: 21.21 MB / 1.15 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01721/3.087, allocations: 5.951 MB / 1.156 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01626/3.103, allocations: 2.896 MB / 1.159 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002397/3.105, allocations: 415.3 kB / 1.159 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/3.105, allocations: 4 kB / 1.159 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of Templates: time 0.554/3.659, allocations: 47.87 MB / 1.206 GB, free: 141.7 MB / 0.5105 GB