Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.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.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.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003858/0.003858, allocations: 363.6 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 3.956/3.956, allocations: 388.9 MB / 405.6 MB, free: 9.598 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.006874/0.006873, allocations: 229.7 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.5532/0.5532, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004787, allocations: 15.98 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.09701, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5604/0.6575, allocations: 102.5 MB / 0.7802 GB, free: 15.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004138/0.6579, allocations: 85.89 kB / 0.7803 GB, free: 15.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5588/1.217, allocations: 105.8 MB / 0.8836 GB, free: 12.71 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.617e-06/1.217, allocations: 0 / 0.8836 GB, free: 12.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004286/1.217, allocations: 108 kB / 0.8837 GB, free: 12.61 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: 1843 * Number of variables: 1843 Notification: Performance of Generate backend data structure: time 0.02437/1.242, allocations: 5.615 MB / 0.8892 GB, free: 6.918 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.242, allocations: 8.031 kB / 0.8892 GB, free: 6.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04251/1.284, allocations: 5.284 MB / 0.8944 GB, free: 1.609 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4/1.684, allocations: 5.665 MB / 0.8999 GB, free: 93.72 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005949/1.685, allocations: 404.8 kB / 0.9003 GB, free: 93.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00286/1.688, allocations: 0.5402 MB / 0.9008 GB, free: 93.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0396/1.728, allocations: 12.67 MB / 0.9132 GB, free: 90.62 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000396/1.728, allocations: 76.84 kB / 0.9133 GB, free: 90.62 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001849/1.73, allocations: 256.6 kB / 0.9135 GB, free: 90.62 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002662/1.733, allocations: 1.124 MB / 0.9146 GB, free: 90.61 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03554/1.768, allocations: 10.33 MB / 0.9247 GB, free: 90.58 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08192/1.85, allocations: 57.01 MB / 0.9804 GB, free: 51.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01801/1.868, allocations: 4.4 MB / 0.9847 GB, free: 49.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00523/1.873, allocations: 2.427 MB / 0.987 GB, free: 48.45 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02343/1.897, allocations: 9.892 MB / 0.9967 GB, free: 43.61 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.296e-05/1.897, allocations: 58.69 kB / 0.9967 GB, free: 43.56 MB / 474.7 MB Notification: Performance of pre-optimization done (n=192): time 5.48e-06/1.897, allocations: 0 / 0.9967 GB, free: 43.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=218): time 0.08785/1.985, allocations: 19.12 MB / 1.015 GB, free: 35.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/1.985, allocations: 204.8 kB / 1.016 GB, free: 35.49 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01033/1.995, allocations: 4.758 MB / 1.02 GB, free: 31.51 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005143/1.996, allocations: 57.7 kB / 1.02 GB, free: 31.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003352/1.999, allocations: 3.761 MB / 1.024 GB, free: 28.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001266/2.001, allocations: 0.8274 MB / 1.025 GB, free: 27.35 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007701/2.001, allocations: 132 kB / 1.025 GB, free: 27.22 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004098/2.002, allocations: 0.5812 MB / 1.025 GB, free: 26.71 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007023/2.009, allocations: 2.258 MB / 1.028 GB, free: 24.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01161/2.021, allocations: 6.222 MB / 1.034 GB, free: 17.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008216/2.029, allocations: 3.666 MB / 1.037 GB, free: 13.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/2.029, allocations: 40 kB / 1.037 GB, free: 13.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.0252/2.054, allocations: 8.95 MB / 1.046 GB, free: 5.988 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/2.054, allocations: 64 kB / 1.046 GB, free: 5.926 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001988/2.055, allocations: 140 kB / 1.046 GB, free: 5.789 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004374/2.059, allocations: 0.9342 MB / 1.047 GB, free: 5.062 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009434/2.069, allocations: 1.511 MB / 1.049 GB, free: 3.746 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/2.083, allocations: 7.466 MB / 1.056 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007318/2.091, allocations: 359 kB / 1.056 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001621/2.092, allocations: 395.1 kB / 1.057 GB, free: 12.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 635 * 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 (795): * Single equations (assignments): 790 * 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 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007703/2.1, allocations: 2.563 MB / 1.059 GB, free: 9.953 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001322/2.101, allocations: 430.4 kB / 1.06 GB, free: 9.527 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/2.113, allocations: 3.602 MB / 1.063 GB, free: 6.559 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.839e-05/2.113, allocations: 31.86 kB / 1.063 GB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.314e-05/2.114, allocations: 11.94 kB / 1.063 GB, free: 6.523 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.617e-05/2.114, allocations: 10.5 kB / 1.063 GB, free: 6.523 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05399/2.168, allocations: 9.525 MB / 1.073 GB, free: 15.53 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-05/2.168, allocations: 4 kB / 1.073 GB, free: 15.53 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005515/2.173, allocations: 345.3 kB / 1.073 GB, free: 15.25 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006608/2.18, allocations: 0.6876 MB / 1.074 GB, free: 14.7 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000711/2.181, allocations: 47.89 kB / 1.074 GB, free: 14.65 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02178/2.203, allocations: 6.558 MB / 1.08 GB, free: 7.836 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/2.203, allocations: 0 / 1.08 GB, free: 7.836 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02603/2.229, allocations: 6.255 MB / 1.086 GB, free: 1.551 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00305/2.232, allocations: 0.7414 MB / 1.087 GB, free: 0.7852 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001281/2.233, allocations: 39.67 kB / 1.087 GB, free: 0.75 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003649/2.237, allocations: 111.8 kB / 1.087 GB, free: 0.6406 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008069/2.238, allocations: 129.8 kB / 1.087 GB, free: 0.5117 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/2.238, allocations: 59.98 kB / 1.087 GB, free: 464 kB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.3731/2.611, allocations: 2.991 MB / 1.09 GB, free: 112.8 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.132e-06/2.611, allocations: 0 / 1.09 GB, free: 112.8 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01058/2.622, allocations: 1.186 MB / 1.091 GB, free: 112.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (169): * Single equations (assignments): 164 * 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 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/2.623, allocations: 170.4 kB / 1.091 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.04636/2.669, allocations: 5.755 MB / 1.097 GB, free: 112.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/2.669, allocations: 0.9375 kB / 1.097 GB, free: 112.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0126/2.682, allocations: 2.01 MB / 1.099 GB, free: 112.2 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007259/2.689, allocations: 0.5579 MB / 1.099 GB, free: 112.2 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04758/2.737, allocations: 13.45 MB / 1.113 GB, free: 107 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009422/2.746, allocations: 4.104 MB / 1.117 GB, free: 106.2 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0105/2.757, allocations: 2.094 MB / 1.119 GB, free: 106.1 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/2.759, allocations: 280.8 kB / 1.119 GB, free: 106.1 MB / 0.4949 GB Notification: Performance of SimCode: time 1.413e-06/2.759, allocations: 0 / 1.119 GB, free: 106.1 MB / 0.4949 GB Notification: Performance of Templates: time 0.1221/2.881, allocations: 41.08 MB / 1.159 GB, free: 104.2 MB / 0.4949 GB