Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00267/0.00267, allocations: 368.3 kB / 15.97 MB, free: 6.195 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.805/3.805, allocations: 388.9 MB / 405.6 MB, free: 48.56 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.004938/0.004938, allocations: 232.7 kB / 451 MB, free: 3.031 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7628/0.7628, allocations: 80.02 MB / 0.5627 GB, free: 6.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004772, allocations: 12 kB / 0.6265 GB, free: 4.82 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1331, allocations: 54.88 MB / 0.6801 GB, free: 13.8 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.4095/0.5426, allocations: 87.78 MB / 0.7658 GB, free: 26.8 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.05674/0.5994, allocations: 17.6 MB / 0.783 GB, free: 13.94 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02174/0.6212, allocations: 423 kB / 0.7834 GB, free: 13.53 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01591/0.6372, allocations: 4.352 MB / 0.7877 GB, free: 10.04 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05072/0.688, allocations: 14.86 MB / 0.8022 GB, free: 11.12 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008637/0.6967, allocations: 1.264 MB / 0.8034 GB, free: 9.859 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01898/0.7157, allocations: 9.472 MB / 0.8127 GB, free: 380 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02181/0.7376, allocations: 9.2 MB / 0.8217 GB, free: 7.324 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007565/0.7452, allocations: 2.53 MB / 0.8241 GB, free: 4.785 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01261/0.7579, allocations: 3.856 MB / 0.8279 GB, free: 0.918 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003416/0.7614, allocations: 289.7 kB / 0.8282 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007285/0.7687, allocations: 0.9831 MB / 0.8291 GB, free: 15.65 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.009214/0.778, allocations: 3.366 MB / 0.8324 GB, free: 12.28 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005263/0.7834, allocations: 1.536 MB / 0.8339 GB, free: 10.73 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02277/0.8062, allocations: 10.01 MB / 0.8437 GB, free: 0.6992 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.8063, allocations: 4 kB / 0.8437 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.8063, allocations: 0 / 0.8437 GB, free: 0.6953 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005112/0.8068, allocations: 0 / 0.8437 GB, free: 0.6953 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.03416/0.841, allocations: 7.857 MB / 0.8514 GB, free: 8.754 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.006e-05/0.8411, allocations: 12.02 kB / 0.8514 GB, free: 8.742 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0313/0.8724, allocations: 3.043 MB / 0.8543 GB, free: 5.684 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02175/0.8942, allocations: 4.846 MB / 0.8591 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001006/0.8953, allocations: 474.6 kB / 0.8595 GB, free: 308 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003934/0.8993, allocations: 0.5894 MB / 0.8601 GB, free: 15.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.713/1.612, allocations: 18.9 MB / 0.8786 GB, free: 137.6 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003746/1.613, allocations: 78.94 kB / 0.8786 GB, free: 137.5 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002512/1.615, allocations: 282.7 kB / 0.8789 GB, free: 137.5 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008817/1.624, allocations: 3.447 MB / 0.8823 GB, free: 137.5 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04901/1.673, allocations: 14.75 MB / 0.8967 GB, free: 133.8 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1248/1.798, allocations: 70.32 MB / 0.9653 GB, free: 80.88 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03251/1.831, allocations: 6.141 MB / 0.9713 GB, free: 74.62 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005827/1.837, allocations: 2.449 MB / 0.9737 GB, free: 72.17 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02628/1.863, allocations: 10.83 MB / 0.9843 GB, free: 60.95 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/1.863, allocations: 64.56 kB / 0.9844 GB, free: 60.88 MB / 474.8 MB Notification: Performance of pre-optimization done (n=238): time 6.763e-06/1.863, allocations: 0 / 0.9844 GB, free: 60.88 MB / 474.8 MB Notification: Performance of matching and sorting (n=262): time 0.0771/1.94, allocations: 15.95 MB / 1 GB, free: 44.96 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/1.94, allocations: 162.4 kB / 1 GB, free: 44.77 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01241/1.953, allocations: 6.58 MB / 1.007 GB, free: 38.2 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005109/1.953, allocations: 69.7 kB / 1.007 GB, free: 38.13 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004332/1.958, allocations: 5.518 MB / 1.012 GB, free: 32.61 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001301/1.959, allocations: 1.009 MB / 1.013 GB, free: 31.61 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008862/1.96, allocations: 180 kB / 1.013 GB, free: 31.44 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0005523/1.96, allocations: 0.6987 MB / 1.014 GB, free: 30.73 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00706/1.967, allocations: 2.618 MB / 1.016 GB, free: 28.11 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/1.978, allocations: 8.315 MB / 1.025 GB, free: 16.96 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/1.988, allocations: 4.501 MB / 1.029 GB, free: 12.46 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001464/1.988, allocations: 56 kB / 1.029 GB, free: 12.41 MB / 474.8 MB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.02614/2.014, allocations: 10.62 MB / 1.039 GB, free: 1.781 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/2.015, allocations: 92 kB / 1.039 GB, free: 1.691 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002307/2.015, allocations: 200 kB / 1.04 GB, free: 1.496 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002869/2.015, allocations: 296 kB / 1.04 GB, free: 1.207 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01287/2.028, allocations: 2.137 MB / 1.042 GB, free: 15.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004762/2.029, allocations: 394.5 kB / 1.042 GB, free: 14.68 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009002/2.038, allocations: 460.1 kB / 1.043 GB, free: 14.23 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001625/2.039, allocations: 0.5573 MB / 1.043 GB, free: 13.68 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 920 * 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],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[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],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1152): * Single equations (assignments): 1141 * 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.009385/2.049, allocations: 3.616 MB / 1.047 GB, free: 10.05 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001533/2.05, allocations: 0.5629 MB / 1.047 GB, free: 9.477 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008449/2.059, allocations: 2.779 MB / 1.05 GB, free: 6.684 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.537e-05/2.059, allocations: 11.95 kB / 1.05 GB, free: 6.672 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/2.059, allocations: 4 kB / 1.05 GB, free: 6.668 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/2.061, allocations: 0.5911 MB / 1.051 GB, free: 6.051 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001583/2.062, allocations: 49.34 kB / 1.051 GB, free: 6.004 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003721/2.066, allocations: 121.2 kB / 1.051 GB, free: 5.887 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006434/2.067, allocations: 129.8 kB / 1.051 GB, free: 5.758 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00988/2.077, allocations: 3.209 MB / 1.054 GB, free: 2.582 MB / 490.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.3362/2.413, allocations: 3.521 MB / 1.058 GB, free: 137.9 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002892/2.416, allocations: 1.292 MB / 1.059 GB, free: 137.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0094/2.425, allocations: 4.097 MB / 1.063 GB, free: 137.7 MB / 490.8 MB Notification: Performance of Backend: time 1.232e-06/2.425, allocations: 2.625 kB / 1.063 GB, free: 137.7 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0151/2.44, allocations: 5.183 MB / 1.068 GB, free: 136.5 MB / 490.8 MB Notification: Performance of SimCode: time 0.04254/2.483, allocations: 18.83 MB / 1.086 GB, free: 126.9 MB / 490.8 MB Notification: Performance of Templates: time 0.2015/2.685, allocations: 57.16 MB / 1.142 GB, free: 93.07 MB / 490.8 MB