Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002579/0.002578, allocations: 354.8 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.147/3.147, allocations: 341.5 MB / 358.2 MB, free: 28.71 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.00343/0.00343, allocations: 212.7 kB / 397.9 MB, free: 6.164 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.4619/0.4619, allocations: 76.09 MB / 0.5014 GB, free: 0.832 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006344/0.0006348, allocations: 16 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08511/0.08578, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.4508/0.5366, allocations: 84.78 MB / 0.6895 GB, free: 2.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.05076/0.5874, allocations: 17.12 MB / 0.7063 GB, free: 3.68 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01815/0.6056, allocations: 395.1 kB / 0.7066 GB, free: 3.293 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0155/0.6212, allocations: 4.165 MB / 0.7107 GB, free: 15.11 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04921/0.6704, allocations: 14.11 MB / 0.7245 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00717/0.6777, allocations: 0.9402 MB / 0.7254 GB, free: 15.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.07118/0.7489, allocations: 29.86 MB / 0.7546 GB, free: 2.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0221/0.7711, allocations: 7.397 MB / 0.7618 GB, free: 10.62 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00646/0.7776, allocations: 2.008 MB / 0.7637 GB, free: 8.602 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00973/0.7874, allocations: 3.24 MB / 0.7669 GB, free: 5.352 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002367/0.7898, allocations: 244 kB / 0.7671 GB, free: 5.113 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006024/0.7959, allocations: 1.186 MB / 0.7683 GB, free: 3.926 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006877/0.8028, allocations: 2.863 MB / 0.7711 GB, free: 1.055 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003842/0.8067, allocations: 1.368 MB / 0.7724 GB, free: 15.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01568/0.8224, allocations: 9.208 MB / 0.7814 GB, free: 6.445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.8225, allocations: 0 / 0.7814 GB, free: 6.445 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.8225, allocations: 0 / 0.7814 GB, free: 6.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000407/0.8229, allocations: 0 / 0.7814 GB, free: 6.445 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.02671/0.8497, allocations: 7.079 MB / 0.7883 GB, free: 15.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.8497, allocations: 8.031 kB / 0.7883 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02783/0.8776, allocations: 3.415 MB / 0.7917 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01728/0.8949, allocations: 4.487 MB / 0.7961 GB, free: 7.277 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006502/0.8956, allocations: 398.1 kB / 0.7964 GB, free: 6.887 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002625/0.8983, allocations: 0.5113 MB / 0.7969 GB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05276/0.9511, allocations: 17.19 MB / 0.8137 GB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003221/0.9515, allocations: 67.31 kB / 0.8138 GB, free: 4.129 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002053/0.9535, allocations: 247.8 kB / 0.814 GB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008186/0.9617, allocations: 3.026 MB / 0.817 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5928/1.555, allocations: 14.64 MB / 0.8313 GB, free: 153 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1055/1.66, allocations: 62.63 MB / 0.8924 GB, free: 95.95 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02986/1.69, allocations: 7.087 MB / 0.8994 GB, free: 88.73 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00838/1.699, allocations: 4.233 MB / 0.9035 GB, free: 84.49 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02411/1.723, allocations: 9.673 MB / 0.9129 GB, free: 74.79 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/1.723, allocations: 64.81 kB / 0.913 GB, free: 74.72 MB / 442.8 MB Notification: Performance of pre-optimization done (n=297): time 7.604e-06/1.723, allocations: 1.969 kB / 0.913 GB, free: 74.72 MB / 442.8 MB Notification: Performance of matching and sorting (n=339): time 0.1548/1.878, allocations: 35.56 MB / 0.9477 GB, free: 38.94 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/1.878, allocations: 240.2 kB / 0.948 GB, free: 38.66 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0138/1.892, allocations: 6.688 MB / 0.9545 GB, free: 31.97 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001033/1.893, allocations: 82.34 kB / 0.9546 GB, free: 31.89 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004072/1.897, allocations: 4.733 MB / 0.9592 GB, free: 27.16 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00217/1.899, allocations: 1.268 MB / 0.9604 GB, free: 25.9 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001543/1.901, allocations: 185.3 kB / 0.9606 GB, free: 25.72 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0006841/1.901, allocations: 0.6985 MB / 0.9613 GB, free: 25.02 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01043/1.912, allocations: 4.027 MB / 0.9652 GB, free: 20.98 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01377/1.926, allocations: 9.082 MB / 0.9741 GB, free: 9.426 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01357/1.939, allocations: 5.907 MB / 0.9799 GB, free: 3.516 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001482/1.939, allocations: 52 kB / 0.9799 GB, free: 3.465 MB / 442.8 MB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.3531/2.293, allocations: 15.01 MB / 0.9946 GB, free: 136 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002305/2.293, allocations: 79.75 kB / 0.9946 GB, free: 136 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005203/2.293, allocations: 176.8 kB / 0.9948 GB, free: 136 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0177/2.311, allocations: 2.32 MB / 0.9971 GB, free: 135.6 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02298/2.334, allocations: 2.147 MB / 0.9992 GB, free: 135.4 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03748/2.372, allocations: 13.5 MB / 1.012 GB, free: 128.7 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01109/2.383, allocations: 0.5451 MB / 1.013 GB, free: 128.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002257/2.385, allocations: 0.5291 MB / 1.013 GB, free: 128.5 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1122): * Single equations (assignments): 1115 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009275/2.394, allocations: 3.27 MB / 1.017 GB, free: 127 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001956/2.396, allocations: 0.578 MB / 1.017 GB, free: 127 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02835/2.425, allocations: 8.439 MB / 1.025 GB, free: 122.3 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/2.425, allocations: 19.14 kB / 1.025 GB, free: 122.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/2.425, allocations: 0 / 1.025 GB, free: 122.3 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004579/2.43, allocations: 1.248 MB / 1.027 GB, free: 121.3 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002847/2.433, allocations: 55.39 kB / 1.027 GB, free: 121.3 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006596/2.439, allocations: 250.3 kB / 1.027 GB, free: 121.1 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001404/2.441, allocations: 223.1 kB / 1.027 GB, free: 120.9 MB / 442.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02921/2.47, allocations: 8.538 MB / 1.035 GB, free: 112.5 MB / 442.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02698/2.497, allocations: 11.07 MB / 1.046 GB, free: 101.4 MB / 442.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006883/2.504, allocations: 3.043 MB / 1.049 GB, free: 98.31 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01047/2.514, allocations: 4.25 MB / 1.053 GB, free: 94.07 MB / 442.8 MB Notification: Performance of Backend: time 7.12e-07/2.514, allocations: 3.75 kB / 1.053 GB, free: 94.07 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.02351/2.538, allocations: 7.307 MB / 1.061 GB, free: 86.87 MB / 442.8 MB Notification: Performance of SimCode: time 0.03883/2.577, allocations: 17.84 MB / 1.078 GB, free: 69.03 MB / 442.8 MB Notification: Performance of Templates: time 0.51/3.087, allocations: 82.15 MB / 1.158 GB, free: 123.6 MB / 442.8 MB