Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.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.Parts.Rotor1D.GearConstraint2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gc1.actuatedRevolute_b.phi|gc1.actuatedRevolute_b.w|gc2.actuatedRevolute_b.phi|gc2.actuatedRevolute_b.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002631/0.002635, allocations: 364.7 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.028/4.028, allocations: 388.9 MB / 405.6 MB, free: 9.664 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.003502/0.003501, allocations: 227.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.5063/0.5063, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.00045, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/0.09487, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2): time 0.5485/0.6435, allocations: 134.9 MB / 0.8118 GB, free: 2.523 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0806/0.7242, allocations: 26.17 MB / 0.8374 GB, free: 8.273 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02976/0.754, allocations: 0.6352 MB / 0.838 GB, free: 7.637 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02524/0.7793, allocations: 6.786 MB / 0.8446 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07983/0.8592, allocations: 22.56 MB / 0.8666 GB, free: 10.17 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01095/0.8702, allocations: 1.412 MB / 0.868 GB, free: 8.758 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.5504/1.421, allocations: 60.35 MB / 0.927 GB, free: 42.74 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03107/1.452, allocations: 14.52 MB / 0.9411 GB, free: 41.63 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01554/1.467, allocations: 4.331 MB / 0.9454 GB, free: 41.63 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01582/1.483, allocations: 6.818 MB / 0.952 GB, free: 41.62 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004547/1.488, allocations: 0.5144 MB / 0.9525 GB, free: 41.62 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008107/1.496, allocations: 1.232 MB / 0.9537 GB, free: 41.61 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01104/1.507, allocations: 5.98 MB / 0.9596 GB, free: 40.47 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006524/1.514, allocations: 2.88 MB / 0.9624 GB, free: 39.94 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02523/1.539, allocations: 19.13 MB / 0.9811 GB, free: 23.32 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/1.539, allocations: 0 / 0.9811 GB, free: 23.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.539, allocations: 0 / 0.9811 GB, free: 23.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008584/1.54, allocations: 4 kB / 0.9811 GB, free: 23.32 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: 5457 * Number of variables: 5457 Notification: Performance of Generate backend data structure: time 0.04245/1.582, allocations: 13.42 MB / 0.9942 GB, free: 11.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/1.582, allocations: 12.03 kB / 0.9942 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07629/1.659, allocations: 11.41 MB / 1.005 GB, free: 216 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03177/1.691, allocations: 9.177 MB / 1.014 GB, free: 9.777 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001124/1.692, allocations: 0.7859 MB / 1.015 GB, free: 9.344 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006843/1.699, allocations: 1.097 MB / 1.016 GB, free: 8.625 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1094/1.808, allocations: 37.49 MB / 1.053 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006994/1.809, allocations: 107.9 kB / 1.053 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005979/1.815, allocations: 498.3 kB / 1.053 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02151/1.836, allocations: 7.572 MB / 1.061 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1084/1.945, allocations: 33.77 MB / 1.094 GB, free: 12.87 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9355/2.881, allocations: 131.8 MB / 1.222 GB, free: 151.3 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06337/2.944, allocations: 16.17 MB / 1.238 GB, free: 142.6 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02167/2.966, allocations: 10.13 MB / 1.248 GB, free: 135.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0986/3.064, allocations: 36.44 MB / 1.284 GB, free: 99.25 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.094e-05/3.064, allocations: 102.8 kB / 1.284 GB, free: 99.14 MB / 0.573 GB Notification: Performance of pre-optimization done (n=747): time 1.384e-05/3.065, allocations: 0 / 1.284 GB, free: 99.14 MB / 0.573 GB Notification: Performance of matching and sorting (n=829): time 0.4361/3.501, allocations: 86.98 MB / 1.369 GB, free: 12.52 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/3.501, allocations: 304.1 kB / 1.369 GB, free: 12.16 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03074/3.532, allocations: 10.55 MB / 1.379 GB, free: 1.641 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.002501/3.534, allocations: 138.5 kB / 1.379 GB, free: 1.5 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.7299/4.264, allocations: 9.688 MB / 1.389 GB, free: 224.8 MB / 0.5732 GB Notification: Performance of collectInitialBindings (initialization): time 0.007914/4.272, allocations: 2.995 MB / 1.392 GB, free: 223 MB / 0.5732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00525/4.277, allocations: 369.8 kB / 1.392 GB, free: 223 MB / 0.5732 GB Notification: Performance of setup shared object (initialization): time 0.00353/4.281, allocations: 1.123 MB / 1.393 GB, free: 222.7 MB / 0.5732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03886/4.32, allocations: 8.877 MB / 1.402 GB, free: 221.5 MB / 0.5732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0466/4.367, allocations: 18.47 MB / 1.42 GB, free: 205.9 MB / 0.5732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0342/4.401, allocations: 12.74 MB / 1.432 GB, free: 201 MB / 0.5732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005407/4.402, allocations: 96.88 kB / 1.432 GB, free: 201 MB / 0.5732 GB Notification: Performance of matching and sorting (n=2471) (initialization): time 0.0969/4.498, allocations: 30.22 MB / 1.462 GB, free: 183.4 MB / 0.5732 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002385/4.499, allocations: 144 kB / 1.462 GB, free: 183.2 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005739/4.499, allocations: 328 kB / 1.462 GB, free: 182.9 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01813/4.517, allocations: 3.728 MB / 1.466 GB, free: 179.7 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02995/4.547, allocations: 4.422 MB / 1.47 GB, free: 175.3 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03936/4.587, allocations: 18.66 MB / 1.489 GB, free: 156.4 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02096/4.608, allocations: 1.153 MB / 1.49 GB, free: 155.2 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004376/4.612, allocations: 1.006 MB / 1.491 GB, free: 154.2 MB / 0.5732 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1500 * Number of states: 0 () * Number of discrete variables: 90 (torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],gc2.fixedTranslation2.color[3],gc2.fixedTranslation2.color[2],gc2.fixedTranslation2.color[1],gc2.fixedTranslation1.color[3],gc2.fixedTranslation1.color[2],gc2.fixedTranslation1.color[1],gc2.actuatedRevolute_b.cylinderColor[3],gc2.actuatedRevolute_b.cylinderColor[2],gc2.actuatedRevolute_b.cylinderColor[1],gc2.actuatedRevolute_a.cylinderColor[3],gc2.actuatedRevolute_a.cylinderColor[2],gc2.actuatedRevolute_a.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],gc1.fixedTranslation2.color[3],gc1.fixedTranslation2.color[2],gc1.fixedTranslation2.color[1],gc1.fixedTranslation1.color[3],gc1.fixedTranslation1.color[2],gc1.fixedTranslation1.color[1],gc1.actuatedRevolute_b.cylinderColor[3],gc1.actuatedRevolute_b.cylinderColor[2],gc1.actuatedRevolute_b.cylinderColor[1],gc1.actuatedRevolute_a.cylinderColor[3],gc1.actuatedRevolute_a.cylinderColor[2],gc1.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2275): * Single equations (assignments): 2258 * Array equations: 15 * 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,77.8%) 36,(3,77.8%) 36} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.02016/4.633, allocations: 7.172 MB / 1.498 GB, free: 147 MB / 0.5732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005184/4.638, allocations: 0.9988 MB / 1.499 GB, free: 146 MB / 0.5732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07554/4.713, allocations: 17.98 MB / 1.516 GB, free: 128 MB / 0.5732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001963/4.714, allocations: 35.88 kB / 1.516 GB, free: 127.9 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/4.714, allocations: 0 / 1.516 GB, free: 127.9 MB / 0.5732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008444/4.722, allocations: 2.378 MB / 1.519 GB, free: 125.5 MB / 0.5732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004006/4.726, allocations: 117.8 kB / 1.519 GB, free: 125.4 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01154/4.738, allocations: 0.5796 MB / 1.519 GB, free: 124.8 MB / 0.5732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002785/4.741, allocations: 481.5 kB / 1.52 GB, free: 124.4 MB / 0.5732 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07226/4.813, allocations: 18 MB / 1.537 GB, free: 106.5 MB / 0.5732 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.06604/4.879, allocations: 25.37 MB / 1.562 GB, free: 80.98 MB / 0.5732 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02157/4.901, allocations: 7.242 MB / 1.569 GB, free: 73.73 MB / 0.5732 GB Notification: Performance of sorting global known variables: time 0.02106/4.922, allocations: 6.509 MB / 1.576 GB, free: 67.25 MB / 0.5732 GB Notification: Performance of Backend: time 1.423e-06/4.922, allocations: 4 kB / 1.576 GB, free: 67.25 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.0636/4.985, allocations: 14.92 MB / 1.59 GB, free: 52.41 MB / 0.5732 GB Notification: Performance of SimCode: time 0.5435/5.529, allocations: 36.88 MB / 1.626 GB, free: 204.4 MB / 0.5732 GB Notification: Performance of Templates: time 0.4175/5.947, allocations: 145 MB / 1.768 GB, free: 82.97 MB / 0.5732 GB