Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008803/0.008803, allocations: 164.3 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.534/1.534, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001659/0.001658, allocations: 103.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3396/0.3396, allocations: 38.06 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003814, allocations: 12 kB / 362.9 MB, free: 5.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1301, allocations: 48.7 MB / 411.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3918/0.522, allocations: 96.84 MB / 0.4965 GB, free: 7.184 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.5223, allocations: 74.41 kB / 0.4966 GB, free: 7.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6758/1.198, allocations: 163.4 MB / 0.6561 GB, free: 67.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.885e-06/1.198, allocations: 0 / 0.6561 GB, free: 67.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000421/1.199, allocations: 154.3 kB / 0.6563 GB, free: 67.61 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3108 * Number of variables: 3108 Notification: Performance of Generate backend data structure: time 0.02932/1.228, allocations: 8.003 MB / 0.6641 GB, free: 63.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/1.228, allocations: 12.88 kB / 0.6641 GB, free: 63.97 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0384/1.266, allocations: 10.05 MB / 0.6739 GB, free: 62.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02326/1.29, allocations: 8.439 MB / 0.6822 GB, free: 58.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006882/1.29, allocations: 0.6249 MB / 0.6828 GB, free: 58.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005082/1.296, allocations: 0.8164 MB / 0.6836 GB, free: 58.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05163/1.347, allocations: 20.54 MB / 0.7036 GB, free: 39.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007035/1.348, allocations: 91.17 kB / 0.7037 GB, free: 39.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005525/1.353, allocations: 391.1 kB / 0.7041 GB, free: 39.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002982/1.356, allocations: 2.108 MB / 0.7061 GB, free: 37.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03587/1.392, allocations: 18.07 MB / 0.7238 GB, free: 19.37 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3657/1.758, allocations: 84.96 MB / 0.8068 GB, free: 38.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01834/1.777, allocations: 8.061 MB / 0.8146 GB, free: 37.67 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004543/1.777, allocations: 68.27 kB / 0.8147 GB, free: 37.67 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.245e-05/1.777, allocations: 76.38 kB / 0.8148 GB, free: 37.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=450): time 9.267e-06/1.777, allocations: 0 / 0.8148 GB, free: 37.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=501): time 0.1002/1.877, allocations: 44.1 MB / 0.8578 GB, free: 24.47 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001527/1.878, allocations: 232.6 kB / 0.8581 GB, free: 24.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/1.888, allocations: 5.739 MB / 0.8637 GB, free: 22.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001096/1.889, allocations: 95.27 kB / 0.8637 GB, free: 22.24 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003924/1.893, allocations: 5.678 MB / 0.8693 GB, free: 17.99 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002613/1.895, allocations: 1.815 MB / 0.8711 GB, free: 16.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008476/1.896, allocations: 222.4 kB / 0.8713 GB, free: 16.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007677/1.897, allocations: 0.7951 MB / 0.8721 GB, free: 15.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007342/1.904, allocations: 4.91 MB / 0.8768 GB, free: 14.33 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0118/1.916, allocations: 11.04 MB / 0.8876 GB, free: 4.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/1.927, allocations: 7.342 MB / 0.8948 GB, free: 1.781 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002899/1.928, allocations: 69.77 kB / 0.8949 GB, free: 1.777 MB / 458.7 MB Notification: Performance of matching and sorting (n=1486) (initialization): time 0.04639/1.974, allocations: 17.35 MB / 0.9118 GB, free: 4.945 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004268/1.975, allocations: 100 kB / 0.9119 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000634/1.975, allocations: 215.2 kB / 0.9121 GB, free: 4.641 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005392/1.981, allocations: 1.721 MB / 0.9138 GB, free: 3.312 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01108/1.992, allocations: 2.596 MB / 0.9163 GB, free: 1.082 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3017/2.294, allocations: 14.38 MB / 0.9304 GB, free: 94.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/2.304, allocations: 0.6606 MB / 0.931 GB, free: 94.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002784/2.307, allocations: 0.6259 MB / 0.9316 GB, free: 94.17 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * Number of states: 0 () * Number of discrete variables: 48 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],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 (1362): * Single equations (assignments): 1349 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 42,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01126/2.318, allocations: 4.192 MB / 0.9357 GB, free: 94.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001664/2.32, allocations: 0.6148 MB / 0.9363 GB, free: 94.01 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01659/2.336, allocations: 9.723 MB / 0.9458 GB, free: 93.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000125/2.336, allocations: 97.27 kB / 0.9459 GB, free: 93.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.45e-05/2.336, allocations: 9.031 kB / 0.9459 GB, free: 93.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-05/2.336, allocations: 24.98 kB / 0.9459 GB, free: 93.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04378/2.38, allocations: 21.71 MB / 0.9671 GB, free: 87.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.388e-05/2.38, allocations: 11.59 kB / 0.9672 GB, free: 87.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003903/2.384, allocations: 0.7943 MB / 0.9679 GB, free: 87.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003715/2.388, allocations: 1.363 MB / 0.9693 GB, free: 87.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009708/2.389, allocations: 93.75 kB / 0.9693 GB, free: 87.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/2.401, allocations: 13.25 MB / 0.9823 GB, free: 78.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/2.402, allocations: 14 kB / 0.9823 GB, free: 78.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02256/2.424, allocations: 17.31 MB / 0.9992 GB, free: 70.76 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00474/2.429, allocations: 1.397 MB / 1.001 GB, free: 70.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/2.43, allocations: 89.55 kB / 1.001 GB, free: 69.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003652/2.434, allocations: 314.9 kB / 1.001 GB, free: 69.94 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007368/2.435, allocations: 302.8 kB / 1.001 GB, free: 69.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003363/2.435, allocations: 131.2 kB / 1.001 GB, free: 69.86 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00718/2.442, allocations: 3.992 MB / 1.005 GB, free: 68.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.51e-07/2.442, allocations: 0 / 1.005 GB, free: 68.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0132/2.456, allocations: 2.036 MB / 1.007 GB, free: 68.31 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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 (385): * Single equations (assignments): 372 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 39,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001402/2.457, allocations: 255.2 kB / 1.007 GB, free: 68.15 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01931/2.476, allocations: 12.16 MB / 1.019 GB, free: 64.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/2.476, allocations: 0 / 1.019 GB, free: 64.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006927/2.483, allocations: 4.943 MB / 1.024 GB, free: 61.76 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004523/2.488, allocations: 0.7271 MB / 1.025 GB, free: 61.15 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03911/2.527, allocations: 23.96 MB / 1.048 GB, free: 39.21 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01066/2.538, allocations: 6.266 MB / 1.054 GB, free: 34.58 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01076/2.549, allocations: 4.11 MB / 1.058 GB, free: 31.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002372/2.551, allocations: 450.7 kB / 1.059 GB, free: 31.52 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/2.551, allocations: 0 / 1.059 GB, free: 31.52 MB / 474.7 MB Notification: Performance of Templates: time 0.3798/2.931, allocations: 69.47 MB / 1.127 GB, free: 87.59 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1)