Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 47.94 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2448, allocations: 46.63 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01493/0.2597, allocations: 14.23 MB / 339.5 MB, free: 5.652 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01065/0.2704, allocations: 4.639 MB / 344.2 MB, free: 1 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003982/0.2745, allocations: 95.75 kB / 344.3 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008227/0.2828, allocations: 4.233 MB / 348.5 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008048/0.2908, allocations: 2.268 MB / 350.8 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.2933, allocations: 0.9204 MB / 351.7 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008691/0.302, allocations: 5.898 MB / 357.6 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00691/0.3089, allocations: 5.305 MB / 362.9 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004174/0.3131, allocations: 2.196 MB / 365.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004594/0.3178, allocations: 2.936 MB / 368 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001235/0.319, allocations: 500 kB / 368.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/0.3219, allocations: 1.369 MB / 369.9 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002698/0.3246, allocations: 2.634 MB / 372.5 MB, free: 4.523 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004032/0.3287, allocations: 3.003 MB / 375.5 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.3397, allocations: 9.3 MB / 384.8 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.3398, allocations: 4 kB / 384.8 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3398, allocations: 0 / 384.8 MB, free: 8.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003167/0.3401, allocations: 0 / 384.8 MB, free: 8.168 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.01831/0.3585, allocations: 6.35 MB / 391.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3585, allocations: 8.031 kB / 391.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01258/0.3711, allocations: 2.61 MB / 393.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009076/0.3802, allocations: 3.973 MB / 397.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.3806, allocations: 312.5 kB / 398.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001771/0.3823, allocations: 447.8 kB / 398.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02317/0.4055, allocations: 12.25 MB / 410.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002019/0.4058, allocations: 51.58 kB / 410.8 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007527/0.4065, allocations: 195.8 kB / 411 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003665/0.4102, allocations: 2.206 MB / 413.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02188/0.4321, allocations: 10.54 MB / 423.7 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2369/0.669, allocations: 47.56 MB / 471.3 MB, free: 79.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/0.6791, allocations: 4.594 MB / 475.9 MB, free: 78.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002826/0.682, allocations: 2.643 MB / 478.5 MB, free: 77.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01434/0.6964, allocations: 10.46 MB / 489 MB, free: 71.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.6964, allocations: 58.8 kB / 489.1 MB, free: 71.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=192): time 5.079e-06/0.6965, allocations: 0 / 489.1 MB, free: 71.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.04921/0.7457, allocations: 20.98 MB / 0.4981 GB, free: 53.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.7458, allocations: 201.2 kB / 0.4983 GB, free: 53.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005062/0.7508, allocations: 4.82 MB / 0.503 GB, free: 48.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003578/0.7512, allocations: 60.11 kB / 0.503 GB, free: 48.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.7527, allocations: 3.724 MB / 0.5067 GB, free: 44.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006578/0.7534, allocations: 0.8357 MB / 0.5075 GB, free: 43.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/0.7547, allocations: 1.39 MB / 0.5088 GB, free: 42.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.831e-05/0.7548, allocations: 301.1 kB / 0.5091 GB, free: 42.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002841/0.7577, allocations: 2.585 MB / 0.5117 GB, free: 39.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00403/0.7617, allocations: 6.553 MB / 0.5181 GB, free: 31.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008435/0.7702, allocations: 9.807 MB / 0.5276 GB, free: 19.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.669e-05/0.7703, allocations: 44 kB / 0.5277 GB, free: 19.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01677/0.7871, allocations: 10.26 MB / 0.5377 GB, free: 9.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.7872, allocations: 67.94 kB / 0.5378 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001522/0.7874, allocations: 136 kB / 0.5379 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003932/0.7913, allocations: 1.624 MB / 0.5395 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004506/0.7958, allocations: 1.563 MB / 0.541 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01137/0.8072, allocations: 10.27 MB / 0.551 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004989/0.8123, allocations: 383.4 kB / 0.5514 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008353/0.8131, allocations: 411.4 kB / 0.5518 GB, free: 10.46 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * Number of states: 0 () * Number of discrete variables: 45 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (834): * Single equations (assignments): 829 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003928/0.8171, allocations: 2.572 MB / 0.5543 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008275/0.8179, allocations: 418.6 kB / 0.5547 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008798/0.8267, allocations: 4.633 MB / 0.5592 GB, free: 2.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/0.8267, allocations: 24 kB / 0.5592 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.8268, allocations: 15.92 kB / 0.5593 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/0.8268, allocations: 11.91 kB / 0.5593 GB, free: 2.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0182/0.845, allocations: 10.49 MB / 0.5695 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.845, allocations: 0 / 0.5695 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/0.8467, allocations: 351.5 kB / 0.5698 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004185/0.851, allocations: 1.367 MB / 0.5712 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002223/0.8512, allocations: 36 kB / 0.5712 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/0.8631, allocations: 9.387 MB / 0.5804 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8631, allocations: 3.938 kB / 0.5804 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01178/0.8749, allocations: 7.553 MB / 0.5878 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/0.8766, allocations: 0.7728 MB / 0.5885 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005579/0.8772, allocations: 43.61 kB / 0.5886 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/0.8789, allocations: 135.8 kB / 0.5887 GB, free: 4.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003961/0.8793, allocations: 133.8 kB / 0.5888 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/0.8794, allocations: 56 kB / 0.5889 GB, free: 4.082 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004239/0.8837, allocations: 3.045 MB / 0.5918 GB, free: 1.043 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8837, allocations: 0 / 0.5918 GB, free: 1.043 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005305/0.889, allocations: 1.257 MB / 0.5931 GB, free: 15.79 MB / 446.1 MB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004972/0.8895, allocations: 176.2 kB / 0.5932 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01306/0.9026, allocations: 7.782 MB / 0.6008 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.9026, allocations: 0 / 0.6008 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003338/0.906, allocations: 2.195 MB / 0.603 GB, free: 5.641 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002968/0.9089, allocations: 0.561 MB / 0.6035 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1548/1.064, allocations: 11.84 MB / 0.6151 GB, free: 155.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003546/1.067, allocations: 4.001 MB / 0.619 GB, free: 154.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004414/1.072, allocations: 2.084 MB / 0.621 GB, free: 154.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008306/1.073, allocations: 288.4 kB / 0.6213 GB, free: 154.6 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/1.073, allocations: 3.156 kB / 0.6213 GB, free: 154.6 MB / 446.1 MB Notification: Performance of Templates: time 0.06992/1.143, allocations: 47.48 MB / 0.6677 GB, free: 114.1 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1)