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.001074/0.001074, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.384/1.384, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001582/0.001582, allocations: 107.5 kB / 218 MB, free: 8.406 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.2133/0.2133, allocations: 37.99 MB / 295.1 MB, free: 9.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.275e-05/2.277e-05, allocations: 7.109 kB / 350 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 48.72 MB / 398.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4269/0.5312, allocations: 96.08 MB / 494.8 MB, free: 17.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.5316, allocations: 76.94 kB / 494.9 MB, free: 17.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7019/1.233, allocations: 160 MB / 0.6395 GB, free: 62.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.233, allocations: 3.156 kB / 0.6395 GB, free: 62.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008227/1.234, allocations: 161.5 kB / 0.6397 GB, free: 62.98 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.02783/1.262, allocations: 7.505 MB / 0.647 GB, free: 59.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/1.262, allocations: 7.719 kB / 0.647 GB, free: 59.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04009/1.302, allocations: 10.06 MB / 0.6568 GB, free: 59.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02244/1.325, allocations: 8.403 MB / 0.665 GB, free: 58.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005622/1.325, allocations: 272.1 kB / 0.6653 GB, free: 58.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005403/1.331, allocations: 489.7 kB / 0.6658 GB, free: 58.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02891/1.36, allocations: 13.11 MB / 0.6786 GB, free: 58.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05216/1.412, allocations: 18.79 MB / 0.6969 GB, free: 54.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006837/1.413, allocations: 87.47 kB / 0.697 GB, free: 54.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004816/1.418, allocations: 45.47 kB / 0.697 GB, free: 54.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002998/1.421, allocations: 2.103 MB / 0.6991 GB, free: 54.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09887/1.519, allocations: 80.94 MB / 0.7781 GB, free: 3.391 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3001/1.82, allocations: 8.832 MB / 0.7868 GB, free: 73.51 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006445/1.826, allocations: 4.98 MB / 0.7916 GB, free: 73.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/1.826, allocations: 69.03 kB / 0.7917 GB, free: 73.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/1.826, allocations: 79.3 kB / 0.7918 GB, free: 73.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=452): time 6.652e-06/1.826, allocations: 0 / 0.7918 GB, free: 73.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=499): time 0.068/1.894, allocations: 36.52 MB / 0.8274 GB, free: 68.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/1.895, allocations: 224.9 kB / 0.8276 GB, free: 68.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007665/1.902, allocations: 5.151 MB / 0.8327 GB, free: 67.95 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008419/1.903, allocations: 25.7 kB / 0.8327 GB, free: 67.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00352/1.907, allocations: 5.825 MB / 0.8384 GB, free: 64.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002238/1.909, allocations: 1.767 MB / 0.8401 GB, free: 63.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000593/1.909, allocations: 0 / 0.8401 GB, free: 63.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007255/1.91, allocations: 0.8169 MB / 0.8409 GB, free: 63.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005543/1.916, allocations: 4.648 MB / 0.8454 GB, free: 63.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01045/1.926, allocations: 11.13 MB / 0.8563 GB, free: 53.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009972/1.936, allocations: 7.235 MB / 0.8634 GB, free: 51.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/1.936, allocations: 68.56 kB / 0.8634 GB, free: 51.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=1556) (initialization): time 0.02787/1.964, allocations: 15.83 MB / 0.8789 GB, free: 46.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/1.964, allocations: 111.5 kB / 0.879 GB, free: 46.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000258/1.965, allocations: 227.8 kB / 0.8792 GB, free: 46.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003757/1.969, allocations: 1.706 MB / 0.8809 GB, free: 46.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008873/1.977, allocations: 2.729 MB / 0.8836 GB, free: 45.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/1.99, allocations: 13.18 MB / 0.8964 GB, free: 32.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008783/1.998, allocations: 469.2 kB / 0.8969 GB, free: 32.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00236/2.001, allocations: 0.6662 MB / 0.8975 GB, free: 31.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1047 * 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 (1432): * Single equations (assignments): 1419 * 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.003468/2.004, allocations: 0.6738 MB / 0.8982 GB, free: 31.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001924/2.006, allocations: 0.5938 MB / 0.8988 GB, free: 30.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/2.021, allocations: 9.146 MB / 0.9077 GB, free: 22.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.551e-05/2.021, allocations: 90.48 kB / 0.9078 GB, free: 22.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/2.021, allocations: 12 kB / 0.9078 GB, free: 22.9 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.271e-05/2.021, allocations: 21.09 kB / 0.9078 GB, free: 22.9 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02876/2.05, allocations: 19.69 MB / 0.927 GB, free: 6.445 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.361e-05/2.05, allocations: 15.94 kB / 0.9271 GB, free: 6.434 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003363/2.053, allocations: 0.7895 MB / 0.9278 GB, free: 5.809 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003251/2.057, allocations: 1.344 MB / 0.9291 GB, free: 4.848 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003683/2.057, allocations: 27.42 kB / 0.9292 GB, free: 4.824 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/2.069, allocations: 12.11 MB / 0.941 GB, free: 9.457 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-05/2.069, allocations: 15.94 kB / 0.941 GB, free: 9.441 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2869/2.356, allocations: 17 MB / 0.9576 GB, free: 73.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004386/2.36, allocations: 1.331 MB / 0.9589 GB, free: 73.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002415/2.363, allocations: 18.28 kB / 0.9589 GB, free: 73.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005239/2.368, allocations: 244.2 kB / 0.9592 GB, free: 73.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/2.369, allocations: 304.4 kB / 0.9595 GB, free: 73.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000415/2.37, allocations: 131.3 kB / 0.9596 GB, free: 73.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008864/2.378, allocations: 3.423 MB / 0.9629 GB, free: 73.28 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/2.379, allocations: 0 / 0.9629 GB, free: 73.28 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01357/2.392, allocations: 1.751 MB / 0.9646 GB, free: 73.28 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (383): * Single equations (assignments): 370 * 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.00139/2.394, allocations: 187.3 kB / 0.9648 GB, free: 73.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01652/2.41, allocations: 11.44 MB / 0.976 GB, free: 72.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-05/2.41, allocations: 3.125 kB / 0.976 GB, free: 72.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006469/2.417, allocations: 4.667 MB / 0.9805 GB, free: 72.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005288/2.422, allocations: 0.5436 MB / 0.9811 GB, free: 72.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03654/2.459, allocations: 17.1 MB / 0.9978 GB, free: 69.05 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008831/2.467, allocations: 6.255 MB / 1.004 GB, free: 68.14 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01026/2.478, allocations: 4.285 MB / 1.008 GB, free: 68.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/2.479, allocations: 434.5 kB / 1.008 GB, free: 68.07 MB / 458.7 MB Notification: Performance of SimCode: time 1.282e-06/2.479, allocations: 0 / 1.008 GB, free: 68.07 MB / 458.7 MB Notification: Performance of Templates: time 0.1103/2.59, allocations: 61.56 MB / 1.069 GB, free: 40.42 MB / 458.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)