Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2.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.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.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003822/0.003822, allocations: 352.3 kB / 15.95 MB, free: 6.215 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.358/3.358, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003692/0.003691, allocations: 233 kB / 397.9 MB, free: 4.973 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.4586/0.4585, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008853/0.0008856, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1341, allocations: 48.71 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint2): time 0.4673/0.6015, allocations: 134.8 MB / 0.7384 GB, free: 9.668 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4367/1.038, allocations: 26.08 MB / 0.7639 GB, free: 1.602 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03624/1.075, allocations: 0.633 MB / 0.7645 GB, free: 1.602 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02364/1.098, allocations: 6.798 MB / 0.7711 GB, free: 1.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.07677/1.175, allocations: 22.55 MB / 0.7932 GB, free: 10.75 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01082/1.186, allocations: 1.4 MB / 0.7945 GB, free: 10.39 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.1241/1.31, allocations: 60.32 MB / 0.8534 GB, free: 6.473 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03277/1.343, allocations: 14.5 MB / 0.8676 GB, free: 12.56 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01146/1.354, allocations: 4.324 MB / 0.8718 GB, free: 9.477 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01567/1.37, allocations: 6.795 MB / 0.8784 GB, free: 3.793 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004184/1.374, allocations: 0.5117 MB / 0.8789 GB, free: 3.281 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007561/1.382, allocations: 1.222 MB / 0.8801 GB, free: 2.215 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01128/1.393, allocations: 5.969 MB / 0.886 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006281/1.4, allocations: 2.872 MB / 0.8888 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03168/1.431, allocations: 19.13 MB / 0.9074 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.431, allocations: 0 / 0.9074 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.645e-06/1.431, allocations: 0 / 0.9074 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0009451/1.432, allocations: 0 / 0.9074 GB, free: 11.2 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5455 * Number of variables: 5455 Notification: Performance of Generate backend data structure: time 0.04623/1.479, allocations: 13.43 MB / 0.9206 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.479, allocations: 12.03 kB / 0.9206 GB, free: 14.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07996/1.559, allocations: 11.39 MB / 0.9317 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03061/1.589, allocations: 9.161 MB / 0.9406 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001023/1.59, allocations: 0.7896 MB / 0.9414 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00636/1.597, allocations: 1.055 MB / 0.9424 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6693/2.266, allocations: 36.91 MB / 0.9785 GB, free: 216.2 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008518/2.267, allocations: 126.4 kB / 0.9786 GB, free: 216.2 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006355/2.273, allocations: 495.7 kB / 0.9791 GB, free: 216 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.02794/2.301, allocations: 7.562 MB / 0.9865 GB, free: 214.6 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09664/2.398, allocations: 32.9 MB / 1.019 GB, free: 196.6 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2538/2.652, allocations: 130.6 MB / 1.146 GB, free: 64.43 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0543/2.706, allocations: 15.64 MB / 1.161 GB, free: 48.52 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02371/2.73, allocations: 9.873 MB / 1.171 GB, free: 38.63 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1155/2.846, allocations: 35.46 MB / 1.206 GB, free: 3.148 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.763e-05/2.846, allocations: 111.2 kB / 1.206 GB, free: 3.027 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=745): time 1.417e-05/2.846, allocations: 0 / 1.206 GB, free: 3.027 MB / 0.5262 GB Notification: Performance of matching and sorting (n=827): time 0.9992/3.845, allocations: 83.9 MB / 1.288 GB, free: 173.8 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/3.845, allocations: 316.4 kB / 1.288 GB, free: 173.5 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02439/3.87, allocations: 10.55 MB / 1.298 GB, free: 164.7 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.002259/3.872, allocations: 141.3 kB / 1.298 GB, free: 164.6 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.008031/3.88, allocations: 9.682 MB / 1.308 GB, free: 155.1 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.00523/3.885, allocations: 2.991 MB / 1.311 GB, free: 152.2 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003616/3.889, allocations: 367.7 kB / 1.311 GB, free: 151.8 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.001804/3.891, allocations: 1.13 MB / 1.312 GB, free: 150.7 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02194/3.913, allocations: 8.763 MB / 1.321 GB, free: 141.9 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02801/3.941, allocations: 18.38 MB / 1.339 GB, free: 119.1 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0282/3.969, allocations: 12.64 MB / 1.351 GB, free: 106.5 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003276/3.969, allocations: 92 kB / 1.351 GB, free: 106.4 MB / 0.5263 GB Notification: Performance of matching and sorting (n=2469) (initialization): time 0.08743/4.057, allocations: 30 MB / 1.381 GB, free: 76.36 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004135/4.057, allocations: 151.3 kB / 1.381 GB, free: 76.21 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007342/4.058, allocations: 328 kB / 1.381 GB, free: 75.89 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01804/4.076, allocations: 3.726 MB / 1.385 GB, free: 72.16 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02924/4.105, allocations: 4.413 MB / 1.389 GB, free: 67.74 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03897/4.145, allocations: 18.68 MB / 1.407 GB, free: 48.81 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02005/4.165, allocations: 1.128 MB / 1.408 GB, free: 47.68 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004028/4.169, allocations: 1.015 MB / 1.409 GB, free: 46.67 MB / 0.5263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1503 * 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 (2273): * Single equations (assignments): 2256 * 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.4173/4.586, allocations: 7.166 MB / 1.416 GB, free: 178.6 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00591/4.592, allocations: 0.9977 MB / 1.417 GB, free: 178.6 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08908/4.681, allocations: 17.72 MB / 1.435 GB, free: 175.9 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002989/4.682, allocations: 35.86 kB / 1.435 GB, free: 175.9 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.351e-05/4.682, allocations: 1.125 kB / 1.435 GB, free: 175.9 MB / 0.5263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01334/4.695, allocations: 2.355 MB / 1.437 GB, free: 175.3 MB / 0.5263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007108/4.702, allocations: 118.8 kB / 1.437 GB, free: 175.2 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01745/4.72, allocations: 0.5706 MB / 1.438 GB, free: 175.1 MB / 0.5263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004297/4.724, allocations: 476 kB / 1.438 GB, free: 175.1 MB / 0.5263 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.09402/4.818, allocations: 17.74 MB / 1.455 GB, free: 169.4 MB / 0.5263 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08267/4.901, allocations: 24.96 MB / 1.48 GB, free: 160.1 MB / 0.5263 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02157/4.922, allocations: 7.107 MB / 1.487 GB, free: 157.4 MB / 0.5263 GB Notification: Performance of sorting global known variables: time 0.01734/4.94, allocations: 6.51 MB / 1.493 GB, free: 152.9 MB / 0.5263 GB Notification: Performance of Backend: time 8.82e-07/4.94, allocations: 0 / 1.493 GB, free: 152.9 MB / 0.5263 GB Notification: Performance of simCode: created initialization part: time 0.0502/4.99, allocations: 14.79 MB / 1.507 GB, free: 140 MB / 0.5263 GB Notification: Performance of SimCode: time 0.09634/5.087, allocations: 36.87 MB / 1.543 GB, free: 104.8 MB / 0.5263 GB Notification: Performance of Templates: time 0.8962/5.983, allocations: 143.6 MB / 1.684 GB, free: 143 MB / 0.5263 GB