Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,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.WorldForces2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003979/0.003979, allocations: 371.3 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 4.083/4.083, allocations: 388.9 MB / 405.6 MB, free: 9.652 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.005144/0.005144, allocations: 222.5 kB / 451 MB, free: 145 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.5318/0.5318, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004764, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1026, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.4342/0.5369, allocations: 87.73 MB / 0.7658 GB, free: 13.79 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.06689/0.6038, allocations: 17.71 MB / 0.7831 GB, free: 56 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02473/0.6286, allocations: 415 kB / 0.7835 GB, free: 15.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01871/0.6474, allocations: 4.328 MB / 0.7877 GB, free: 11.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05595/0.7034, allocations: 14.68 MB / 0.802 GB, free: 12.56 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008065/0.7116, allocations: 1.014 MB / 0.803 GB, free: 11.55 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.09314/0.8048, allocations: 41.47 MB / 0.8435 GB, free: 2.02 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01752/0.8224, allocations: 7.405 MB / 0.8507 GB, free: 10.55 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005625/0.828, allocations: 2.078 MB / 0.8528 GB, free: 8.465 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008163/0.8363, allocations: 3.454 MB / 0.8561 GB, free: 5 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002025/0.8383, allocations: 240 kB / 0.8564 GB, free: 4.766 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005043/0.8434, allocations: 1.178 MB / 0.8575 GB, free: 3.586 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00605/0.8495, allocations: 2.977 MB / 0.8604 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003334/0.8529, allocations: 1.369 MB / 0.8618 GB, free: 15.22 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01599/0.869, allocations: 9.214 MB / 0.8708 GB, free: 5.988 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.869, allocations: 0 / 0.8708 GB, free: 5.988 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.8691, allocations: 0 / 0.8708 GB, free: 5.988 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004268/0.8695, allocations: 0 / 0.8708 GB, free: 5.988 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: 2367 * Number of variables: 2367 Notification: Performance of Generate backend data structure: time 0.03332/0.9028, allocations: 6.948 MB / 0.8775 GB, free: 14.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.774e-05/0.9029, allocations: 12.02 kB / 0.8776 GB, free: 14.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04627/0.9492, allocations: 3.813 MB / 0.8813 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02404/0.9733, allocations: 5.068 MB / 0.8862 GB, free: 5.969 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007287/0.9741, allocations: 386 kB / 0.8866 GB, free: 5.59 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003617/0.9778, allocations: 0.5191 MB / 0.8871 GB, free: 5.07 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06586/1.044, allocations: 16.01 MB / 0.9027 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005528/1.044, allocations: 83.3 kB / 0.9028 GB, free: 3.934 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003169/1.048, allocations: 243.8 kB / 0.9031 GB, free: 3.695 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01081/1.058, allocations: 2.755 MB / 0.9057 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7179/1.776, allocations: 13.29 MB / 0.9187 GB, free: 168.9 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1035/1.88, allocations: 60.29 MB / 0.9776 GB, free: 117.2 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02296/1.903, allocations: 6.082 MB / 0.9835 GB, free: 111 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007152/1.91, allocations: 3.367 MB / 0.9868 GB, free: 107.6 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003286/1.91, allocations: 56.05 kB / 0.9869 GB, free: 107.6 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/1.911, allocations: 60.03 kB / 0.9869 GB, free: 107.5 MB / 490.8 MB Notification: Performance of pre-optimization done (n=242): time 7.323e-06/1.911, allocations: 0 / 0.9869 GB, free: 107.5 MB / 490.8 MB Notification: Performance of matching and sorting (n=260): time 0.1118/2.022, allocations: 25.84 MB / 1.012 GB, free: 81.53 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/2.022, allocations: 269.1 kB / 1.012 GB, free: 81.21 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01466/2.037, allocations: 6.903 MB / 1.019 GB, free: 74.32 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007692/2.038, allocations: 70.34 kB / 1.019 GB, free: 74.25 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004119/2.042, allocations: 4.779 MB / 1.024 GB, free: 69.47 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00166/2.044, allocations: 1.012 MB / 1.025 GB, free: 68.47 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/2.045, allocations: 179.4 kB / 1.025 GB, free: 68.3 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005526/2.046, allocations: 0.6741 MB / 1.026 GB, free: 67.61 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008268/2.054, allocations: 3.275 MB / 1.029 GB, free: 64.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01153/2.065, allocations: 8.439 MB / 1.037 GB, free: 53.37 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01151/2.077, allocations: 5.118 MB / 1.042 GB, free: 48.25 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001472/2.077, allocations: 56 kB / 1.042 GB, free: 48.19 MB / 490.8 MB Notification: Performance of matching and sorting (n=1147) (initialization): time 0.03514/2.112, allocations: 12.99 MB / 1.055 GB, free: 35.18 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/2.112, allocations: 80 kB / 1.055 GB, free: 35.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002342/2.113, allocations: 180 kB / 1.055 GB, free: 34.93 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007675/2.12, allocations: 1.8 MB / 1.057 GB, free: 33.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01304/2.134, allocations: 2.109 MB / 1.059 GB, free: 31.01 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01974/2.153, allocations: 11.53 MB / 1.07 GB, free: 19.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00994/2.163, allocations: 0.4999 MB / 1.071 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001875/2.165, allocations: 0.509 MB / 1.071 GB, free: 18.07 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.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 (1084): * Single equations (assignments): 1078 * 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%) 12,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008179/2.173, allocations: 3.206 MB / 1.074 GB, free: 14.85 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001649/2.175, allocations: 0.5747 MB / 1.075 GB, free: 14.27 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01842/2.194, allocations: 5.792 MB / 1.081 GB, free: 8.449 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.278e-05/2.194, allocations: 15.95 kB / 1.081 GB, free: 8.434 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/2.194, allocations: 0 / 1.081 GB, free: 8.434 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0038/2.198, allocations: 1.068 MB / 1.082 GB, free: 7.34 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002236/2.2, allocations: 43.98 kB / 1.082 GB, free: 7.297 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005421/2.205, allocations: 187.8 kB / 1.082 GB, free: 7.113 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009477/2.206, allocations: 169.5 kB / 1.082 GB, free: 6.949 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02112/2.227, allocations: 6.293 MB / 1.088 GB, free: 0.6836 MB / 490.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.367/2.595, allocations: 8.035 MB / 1.096 GB, free: 151.8 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005081/2.6, allocations: 2.099 MB / 1.098 GB, free: 151 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0126/2.612, allocations: 4.391 MB / 1.102 GB, free: 149.6 MB / 490.8 MB Notification: Performance of Backend: time 1.573e-06/2.612, allocations: 0 / 1.102 GB, free: 149.6 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02245/2.635, allocations: 6.415 MB / 1.109 GB, free: 147.2 MB / 490.8 MB Notification: Performance of SimCode: time 0.04009/2.675, allocations: 17.31 MB / 1.125 GB, free: 138.6 MB / 490.8 MB Notification: Performance of Templates: time 0.1946/2.87, allocations: 72.04 MB / 1.196 GB, free: 73.23 MB / 490.8 MB