Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,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.ForcesAndTorques") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00261/0.002614, allocations: 351.4 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.467/3.467, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.004932/0.004932, allocations: 217.2 kB / 397.9 MB, free: 4.898 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.4828/0.4828, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007138/0.000714, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1077, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.3944/0.5022, allocations: 92.31 MB / 0.6969 GB, free: 20.29 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04981/0.552, allocations: 18.35 MB / 0.7148 GB, free: 2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02015/0.5722, allocations: 427.1 kB / 0.7152 GB, free: 1.582 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01607/0.5884, allocations: 4.542 MB / 0.7197 GB, free: 13.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05144/0.6399, allocations: 15.32 MB / 0.7346 GB, free: 13.64 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007588/0.6475, allocations: 1.008 MB / 0.7356 GB, free: 12.63 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.3909/1.038, allocations: 30.58 MB / 0.7655 GB, free: 30.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01961/1.058, allocations: 8.883 MB / 0.7741 GB, free: 29.81 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006245/1.064, allocations: 2.209 MB / 0.7763 GB, free: 29.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008773/1.073, allocations: 3.593 MB / 0.7798 GB, free: 29.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002473/1.076, allocations: 271.8 kB / 0.7801 GB, free: 29.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005462/1.081, allocations: 1.086 MB / 0.7811 GB, free: 29.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007089/1.088, allocations: 3.2 MB / 0.7843 GB, free: 29.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004271/1.093, allocations: 1.511 MB / 0.7857 GB, free: 29.76 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01572/1.109, allocations: 10.21 MB / 0.7957 GB, free: 27.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.109, allocations: 0 / 0.7957 GB, free: 27.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.426e-06/1.109, allocations: 0 / 0.7957 GB, free: 27.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005393/1.109, allocations: 0 / 0.7957 GB, free: 27.27 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: 2756 * Number of variables: 2756 Notification: Performance of Generate backend data structure: time 0.02795/1.137, allocations: 7.713 MB / 0.8032 GB, free: 22.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.137, allocations: 6.75 kB / 0.8032 GB, free: 22.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02757/1.165, allocations: 3.54 MB / 0.8067 GB, free: 21.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0159/1.181, allocations: 4.807 MB / 0.8114 GB, free: 19.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005545/1.181, allocations: 450.2 kB / 0.8118 GB, free: 19.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00322/1.185, allocations: 0.5925 MB / 0.8124 GB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05419/1.239, allocations: 18.85 MB / 0.8308 GB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004102/1.239, allocations: 69.44 kB / 0.8309 GB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002852/1.242, allocations: 280.1 kB / 0.8311 GB, free: 5.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007876/1.25, allocations: 3.315 MB / 0.8344 GB, free: 2.793 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05447/1.305, allocations: 15.92 MB / 0.8499 GB, free: 7.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1462/1.451, allocations: 70.09 MB / 0.9184 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04204/1.493, allocations: 8.685 MB / 0.9268 GB, free: 4.836 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01234/1.505, allocations: 4.98 MB / 0.9317 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03439/1.54, allocations: 11.86 MB / 0.9433 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.145e-05/1.54, allocations: 69.19 kB / 0.9434 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=347): time 9.297e-06/1.54, allocations: 0 / 0.9434 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of matching and sorting (n=389): time 0.7458/2.286, allocations: 39.79 MB / 0.9822 GB, free: 189.2 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.806e-05/2.286, allocations: 247.1 kB / 0.9825 GB, free: 188.9 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0165/2.302, allocations: 7.364 MB / 0.9896 GB, free: 186.4 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001294/2.304, allocations: 82.14 kB / 0.9897 GB, free: 186.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004887/2.309, allocations: 5.195 MB / 0.9948 GB, free: 182.3 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002756/2.311, allocations: 1.446 MB / 0.9962 GB, free: 181.3 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001774/2.313, allocations: 209.6 kB / 0.9964 GB, free: 181.1 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0009099/2.314, allocations: 0.7423 MB / 0.9971 GB, free: 180.6 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01248/2.327, allocations: 4.421 MB / 1.001 GB, free: 178.6 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01594/2.343, allocations: 10.03 MB / 1.011 GB, free: 166.8 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/2.358, allocations: 6.526 MB / 1.018 GB, free: 161.1 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000179/2.358, allocations: 56 kB / 1.018 GB, free: 161.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1340) (initialization): time 0.04833/2.407, allocations: 16.36 MB / 1.034 GB, free: 146.1 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/2.407, allocations: 91.75 kB / 1.034 GB, free: 146 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002527/2.407, allocations: 196 kB / 1.034 GB, free: 145.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/2.418, allocations: 2.349 MB / 1.036 GB, free: 143.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01637/2.435, allocations: 2.433 MB / 1.039 GB, free: 141.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02715/2.462, allocations: 13.48 MB / 1.052 GB, free: 127.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01301/2.475, allocations: 0.593 MB / 1.052 GB, free: 126.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002853/2.478, allocations: 0.582 MB / 1.053 GB, free: 126.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 887 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1258): * Single equations (assignments): 1251 * 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 {(3,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01109/2.489, allocations: 3.615 MB / 1.056 GB, free: 122.5 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002284/2.491, allocations: 0.6324 MB / 1.057 GB, free: 121.9 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02992/2.521, allocations: 9.175 MB / 1.066 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001762/2.521, allocations: 19.94 kB / 1.066 GB, free: 112.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/2.521, allocations: 3.438 kB / 1.066 GB, free: 112.6 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005359/2.527, allocations: 1.355 MB / 1.067 GB, free: 111.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003105/2.53, allocations: 61.36 kB / 1.067 GB, free: 111.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007266/2.537, allocations: 271.6 kB / 1.068 GB, free: 110.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001624/2.539, allocations: 246.9 kB / 1.068 GB, free: 110.7 MB / 0.4949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03224/2.571, allocations: 9.293 MB / 1.077 GB, free: 101.5 MB / 0.4949 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02937/2.601, allocations: 12.18 MB / 1.089 GB, free: 89.21 MB / 0.4949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007857/2.609, allocations: 3.353 MB / 1.092 GB, free: 85.86 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01142/2.62, allocations: 4.683 MB / 1.097 GB, free: 81.21 MB / 0.4949 GB Notification: Performance of Backend: time 1.142e-06/2.62, allocations: 4 kB / 1.097 GB, free: 81.2 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02588/2.646, allocations: 8.022 MB / 1.105 GB, free: 73.24 MB / 0.4949 GB Notification: Performance of SimCode: time 0.04472/2.691, allocations: 19.49 MB / 1.124 GB, free: 53.79 MB / 0.4949 GB Notification: Performance of Templates: time 0.5703/3.261, allocations: 88.56 MB / 1.21 GB, free: 161.9 MB / 0.4949 GB