Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.GearConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002644/0.002648, 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.418/3.418, allocations: 341.5 MB / 358.2 MB, free: 12.57 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.003478/0.003478, allocations: 221.2 kB / 397.9 MB, free: 4.906 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.509/0.509, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007483/0.0007488, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1183, allocations: 48.71 MB / 0.6068 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.4388/0.5572, allocations: 60.99 MB / 0.6663 GB, free: 51.03 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03452/0.5917, allocations: 12.87 MB / 0.6789 GB, free: 38.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01458/0.6064, allocations: 287.9 kB / 0.6792 GB, free: 38.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01063/0.617, allocations: 2.974 MB / 0.6821 GB, free: 35.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03211/0.6492, allocations: 10.24 MB / 0.6921 GB, free: 25.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005381/0.6546, allocations: 0.8103 MB / 0.6929 GB, free: 24.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.05405/0.7088, allocations: 28.48 MB / 0.7207 GB, free: 12.01 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01516/0.724, allocations: 6.619 MB / 0.7271 GB, free: 5.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00436/0.7284, allocations: 1.666 MB / 0.7288 GB, free: 3.828 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006283/0.7347, allocations: 2.633 MB / 0.7313 GB, free: 1.188 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001499/0.7363, allocations: 188 kB / 0.7315 GB, free: 1.004 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004049/0.7404, allocations: 1.03 MB / 0.7325 GB, free: 15.97 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004401/0.7448, allocations: 2.248 MB / 0.7347 GB, free: 13.72 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002448/0.7473, allocations: 1.084 MB / 0.7358 GB, free: 12.62 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01258/0.76, allocations: 7.427 MB / 0.743 GB, free: 5.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.76, allocations: 0 / 0.743 GB, free: 5.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.76, allocations: 0 / 0.743 GB, free: 5.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003211/0.7604, allocations: 0 / 0.743 GB, free: 5.18 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1842 * Number of variables: 1842 Notification: Performance of Generate backend data structure: time 0.0203/0.7807, allocations: 5.466 MB / 0.7484 GB, free: 15.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.475e-05/0.7808, allocations: 8.031 kB / 0.7484 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02547/0.8062, allocations: 3.124 MB / 0.7514 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01386/0.8202, allocations: 3.895 MB / 0.7552 GB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004552/0.8207, allocations: 312.1 kB / 0.7555 GB, free: 8.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00206/0.8227, allocations: 421.2 kB / 0.7559 GB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3545/1.177, allocations: 12.16 MB / 0.7678 GB, free: 56.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000314/1.178, allocations: 58.19 kB / 0.7678 GB, free: 56.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001567/1.179, allocations: 200.3 kB / 0.768 GB, free: 56.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005299/1.185, allocations: 2.087 MB / 0.7701 GB, free: 56.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03373/1.218, allocations: 10.24 MB / 0.7801 GB, free: 56.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08058/1.299, allocations: 46.92 MB / 0.8259 GB, free: 30.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01736/1.316, allocations: 4.36 MB / 0.8302 GB, free: 27.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005476/1.322, allocations: 2.514 MB / 0.8326 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02455/1.346, allocations: 9.993 MB / 0.8424 GB, free: 18.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.815e-05/1.347, allocations: 58.27 kB / 0.8424 GB, free: 18.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 6.202e-06/1.347, allocations: 0 / 0.8424 GB, free: 18.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=218): time 0.09968/1.446, allocations: 21.47 MB / 0.8634 GB, free: 15.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.446, allocations: 201.2 kB / 0.8636 GB, free: 15.58 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01198/1.458, allocations: 4.786 MB / 0.8683 GB, free: 10.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000599/1.459, allocations: 57.7 kB / 0.8683 GB, free: 10.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00445/1.464, allocations: 3.708 MB / 0.8719 GB, free: 7.039 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001681/1.465, allocations: 0.8335 MB / 0.8727 GB, free: 6.211 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008834/1.466, allocations: 136 kB / 0.8729 GB, free: 6.078 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006726/1.467, allocations: 0.5992 MB / 0.8735 GB, free: 5.473 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00778/1.475, allocations: 2.539 MB / 0.8759 GB, free: 2.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0119/1.487, allocations: 6.501 MB / 0.8823 GB, free: 10.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.497, allocations: 3.977 MB / 0.8862 GB, free: 6.695 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001334/1.497, allocations: 44 kB / 0.8862 GB, free: 6.652 MB / 442.7 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.03322/1.531, allocations: 10.16 MB / 0.8961 GB, free: 13.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/1.531, allocations: 68.19 kB / 0.8962 GB, free: 13.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002354/1.531, allocations: 140 kB / 0.8963 GB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008671/1.54, allocations: 1.627 MB / 0.8979 GB, free: 11.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01022/1.55, allocations: 1.568 MB / 0.8995 GB, free: 10.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02223/1.572, allocations: 9.533 MB / 0.9088 GB, free: 352 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007435/1.58, allocations: 387.4 kB / 0.9091 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001536/1.581, allocations: 407.9 kB / 0.9095 GB, free: 15.57 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (831): * Single equations (assignments): 826 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 31,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007264/1.589, allocations: 2.569 MB / 0.912 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/1.59, allocations: 426.6 kB / 0.9124 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01724/1.607, allocations: 4.607 MB / 0.9169 GB, free: 8.105 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.539e-05/1.607, allocations: 7.969 kB / 0.9169 GB, free: 8.098 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.607, allocations: 2.531 kB / 0.917 GB, free: 8.098 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00311/1.61, allocations: 0.7923 MB / 0.9177 GB, free: 7.281 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00144/1.612, allocations: 37.75 kB / 0.9178 GB, free: 7.246 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003962/1.616, allocations: 139.7 kB / 0.9179 GB, free: 7.113 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009007/1.617, allocations: 149.8 kB / 0.918 GB, free: 6.969 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01892/1.636, allocations: 5.002 MB / 0.9229 GB, free: 1.996 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01699/1.653, allocations: 6.299 MB / 0.9291 GB, free: 11.68 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004455/1.657, allocations: 1.654 MB / 0.9307 GB, free: 10.03 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007996/1.665, allocations: 3.009 MB / 0.9336 GB, free: 7.023 MB / 490.7 MB Notification: Performance of Backend: time 9.31e-07/1.666, allocations: 0 / 0.9336 GB, free: 7.023 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01767/1.683, allocations: 5.038 MB / 0.9385 GB, free: 2.375 MB / 490.7 MB Notification: Performance of SimCode: time 0.3151/1.998, allocations: 13.64 MB / 0.9519 GB, free: 185.3 MB / 490.7 MB Notification: Performance of Templates: time 0.1644/2.163, allocations: 53.64 MB / 1.004 GB, free: 152.8 MB / 490.7 MB