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.001521/0.001521, allocations: 181.7 kB / 12.74 MB, free: 2.582 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.736/1.736, allocations: 194.3 MB / 207.5 MB, free: 3.387 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.001664/0.001664, allocations: 108.4 kB / 252.6 MB, free: 4.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2248/0.2248, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.274e-05/3.277e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4784/0.5931, allocations: 104 MB / 0.546 GB, free: 3.906 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.5934, allocations: 78.27 kB / 0.5461 GB, free: 3.863 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7413/1.335, allocations: 163.5 MB / 0.7058 GB, free: 85.68 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.833e-06/1.335, allocations: 0 / 0.7058 GB, free: 85.68 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005105/1.335, allocations: 159.8 kB / 0.706 GB, free: 85.67 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: 3109 * Number of variables: 3109 Notification: Performance of Generate backend data structure: time 0.02784/1.363, allocations: 7.504 MB / 0.7133 GB, free: 82.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/1.363, allocations: 7.312 kB / 0.7133 GB, free: 82.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04012/1.403, allocations: 10.06 MB / 0.7231 GB, free: 82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02267/1.426, allocations: 8.412 MB / 0.7313 GB, free: 81.04 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007577/1.427, allocations: 0.6252 MB / 0.732 GB, free: 81.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005738/1.433, allocations: 0.8244 MB / 0.7328 GB, free: 81.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05492/1.488, allocations: 20.36 MB / 0.7526 GB, free: 74.88 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006926/1.488, allocations: 91.36 kB / 0.7527 GB, free: 74.82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006549/1.495, allocations: 389 kB / 0.7531 GB, free: 74.61 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004703/1.5, allocations: 2.103 MB / 0.7552 GB, free: 74.21 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04841/1.548, allocations: 17.76 MB / 0.7725 GB, free: 59.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4994/2.048, allocations: 85.05 MB / 0.8556 GB, free: 43.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01834/2.066, allocations: 7.98 MB / 0.8634 GB, free: 42.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007347/2.073, allocations: 5.079 MB / 0.8683 GB, free: 42.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003334/2.074, allocations: 72.03 kB / 0.8684 GB, free: 42.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.873e-05/2.074, allocations: 74.62 kB / 0.8685 GB, free: 41.98 MB / 490.7 MB Notification: Performance of pre-optimization done (n=450): time 7.645e-06/2.074, allocations: 0 / 0.8685 GB, free: 41.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=501): time 0.09285/2.167, allocations: 37.63 MB / 0.9052 GB, free: 37.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/2.167, allocations: 231.5 kB / 0.9054 GB, free: 36.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009263/2.176, allocations: 5.68 MB / 0.911 GB, free: 36.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001132/2.177, allocations: 94.11 kB / 0.9111 GB, free: 36.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003506/2.181, allocations: 5.679 MB / 0.9166 GB, free: 33.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002374/2.183, allocations: 1.819 MB / 0.9184 GB, free: 32.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009045/2.184, allocations: 221 kB / 0.9186 GB, free: 32.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006336/2.185, allocations: 0.8025 MB / 0.9194 GB, free: 31.76 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006687/2.191, allocations: 4.803 MB / 0.9241 GB, free: 31.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01224/2.204, allocations: 10.94 MB / 0.9348 GB, free: 21.51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/2.215, allocations: 7.299 MB / 0.9419 GB, free: 19.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002444/2.216, allocations: 63.88 kB / 0.9419 GB, free: 19.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=1487) (initialization): time 0.03511/2.251, allocations: 16.93 MB / 0.9585 GB, free: 11.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/2.251, allocations: 102.5 kB / 0.9586 GB, free: 11.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000281/2.251, allocations: 212 kB / 0.9588 GB, free: 11.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004106/2.255, allocations: 1.71 MB / 0.9604 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009542/2.265, allocations: 2.603 MB / 0.963 GB, free: 8.133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01467/2.28, allocations: 14.03 MB / 0.9767 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01013/2.29, allocations: 0.6657 MB / 0.9773 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002914/2.293, allocations: 0.6311 MB / 0.978 GB, free: 9.875 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 () * 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.005882/2.299, allocations: 0.9256 MB / 0.9789 GB, free: 8.953 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002293/2.301, allocations: 0.617 MB / 0.9795 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01876/2.32, allocations: 9.6 MB / 0.9888 GB, free: 300 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001578/2.32, allocations: 91.62 kB / 0.9889 GB, free: 212 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.252e-05/2.32, allocations: 11.56 kB / 0.9889 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.814e-05/2.32, allocations: 17.44 kB / 0.989 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0557/2.376, allocations: 21.86 MB / 1.01 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.018e-05/2.376, allocations: 12 kB / 1.01 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004389/2.38, allocations: 0.7903 MB / 1.011 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004118/2.384, allocations: 1.359 MB / 1.012 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001301/2.386, allocations: 87.75 kB / 1.012 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/2.403, allocations: 12.88 MB / 1.025 GB, free: 0.9648 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.876e-05/2.403, allocations: 15.94 kB / 1.025 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02815/2.431, allocations: 17.13 MB / 1.042 GB, free: 1.074 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005678/2.437, allocations: 1.461 MB / 1.043 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002285/2.439, allocations: 112.9 kB / 1.043 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005507/2.445, allocations: 397.2 kB / 1.044 GB, free: 0 / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001278/2.446, allocations: 312.5 kB / 1.044 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004067/2.446, allocations: 131.6 kB / 1.044 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009804/2.456, allocations: 3.93 MB / 1.048 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.81e-07/2.456, allocations: 0 / 1.048 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01499/2.471, allocations: 2.039 MB / 1.05 GB, free: 10.11 MB / 0.5573 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 () * 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.001559/2.473, allocations: 248.8 kB / 1.05 GB, free: 9.867 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3533/2.826, allocations: 11.98 MB / 1.062 GB, free: 152.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.561e-05/2.826, allocations: 1.438 kB / 1.062 GB, free: 152.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0091/2.835, allocations: 4.862 MB / 1.067 GB, free: 152.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005028/2.84, allocations: 0.7257 MB / 1.067 GB, free: 152.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04004/2.88, allocations: 17.35 MB / 1.084 GB, free: 149.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0135/2.894, allocations: 6.273 MB / 1.09 GB, free: 148.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01085/2.905, allocations: 4.115 MB / 1.094 GB, free: 148.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/2.907, allocations: 451 kB / 1.095 GB, free: 148.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.322e-06/2.907, allocations: 0 / 1.095 GB, free: 148.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.1329/3.04, allocations: 69.47 MB / 1.163 GB, free: 131.8 MB / 0.5573 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)