Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002582/0.002589, allocations: 352.3 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.572/3.572, 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.003506/0.003506, allocations: 221.1 kB / 397.9 MB, free: 4.984 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.461/0.461, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004622, allocations: 19.98 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08315/0.08364, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.3185/0.4022, allocations: 46.15 MB / 0.6518 GB, free: 62.39 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03542/0.4377, allocations: 10.19 MB / 0.6618 GB, free: 55.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01131/0.449, allocations: 209.9 kB / 0.662 GB, free: 55.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008731/0.4578, allocations: 2.245 MB / 0.6642 GB, free: 53.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02582/0.4837, allocations: 7.799 MB / 0.6718 GB, free: 46.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004267/0.488, allocations: 0.6123 MB / 0.6724 GB, free: 45.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.02769/0.5158, allocations: 15.71 MB / 0.6877 GB, free: 29.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007745/0.5236, allocations: 4.372 MB / 0.692 GB, free: 25.51 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002588/0.5262, allocations: 1.23 MB / 0.6932 GB, free: 24.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003871/0.5301, allocations: 2.041 MB / 0.6952 GB, free: 22.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009746/0.5312, allocations: 156 kB / 0.6953 GB, free: 22.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002929/0.5341, allocations: 0.9831 MB / 0.6963 GB, free: 21.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002435/0.5366, allocations: 1.78 MB / 0.698 GB, free: 19.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.5379, allocations: 0.8778 MB / 0.6989 GB, free: 18.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008163/0.546, allocations: 6.068 MB / 0.7048 GB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.5461, allocations: 0 / 0.7048 GB, free: 12.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.5461, allocations: 7.281 kB / 0.7048 GB, free: 12.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002582/0.5464, allocations: 0 / 0.7048 GB, free: 12.33 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01306/0.5595, allocations: 4.196 MB / 0.7089 GB, free: 8.066 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.5595, allocations: 8.031 kB / 0.7089 GB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03288/0.5924, allocations: 2.993 MB / 0.7118 GB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008466/0.601, allocations: 2.665 MB / 0.7144 GB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/0.6013, allocations: 246.4 kB / 0.7147 GB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/0.6029, allocations: 331.8 kB / 0.715 GB, free: 1.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02719/0.6301, allocations: 10.5 MB / 0.7253 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002084/0.6303, allocations: 51.58 kB / 0.7253 GB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001361/0.6317, allocations: 151.8 kB / 0.7254 GB, free: 6.383 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00593/0.6377, allocations: 2.038 MB / 0.7274 GB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02872/0.6665, allocations: 8.761 MB / 0.736 GB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4741/1.141, allocations: 38.53 MB / 0.7736 GB, free: 97.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/1.151, allocations: 3.067 MB / 0.7766 GB, free: 96.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004608/1.156, allocations: 1.743 MB / 0.7783 GB, free: 96.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005819/1.156, allocations: 345.8 kB / 0.7786 GB, free: 96.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/1.156, allocations: 54.16 kB / 0.7787 GB, free: 96.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 6.041e-06/1.156, allocations: 3.75 kB / 0.7787 GB, free: 96.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=194): time 0.06391/1.22, allocations: 15.02 MB / 0.7934 GB, free: 91.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.724e-05/1.221, allocations: 200 kB / 0.7936 GB, free: 91.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008948/1.229, allocations: 3.809 MB / 0.7973 GB, free: 89.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000486/1.23, allocations: 53.45 kB / 0.7973 GB, free: 89.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002835/1.233, allocations: 3.179 MB / 0.8004 GB, free: 87.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001308/1.234, allocations: 0.7411 MB / 0.8012 GB, free: 86.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007376/1.235, allocations: 121.5 kB / 0.8013 GB, free: 86.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005177/1.236, allocations: 0.5679 MB / 0.8018 GB, free: 86.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006374/1.242, allocations: 2.253 MB / 0.804 GB, free: 85.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008752/1.251, allocations: 5.93 MB / 0.8098 GB, free: 79.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008625/1.259, allocations: 3.563 MB / 0.8133 GB, free: 78.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000152/1.26, allocations: 36.56 kB / 0.8133 GB, free: 78.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.02344/1.283, allocations: 8.452 MB / 0.8216 GB, free: 72.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/1.283, allocations: 60 kB / 0.8217 GB, free: 72.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001829/1.283, allocations: 131 kB / 0.8218 GB, free: 72.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002854/1.286, allocations: 0.7081 MB / 0.8225 GB, free: 71.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008891/1.295, allocations: 1.458 MB / 0.8239 GB, free: 70.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007032/1.302, allocations: 4.075 MB / 0.8279 GB, free: 65.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006703/1.309, allocations: 376.6 kB / 0.8282 GB, free: 65.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001195/1.31, allocations: 370.9 kB / 0.8286 GB, free: 65.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (761): * Single equations (assignments): 757 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005226/1.316, allocations: 2.227 MB / 0.8308 GB, free: 62.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009292/1.317, allocations: 339.6 kB / 0.8311 GB, free: 62.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009983/1.327, allocations: 3.299 MB / 0.8343 GB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.692e-05/1.327, allocations: 11.97 kB / 0.8343 GB, free: 59.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/1.327, allocations: 0 / 0.8343 GB, free: 59.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002333/1.329, allocations: 0.6565 MB / 0.835 GB, free: 58.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001139/1.33, allocations: 32 kB / 0.835 GB, free: 58.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003279/1.333, allocations: 140.5 kB / 0.8351 GB, free: 58.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006314/1.334, allocations: 141.7 kB / 0.8353 GB, free: 58.28 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01217/1.346, allocations: 3.893 MB / 0.8391 GB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01319/1.36, allocations: 5.635 MB / 0.8446 GB, free: 48.75 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003633/1.363, allocations: 1.486 MB / 0.846 GB, free: 47.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005015/1.368, allocations: 2.364 MB / 0.8483 GB, free: 44.92 MB / 410.7 MB Notification: Performance of Backend: time 1.543e-06/1.368, allocations: 0 / 0.8483 GB, free: 44.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01272/1.381, allocations: 4.293 MB / 0.8525 GB, free: 40.67 MB / 410.7 MB Notification: Performance of SimCode: time 0.02236/1.404, allocations: 11.19 MB / 0.8634 GB, free: 29.45 MB / 410.7 MB Notification: Performance of Templates: time 0.1388/1.542, allocations: 43.93 MB / 0.9063 GB, free: 2.07 MB / 426.7 MB