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.004018/0.004023, allocations: 359.4 kB / 15.95 MB, free: 6.207 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.144/4.144, allocations: 388.9 MB / 405.6 MB, free: 9.555 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.003711/0.00371, allocations: 225.2 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.5304/0.5304, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004682, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09627/0.09677, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4665/0.5633, allocations: 103.3 MB / 0.781 GB, free: 14.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/0.5637, allocations: 94.81 kB / 0.7811 GB, free: 14.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.567/2.13, allocations: 282.2 MB / 1.057 GB, free: 9.176 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.856e-06/2.131, allocations: 8 kB / 1.057 GB, free: 9.168 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008993/2.131, allocations: 276 kB / 1.057 GB, free: 8.898 MB / 474.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.06218/2.194, allocations: 13.87 MB / 1.07 GB, free: 10.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/2.194, allocations: 11.97 kB / 1.07 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5121/2.706, allocations: 15.23 MB / 1.085 GB, free: 47.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04741/2.753, allocations: 13.48 MB / 1.099 GB, free: 46.95 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001665/2.755, allocations: 1.101 MB / 1.1 GB, free: 46.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009983/2.765, allocations: 1.462 MB / 1.101 GB, free: 46.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1227/2.888, allocations: 36.26 MB / 1.136 GB, free: 41.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00135/2.889, allocations: 135.6 kB / 1.137 GB, free: 41.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01006/2.899, allocations: 0.6642 MB / 1.137 GB, free: 41.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01028/2.91, allocations: 3.721 MB / 1.141 GB, free: 41.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1223/3.032, allocations: 32.69 MB / 1.173 GB, free: 35.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7273/3.759, allocations: 140.2 MB / 1.31 GB, free: 23.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06067/3.82, allocations: 15.77 MB / 1.325 GB, free: 21.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02124/3.841, allocations: 9.72 MB / 1.335 GB, free: 21.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1027/3.944, allocations: 35.47 MB / 1.369 GB, free: 18.63 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001026/3.944, allocations: 104.1 kB / 1.369 GB, free: 18.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=747): time 1.166e-05/3.944, allocations: 0 / 1.369 GB, free: 18.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=829): time 0.4498/4.394, allocations: 83.15 MB / 1.45 GB, free: 9.711 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002677/4.395, allocations: 308.7 kB / 1.451 GB, free: 9.352 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03072/4.425, allocations: 10.51 MB / 1.461 GB, free: 0.6836 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001904/4.427, allocations: 141.3 kB / 1.461 GB, free: 0.543 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.01524/4.442, allocations: 10.05 MB / 1.471 GB, free: 8.645 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005829/4.448, allocations: 2.997 MB / 1.474 GB, free: 5.988 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003568/4.452, allocations: 358.1 kB / 1.474 GB, free: 5.641 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.002151/4.454, allocations: 1.104 MB / 1.475 GB, free: 4.754 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0442/4.498, allocations: 9.29 MB / 1.484 GB, free: 0 / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4942/4.993, allocations: 17.95 MB / 1.502 GB, free: 128.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0308/5.024, allocations: 12.17 MB / 1.514 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003962/5.024, allocations: 94.19 kB / 1.514 GB, free: 128.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2401) (initialization): time 0.09761/5.122, allocations: 27.89 MB / 1.541 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003545/5.122, allocations: 155.3 kB / 1.541 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007068/5.123, allocations: 330.6 kB / 1.542 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01224/5.135, allocations: 2.406 MB / 1.544 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02993/5.165, allocations: 4.28 MB / 1.548 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03036/5.195, allocations: 14.41 MB / 1.562 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02121/5.217, allocations: 1.098 MB / 1.563 GB, free: 123.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00508/5.222, allocations: 0.9976 MB / 1.564 GB, free: 123.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1510 * 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 (2205): * Single equations (assignments): 2188 * 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.02673/5.249, allocations: 7.173 MB / 1.571 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004905/5.254, allocations: 1.008 MB / 1.572 GB, free: 123 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05179/5.305, allocations: 16.07 MB / 1.588 GB, free: 117.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003344/5.306, allocations: 165.9 kB / 1.588 GB, free: 117.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.746e-05/5.306, allocations: 11.59 kB / 1.588 GB, free: 117.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001928/5.306, allocations: 36.78 kB / 1.588 GB, free: 117.7 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1121/5.418, allocations: 34.97 MB / 1.622 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001167/5.418, allocations: 3.875 kB / 1.622 GB, free: 105.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01372/5.432, allocations: 1.395 MB / 1.624 GB, free: 105 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01022/5.442, allocations: 1.785 MB / 1.625 GB, free: 104.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002133/5.445, allocations: 134.4 kB / 1.626 GB, free: 104.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0275/5.472, allocations: 12.95 MB / 1.638 GB, free: 97.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/5.472, allocations: 15.02 kB / 1.638 GB, free: 97.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06643/5.539, allocations: 25.28 MB / 1.663 GB, free: 76.26 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01262/5.551, allocations: 2.25 MB / 1.665 GB, free: 74.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006383/5.558, allocations: 126.7 kB / 1.665 GB, free: 74.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01728/5.575, allocations: 0.538 MB / 1.666 GB, free: 73.72 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002793/5.578, allocations: 436.1 kB / 1.666 GB, free: 73.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001916/5.58, allocations: 191.8 kB / 1.666 GB, free: 73.26 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.02914/5.609, allocations: 6.5 MB / 1.673 GB, free: 67.98 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.352e-06/5.609, allocations: 0 / 1.673 GB, free: 67.98 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0272/5.636, allocations: 3.442 MB / 1.676 GB, free: 64.55 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (gc1.actuatedRevolute_b.phi,gc1.actuatedRevolute_b.w,gc2.actuatedRevolute_b.phi,gc2.actuatedRevolute_b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (655): * Single equations (assignments): 638 * 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 {(1,100.0%) 32,(1,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002628/5.639, allocations: 313.3 kB / 1.676 GB, free: 64.26 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.04836/5.687, allocations: 19.88 MB / 1.696 GB, free: 46.68 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.691e-05/5.688, allocations: 4 kB / 1.696 GB, free: 46.68 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.6181/6.306, allocations: 9.175 MB / 1.705 GB, free: 132 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0155/6.321, allocations: 1.378 MB / 1.706 GB, free: 132 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.119/6.44, allocations: 41.05 MB / 1.746 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03929/6.48, allocations: 10.57 MB / 1.756 GB, free: 116 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.03968/6.519, allocations: 6.667 MB / 1.763 GB, free: 115.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007256/6.527, allocations: 0.7272 MB / 1.764 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.443e-06/6.527, allocations: 0 / 1.764 GB, free: 115.7 MB / 0.5886 GB Notification: Performance of Templates: time 0.446/6.973, allocations: 103.1 MB / 1.864 GB, free: 76.45 MB / 0.5886 GB