Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint") translateModel(ModelicaTest.MultiBody.Joints.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009914/0.009914, allocations: 176 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.785/1.785, allocations: 194.5 MB / 210.3 MB, free: 7.621 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001972/0.001972, allocations: 128.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2198/0.2198, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.0004357, allocations: 15.81 kB / 406.2 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.12, allocations: 54.87 MB / 461 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4379/0.558, allocations: 104.1 MB / 0.5519 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.5582, allocations: 78.2 kB / 0.5519 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3825/0.9407, allocations: 163.4 MB / 0.7115 GB, free: 9.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.9408, allocations: 0 / 0.7115 GB, free: 9.73 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004902/0.9413, allocations: 156 kB / 0.7116 GB, free: 9.578 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3109 * Number of variables: 3109 Notification: Performance of Generate backend data structure: time 0.03031/0.9716, allocations: 7.991 MB / 0.7194 GB, free: 1.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.9717, allocations: 11.97 kB / 0.7195 GB, free: 1.488 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3328/1.304, allocations: 10.04 MB / 0.7293 GB, free: 77.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0266/1.331, allocations: 8.446 MB / 0.7375 GB, free: 77.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007427/1.332, allocations: 0.6254 MB / 0.7381 GB, free: 77.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005066/1.337, allocations: 0.819 MB / 0.7389 GB, free: 77.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04914/1.386, allocations: 20.54 MB / 0.759 GB, free: 73.19 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000706/1.387, allocations: 86.14 kB / 0.7591 GB, free: 73.19 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005609/1.393, allocations: 399.7 kB / 0.7594 GB, free: 73.19 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003147/1.396, allocations: 2.098 MB / 0.7615 GB, free: 73.17 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0362/1.432, allocations: 18.07 MB / 0.7791 GB, free: 73.09 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1177/1.55, allocations: 85.07 MB / 0.8622 GB, free: 33.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01606/1.566, allocations: 8.047 MB / 0.8701 GB, free: 27.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003925/1.566, allocations: 65.34 kB / 0.8701 GB, free: 27.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.399e-05/1.566, allocations: 77.25 kB / 0.8702 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=450): time 7.604e-06/1.566, allocations: 0 / 0.8702 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=501): time 0.4507/2.017, allocations: 44.78 MB / 0.9139 GB, free: 82.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/2.017, allocations: 224.7 kB / 0.9142 GB, free: 82.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01317/2.03, allocations: 5.729 MB / 0.9197 GB, free: 82.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00112/2.032, allocations: 93.86 kB / 0.9198 GB, free: 82.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004843/2.036, allocations: 5.684 MB / 0.9254 GB, free: 79.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002691/2.039, allocations: 1.816 MB / 0.9272 GB, free: 78.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/2.04, allocations: 221.1 kB / 0.9274 GB, free: 78.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007139/2.041, allocations: 0.8026 MB / 0.9282 GB, free: 77.83 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007831/2.049, allocations: 4.905 MB / 0.9329 GB, free: 77.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01119/2.06, allocations: 11.05 MB / 0.9437 GB, free: 70.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/2.071, allocations: 7.342 MB / 0.9509 GB, free: 69.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003562/2.071, allocations: 63.41 kB / 0.951 GB, free: 69.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1487) (initialization): time 0.03532/2.107, allocations: 17.16 MB / 0.9677 GB, free: 68.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/2.107, allocations: 96.88 kB / 0.9678 GB, free: 68.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002816/2.107, allocations: 211.8 kB / 0.968 GB, free: 68.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004206/2.111, allocations: 1.717 MB / 0.9697 GB, free: 68.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009473/2.121, allocations: 2.6 MB / 0.9722 GB, free: 68.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/2.136, allocations: 14.38 MB / 0.9863 GB, free: 61.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/2.146, allocations: 0.6665 MB / 0.9869 GB, free: 61.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003361/2.15, allocations: 0.6338 MB / 0.9875 GB, free: 61.13 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 976 * 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 (1363): * Single equations (assignments): 1350 * 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.01178/2.161, allocations: 4.191 MB / 0.9916 GB, free: 59.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/2.164, allocations: 0.6103 MB / 0.9922 GB, free: 58.91 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/2.179, allocations: 9.735 MB / 1.002 GB, free: 55.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001119/2.179, allocations: 87.92 kB / 1.002 GB, free: 55.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.652e-05/2.179, allocations: 15.58 kB / 1.002 GB, free: 55.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.877e-05/2.179, allocations: 23.95 kB / 1.002 GB, free: 55.26 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04362/2.223, allocations: 21.7 MB / 1.023 GB, free: 47.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.94e-05/2.223, allocations: 11.03 kB / 1.023 GB, free: 47.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003594/2.226, allocations: 0.7931 MB / 1.024 GB, free: 47.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003506/2.23, allocations: 1.361 MB / 1.025 GB, free: 46.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006409/2.231, allocations: 97.45 kB / 1.025 GB, free: 46.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01222/2.243, allocations: 13.25 MB / 1.038 GB, free: 35.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/2.243, allocations: 19.94 kB / 1.038 GB, free: 35.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02261/2.266, allocations: 17.31 MB / 1.055 GB, free: 19.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005674/2.271, allocations: 1.379 MB / 1.056 GB, free: 18.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002136/2.273, allocations: 90.83 kB / 1.057 GB, free: 18.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004511/2.278, allocations: 311.3 kB / 1.057 GB, free: 17.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/2.279, allocations: 302.4 kB / 1.057 GB, free: 17.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003865/2.279, allocations: 128.8 kB / 1.057 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006976/2.286, allocations: 3.987 MB / 1.061 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.91e-07/2.286, allocations: 2.969 kB / 1.061 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01304/2.3, allocations: 2.034 MB / 1.063 GB, free: 12.34 MB / 0.4948 GB 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.001329/2.301, allocations: 252 kB / 1.063 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01933/2.32, allocations: 12.17 MB / 1.075 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.604e-05/2.32, allocations: 0 / 1.075 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01759/2.338, allocations: 5.725 MB / 1.081 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004969/2.343, allocations: 0.7326 MB / 1.082 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2928/2.636, allocations: 24.06 MB / 1.105 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01233/2.648, allocations: 6.27 MB / 1.111 GB, free: 80.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01014/2.658, allocations: 4.117 MB / 1.115 GB, free: 80.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001565/2.66, allocations: 451.8 kB / 1.116 GB, free: 80.84 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/2.66, allocations: 3.844 kB / 1.116 GB, free: 80.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.13/2.79, allocations: 69.48 MB / 1.183 GB, free: 76.29 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.pipe 2>&1)