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.001558/0.001558, allocations: 180.3 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.493/1.493, allocations: 194.3 MB / 202.4 MB, free: 8.551 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.001763/0.001763, allocations: 118.8 kB / 247.4 MB, free: 6.23 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.1896/0.1896, allocations: 39.95 MB / 332.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.591e-05/1.592e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09995/0.09998, allocations: 54.88 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5586/0.6586, allocations: 103.3 MB / 0.5386 GB, free: 12.94 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003619/0.6591, allocations: 74.41 kB / 0.5387 GB, free: 12.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7828/1.442, allocations: 160 MB / 0.6949 GB, free: 84.83 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.513e-06/1.442, allocations: 0 / 0.6949 GB, free: 84.83 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005003/1.442, allocations: 155.2 kB / 0.695 GB, free: 84.83 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.0261/1.469, allocations: 7.502 MB / 0.7024 GB, free: 81.75 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.546e-05/1.469, allocations: 7.875 kB / 0.7024 GB, free: 81.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03986/1.508, allocations: 10.05 MB / 0.7122 GB, free: 81.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02099/1.53, allocations: 8.407 MB / 0.7204 GB, free: 80.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005092/1.53, allocations: 271.5 kB / 0.7206 GB, free: 80.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004222/1.534, allocations: 493.5 kB / 0.7211 GB, free: 80.22 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02262/1.557, allocations: 13.1 MB / 0.7339 GB, free: 80.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03609/1.593, allocations: 18.79 MB / 0.7523 GB, free: 74.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004818/1.594, allocations: 96.42 kB / 0.7524 GB, free: 74.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003431/1.597, allocations: 49.16 kB / 0.7524 GB, free: 74.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00267/1.6, allocations: 2.102 MB / 0.7545 GB, free: 73.93 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08505/1.685, allocations: 81.03 MB / 0.8336 GB, free: 1.496 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01694/1.702, allocations: 8.616 MB / 0.842 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007391/1.709, allocations: 4.986 MB / 0.8469 GB, free: 5.828 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003458/1.71, allocations: 73.47 kB / 0.8469 GB, free: 5.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.397e-05/1.71, allocations: 73.27 kB / 0.847 GB, free: 5.688 MB / 490.7 MB Notification: Performance of pre-optimization done (n=452): time 9.127e-06/1.71, allocations: 0 / 0.847 GB, free: 5.688 MB / 490.7 MB Notification: Performance of matching and sorting (n=499): time 0.3618/2.071, allocations: 36.51 MB / 0.8827 GB, free: 88.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.147e-05/2.072, allocations: 228.3 kB / 0.8829 GB, free: 88.58 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00879/2.08, allocations: 5.143 MB / 0.8879 GB, free: 88.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001174/2.082, allocations: 29.02 kB / 0.8879 GB, free: 88.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00393/2.086, allocations: 5.822 MB / 0.8936 GB, free: 84.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002466/2.088, allocations: 1.761 MB / 0.8953 GB, free: 83.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007561/2.089, allocations: 3.906 kB / 0.8953 GB, free: 83.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006687/2.09, allocations: 0.8243 MB / 0.8961 GB, free: 83.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005864/2.095, allocations: 4.648 MB / 0.9007 GB, free: 83.47 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009518/2.105, allocations: 11.14 MB / 0.9116 GB, free: 75.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/2.116, allocations: 7.234 MB / 0.9186 GB, free: 74.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003573/2.117, allocations: 64.03 kB / 0.9187 GB, free: 74.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=1557) (initialization): time 0.03716/2.154, allocations: 15.83 MB / 0.9341 GB, free: 69.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004575/2.155, allocations: 104.9 kB / 0.9342 GB, free: 69.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005783/2.155, allocations: 233.5 kB / 0.9345 GB, free: 69.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004602/2.16, allocations: 1.721 MB / 0.9362 GB, free: 69.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/2.17, allocations: 2.726 MB / 0.9388 GB, free: 69.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01421/2.184, allocations: 13.17 MB / 0.9517 GB, free: 60.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009964/2.194, allocations: 466.8 kB / 0.9521 GB, free: 60.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003132/2.197, allocations: 0.665 MB / 0.9528 GB, free: 60.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1048 * 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 (1433): * Single equations (assignments): 1420 * 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.004565/2.202, allocations: 0.6799 MB / 0.9534 GB, free: 60.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002095/2.204, allocations: 0.5858 MB / 0.954 GB, free: 59.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01712/2.221, allocations: 9.144 MB / 0.9629 GB, free: 54.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000142/2.221, allocations: 87.22 kB / 0.963 GB, free: 54.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.898e-05/2.221, allocations: 8 kB / 0.963 GB, free: 54.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001053/2.222, allocations: 27.55 kB / 0.9631 GB, free: 54.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04156/2.263, allocations: 19.7 MB / 0.9823 GB, free: 37.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.455e-05/2.263, allocations: 12 kB / 0.9823 GB, free: 37.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003807/2.267, allocations: 0.7924 MB / 0.9831 GB, free: 36.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003515/2.271, allocations: 1.346 MB / 0.9844 GB, free: 35.97 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007898/2.271, allocations: 23.23 kB / 0.9844 GB, free: 35.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/2.283, allocations: 12.13 MB / 0.9963 GB, free: 24.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/2.283, allocations: 15.94 kB / 0.9963 GB, free: 24.52 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0212/2.305, allocations: 16.57 MB / 1.012 GB, free: 9.027 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003805/2.308, allocations: 1.335 MB / 1.014 GB, free: 7.773 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001832/2.31, allocations: 16 kB / 1.014 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003953/2.314, allocations: 243.1 kB / 1.014 GB, free: 7.629 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008861/2.315, allocations: 299 kB / 1.014 GB, free: 7.434 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005121/2.316, allocations: 132.5 kB / 1.014 GB, free: 7.309 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007523/2.323, allocations: 3.417 MB / 1.018 GB, free: 4.355 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.222e-06/2.323, allocations: 0 / 1.018 GB, free: 4.355 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01271/2.336, allocations: 1.751 MB / 1.019 GB, free: 2.609 MB / 490.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.001064/2.337, allocations: 174.8 kB / 1.02 GB, free: 2.441 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02071/2.358, allocations: 11.58 MB / 1.031 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/2.358, allocations: 3.938 kB / 1.031 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.288/2.646, allocations: 5.578 MB / 1.036 GB, free: 95.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003994/2.65, allocations: 0.5454 MB / 1.037 GB, free: 95.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04099/2.691, allocations: 17.09 MB / 1.054 GB, free: 92.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01322/2.704, allocations: 6.254 MB / 1.06 GB, free: 91.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01072/2.715, allocations: 4.277 MB / 1.064 GB, free: 91.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001606/2.717, allocations: 440.2 kB / 1.064 GB, free: 91.22 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/2.717, allocations: 0 / 1.064 GB, free: 91.22 MB / 0.4948 GB Notification: Performance of Templates: time 0.1077/2.824, allocations: 61.56 MB / 1.124 GB, free: 81.89 MB / 0.4948 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)