Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002603/0.002603, allocations: 348.4 kB / 15.94 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.841/3.841, 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.003579/0.003578, allocations: 229.1 kB / 397.9 MB, free: 4.98 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.4536/0.4536, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004424/0.0004426, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08609/0.08655, allocations: 48.7 MB / 0.6068 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.3578/0.4444, allocations: 81.21 MB / 0.6861 GB, free: 31.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04432/0.4888, allocations: 16.49 MB / 0.7022 GB, free: 14.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01849/0.5074, allocations: 375.1 kB / 0.7025 GB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01346/0.5209, allocations: 3.99 MB / 0.7064 GB, free: 10.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04272/0.5637, allocations: 13.49 MB / 0.7196 GB, free: 13.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007224/0.571, allocations: 0.9255 MB / 0.7205 GB, free: 12.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.06375/0.6348, allocations: 29.49 MB / 0.7493 GB, free: 14.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01563/0.6504, allocations: 7.084 MB / 0.7562 GB, free: 7.648 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004943/0.6555, allocations: 1.895 MB / 0.7581 GB, free: 5.746 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007167/0.6627, allocations: 3.131 MB / 0.7611 GB, free: 2.605 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001793/0.6645, allocations: 236 kB / 0.7613 GB, free: 2.375 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004545/0.6691, allocations: 1.174 MB / 0.7625 GB, free: 1.199 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.3225/0.9917, allocations: 2.737 MB / 0.7652 GB, free: 34.81 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003835/0.9956, allocations: 1.316 MB / 0.7664 GB, free: 34.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01509/1.011, allocations: 8.894 MB / 0.7751 GB, free: 34.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/1.011, allocations: 0.7812 kB / 0.7751 GB, free: 34.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.076e-06/1.011, allocations: 0 / 0.7751 GB, free: 34.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004577/1.011, allocations: 0 / 0.7751 GB, free: 34.25 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: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.02696/1.038, allocations: 6.705 MB / 0.7817 GB, free: 31.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/1.038, allocations: 8.594 kB / 0.7817 GB, free: 31.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02784/1.066, allocations: 3.385 MB / 0.785 GB, free: 31.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01534/1.082, allocations: 4.235 MB / 0.7891 GB, free: 30.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005731/1.082, allocations: 382.4 kB / 0.7895 GB, free: 30.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003383/1.086, allocations: 0.499 MB / 0.79 GB, free: 30.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05045/1.136, allocations: 16.66 MB / 0.8063 GB, free: 26.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003072/1.136, allocations: 68.48 kB / 0.8063 GB, free: 26.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002435/1.139, allocations: 244.4 kB / 0.8065 GB, free: 26.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007076/1.146, allocations: 2.925 MB / 0.8094 GB, free: 25.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04534/1.191, allocations: 14.27 MB / 0.8233 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1115/1.303, allocations: 60.51 MB / 0.8824 GB, free: 0.793 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03759/1.341, allocations: 8.221 MB / 0.8905 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009759/1.35, allocations: 4.192 MB / 0.8946 GB, free: 7.664 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002987/1.351, allocations: 58.08 kB / 0.8946 GB, free: 7.637 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.864e-05/1.351, allocations: 69.52 kB / 0.8947 GB, free: 7.574 MB / 458.7 MB Notification: Performance of pre-optimization done (n=290): time 7.313e-06/1.351, allocations: 0 / 0.8947 GB, free: 7.574 MB / 458.7 MB Notification: Performance of matching and sorting (n=332): time 0.1824/1.533, allocations: 36.19 MB / 0.93 GB, free: 4.617 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/1.533, allocations: 216.6 kB / 0.9302 GB, free: 4.363 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0223/1.556, allocations: 6.3 MB / 0.9364 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001473/1.557, allocations: 77.7 kB / 0.9365 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007341/1.565, allocations: 4.525 MB / 0.9409 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003457/1.568, allocations: 1.236 MB / 0.9421 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00211/1.57, allocations: 180 kB / 0.9423 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001219/1.572, allocations: 0.678 MB / 0.9429 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01725/1.589, allocations: 4.07 MB / 0.9469 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3058/1.895, allocations: 8.903 MB / 0.9556 GB, free: 195.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01608/1.911, allocations: 5.871 MB / 0.9613 GB, free: 195.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003041/1.911, allocations: 47.84 kB / 0.9614 GB, free: 195.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.04865/1.96, allocations: 14.87 MB / 0.9759 GB, free: 190.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000192/1.96, allocations: 74.62 kB / 0.976 GB, free: 190.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002898/1.961, allocations: 168.9 kB / 0.9761 GB, free: 190.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/1.972, allocations: 2.302 MB / 0.9784 GB, free: 190.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01713/1.989, allocations: 2.088 MB / 0.9804 GB, free: 189.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04213/2.031, allocations: 13.52 MB / 0.9936 GB, free: 183.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0176/2.049, allocations: 0.5408 MB / 0.9941 GB, free: 183 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003447/2.052, allocations: 0.5094 MB / 0.9946 GB, free: 182.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 766 * Number of states: 0 () * Number of discrete variables: 51 (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 (1081): * Single equations (assignments): 1076 * 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: 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.01395/2.066, allocations: 3.148 MB / 0.9977 GB, free: 181.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00256/2.069, allocations: 0.5515 MB / 0.9982 GB, free: 181 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04362/2.113, allocations: 8.444 MB / 1.006 GB, free: 174.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001246/2.113, allocations: 15.05 kB / 1.007 GB, free: 174.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/2.113, allocations: 4 kB / 1.007 GB, free: 174.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006951/2.12, allocations: 1.251 MB / 1.008 GB, free: 173.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004054/2.124, allocations: 58.12 kB / 1.008 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01009/2.134, allocations: 286.8 kB / 1.008 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002187/2.136, allocations: 221.6 kB / 1.008 GB, free: 172.9 MB / 0.4948 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04823/2.185, allocations: 8.663 MB / 1.017 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04358/2.228, allocations: 11.49 MB / 1.028 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01342/2.242, allocations: 3.194 MB / 1.031 GB, free: 151.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01513/2.257, allocations: 3.998 MB / 1.035 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of Backend: time 1.943e-06/2.257, allocations: 0 / 1.035 GB, free: 147.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03637/2.293, allocations: 7.253 MB / 1.042 GB, free: 140 MB / 0.4948 GB Notification: Performance of SimCode: time 0.05671/2.35, allocations: 17.13 MB / 1.059 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.2415/2.592, allocations: 81.71 MB / 1.139 GB, free: 41.78 MB / 0.4948 GB