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.0008741/0.0008741, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007133/0.007133, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3335/0.3335, allocations: 38.04 MB / 308.8 MB, free: 10.35 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.0006066/0.0006068, allocations: 16 kB / 377.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1177, allocations: 57.51 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.276/0.3937, allocations: 80.26 MB / 0.5028 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04246/0.4363, allocations: 15.88 MB / 0.5183 GB, free: 8.988 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01834/0.4546, allocations: 350.2 kB / 0.5186 GB, free: 8.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002897/0.4576, allocations: 0.8275 MB / 0.5194 GB, free: 8.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.469, allocations: 3.019 MB / 0.5224 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.4725, allocations: 0.8389 MB / 0.5232 GB, free: 6.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01904/0.4916, allocations: 11.91 MB / 0.5348 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01323/0.5049, allocations: 8.708 MB / 0.5433 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006039/0.5109, allocations: 2.237 MB / 0.5455 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006031/0.517, allocations: 3.842 MB / 0.5492 GB, free: 6.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001808/0.5188, allocations: 292 kB / 0.5495 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.5228, allocations: 1.17 MB / 0.5507 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005575/0.5284, allocations: 3.416 MB / 0.554 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00705/0.5355, allocations: 3.949 MB / 0.5579 GB, free: 13.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01753/0.553, allocations: 12.96 MB / 0.5705 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5531, allocations: 4 kB / 0.5705 GB, free: 0.668 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5531, allocations: 0 / 0.5705 GB, free: 0.668 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0008961/0.554, allocations: 0 / 0.5705 GB, free: 0.668 MB / 430.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.01811/0.5721, allocations: 7.341 MB / 0.5777 GB, free: 9.242 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.5722, allocations: 12.03 kB / 0.5777 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02168/0.5939, allocations: 5.612 MB / 0.5832 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.6043, allocations: 5.082 MB / 0.5881 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004333/0.6048, allocations: 455.8 kB / 0.5886 GB, free: 14.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002525/0.6073, allocations: 0.5897 MB / 0.5892 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03846/0.6458, allocations: 20.56 MB / 0.6092 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005655/0.6464, allocations: 71.31 kB / 0.6093 GB, free: 7.727 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00326/0.6497, allocations: 283.7 kB / 0.6096 GB, free: 7.449 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007506/0.6572, allocations: 4.349 MB / 0.6138 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03822/0.6955, allocations: 18.28 MB / 0.6317 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5384/1.234, allocations: 75.63 MB / 0.7055 GB, free: 85.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01785/1.252, allocations: 8.189 MB / 0.7135 GB, free: 82.03 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007224/1.259, allocations: 5.362 MB / 0.7188 GB, free: 79.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/1.259, allocations: 64.86 kB / 0.7188 GB, free: 79.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/1.26, allocations: 79.03 kB / 0.7189 GB, free: 79.76 MB / 494.1 MB Notification: Performance of pre-optimization done (n=450): time 7.033e-06/1.26, allocations: 0 / 0.7189 GB, free: 79.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=497): time 0.09852/1.358, allocations: 43 MB / 0.7609 GB, free: 45.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/1.358, allocations: 226.9 kB / 0.7611 GB, free: 45.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01122/1.37, allocations: 6.521 MB / 0.7675 GB, free: 39.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009321/1.371, allocations: 93.7 kB / 0.7676 GB, free: 39.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002655/1.373, allocations: 5.639 MB / 0.7731 GB, free: 33.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002052/1.375, allocations: 1.81 MB / 0.7748 GB, free: 31.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001179/1.376, allocations: 0.9813 MB / 0.7758 GB, free: 30.65 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.968e-05/1.376, allocations: 309.1 kB / 0.7761 GB, free: 30.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005925/1.382, allocations: 5.203 MB / 0.7812 GB, free: 25.14 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009327/1.392, allocations: 11.39 MB / 0.7923 GB, free: 10.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02066/1.412, allocations: 17.94 MB / 0.8098 GB, free: 5.809 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000222/1.413, allocations: 64 kB / 0.8099 GB, free: 5.746 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1524) (initialization): time 0.03829/1.451, allocations: 18.37 MB / 0.8278 GB, free: 3.352 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002859/1.451, allocations: 97 kB / 0.8279 GB, free: 3.258 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000357/1.452, allocations: 220 kB / 0.8281 GB, free: 3.043 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006763/1.459, allocations: 2.347 MB / 0.8304 GB, free: 0.6836 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.25/1.709, allocations: 2.65 MB / 0.833 GB, free: 154.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01913/1.728, allocations: 16.15 MB / 0.8488 GB, free: 148.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008724/1.736, allocations: 0.6928 MB / 0.8494 GB, free: 148.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001776/1.738, allocations: 0.6346 MB / 0.8501 GB, free: 148.1 MB / 0.5138 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 (1400): * Single equations (assignments): 1387 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (3,40,77.8%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00748/1.746, allocations: 4.186 MB / 0.8542 GB, free: 146.4 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001679/1.747, allocations: 0.6131 MB / 0.8548 GB, free: 146.4 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01962/1.767, allocations: 10.6 MB / 0.8651 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001899/1.767, allocations: 94.19 kB / 0.8652 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.801e-05/1.767, allocations: 10.12 kB / 0.8652 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001318/1.768, allocations: 24.86 kB / 0.8652 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04195/1.81, allocations: 22.68 MB / 0.8874 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/1.81, allocations: 12.06 kB / 0.8874 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003381/1.813, allocations: 0.7863 MB / 0.8881 GB, free: 134.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004976/1.818, allocations: 2.036 MB / 0.8901 GB, free: 134 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004407/1.818, allocations: 89.09 kB / 0.8902 GB, free: 134 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01445/1.833, allocations: 15.03 MB / 0.9049 GB, free: 125 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.1e-05/1.833, allocations: 19.56 kB / 0.9049 GB, free: 125 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02275/1.856, allocations: 16.7 MB / 0.9212 GB, free: 109.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003357/1.859, allocations: 1.432 MB / 0.9226 GB, free: 108.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00153/1.861, allocations: 95.95 kB / 0.9227 GB, free: 108 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003852/1.864, allocations: 330.1 kB / 0.923 GB, free: 107.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009713/1.865, allocations: 294 kB / 0.9233 GB, free: 107.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004583/1.866, allocations: 128 kB / 0.9234 GB, free: 107.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006897/1.873, allocations: 4.068 MB / 0.9274 GB, free: 103.2 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2e-07/1.873, allocations: 0 / 0.9274 GB, free: 103.2 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.009687/1.883, allocations: 2.103 MB / 0.9295 GB, free: 101.1 MB / 0.5138 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,37,77.8%), (1,2,100.0%), (1,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001035/1.884, allocations: 243.2 kB / 0.9297 GB, free: 100.8 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01656/1.9, allocations: 12.7 MB / 0.9421 GB, free: 88.21 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/1.9, allocations: 0 / 0.9421 GB, free: 88.21 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007335/1.908, allocations: 5.121 MB / 0.9471 GB, free: 83.05 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01561/1.923, allocations: 0.7658 MB / 0.9479 GB, free: 82.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03566/1.959, allocations: 25.24 MB / 0.9725 GB, free: 56.89 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007657/1.967, allocations: 6.09 MB / 0.9784 GB, free: 50.76 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.009165/1.976, allocations: 4.105 MB / 0.9825 GB, free: 46.65 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/1.977, allocations: 447.4 kB / 0.9829 GB, free: 46.21 MB / 0.5138 GB Notification: Performance of SimCode: time 8.71e-07/1.977, allocations: 4 kB / 0.9829 GB, free: 46.21 MB / 0.5138 GB Notification: Performance of Templates: time 0.3421/2.32, allocations: 73.61 MB / 1.055 GB, free: 133 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: