Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,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.WorldForces") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003852/0.003852, allocations: 356.2 kB / 15.95 MB, free: 6.219 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.597/3.597, 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.003592/0.003592, allocations: 228.4 kB / 397.9 MB, free: 4.992 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.4669/0.4669, allocations: 76.08 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004611, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1157, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces): time 0.4052/0.5209, allocations: 98.47 MB / 0.7029 GB, free: 14.08 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.05527/0.5763, allocations: 19.61 MB / 0.7221 GB, free: 10.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02157/0.5979, allocations: 458.9 kB / 0.7225 GB, free: 10.08 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01798/0.6159, allocations: 4.853 MB / 0.7272 GB, free: 5.207 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05797/0.674, allocations: 16.38 MB / 0.7432 GB, free: 4.762 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008764/0.6828, allocations: 1.092 MB / 0.7443 GB, free: 3.672 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.4232/1.106, allocations: 42.18 MB / 0.7855 GB, free: 20.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01664/1.123, allocations: 8.103 MB / 0.7934 GB, free: 19.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005937/1.129, allocations: 2.269 MB / 0.7956 GB, free: 19.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008397/1.137, allocations: 3.78 MB / 0.7993 GB, free: 19.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002329/1.14, allocations: 274.2 kB / 0.7996 GB, free: 19.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005194/1.145, allocations: 1.077 MB / 0.8006 GB, free: 19.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005987/1.151, allocations: 3.278 MB / 0.8038 GB, free: 18.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003742/1.155, allocations: 1.529 MB / 0.8053 GB, free: 18.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01442/1.169, allocations: 10.22 MB / 0.8153 GB, free: 10.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/1.169, allocations: 4 kB / 0.8153 GB, free: 10.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.779e-06/1.169, allocations: 0 / 0.8153 GB, free: 10.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005035/1.17, allocations: 0 / 0.8153 GB, free: 10.74 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: 2698 * Number of variables: 2698 Notification: Performance of Generate backend data structure: time 0.02766/1.197, allocations: 7.738 MB / 0.8229 GB, free: 3.613 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.197, allocations: 8.031 kB / 0.8229 GB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03211/1.23, allocations: 3.943 MB / 0.8267 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01868/1.248, allocations: 5.378 MB / 0.832 GB, free: 12.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006471/1.249, allocations: 440.5 kB / 0.8324 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003099/1.252, allocations: 0.5687 MB / 0.8329 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05321/1.305, allocations: 18.06 MB / 0.8506 GB, free: 13.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004417/1.306, allocations: 79.52 kB / 0.8507 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002786/1.309, allocations: 278.9 kB / 0.8509 GB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008485/1.317, allocations: 3.198 MB / 0.8541 GB, free: 10.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04948/1.367, allocations: 15.06 MB / 0.8688 GB, free: 196 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1342/1.501, allocations: 68.88 MB / 0.936 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03124/1.532, allocations: 7.455 MB / 0.9433 GB, free: 1.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5741/2.107, allocations: 4.429 MB / 0.9476 GB, free: 202.4 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004707/2.107, allocations: 58.81 kB / 0.9477 GB, free: 202.4 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.632e-05/2.107, allocations: 73.92 kB / 0.9478 GB, free: 202.4 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=307): time 8.146e-06/2.107, allocations: 0 / 0.9478 GB, free: 202.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=340): time 0.1658/2.273, allocations: 35.65 MB / 0.9826 GB, free: 191 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/2.273, allocations: 298.2 kB / 0.9829 GB, free: 190.6 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02158/2.295, allocations: 7.405 MB / 0.9901 GB, free: 188.1 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001251/2.296, allocations: 77.33 kB / 0.9902 GB, free: 188 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006333/2.302, allocations: 5.265 MB / 0.9953 GB, free: 184 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002853/2.305, allocations: 1.282 MB / 0.9966 GB, free: 183 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001776/2.307, allocations: 202.4 kB / 0.9967 GB, free: 182.9 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.00102/2.308, allocations: 0.7227 MB / 0.9975 GB, free: 182.4 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01493/2.323, allocations: 4.112 MB / 1.001 GB, free: 178.8 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01613/2.339, allocations: 9.734 MB / 1.011 GB, free: 166.5 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01701/2.356, allocations: 6.175 MB / 1.017 GB, free: 160.6 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001596/2.357, allocations: 56 kB / 1.017 GB, free: 160.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.04297/2.4, allocations: 15.67 MB / 1.032 GB, free: 144.8 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/2.4, allocations: 92 kB / 1.032 GB, free: 144.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002121/2.4, allocations: 196 kB / 1.033 GB, free: 144.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009884/2.41, allocations: 2.343 MB / 1.035 GB, free: 142.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01489/2.425, allocations: 2.362 MB / 1.037 GB, free: 139.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03786/2.463, allocations: 14.49 MB / 1.051 GB, free: 125 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01779/2.481, allocations: 0.5783 MB / 1.052 GB, free: 124.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003067/2.484, allocations: 0.5769 MB / 1.053 GB, free: 123.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 893 * Number of states: 0 () * Number of discrete variables: 60 (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],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],worldForce.color[3],worldForce.color[2],worldForce.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],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 (1223): * Single equations (assignments): 1217 * 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,(1,100.0%) 14,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01427/2.498, allocations: 3.579 MB / 1.056 GB, free: 120.2 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003016/2.501, allocations: 0.6363 MB / 1.057 GB, free: 119.6 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03667/2.538, allocations: 8.102 MB / 1.065 GB, free: 111.4 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001306/2.538, allocations: 19.94 kB / 1.065 GB, free: 111.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/2.538, allocations: 0 / 1.065 GB, free: 111.4 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006569/2.545, allocations: 1.285 MB / 1.066 GB, free: 110.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003744/2.548, allocations: 63.94 kB / 1.066 GB, free: 110.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009456/2.558, allocations: 239.7 kB / 1.066 GB, free: 109.8 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001684/2.56, allocations: 222.3 kB / 1.066 GB, free: 109.6 MB / 0.4949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02879/2.589, allocations: 8.536 MB / 1.075 GB, free: 101.1 MB / 0.4949 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02518/2.614, allocations: 11.02 MB / 1.085 GB, free: 90.03 MB / 0.4949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006661/2.62, allocations: 2.972 MB / 1.088 GB, free: 87.05 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01104/2.632, allocations: 4.696 MB / 1.093 GB, free: 82.38 MB / 0.4949 GB Notification: Performance of Backend: time 1.022e-06/2.632, allocations: 0 / 1.093 GB, free: 82.38 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02366/2.655, allocations: 7.695 MB / 1.1 GB, free: 74.73 MB / 0.4949 GB Notification: Performance of SimCode: time 0.04309/2.698, allocations: 19.58 MB / 1.12 GB, free: 55.2 MB / 0.4949 GB Notification: Performance of Templates: time 0.6128/3.311, allocations: 85.72 MB / 1.203 GB, free: 169.8 MB / 0.4949 GB