Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002746/0.002752, allocations: 364.4 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.797/3.797, allocations: 388.9 MB / 405.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005276/0.005276, allocations: 234 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5312/0.5312, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007183/0.000719, allocations: 15.98 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1135, allocations: 54.88 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.415/0.5285, allocations: 88.65 MB / 0.7667 GB, free: 13.15 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0552/0.5838, allocations: 17.71 MB / 0.784 GB, free: 15.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02114/0.605, allocations: 427 kB / 0.7844 GB, free: 14.71 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01714/0.6222, allocations: 4.371 MB / 0.7886 GB, free: 10.32 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05375/0.676, allocations: 14.94 MB / 0.8032 GB, free: 11.33 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008333/0.6844, allocations: 1.265 MB / 0.8045 GB, free: 10.06 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01873/0.7032, allocations: 9.708 MB / 0.8139 GB, free: 340 kB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02157/0.7248, allocations: 9.285 MB / 0.823 GB, free: 6.977 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00949/0.7343, allocations: 2.588 MB / 0.8255 GB, free: 4.379 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01388/0.7483, allocations: 3.98 MB / 0.8294 GB, free: 396 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003616/0.752, allocations: 296 kB / 0.8297 GB, free: 100 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00737/0.7594, allocations: 0.9831 MB / 0.8307 GB, free: 15.11 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009591/0.7691, allocations: 3.479 MB / 0.8341 GB, free: 11.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005449/0.7746, allocations: 1.598 MB / 0.8356 GB, free: 10.02 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02476/0.7994, allocations: 10.43 MB / 0.8458 GB, free: 15.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.7995, allocations: 0 / 0.8458 GB, free: 15.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.486e-06/0.7996, allocations: 0 / 0.8458 GB, free: 15.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005077/0.8001, allocations: 0 / 0.8458 GB, free: 15.56 MB / 442.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.03908/0.8392, allocations: 8.097 MB / 0.8537 GB, free: 7.375 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.511e-05/0.8393, allocations: 8.031 kB / 0.8537 GB, free: 7.367 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03402/0.8733, allocations: 3.077 MB / 0.8567 GB, free: 4.273 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0227/0.8961, allocations: 4.94 MB / 0.8616 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001032/0.8972, allocations: 488 kB / 0.862 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004043/0.9013, allocations: 0.6128 MB / 0.8626 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08369/0.985, allocations: 19.65 MB / 0.8818 GB, free: 9.305 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005504/0.9856, allocations: 79.33 kB / 0.8819 GB, free: 9.227 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00363/0.9893, allocations: 291.7 kB / 0.8822 GB, free: 8.941 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01515/1.005, allocations: 3.64 MB / 0.8857 GB, free: 5.293 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07746/1.082, allocations: 15.31 MB / 0.9007 GB, free: 5.953 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7389/1.821, allocations: 72.85 MB / 0.9718 GB, free: 115.9 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02729/1.848, allocations: 6.13 MB / 0.9778 GB, free: 112.7 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006371/1.855, allocations: 2.53 MB / 0.9803 GB, free: 110.8 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02913/1.884, allocations: 11.17 MB / 0.9912 GB, free: 99.36 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.103e-05/1.884, allocations: 72.42 kB / 0.9912 GB, free: 99.28 MB / 490.8 MB Notification: Performance of pre-optimization done (n=250): time 7.504e-06/1.884, allocations: 4 kB / 0.9912 GB, free: 99.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=274): time 0.09859/1.983, allocations: 16.43 MB / 1.007 GB, free: 82.88 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/1.983, allocations: 158.5 kB / 1.007 GB, free: 82.7 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03238/2.015, allocations: 6.703 MB / 1.014 GB, free: 76.01 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006775/2.016, allocations: 67.19 kB / 1.014 GB, free: 75.94 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005874/2.022, allocations: 5.721 MB / 1.02 GB, free: 70.22 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001397/2.023, allocations: 1.058 MB / 1.021 GB, free: 69.17 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009578/2.024, allocations: 191.5 kB / 1.021 GB, free: 68.98 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0006291/2.025, allocations: 0.715 MB / 1.022 GB, free: 68.26 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007711/2.033, allocations: 2.728 MB / 1.024 GB, free: 65.53 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0111/2.044, allocations: 8.604 MB / 1.033 GB, free: 54.01 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/2.055, allocations: 4.679 MB / 1.037 GB, free: 49.33 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001822/2.055, allocations: 60 kB / 1.037 GB, free: 49.27 MB / 490.8 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.02792/2.083, allocations: 11.02 MB / 1.048 GB, free: 38.25 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001486/2.083, allocations: 96 kB / 1.048 GB, free: 38.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002862/2.083, allocations: 204 kB / 1.048 GB, free: 37.96 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003049/2.084, allocations: 308 kB / 1.049 GB, free: 37.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01314/2.097, allocations: 2.203 MB / 1.051 GB, free: 35.45 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003855/2.097, allocations: 406.7 kB / 1.051 GB, free: 35.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009751/2.107, allocations: 463.5 kB / 1.052 GB, free: 34.6 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001536/2.109, allocations: 0.5817 MB / 1.052 GB, free: 34.02 MB / 490.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.008047/2.117, allocations: 3.754 MB / 1.056 GB, free: 30.26 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/2.118, allocations: 0.5783 MB / 1.056 GB, free: 29.67 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007352/2.125, allocations: 2.979 MB / 1.059 GB, free: 26.68 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-05/2.125, allocations: 11.95 kB / 1.059 GB, free: 26.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/2.125, allocations: 0 / 1.059 GB, free: 26.66 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/2.127, allocations: 0.5949 MB / 1.06 GB, free: 26.04 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001846/2.129, allocations: 47.98 kB / 1.06 GB, free: 26 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003992/2.133, allocations: 115.8 kB / 1.06 GB, free: 25.88 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006197/2.134, allocations: 137.8 kB / 1.06 GB, free: 25.75 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009655/2.143, allocations: 3.388 MB / 1.063 GB, free: 22.39 MB / 490.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007747/2.151, allocations: 3.72 MB / 1.067 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003077/2.154, allocations: 1.374 MB / 1.068 GB, free: 17.24 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.009301/2.164, allocations: 4.176 MB / 1.073 GB, free: 13.08 MB / 490.8 MB Notification: Performance of Backend: time 1.162e-06/2.164, allocations: 0 / 1.073 GB, free: 13.08 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01612/2.18, allocations: 5.398 MB / 1.078 GB, free: 7.742 MB / 490.8 MB Notification: Performance of SimCode: time 0.3917/2.572, allocations: 19.58 MB / 1.097 GB, free: 151.6 MB / 490.8 MB Notification: Performance of Templates: time 0.1822/2.754, allocations: 59.22 MB / 1.155 GB, free: 109.2 MB / 490.8 MB