Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.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.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.1_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003797/0.003801, allocations: 347.5 kB / 15.94 MB, free: 6.199 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.439/3.439, allocations: 341.5 MB / 358.2 MB, free: 28.61 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.003538/0.003538, allocations: 226 kB / 397.9 MB, free: 6.012 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.4656/0.4656, allocations: 76.09 MB / 0.5014 GB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.000472, allocations: 8 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08155/0.08204, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3947/0.4768, allocations: 87.77 MB / 0.6925 GB, free: 120 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.05261/0.5295, allocations: 17.59 MB / 0.7096 GB, free: 216 kB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01893/0.5485, allocations: 419.1 kB / 0.71 GB, free: 15.8 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01678/0.5653, allocations: 4.359 MB / 0.7143 GB, free: 11.42 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05079/0.6161, allocations: 14.86 MB / 0.7288 GB, free: 12.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009223/0.6254, allocations: 1.272 MB / 0.73 GB, free: 11.23 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0177/0.6432, allocations: 9.479 MB / 0.7393 GB, free: 1.734 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01998/0.6632, allocations: 9.194 MB / 0.7483 GB, free: 8.461 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005719/0.669, allocations: 2.526 MB / 0.7507 GB, free: 5.926 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008397/0.6774, allocations: 3.852 MB / 0.7545 GB, free: 2.062 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00215/0.6796, allocations: 287.9 kB / 0.7548 GB, free: 1.781 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004825/0.6845, allocations: 0.9792 MB / 0.7557 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006023/0.6905, allocations: 3.37 MB / 0.759 GB, free: 13.42 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002986/0.6936, allocations: 1.54 MB / 0.7605 GB, free: 11.87 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01602/0.7096, allocations: 10.02 MB / 0.7703 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.7097, allocations: 0 / 0.7703 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.7097, allocations: 0 / 0.7703 GB, free: 1.828 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004078/0.7101, allocations: 4 kB / 0.7703 GB, free: 1.824 MB / 394.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.02477/0.7349, allocations: 7.861 MB / 0.778 GB, free: 9.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.735, allocations: 8.031 kB / 0.778 GB, free: 9.871 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02119/0.7562, allocations: 3.043 MB / 0.781 GB, free: 6.812 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/0.7707, allocations: 4.845 MB / 0.7857 GB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006204/0.7713, allocations: 471.6 kB / 0.7862 GB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002707/0.774, allocations: 0.5894 MB / 0.7867 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0526/0.8267, allocations: 18.91 MB / 0.8052 GB, free: 12.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000292/0.827, allocations: 63.41 kB / 0.8053 GB, free: 12.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001576/0.8286, allocations: 287.7 kB / 0.8055 GB, free: 12.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009419/0.838, allocations: 3.445 MB / 0.8089 GB, free: 8.984 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5876/1.426, allocations: 14.75 MB / 0.8233 GB, free: 151 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1406/1.566, allocations: 70.31 MB / 0.892 GB, free: 94.05 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0273/1.594, allocations: 6.129 MB / 0.8979 GB, free: 87.78 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005851/1.6, allocations: 2.459 MB / 0.9003 GB, free: 85.32 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02622/1.626, allocations: 10.82 MB / 0.9109 GB, free: 74.11 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/1.626, allocations: 64.55 kB / 0.911 GB, free: 74.04 MB / 442.8 MB Notification: Performance of pre-optimization done (n=238): time 7.003e-06/1.626, allocations: 0 / 0.911 GB, free: 74.04 MB / 442.8 MB Notification: Performance of matching and sorting (n=262): time 0.06376/1.69, allocations: 15.96 MB / 0.9266 GB, free: 58.1 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/1.69, allocations: 154.5 kB / 0.9267 GB, free: 57.92 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01299/1.703, allocations: 6.568 MB / 0.9331 GB, free: 51.36 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005297/1.703, allocations: 68.59 kB / 0.9332 GB, free: 51.29 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004635/1.708, allocations: 5.526 MB / 0.9386 GB, free: 45.77 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001315/1.709, allocations: 1.012 MB / 0.9396 GB, free: 44.77 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009628/1.71, allocations: 184 kB / 0.9398 GB, free: 44.59 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000644/1.711, allocations: 0.6909 MB / 0.9404 GB, free: 43.89 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007425/1.719, allocations: 2.622 MB / 0.943 GB, free: 41.26 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01758/1.736, allocations: 8.315 MB / 0.9511 GB, free: 30.11 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/1.75, allocations: 4.498 MB / 0.9555 GB, free: 25.61 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001446/1.75, allocations: 60 kB / 0.9556 GB, free: 25.55 MB / 442.8 MB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.02831/1.779, allocations: 10.62 MB / 0.9659 GB, free: 14.93 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/1.779, allocations: 92 kB / 0.966 GB, free: 14.84 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002057/1.779, allocations: 204 kB / 0.9662 GB, free: 14.64 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002937/1.779, allocations: 292 kB / 0.9665 GB, free: 14.36 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01183/1.791, allocations: 2.14 MB / 0.9686 GB, free: 12.21 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002963/1.791, allocations: 394.7 kB / 0.969 GB, free: 11.82 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008904/1.8, allocations: 463.5 kB / 0.9694 GB, free: 11.38 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001409/1.802, allocations: 0.5547 MB / 0.9699 GB, free: 10.82 MB / 442.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.007738/1.81, allocations: 3.618 MB / 0.9735 GB, free: 7.195 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.811, allocations: 0.563 MB / 0.974 GB, free: 6.625 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006782/1.817, allocations: 2.783 MB / 0.9767 GB, free: 3.828 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.197e-05/1.818, allocations: 11.95 kB / 0.9768 GB, free: 3.816 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/1.818, allocations: 0 / 0.9768 GB, free: 3.816 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/1.819, allocations: 0.5989 MB / 0.9773 GB, free: 3.191 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001355/1.82, allocations: 39.94 kB / 0.9774 GB, free: 3.152 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003289/1.824, allocations: 119.9 kB / 0.9775 GB, free: 3.035 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003711/1.824, allocations: 125.8 kB / 0.9776 GB, free: 2.91 MB / 442.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3901/2.214, allocations: 3.211 MB / 0.9807 GB, free: 136.2 MB / 442.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0131/2.227, allocations: 3.523 MB / 0.9842 GB, free: 135.7 MB / 442.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005168/2.233, allocations: 1.287 MB / 0.9854 GB, free: 135.5 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01535/2.248, allocations: 4.099 MB / 0.9894 GB, free: 134.2 MB / 442.8 MB Notification: Performance of Backend: time 2.334e-06/2.248, allocations: 0 / 0.9894 GB, free: 134.2 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.02573/2.274, allocations: 5.181 MB / 0.9945 GB, free: 132.5 MB / 442.8 MB Notification: Performance of SimCode: time 0.0526/2.327, allocations: 18.85 MB / 1.013 GB, free: 122.8 MB / 442.8 MB Notification: Performance of Templates: time 0.1737/2.5, allocations: 57.16 MB / 1.069 GB, free: 73.43 MB / 442.8 MB