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.003773/0.003779, allocations: 354.5 kB / 15.95 MB, free: 6.215 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.585/3.585, allocations: 341.5 MB / 358.2 MB, free: 28.74 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.003442/0.003442, allocations: 216.2 kB / 397.9 MB, free: 6.168 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.5354/0.5354, allocations: 76.1 MB / 0.5014 GB, free: 0.8164 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006193/0.0006195, allocations: 16 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0828/0.08345, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.4204/0.5039, allocations: 88.62 MB / 0.6933 GB, free: 15.47 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05601/0.56, allocations: 17.69 MB / 0.7106 GB, free: 15.26 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01986/0.5799, allocations: 419.1 kB / 0.711 GB, free: 14.85 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01631/0.5963, allocations: 4.382 MB / 0.7152 GB, free: 10.45 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06431/0.6607, allocations: 14.94 MB / 0.7298 GB, free: 11.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01009/0.6708, allocations: 1.276 MB / 0.7311 GB, free: 10.17 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0196/0.6905, allocations: 9.729 MB / 0.7406 GB, free: 436 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02027/0.7108, allocations: 9.27 MB / 0.7496 GB, free: 7.082 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006705/0.7176, allocations: 2.588 MB / 0.7522 GB, free: 4.484 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01265/0.7303, allocations: 3.973 MB / 0.756 GB, free: 0.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003467/0.7338, allocations: 296 kB / 0.7563 GB, free: 216 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005872/0.7397, allocations: 0.9948 MB / 0.7573 GB, free: 15.21 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006543/0.7463, allocations: 3.471 MB / 0.7607 GB, free: 11.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003277/0.7497, allocations: 1.598 MB / 0.7622 GB, free: 10.12 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01709/0.7668, allocations: 10.42 MB / 0.7724 GB, free: 15.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.7669, allocations: 3.938 kB / 0.7724 GB, free: 15.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.7669, allocations: 0 / 0.7724 GB, free: 15.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004426/0.7673, allocations: 0 / 0.7724 GB, free: 15.68 MB / 410.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.02688/0.7942, allocations: 8.093 MB / 0.7803 GB, free: 7.496 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.7943, allocations: 8.031 kB / 0.7803 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02202/0.8163, allocations: 3.089 MB / 0.7833 GB, free: 4.383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01496/0.8314, allocations: 4.935 MB / 0.7882 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006784/0.8321, allocations: 484 kB / 0.7886 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002814/0.8349, allocations: 0.6089 MB / 0.7892 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05635/0.8913, allocations: 19.66 MB / 0.8084 GB, free: 9.414 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003608/0.8917, allocations: 75.33 kB / 0.8085 GB, free: 9.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002737/0.8945, allocations: 295.7 kB / 0.8088 GB, free: 9.051 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01094/0.9055, allocations: 3.64 MB / 0.8123 GB, free: 5.402 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6255/1.531, allocations: 15.31 MB / 0.8273 GB, free: 149.5 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1412/1.672, allocations: 72.87 MB / 0.8984 GB, free: 86.69 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02643/1.699, allocations: 6.118 MB / 0.9044 GB, free: 80.43 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005757/1.705, allocations: 2.531 MB / 0.9069 GB, free: 77.89 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02708/1.732, allocations: 11.17 MB / 0.9178 GB, free: 66.35 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/1.732, allocations: 72.48 kB / 0.9179 GB, free: 66.27 MB / 442.8 MB Notification: Performance of pre-optimization done (n=250): time 7.555e-06/1.732, allocations: 0 / 0.9179 GB, free: 66.27 MB / 442.8 MB Notification: Performance of matching and sorting (n=274): time 0.07598/1.808, allocations: 16.43 MB / 0.9339 GB, free: 49.87 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/1.808, allocations: 154.5 kB / 0.934 GB, free: 49.69 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01306/1.821, allocations: 6.711 MB / 0.9406 GB, free: 42.99 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005223/1.822, allocations: 64.12 kB / 0.9407 GB, free: 42.93 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004728/1.826, allocations: 5.724 MB / 0.9463 GB, free: 37.2 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001393/1.828, allocations: 1.055 MB / 0.9473 GB, free: 36.15 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008492/1.829, allocations: 187.6 kB / 0.9475 GB, free: 35.97 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0005744/1.829, allocations: 0.7112 MB / 0.9482 GB, free: 35.25 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007214/1.837, allocations: 2.736 MB / 0.9508 GB, free: 32.51 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01104/1.848, allocations: 8.6 MB / 0.9592 GB, free: 21 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/1.858, allocations: 4.677 MB / 0.9638 GB, free: 16.32 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/1.858, allocations: 60 kB / 0.9639 GB, free: 16.26 MB / 442.8 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.02826/1.887, allocations: 11.02 MB / 0.9746 GB, free: 5.234 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/1.887, allocations: 99.12 kB / 0.9747 GB, free: 5.141 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002175/1.887, allocations: 204 kB / 0.9749 GB, free: 4.941 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002945/1.887, allocations: 304 kB / 0.9752 GB, free: 4.645 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01266/1.9, allocations: 2.207 MB / 0.9773 GB, free: 2.434 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003598/1.9, allocations: 402.5 kB / 0.9777 GB, free: 2.039 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009373/1.91, allocations: 463.5 kB / 0.9782 GB, free: 1.586 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/1.911, allocations: 0.5818 MB / 0.9787 GB, free: 1.008 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 948 * 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 (1192): * Single equations (assignments): 1181 * Array equations: 11 * 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.3059/2.217, allocations: 3.744 MB / 0.9824 GB, free: 134.6 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/2.219, allocations: 0.5797 MB / 0.983 GB, free: 134.6 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008406/2.227, allocations: 2.976 MB / 0.9859 GB, free: 133.6 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.055e-05/2.227, allocations: 13.44 kB / 0.9859 GB, free: 133.6 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/2.227, allocations: 2.125 kB / 0.9859 GB, free: 133.6 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/2.229, allocations: 0.5997 MB / 0.9865 GB, free: 133.5 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001673/2.23, allocations: 46.47 kB / 0.9865 GB, free: 133.4 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003784/2.234, allocations: 116.4 kB / 0.9866 GB, free: 133.4 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005849/2.235, allocations: 139.3 kB / 0.9868 GB, free: 133.4 MB / 442.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0102/2.245, allocations: 3.385 MB / 0.9901 GB, free: 132.1 MB / 442.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00979/2.255, allocations: 3.716 MB / 0.9937 GB, free: 130.6 MB / 442.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003741/2.259, allocations: 1.382 MB / 0.995 GB, free: 130.1 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01085/2.27, allocations: 4.179 MB / 0.9991 GB, free: 128.8 MB / 442.8 MB Notification: Performance of Backend: time 1.273e-06/2.27, allocations: 0 / 0.9991 GB, free: 128.8 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0156/2.285, allocations: 5.395 MB / 1.004 GB, free: 127 MB / 442.8 MB Notification: Performance of SimCode: time 0.04142/2.327, allocations: 19.59 MB / 1.024 GB, free: 115.6 MB / 442.8 MB Notification: Performance of Templates: time 0.1765/2.503, allocations: 59.21 MB / 1.081 GB, free: 59.25 MB / 442.8 MB