Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002618/0.002622, 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 4.043/4.043, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.003692/0.003692, allocations: 222.9 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.5263/0.5263, allocations: 80.03 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006795/0.0006797, allocations: 19.98 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.135, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.4665/0.6016, allocations: 119.5 MB / 0.7968 GB, free: 2.031 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.07137/0.673, allocations: 23.45 MB / 0.8197 GB, free: 10.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02617/0.6992, allocations: 0.5457 MB / 0.8202 GB, free: 9.965 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.022/0.7213, allocations: 5.895 MB / 0.826 GB, free: 4.043 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07075/0.7921, allocations: 19.72 MB / 0.8452 GB, free: 244 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01042/0.8026, allocations: 1.202 MB / 0.8464 GB, free: 15.04 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.09375/0.8964, allocations: 43.5 MB / 0.8889 GB, free: 3.477 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02261/0.919, allocations: 10.18 MB / 0.8988 GB, free: 9.219 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00678/0.9259, allocations: 2.627 MB / 0.9014 GB, free: 6.582 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01003/0.936, allocations: 4.365 MB / 0.9056 GB, free: 2.203 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002767/0.9388, allocations: 332 kB / 0.906 GB, free: 1.879 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3893/1.328, allocations: 1.234 MB / 0.9072 GB, free: 51.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00755/1.336, allocations: 3.823 MB / 0.9109 GB, free: 51.21 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005399/1.341, allocations: 1.805 MB / 0.9127 GB, free: 51.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0213/1.363, allocations: 12.18 MB / 0.9246 GB, free: 50.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/1.363, allocations: 0 / 0.9246 GB, free: 50.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.556e-06/1.363, allocations: 3.906 kB / 0.9246 GB, free: 50.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007495/1.363, allocations: 3.375 kB / 0.9246 GB, free: 50.41 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 0.04194/1.405, allocations: 9.246 MB / 0.9336 GB, free: 46.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.405, allocations: 8.125 kB / 0.9336 GB, free: 46.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03634/1.442, allocations: 4.181 MB / 0.9377 GB, free: 46.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02256/1.464, allocations: 5.974 MB / 0.9435 GB, free: 45.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007588/1.465, allocations: 0.5248 MB / 0.944 GB, free: 45.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004713/1.47, allocations: 0.7108 MB / 0.9447 GB, free: 45.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07096/1.541, allocations: 22.5 MB / 0.9667 GB, free: 39.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006439/1.542, allocations: 83.92 kB / 0.9668 GB, free: 39.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004468/1.546, allocations: 336.8 kB / 0.9671 GB, free: 39.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009392/1.556, allocations: 3.861 MB / 0.9709 GB, free: 38.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06282/1.618, allocations: 19.2 MB / 0.9896 GB, free: 25.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1649/1.783, allocations: 80.94 MB / 1.069 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04785/1.831, allocations: 9.404 MB / 1.078 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01488/1.846, allocations: 6.036 MB / 1.084 GB, free: 7.375 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005722/1.847, allocations: 85.31 kB / 1.084 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.657e-05/1.847, allocations: 87.33 kB / 1.084 GB, free: 7.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=412): time 9.438e-06/1.847, allocations: 0 / 1.084 GB, free: 7.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=475): time 0.8756/2.723, allocations: 49.63 MB / 1.132 GB, free: 241.1 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/2.723, allocations: 287 kB / 1.133 GB, free: 240.9 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02682/2.75, allocations: 8.287 MB / 1.141 GB, free: 239 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002233/2.752, allocations: 98.92 kB / 1.141 GB, free: 238.9 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.009146/2.761, allocations: 6.01 MB / 1.147 GB, free: 234.3 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005025/2.766, allocations: 1.751 MB / 1.148 GB, free: 233 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003468/2.77, allocations: 230.9 kB / 1.149 GB, free: 232.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001724/2.772, allocations: 0.8006 MB / 1.149 GB, free: 232.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02333/2.795, allocations: 5.481 MB / 1.155 GB, free: 230.4 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02916/2.824, allocations: 11.56 MB / 1.166 GB, free: 220.5 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02439/2.849, allocations: 7.791 MB / 1.174 GB, free: 217.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002139/2.849, allocations: 60.94 kB / 1.174 GB, free: 217.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=1509) (initialization): time 0.05914/2.908, allocations: 19.98 MB / 1.193 GB, free: 204.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/2.908, allocations: 96 kB / 1.193 GB, free: 204.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003449/2.909, allocations: 208.8 kB / 1.194 GB, free: 204.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01519/2.924, allocations: 3.388 MB / 1.197 GB, free: 202.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01972/2.944, allocations: 2.793 MB / 1.2 GB, free: 199.8 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04017/2.984, allocations: 20.15 MB / 1.219 GB, free: 180.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01573/3, allocations: 0.7031 MB / 1.22 GB, free: 179.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003319/3.003, allocations: 0.658 MB / 1.221 GB, free: 178.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],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],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 (1413): * Single equations (assignments): 1407 * 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,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01381/3.017, allocations: 4.192 MB / 1.225 GB, free: 174.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002931/3.02, allocations: 0.7367 MB / 1.225 GB, free: 173.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04054/3.06, allocations: 12.2 MB / 1.237 GB, free: 161.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001733/3.061, allocations: 27.91 kB / 1.237 GB, free: 161.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/3.061, allocations: 3.562 kB / 1.237 GB, free: 161.5 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007192/3.068, allocations: 1.67 MB / 1.239 GB, free: 159.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004108/3.072, allocations: 80 kB / 1.239 GB, free: 159.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009757/3.082, allocations: 384.8 kB / 1.239 GB, free: 159.3 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002269/3.084, allocations: 327 kB / 1.24 GB, free: 159 MB / 0.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05143/3.136, allocations: 12.42 MB / 1.252 GB, free: 146.6 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.06142/3.197, allocations: 15.93 MB / 1.267 GB, free: 130.6 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01563/3.213, allocations: 4.475 MB / 1.272 GB, free: 126.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01934/3.232, allocations: 5.271 MB / 1.277 GB, free: 120.9 MB / 0.573 GB Notification: Performance of Backend: time 1.142e-06/3.232, allocations: 0 / 1.277 GB, free: 120.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03393/3.266, allocations: 9.778 MB / 1.286 GB, free: 111.1 MB / 0.573 GB Notification: Performance of SimCode: time 0.05613/3.322, allocations: 23.42 MB / 1.309 GB, free: 87.69 MB / 0.573 GB Notification: Performance of Templates: time 0.6817/4.004, allocations: 111.3 MB / 1.418 GB, free: 212.9 MB / 0.573 GB