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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.927/1.927, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4066/0.4066, allocations: 38.03 MB / 308.4 MB, free: 10.27 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006133/0.0006135, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.144, allocations: 57.52 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.3656/0.5097, allocations: 70.42 MB / 0.4925 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04165/0.5514, allocations: 15.95 MB / 0.5081 GB, free: 20 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01915/0.5706, allocations: 357.7 kB / 0.5085 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01444/0.5851, allocations: 3.598 MB / 0.512 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04245/0.6276, allocations: 10.14 MB / 0.5219 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006466/0.6341, allocations: 0.7993 MB / 0.5226 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04648/0.6806, allocations: 28.04 MB / 0.55 GB, free: 5.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01504/0.6957, allocations: 7.809 MB / 0.5577 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005996/0.7017, allocations: 1.985 MB / 0.5596 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006012/0.7078, allocations: 2.652 MB / 0.5622 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002482/0.7103, allocations: 291.9 kB / 0.5625 GB, free: 8.301 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004396/0.7147, allocations: 0.9949 MB / 0.5634 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005731/0.7205, allocations: 3.09 MB / 0.5665 GB, free: 4.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004097/0.7246, allocations: 1.641 MB / 0.5681 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01652/0.7412, allocations: 10.97 MB / 0.5788 GB, free: 7.562 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7412, allocations: 0 / 0.5788 GB, free: 7.562 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.7412, allocations: 0 / 0.5788 GB, free: 7.562 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006215/0.7418, allocations: 0 / 0.5788 GB, free: 7.562 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3112 * Number of variables: 3112 Notification: Performance of Generate backend data structure: time 0.02241/0.7643, allocations: 7.739 MB / 0.5863 GB, free: 15.73 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.7643, allocations: 8.031 kB / 0.5863 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05471/0.819, allocations: 11.52 MB / 0.5976 GB, free: 4.176 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01368/0.8328, allocations: 5.371 MB / 0.6028 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005087/0.8333, allocations: 455.4 kB / 0.6033 GB, free: 14.28 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002906/0.8362, allocations: 0.5893 MB / 0.6038 GB, free: 13.69 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05064/0.8869, allocations: 20.54 MB / 0.6239 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004559/0.8874, allocations: 71.31 kB / 0.624 GB, free: 8.016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0033/0.8907, allocations: 283.7 kB / 0.6242 GB, free: 7.738 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008704/0.8995, allocations: 4.349 MB / 0.6285 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4689/1.368, allocations: 18.14 MB / 0.6462 GB, free: 132.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1125/1.481, allocations: 75.23 MB / 0.7197 GB, free: 83.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0172/1.498, allocations: 8.128 MB / 0.7276 GB, free: 79.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006537/1.499, allocations: 68.72 kB / 0.7277 GB, free: 79.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/1.499, allocations: 74.94 kB / 0.7277 GB, free: 79.43 MB / 494.1 MB Notification: Performance of pre-optimization done (n=450): time 1.188e-05/1.499, allocations: 0 / 0.7277 GB, free: 79.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=497): time 0.102/1.601, allocations: 42.73 MB / 0.7695 GB, free: 36.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/1.601, allocations: 227 kB / 0.7697 GB, free: 36.37 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009621/1.611, allocations: 6.748 MB / 0.7763 GB, free: 29.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001206/1.612, allocations: 101 kB / 0.7764 GB, free: 29.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003315/1.616, allocations: 5.694 MB / 0.7819 GB, free: 23.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002282/1.618, allocations: 1.805 MB / 0.7837 GB, free: 22.04 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005901/1.618, allocations: 216 kB / 0.7839 GB, free: 21.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004225/1.619, allocations: 0.8012 MB / 0.7847 GB, free: 21.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006249/1.625, allocations: 4.937 MB / 0.7895 GB, free: 16.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009427/1.635, allocations: 11.06 MB / 0.8003 GB, free: 2.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/1.646, allocations: 7.357 MB / 0.8075 GB, free: 10.66 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001837/1.646, allocations: 60 kB / 0.8075 GB, free: 10.6 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1484) (initialization): time 0.2866/1.933, allocations: 17.26 MB / 0.8244 GB, free: 132.9 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/1.933, allocations: 95.78 kB / 0.8245 GB, free: 132.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002985/1.933, allocations: 217.1 kB / 0.8247 GB, free: 132.9 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004939/1.938, allocations: 1.854 MB / 0.8265 GB, free: 132.9 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009391/1.948, allocations: 2.59 MB / 0.829 GB, free: 132.9 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/1.963, allocations: 15.04 MB / 0.8437 GB, free: 125.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/1.974, allocations: 0.6649 MB / 0.8444 GB, free: 125.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002549/1.976, allocations: 0.6344 MB / 0.845 GB, free: 125.6 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 975 * Number of states: 0 () * Number of discrete variables: 51 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1360): * Single equations (assignments): 1347 * 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.01084/1.987, allocations: 4.187 MB / 0.8491 GB, free: 124.1 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001566/1.989, allocations: 0.6138 MB / 0.8497 GB, free: 124.1 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01783/2.006, allocations: 9.835 MB / 0.8593 GB, free: 120.4 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001641/2.007, allocations: 94.86 kB / 0.8594 GB, free: 120.4 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.684e-05/2.007, allocations: 12.22 kB / 0.8594 GB, free: 120.4 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.035e-05/2.007, allocations: 19.83 kB / 0.8594 GB, free: 120.4 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04916/2.056, allocations: 21.93 MB / 0.8808 GB, free: 112.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-05/2.056, allocations: 11.56 kB / 0.8808 GB, free: 112.6 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00395/2.06, allocations: 0.7882 MB / 0.8816 GB, free: 112.5 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004326/2.064, allocations: 1.507 MB / 0.8831 GB, free: 112.1 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006996/2.065, allocations: 89.67 kB / 0.8832 GB, free: 112.1 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01425/2.079, allocations: 14.06 MB / 0.8969 GB, free: 102.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.307e-05/2.079, allocations: 15.94 kB / 0.8969 GB, free: 102.5 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02549/2.105, allocations: 17.53 MB / 0.914 GB, free: 85.74 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005653/2.111, allocations: 1.406 MB / 0.9154 GB, free: 84.39 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002923/2.114, allocations: 91.27 kB / 0.9155 GB, free: 84.3 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005087/2.119, allocations: 311.6 kB / 0.9158 GB, free: 84 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001447/2.12, allocations: 298.1 kB / 0.9161 GB, free: 83.71 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008812/2.121, allocations: 133.3 kB / 0.9162 GB, free: 83.59 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008312/2.129, allocations: 4.23 MB / 0.9203 GB, free: 79.37 MB / 0.4982 GB Notification: Performance of sort global known variables: time 7.21e-07/2.129, allocations: 0 / 0.9203 GB, free: 79.37 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01395/2.143, allocations: 2.067 MB / 0.9224 GB, free: 77.31 MB / 0.4982 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 (381): * Single equations (assignments): 368 * 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.001825/2.145, allocations: 266 kB / 0.9226 GB, free: 77.05 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02052/2.166, allocations: 12.21 MB / 0.9345 GB, free: 64.85 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/2.166, allocations: 4 kB / 0.9345 GB, free: 64.84 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.008326/2.174, allocations: 4.969 MB / 0.9394 GB, free: 59.83 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005721/2.18, allocations: 0.734 MB / 0.9401 GB, free: 59.11 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0458/2.226, allocations: 23.99 MB / 0.9635 GB, free: 34.94 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/2.237, allocations: 6.27 MB / 0.9697 GB, free: 28.63 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.01207/2.249, allocations: 4.095 MB / 0.9737 GB, free: 24.53 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003452/2.252, allocations: 462.6 kB / 0.9741 GB, free: 24.08 MB / 0.4982 GB Notification: Performance of SimCode: time 3.276e-06/2.252, allocations: 0 / 0.9741 GB, free: 24.08 MB / 0.4982 GB Notification: Performance of Templates: time 0.4134/2.666, allocations: 71.08 MB / 1.044 GB, free: 135 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.GearConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: