Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.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.GearConstraint3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003042/0.003042, 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.062/4.062, allocations: 388.9 MB / 405.6 MB, free: 9.656 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.004823/0.004823, allocations: 224.3 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.5598/0.5598, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004492, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.09472, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3): time 0.4126/0.5074, allocations: 76.03 MB / 0.7544 GB, free: 6.219 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04827/0.5558, allocations: 15.79 MB / 0.7698 GB, free: 10.98 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02002/0.5758, allocations: 368.9 kB / 0.7701 GB, free: 10.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01491/0.5908, allocations: 3.708 MB / 0.7738 GB, free: 8.172 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04555/0.6364, allocations: 12.7 MB / 0.7861 GB, free: 12.94 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007294/0.6438, allocations: 1.062 MB / 0.7872 GB, free: 11.88 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.09018/0.734, allocations: 41.46 MB / 0.8277 GB, free: 2.355 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01849/0.7525, allocations: 7.976 MB / 0.8355 GB, free: 10.32 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006025/0.7586, allocations: 2.129 MB / 0.8375 GB, free: 8.184 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008501/0.7672, allocations: 3.377 MB / 0.8408 GB, free: 4.797 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001849/0.7691, allocations: 240 kB / 0.8411 GB, free: 4.562 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004782/0.7739, allocations: 1.073 MB / 0.8421 GB, free: 3.488 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005681/0.7796, allocations: 2.864 MB / 0.8449 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002851/0.7825, allocations: 1.334 MB / 0.8462 GB, free: 15.27 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01512/0.7977, allocations: 9.071 MB / 0.8551 GB, free: 6.18 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.7978, allocations: 3.938 kB / 0.8551 GB, free: 6.176 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.7978, allocations: 0 / 0.8551 GB, free: 6.176 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003974/0.7982, allocations: 0 / 0.8551 GB, free: 6.176 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2232 * Number of variables: 2232 Notification: Performance of Generate backend data structure: time 0.02839/0.8266, allocations: 7.274 MB / 0.8622 GB, free: 14.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.8267, allocations: 8.031 kB / 0.8622 GB, free: 14.81 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07404/0.9007, allocations: 4.789 MB / 0.8669 GB, free: 10 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01931/0.9201, allocations: 5.076 MB / 0.8718 GB, free: 4.852 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004785/0.9206, allocations: 389.9 kB / 0.8722 GB, free: 4.469 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002728/0.9233, allocations: 0.5308 MB / 0.8727 GB, free: 3.938 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04843/0.9718, allocations: 16.24 MB / 0.8886 GB, free: 2.789 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003283/0.9722, allocations: 75.36 kB / 0.8886 GB, free: 2.715 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001924/0.9741, allocations: 235.8 kB / 0.8889 GB, free: 2.484 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007243/0.9814, allocations: 2.619 MB / 0.8914 GB, free: 15.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04907/1.031, allocations: 14.55 MB / 0.9056 GB, free: 1.289 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4362/1.467, allocations: 62.71 MB / 0.9669 GB, free: 126.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03182/1.499, allocations: 7.591 MB / 0.9743 GB, free: 120.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01039/1.509, allocations: 5.556 MB / 0.9797 GB, free: 115.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04419/1.553, allocations: 18.35 MB / 0.9976 GB, free: 96.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.38e-05/1.554, allocations: 70.55 kB / 0.9977 GB, free: 96.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=310): time 7.875e-06/1.554, allocations: 0 / 0.9977 GB, free: 96.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=394): time 0.2829/1.836, allocations: 62.22 MB / 1.058 GB, free: 34.31 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/1.837, allocations: 325.4 kB / 1.059 GB, free: 33.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/1.848, allocations: 5.832 MB / 1.064 GB, free: 28.11 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001427/1.849, allocations: 86.95 kB / 1.065 GB, free: 28.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003458/1.853, allocations: 4.316 MB / 1.069 GB, free: 23.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00279/1.856, allocations: 1.442 MB / 1.07 GB, free: 22.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001716/1.857, allocations: 180 kB / 1.07 GB, free: 22.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006766/1.858, allocations: 0.6818 MB / 1.071 GB, free: 21.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01289/1.871, allocations: 5.155 MB / 1.076 GB, free: 16.24 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01577/1.887, allocations: 9.585 MB / 1.085 GB, free: 4.504 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.339/2.226, allocations: 6.906 MB / 1.092 GB, free: 156.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/2.226, allocations: 47.23 kB / 1.092 GB, free: 156.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.06775/2.294, allocations: 19.52 MB / 1.111 GB, free: 151.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/2.294, allocations: 69.25 kB / 1.111 GB, free: 151.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003133/2.294, allocations: 154.3 kB / 1.111 GB, free: 151.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0276/2.322, allocations: 5.47 MB / 1.117 GB, free: 150.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01461/2.337, allocations: 2.082 MB / 1.119 GB, free: 150.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0589/2.396, allocations: 27.43 MB / 1.146 GB, free: 127.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01275/2.408, allocations: 0.6386 MB / 1.146 GB, free: 126.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002337/2.411, allocations: 0.4926 MB / 1.147 GB, free: 126.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 54 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1045): * Single equations (assignments): 1039 * 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 {(3,100.0%) 15,(14,43.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008122/2.419, allocations: 3.162 MB / 1.15 GB, free: 123.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/2.421, allocations: 0.5302 MB / 1.15 GB, free: 122.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06387/2.485, allocations: 13.98 MB / 1.164 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001427/2.485, allocations: 15.94 kB / 1.164 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/2.485, allocations: 8 kB / 1.164 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008227/2.493, allocations: 1.5 MB / 1.165 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004107/2.497, allocations: 60 kB / 1.166 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01328/2.511, allocations: 384.4 kB / 1.166 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002116/2.513, allocations: 315.1 kB / 1.166 GB, free: 106.6 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04588/2.559, allocations: 13.41 MB / 1.179 GB, free: 93.23 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03888/2.598, allocations: 15.78 MB / 1.195 GB, free: 77.39 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01004/2.608, allocations: 4.529 MB / 1.199 GB, free: 72.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00868/2.617, allocations: 3.721 MB / 1.203 GB, free: 69.16 MB / 490.7 MB Notification: Performance of Backend: time 8.41e-07/2.617, allocations: 0 / 1.203 GB, free: 69.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0334/2.65, allocations: 9.627 MB / 1.212 GB, free: 59.56 MB / 490.7 MB Notification: Performance of SimCode: time 0.03768/2.688, allocations: 17.83 MB / 1.23 GB, free: 41.69 MB / 490.7 MB Notification: Performance of Templates: time 0.6256/3.313, allocations: 102.3 MB / 1.33 GB, free: 114.5 MB / 490.7 MB