Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque.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.Worldtorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Worldtorque") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003423/0.00343, allocations: 371.5 kB / 15.97 MB, free: 6.195 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.783/3.783, 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.005614/0.005614, allocations: 240 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.5199/0.5199, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006722/0.0006727, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1119, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Worldtorque): time 0.4758/0.5878, allocations: 88.35 MB / 0.7664 GB, free: 13.36 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.06031/0.6482, allocations: 17.79 MB / 0.7837 GB, free: 15.34 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02194/0.6702, allocations: 415 kB / 0.7841 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01846/0.6887, allocations: 4.347 MB / 0.7884 GB, free: 10.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05646/0.7452, allocations: 14.74 MB / 0.8028 GB, free: 11.77 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008273/0.7535, allocations: 1.018 MB / 0.8038 GB, free: 10.75 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.09337/0.847, allocations: 41.69 MB / 0.8445 GB, free: 1.004 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01742/0.8644, allocations: 7.491 MB / 0.8518 GB, free: 9.449 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006889/0.8714, allocations: 2.132 MB / 0.8539 GB, free: 7.309 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0122/0.8837, allocations: 3.556 MB / 0.8574 GB, free: 3.742 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002926/0.8867, allocations: 256 kB / 0.8576 GB, free: 3.492 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005893/0.8926, allocations: 1.186 MB / 0.8588 GB, free: 2.305 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008045/0.9007, allocations: 3.058 MB / 0.8617 GB, free: 15.23 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004732/0.9055, allocations: 1.415 MB / 0.8631 GB, free: 13.81 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02063/0.9262, allocations: 9.539 MB / 0.8724 GB, free: 4.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.9263, allocations: 7.938 kB / 0.8725 GB, free: 4.242 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.948e-06/0.9263, allocations: 4 kB / 0.8725 GB, free: 4.238 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004216/0.9268, allocations: 0 / 0.8725 GB, free: 4.238 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2470 * Number of variables: 2470 Notification: Performance of Generate backend data structure: time 0.02738/0.9542, allocations: 7.153 MB / 0.8794 GB, free: 13 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.9542, allocations: 12.02 kB / 0.8795 GB, free: 12.99 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0458/1, allocations: 3.847 MB / 0.8832 GB, free: 9.129 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0264/1.027, allocations: 5.139 MB / 0.8882 GB, free: 3.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001221/1.028, allocations: 410.3 kB / 0.8886 GB, free: 3.508 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004104/1.032, allocations: 0.5269 MB / 0.8891 GB, free: 2.98 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06223/1.094, allocations: 16.63 MB / 0.9054 GB, free: 1.285 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005152/1.095, allocations: 75.31 kB / 0.9054 GB, free: 1.211 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002768/1.098, allocations: 255.8 kB / 0.9057 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.6838/1.781, allocations: 2.897 MB / 0.9085 GB, free: 173.1 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04851/1.83, allocations: 13.79 MB / 0.922 GB, free: 169.3 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1083/1.938, allocations: 62.33 MB / 0.9829 GB, free: 111.9 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02354/1.962, allocations: 6.117 MB / 0.9888 GB, free: 105.6 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007405/1.969, allocations: 3.406 MB / 0.9922 GB, free: 102.2 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003364/1.97, allocations: 49.17 kB / 0.9922 GB, free: 102.2 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.408e-05/1.97, allocations: 63.31 kB / 0.9923 GB, free: 102.1 MB / 490.8 MB Notification: Performance of pre-optimization done (n=249): time 7.875e-06/1.97, allocations: 0 / 0.9923 GB, free: 102.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=267): time 0.1123/2.082, allocations: 26.32 MB / 1.018 GB, free: 75.59 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/2.082, allocations: 257.2 kB / 1.018 GB, free: 75.28 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01466/2.097, allocations: 6.967 MB / 1.025 GB, free: 68.32 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007634/2.098, allocations: 66.66 kB / 1.025 GB, free: 68.25 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004354/2.102, allocations: 4.956 MB / 1.03 GB, free: 63.31 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001753/2.104, allocations: 1.039 MB / 1.031 GB, free: 62.28 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/2.105, allocations: 180 kB / 1.031 GB, free: 62.1 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005744/2.106, allocations: 0.6901 MB / 1.032 GB, free: 61.4 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008852/2.115, allocations: 3.375 MB / 1.035 GB, free: 58.02 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01204/2.127, allocations: 8.66 MB / 1.044 GB, free: 46.75 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/2.139, allocations: 5.262 MB / 1.049 GB, free: 41.48 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000178/2.139, allocations: 52 kB / 1.049 GB, free: 41.43 MB / 490.8 MB Notification: Performance of matching and sorting (n=1173) (initialization): time 0.03698/2.176, allocations: 13.33 MB / 1.062 GB, free: 28.09 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/2.176, allocations: 87.59 kB / 1.062 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002473/2.176, allocations: 184 kB / 1.062 GB, free: 27.83 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007926/2.184, allocations: 1.823 MB / 1.064 GB, free: 26 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01296/2.197, allocations: 2.074 MB / 1.066 GB, free: 23.92 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02058/2.218, allocations: 11.76 MB / 1.077 GB, free: 11.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/2.229, allocations: 0.5111 MB / 1.078 GB, free: 11.25 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001946/2.231, allocations: 0.5242 MB / 1.078 GB, free: 10.73 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 843 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1107): * Single equations (assignments): 1101 * 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 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008562/2.239, allocations: 3.312 MB / 1.082 GB, free: 7.41 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001575/2.241, allocations: 0.5823 MB / 1.082 GB, free: 6.82 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02034/2.261, allocations: 5.99 MB / 1.088 GB, free: 0.8008 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.078e-05/2.261, allocations: 11.95 kB / 1.088 GB, free: 0.7891 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/2.261, allocations: 4 kB / 1.088 GB, free: 0.7852 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3428/2.604, allocations: 1.072 MB / 1.089 GB, free: 151.9 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002563/2.607, allocations: 45.72 kB / 1.089 GB, free: 151.9 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005777/2.612, allocations: 196.7 kB / 1.089 GB, free: 151.9 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001148/2.614, allocations: 184.7 kB / 1.089 GB, free: 151.9 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02438/2.638, allocations: 6.413 MB / 1.096 GB, free: 151 MB / 490.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02143/2.66, allocations: 8.3 MB / 1.104 GB, free: 147.9 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006026/2.666, allocations: 2.2 MB / 1.106 GB, free: 147.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01228/2.678, allocations: 4.427 MB / 1.11 GB, free: 145.6 MB / 490.8 MB Notification: Performance of Backend: time 6.41e-07/2.678, allocations: 3.844 kB / 1.11 GB, free: 145.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02157/2.7, allocations: 6.584 MB / 1.117 GB, free: 143.2 MB / 490.8 MB Notification: Performance of SimCode: time 0.04037/2.74, allocations: 17.91 MB / 1.134 GB, free: 133.7 MB / 490.8 MB Notification: Performance of Templates: time 0.2009/2.941, allocations: 73.22 MB / 1.206 GB, free: 63.01 MB / 490.8 MB