Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.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.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002613/0.002618, allocations: 366.5 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.792/3.792, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003453/0.003453, allocations: 232.1 kB / 451 MB, free: 145.1 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.4999/0.4999, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007245/0.0007248, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1267, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.5022/0.629, allocations: 84.83 MB / 0.7629 GB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0572/0.6863, allocations: 17.14 MB / 0.7797 GB, free: 3.098 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02553/0.7119, allocations: 393.4 kB / 0.7801 GB, free: 3.043 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02272/0.7347, allocations: 4.158 MB / 0.7841 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06332/0.7981, allocations: 14.12 MB / 0.7979 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007019/0.8051, allocations: 0.9323 MB / 0.7988 GB, free: 15.82 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0633/0.8685, allocations: 29.88 MB / 0.828 GB, free: 1.898 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01554/0.8841, allocations: 7.405 MB / 0.8352 GB, free: 10.43 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00447/0.8886, allocations: 2.004 MB / 0.8372 GB, free: 8.414 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007184/0.8958, allocations: 3.244 MB / 0.8404 GB, free: 5.16 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001824/0.8977, allocations: 248 kB / 0.8406 GB, free: 4.918 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004673/0.9024, allocations: 1.182 MB / 0.8417 GB, free: 3.734 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005131/0.9076, allocations: 2.864 MB / 0.8445 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002771/0.9104, allocations: 1.372 MB / 0.8459 GB, free: 15.48 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01509/0.9255, allocations: 9.204 MB / 0.8549 GB, free: 6.254 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.9256, allocations: 4 kB / 0.8549 GB, free: 6.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.789e-06/0.9256, allocations: 4 kB / 0.8549 GB, free: 6.246 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003724/0.926, allocations: 0 / 0.8549 GB, free: 6.246 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02642/0.9524, allocations: 7.082 MB / 0.8618 GB, free: 15.08 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.9525, allocations: 8.031 kB / 0.8618 GB, free: 15.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02708/0.9796, allocations: 3.411 MB / 0.8651 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01531/0.995, allocations: 4.491 MB / 0.8695 GB, free: 7.074 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005608/0.9956, allocations: 398.1 kB / 0.8699 GB, free: 6.684 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002663/0.9983, allocations: 0.5191 MB / 0.8704 GB, free: 6.164 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05133/1.05, allocations: 17.19 MB / 0.8872 GB, free: 3.984 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003145/1.05, allocations: 71.31 kB / 0.8873 GB, free: 3.914 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001934/1.052, allocations: 247.8 kB / 0.8875 GB, free: 3.672 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008073/1.06, allocations: 3.03 MB / 0.8905 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05056/1.111, allocations: 14.67 MB / 0.9048 GB, free: 1.938 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6944/1.805, allocations: 62.66 MB / 0.966 GB, free: 125.2 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02991/1.835, allocations: 7.08 MB / 0.9729 GB, free: 121.4 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008495/1.844, allocations: 4.245 MB / 0.977 GB, free: 117.2 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02329/1.867, allocations: 9.666 MB / 0.9865 GB, free: 107.5 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/1.867, allocations: 64.88 kB / 0.9865 GB, free: 107.5 MB / 490.8 MB Notification: Performance of pre-optimization done (n=297): time 8.616e-06/1.867, allocations: 5.953 kB / 0.9865 GB, free: 107.5 MB / 490.8 MB Notification: Performance of matching and sorting (n=339): time 0.1472/2.014, allocations: 35.56 MB / 1.021 GB, free: 71.68 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/2.014, allocations: 244.2 kB / 1.022 GB, free: 71.4 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01161/2.026, allocations: 6.68 MB / 1.028 GB, free: 64.72 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001027/2.027, allocations: 73.7 kB / 1.028 GB, free: 64.64 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003655/2.031, allocations: 4.733 MB / 1.033 GB, free: 59.92 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001999/2.033, allocations: 1.271 MB / 1.034 GB, free: 58.66 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008579/2.034, allocations: 189.2 kB / 1.034 GB, free: 58.47 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0004733/2.034, allocations: 0.6946 MB / 1.035 GB, free: 57.77 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009172/2.043, allocations: 4.024 MB / 1.039 GB, free: 53.74 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01228/2.056, allocations: 9.089 MB / 1.048 GB, free: 42.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/2.069, allocations: 5.913 MB / 1.053 GB, free: 36.27 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/2.069, allocations: 51.19 kB / 1.053 GB, free: 36.22 MB / 490.8 MB Notification: Performance of matching and sorting (n=1204) (initialization): time 0.04036/2.109, allocations: 15.01 MB / 1.068 GB, free: 21.18 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/2.109, allocations: 80.22 kB / 1.068 GB, free: 21.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002166/2.11, allocations: 180 kB / 1.068 GB, free: 20.93 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/2.12, allocations: 2.307 MB / 1.071 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01389/2.134, allocations: 2.141 MB / 1.073 GB, free: 16.47 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.026/2.16, allocations: 13.51 MB / 1.086 GB, free: 2.695 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/2.171, allocations: 0.5317 MB / 1.086 GB, free: 2.164 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002109/2.173, allocations: 0.5335 MB / 1.087 GB, free: 1.633 MB / 490.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.3315/2.504, allocations: 3.274 MB / 1.09 GB, free: 154.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001819/2.506, allocations: 0.5784 MB / 1.091 GB, free: 154.5 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02882/2.535, allocations: 8.434 MB / 1.099 GB, free: 152.7 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001298/2.535, allocations: 18.75 kB / 1.099 GB, free: 152.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/2.535, allocations: 2.625 kB / 1.099 GB, free: 152.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004708/2.54, allocations: 1.241 MB / 1.1 GB, free: 152.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002588/2.543, allocations: 56.12 kB / 1.1 GB, free: 152.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006527/2.549, allocations: 240.5 kB / 1.1 GB, free: 152.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001492/2.551, allocations: 232.1 kB / 1.101 GB, free: 152.2 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03123/2.582, allocations: 8.538 MB / 1.109 GB, free: 149.4 MB / 490.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02765/2.61, allocations: 11.07 MB / 1.12 GB, free: 145.1 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006904/2.617, allocations: 3.041 MB / 1.123 GB, free: 143.9 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.009739/2.626, allocations: 4.254 MB / 1.127 GB, free: 142.3 MB / 490.8 MB Notification: Performance of Backend: time 2.424e-06/2.627, allocations: 0 / 1.127 GB, free: 142.3 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02222/2.649, allocations: 7.311 MB / 1.134 GB, free: 135.9 MB / 490.8 MB Notification: Performance of SimCode: time 0.03838/2.687, allocations: 17.84 MB / 1.152 GB, free: 118.7 MB / 490.8 MB Notification: Performance of Templates: time 0.2107/2.898, allocations: 82.18 MB / 1.232 GB, free: 36.73 MB / 490.8 MB