Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces.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.Forces.WorldForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002825/0.002829, 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.823/3.823, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.005791/0.005791, allocations: 219.1 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.5052/0.5052, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006229/0.0006232, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09316, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.4336/0.5269, allocations: 98.52 MB / 0.7763 GB, free: 6.094 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.066/0.5929, allocations: 19.63 MB / 0.7955 GB, free: 3.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0263/0.6193, allocations: 458.9 kB / 0.7959 GB, free: 2.891 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02261/0.642, allocations: 4.857 MB / 0.8007 GB, free: 14.01 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07625/0.7183, allocations: 16.38 MB / 0.8167 GB, free: 13.56 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01131/0.7296, allocations: 1.069 MB / 0.8177 GB, free: 12.49 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1263/0.856, allocations: 42.21 MB / 0.8589 GB, free: 2.219 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02586/0.8819, allocations: 8.106 MB / 0.8668 GB, free: 10.06 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008114/0.8901, allocations: 2.265 MB / 0.869 GB, free: 7.789 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0121/0.9023, allocations: 3.785 MB / 0.8727 GB, free: 3.992 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003019/0.9054, allocations: 272 kB / 0.873 GB, free: 3.727 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006901/0.9123, allocations: 1.085 MB / 0.8741 GB, free: 2.641 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008655/0.921, allocations: 3.288 MB / 0.8773 GB, free: 15.34 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005054/0.9262, allocations: 1.524 MB / 0.8788 GB, free: 13.81 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02596/0.9522, allocations: 10.23 MB / 0.8888 GB, free: 3.559 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/0.9523, allocations: 3.938 kB / 0.8888 GB, free: 3.555 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.9523, allocations: 0 / 0.8888 GB, free: 3.555 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000483/0.9528, allocations: 0 / 0.8888 GB, free: 3.555 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.03234/0.9852, allocations: 7.742 MB / 0.8963 GB, free: 11.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/0.9852, allocations: 8.031 kB / 0.8963 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03378/1.019, allocations: 3.952 MB / 0.9002 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01907/1.038, allocations: 5.37 MB / 0.9054 GB, free: 2.301 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000681/1.039, allocations: 439.3 kB / 0.9058 GB, free: 1.871 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003212/1.042, allocations: 0.5854 MB / 0.9064 GB, free: 1.285 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6337/1.676, allocations: 18.07 MB / 0.9241 GB, free: 167.7 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004988/1.676, allocations: 79.67 kB / 0.9241 GB, free: 167.6 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002209/1.679, allocations: 278.8 kB / 0.9244 GB, free: 167.5 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008494/1.687, allocations: 3.202 MB / 0.9275 GB, free: 166.9 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04547/1.733, allocations: 15.07 MB / 0.9423 GB, free: 156.3 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1543/1.887, allocations: 68.9 MB / 1.01 GB, free: 86.49 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03436/1.921, allocations: 7.454 MB / 1.017 GB, free: 78.88 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008898/1.93, allocations: 4.429 MB / 1.021 GB, free: 74.43 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003996/1.931, allocations: 63.44 kB / 1.021 GB, free: 74.39 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/1.931, allocations: 72.62 kB / 1.021 GB, free: 74.31 MB / 490.8 MB Notification: Performance of pre-optimization done (n=307): time 7.985e-06/1.931, allocations: 0 / 1.021 GB, free: 74.31 MB / 490.8 MB Notification: Performance of matching and sorting (n=340): time 0.1486/2.08, allocations: 35.66 MB / 1.056 GB, free: 38.34 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/2.08, allocations: 295.5 kB / 1.056 GB, free: 37.99 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01636/2.096, allocations: 7.391 MB / 1.064 GB, free: 30.62 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001166/2.097, allocations: 77.7 kB / 1.064 GB, free: 30.54 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004866/2.102, allocations: 5.273 MB / 1.069 GB, free: 25.27 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002264/2.105, allocations: 1.282 MB / 1.07 GB, free: 24 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/2.106, allocations: 203.4 kB / 1.07 GB, free: 23.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0007361/2.107, allocations: 0.7276 MB / 1.071 GB, free: 23.07 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01069/2.117, allocations: 4.107 MB / 1.075 GB, free: 18.95 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01445/2.132, allocations: 9.744 MB / 1.085 GB, free: 6.453 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01401/2.146, allocations: 6.163 MB / 1.091 GB, free: 296 kB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001775/2.146, allocations: 60 kB / 1.091 GB, free: 236 kB / 490.8 MB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.4337/2.58, allocations: 15.66 MB / 1.106 GB, free: 146.3 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002587/2.58, allocations: 88.38 kB / 1.106 GB, free: 146.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005936/2.581, allocations: 196.1 kB / 1.106 GB, free: 146.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04651/2.628, allocations: 2.346 MB / 1.108 GB, free: 145.9 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02433/2.652, allocations: 2.36 MB / 1.111 GB, free: 145.6 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03418/2.686, allocations: 14.5 MB / 1.125 GB, free: 137.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01179/2.698, allocations: 0.5741 MB / 1.125 GB, free: 137.7 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002195/2.7, allocations: 0.5795 MB / 1.126 GB, free: 137.6 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 893 * Number of states: 0 () * Number of discrete variables: 60 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1223): * Single equations (assignments): 1217 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(1,100.0%) 14,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009621/2.71, allocations: 3.583 MB / 1.13 GB, free: 136 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001622/2.712, allocations: 0.6355 MB / 1.13 GB, free: 136 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0257/2.737, allocations: 8.107 MB / 1.138 GB, free: 131.9 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/2.737, allocations: 21 kB / 1.138 GB, free: 131.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/2.737, allocations: 5.125 kB / 1.138 GB, free: 131.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004475/2.742, allocations: 1.278 MB / 1.139 GB, free: 130.9 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002426/2.744, allocations: 52 kB / 1.139 GB, free: 130.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006551/2.751, allocations: 240.2 kB / 1.14 GB, free: 130.7 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00126/2.752, allocations: 233.7 kB / 1.14 GB, free: 130.6 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03395/2.786, allocations: 8.532 MB / 1.148 GB, free: 122.5 MB / 490.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03381/2.82, allocations: 11.01 MB / 1.159 GB, free: 111.4 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00888/2.829, allocations: 2.976 MB / 1.162 GB, free: 108.4 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01484/2.844, allocations: 4.696 MB / 1.166 GB, free: 103.8 MB / 490.8 MB Notification: Performance of Backend: time 1.793e-06/2.844, allocations: 7.844 kB / 1.166 GB, free: 103.8 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.03101/2.875, allocations: 7.69 MB / 1.174 GB, free: 96.18 MB / 490.8 MB Notification: Performance of SimCode: time 0.05659/2.932, allocations: 19.59 MB / 1.193 GB, free: 76.62 MB / 490.8 MB Notification: Performance of Templates: time 0.7126/3.644, allocations: 85.73 MB / 1.277 GB, free: 164.8 MB / 0.4949 GB