Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002603/0.002608, allocations: 347.2 kB / 15.94 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.569/3.569, allocations: 341.5 MB / 358.2 MB, free: 28.6 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.00357/0.00357, allocations: 223.6 kB / 397.8 MB, free: 6.004 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.529/0.529, allocations: 76.1 MB / 0.5014 GB, free: 0.793 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004822, allocations: 8 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09477/0.09527, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4572/0.5526, allocations: 89.44 MB / 0.6941 GB, free: 14.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003616/0.553, allocations: 78.72 kB / 0.6941 GB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2379/0.7909, allocations: 56.35 MB / 0.7492 GB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.791, allocations: 0 / 0.7492 GB, free: 12.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001616/0.7912, allocations: 59.98 kB / 0.7492 GB, free: 12.93 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: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.01075/0.8019, allocations: 2.728 MB / 0.7519 GB, free: 10.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.802, allocations: 8.031 kB / 0.7519 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01415/0.8162, allocations: 1.84 MB / 0.7537 GB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006189/0.8224, allocations: 1.746 MB / 0.7554 GB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000328/0.8228, allocations: 225.9 kB / 0.7556 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/0.8245, allocations: 287.9 kB / 0.7559 GB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02139/0.8459, allocations: 6.787 MB / 0.7625 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001072/0.8461, allocations: 15.88 kB / 0.7625 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009767/0.8471, allocations: 131.9 kB / 0.7627 GB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001651/0.8488, allocations: 0.7001 MB / 0.7633 GB, free: 13.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01901/0.8678, allocations: 5.9 MB / 0.7691 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04893/0.9168, allocations: 23.79 MB / 0.7923 GB, free: 15.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007715/0.9246, allocations: 2.186 MB / 0.7945 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/0.9269, allocations: 0.8128 MB / 0.7953 GB, free: 12.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0129/0.9398, allocations: 3.98 MB / 0.7992 GB, free: 8.336 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.9399, allocations: 47.16 kB / 0.7992 GB, free: 8.281 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 5.3e-06/0.9399, allocations: 0 / 0.7992 GB, free: 8.281 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.01085/0.9508, allocations: 2.252 MB / 0.8014 GB, free: 6.023 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.823e-05/0.9509, allocations: 60.06 kB / 0.8015 GB, free: 5.953 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004884/0.9558, allocations: 2.008 MB / 0.8034 GB, free: 3.945 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002058/0.9561, allocations: 37.7 kB / 0.8034 GB, free: 3.902 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002218/0.9583, allocations: 1.999 MB / 0.8054 GB, free: 1.871 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006723/0.959, allocations: 375.2 kB / 0.8058 GB, free: 1.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003278/0.9594, allocations: 64 kB / 0.8058 GB, free: 1.438 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004967/0.9599, allocations: 0.4977 MB / 0.8063 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2874/1.247, allocations: 0.9425 MB / 0.8072 GB, free: 114.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004539/1.252, allocations: 2.91 MB / 0.8101 GB, free: 112.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004098/1.256, allocations: 1.661 MB / 0.8117 GB, free: 112.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.581e-05/1.256, allocations: 26.47 kB / 0.8117 GB, free: 112.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.01104/1.267, allocations: 3.753 MB / 0.8154 GB, free: 112.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.196e-05/1.267, allocations: 35.34 kB / 0.8154 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001291/1.268, allocations: 70.44 kB / 0.8155 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/1.268, allocations: 104.1 kB / 0.8156 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004656/1.272, allocations: 0.7192 MB / 0.8163 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000193/1.273, allocations: 140 kB / 0.8164 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/1.276, allocations: 442.6 kB / 0.8168 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008163/1.277, allocations: 196 kB / 0.817 GB, free: 112.1 MB / 426.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.004131/1.281, allocations: 1.456 MB / 0.8184 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000461/1.282, allocations: 169.4 kB / 0.8186 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003439/1.285, allocations: 1.237 MB / 0.8198 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.534e-05/1.285, allocations: 14.86 kB / 0.8198 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/1.285, allocations: 3.375 kB / 0.8198 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/1.285, allocations: 5.031 kB / 0.8198 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/1.3, allocations: 5.039 MB / 0.8248 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.553e-05/1.301, allocations: 9.469 kB / 0.8248 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001489/1.302, allocations: 142.1 kB / 0.8249 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-05/1.302, allocations: 15.06 kB / 0.8249 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/1.302, allocations: 33 kB / 0.825 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.943e-05/1.302, allocations: 20.12 kB / 0.825 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.577e-05/1.302, allocations: 14.31 kB / 0.825 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004275/1.307, allocations: 1.576 MB / 0.8265 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009287/1.308, allocations: 274.2 kB / 0.8268 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006072/1.308, allocations: 27.19 kB / 0.8268 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.31, allocations: 34.25 kB / 0.8268 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003114/1.311, allocations: 86.64 kB / 0.8269 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/1.311, allocations: 45.12 kB / 0.827 GB, free: 110.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004375/1.315, allocations: 1.311 MB / 0.8282 GB, free: 110 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.112e-06/1.315, allocations: 3.656 kB / 0.8283 GB, free: 110 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00622/1.321, allocations: 0.7616 MB / 0.829 GB, free: 109.9 MB / 426.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.0006622/1.322, allocations: 157.9 kB / 0.8291 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007376/1.33, allocations: 2.229 MB / 0.8313 GB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/1.33, allocations: 3.312 kB / 0.8313 GB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001788/1.331, allocations: 0.5559 MB / 0.8319 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003182/1.335, allocations: 260 kB / 0.8321 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02008/1.355, allocations: 6.94 MB / 0.8389 GB, free: 106.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006711/1.362, allocations: 2.506 MB / 0.8413 GB, free: 105.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006306/1.368, allocations: 1.037 MB / 0.8424 GB, free: 105 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000987/1.369, allocations: 131.6 kB / 0.8425 GB, free: 105 MB / 426.7 MB Notification: Performance of SimCode: time 1.623e-06/1.369, allocations: 7.938 kB / 0.8425 GB, free: 105 MB / 426.7 MB Notification: Performance of Templates: time 0.05242/1.421, allocations: 15.06 MB / 0.8572 GB, free: 104.2 MB / 426.7 MB