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.002621/0.002621, allocations: 352.4 kB / 15.95 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.359/3.359, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.004127/0.004126, allocations: 229.1 kB / 397.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6023/0.6023, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000689/0.0006892, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08443/0.08516, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.3009/0.3862, allocations: 33.81 MB / 0.6398 GB, free: 71.12 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02087/0.4071, allocations: 7.079 MB / 0.6467 GB, free: 66.37 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008115/0.4152, allocations: 149.1 kB / 0.6468 GB, free: 66.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006214/0.4215, allocations: 1.675 MB / 0.6484 GB, free: 65.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01971/0.4413, allocations: 5.683 MB / 0.654 GB, free: 62.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002693/0.444, allocations: 266.5 kB / 0.6543 GB, free: 62.41 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0056/0.4497, allocations: 2.838 MB / 0.657 GB, free: 60.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005971/0.4557, allocations: 3.037 MB / 0.66 GB, free: 58.31 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00165/0.4574, allocations: 0.7238 MB / 0.6607 GB, free: 57.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/0.4598, allocations: 1.149 MB / 0.6618 GB, free: 56.43 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006378/0.4605, allocations: 96 kB / 0.6619 GB, free: 56.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001704/0.4622, allocations: 0.5305 MB / 0.6624 GB, free: 55.81 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001491/0.4637, allocations: 1.063 MB / 0.6635 GB, free: 54.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006931/0.4644, allocations: 0.5623 MB / 0.664 GB, free: 54.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004909/0.4694, allocations: 3.721 MB / 0.6677 GB, free: 50.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4694, allocations: 3.984 kB / 0.6677 GB, free: 50.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4694, allocations: 6.812 kB / 0.6677 GB, free: 50.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001811/0.4696, allocations: 0 / 0.6677 GB, free: 50.43 MB / 362.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.006915/0.4766, allocations: 2.647 MB / 0.6702 GB, free: 47.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4766, allocations: 8.031 kB / 0.6703 GB, free: 47.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01619/0.4928, allocations: 1.946 MB / 0.6722 GB, free: 45.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005416/0.4983, allocations: 1.382 MB / 0.6735 GB, free: 44.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.4986, allocations: 156 kB / 0.6737 GB, free: 44.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/0.5, allocations: 208.9 kB / 0.6739 GB, free: 43.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01664/0.5167, allocations: 6.988 MB / 0.6807 GB, free: 36.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.219e-05/0.5168, allocations: 19.88 kB / 0.6807 GB, free: 36.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004251/0.5172, allocations: 99.84 kB / 0.6808 GB, free: 36.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003581/0.5208, allocations: 1.517 MB / 0.6823 GB, free: 35.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01616/0.537, allocations: 5.966 MB / 0.6881 GB, free: 29.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03999/0.5771, allocations: 22.14 MB / 0.7097 GB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007009/0.5841, allocations: 2.19 MB / 0.7119 GB, free: 4.074 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001952/0.5861, allocations: 0.8011 MB / 0.7126 GB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01097/0.5971, allocations: 3.958 MB / 0.7165 GB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.5972, allocations: 44.97 kB / 0.7165 GB, free: 15.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 4.899e-06/0.5972, allocations: 7.938 kB / 0.7166 GB, free: 15.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.01086/0.6081, allocations: 2.237 MB / 0.7187 GB, free: 12.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.6082, allocations: 60.06 kB / 0.7188 GB, free: 12.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004639/0.6129, allocations: 2.02 MB / 0.7208 GB, free: 10.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001971/0.6131, allocations: 45.69 kB / 0.7208 GB, free: 10.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002187/0.6153, allocations: 1.991 MB / 0.7228 GB, free: 8.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006752/0.616, allocations: 379.1 kB / 0.7231 GB, free: 8.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003256/0.6164, allocations: 64 kB / 0.7232 GB, free: 8.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004763/0.6169, allocations: 0.494 MB / 0.7237 GB, free: 7.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/0.6198, allocations: 0.9784 MB / 0.7246 GB, free: 6.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004926/0.6248, allocations: 2.961 MB / 0.7275 GB, free: 2.844 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004447/0.6293, allocations: 1.701 MB / 0.7292 GB, free: 1.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.263e-05/0.6295, allocations: 20 kB / 0.7292 GB, free: 1.129 MB / 378.7 MB Notification: Performance of matching and sorting (n=432) (initialization): time 0.01185/0.6413, allocations: 3.834 MB / 0.7329 GB, free: 13.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.453e-05/0.6415, allocations: 39.95 kB / 0.733 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/0.6416, allocations: 76.12 kB / 0.733 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.6418, allocations: 100 kB / 0.7331 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004536/0.6463, allocations: 0.7252 MB / 0.7338 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001906/0.6466, allocations: 139.4 kB / 0.734 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003705/0.6503, allocations: 451.1 kB / 0.7344 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007541/0.6511, allocations: 196 kB / 0.7346 GB, free: 11.58 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 319 * 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 (398): * Single equations (assignments): 393 * Array equations: 5 * 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.003685/0.6548, allocations: 1.461 MB / 0.736 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004144/0.6552, allocations: 167.2 kB / 0.7362 GB, free: 9.949 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/0.6587, allocations: 1.236 MB / 0.7374 GB, free: 8.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.497e-05/0.6587, allocations: 4 kB / 0.7374 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.6587, allocations: 0 / 0.7374 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/0.6593, allocations: 254.6 kB / 0.7376 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003482/0.6597, allocations: 12 kB / 0.7376 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008835/0.6606, allocations: 23.97 kB / 0.7377 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.6608, allocations: 44.53 kB / 0.7377 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003178/0.6639, allocations: 1.148 MB / 0.7388 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003063/0.6671, allocations: 1.345 MB / 0.7401 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001258/0.6684, allocations: 0.4934 MB / 0.7406 GB, free: 5.328 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002873/0.6713, allocations: 1.248 MB / 0.7418 GB, free: 4.09 MB / 394.7 MB Notification: Performance of Backend: time 1.432e-06/0.6713, allocations: 0 / 0.7418 GB, free: 4.09 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006154/0.6775, allocations: 1.953 MB / 0.7438 GB, free: 2.145 MB / 394.7 MB Notification: Performance of SimCode: time 0.02255/0.7001, allocations: 7.048 MB / 0.7506 GB, free: 11.06 MB / 410.7 MB Notification: Performance of Templates: time 0.4029/1.103, allocations: 19.77 MB / 0.7699 GB, free: 121.3 MB / 410.7 MB