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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00692/0.00692, allocations: 107.4 kB / 15.74 MB, free: 5.996 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.001112/0.001112, allocations: 197 kB / 16.67 MB, free: 5.918 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.724/1.724, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4582/0.4582, allocations: 39.94 MB / 309.8 MB, free: 9.402 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.2. 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.001521/0.001521, allocations: 71.91 kB / 435.8 MB, free: 2.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4146, allocations: 56.87 MB / 492.7 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.0202/0.4348, allocations: 19.39 MB / 0.5001 GB, free: 5.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.016/0.4509, allocations: 5.428 MB / 0.5054 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006671/0.4577, allocations: 121.4 kB / 0.5055 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.4681, allocations: 4.811 MB / 0.5102 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01382/0.482, allocations: 3.178 MB / 0.5133 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.4855, allocations: 0.9072 MB / 0.5142 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01813/0.5037, allocations: 8.222 MB / 0.5222 GB, free: 6.207 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009496/0.5132, allocations: 6.513 MB / 0.5285 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006967/0.5202, allocations: 3.014 MB / 0.5315 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008785/0.5291, allocations: 4.108 MB / 0.5355 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003133/0.5322, allocations: 0.6445 MB / 0.5361 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005529/0.5378, allocations: 1.467 MB / 0.5376 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006672/0.5445, allocations: 3.811 MB / 0.5413 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01153/0.5561, allocations: 4.4 MB / 0.5456 GB, free: 14.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02631/0.5824, allocations: 14.03 MB / 0.5593 GB, free: 36 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.5825, allocations: 0 / 0.5593 GB, free: 36 kB / 430.1 MB Notification: Performance of FrontEnd: time 4.077e-06/0.5825, allocations: 4 kB / 0.5593 GB, free: 32 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006804/0.5832, allocations: 0 / 0.5593 GB, free: 32 kB / 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.03048/0.6137, allocations: 9.03 MB / 0.5681 GB, free: 6.914 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.6138, allocations: 11.89 kB / 0.5681 GB, free: 6.902 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02352/0.6373, allocations: 5.46 MB / 0.5735 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01615/0.6535, allocations: 5.156 MB / 0.5785 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004711/0.654, allocations: 451.9 kB / 0.5789 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003449/0.6575, allocations: 0.5934 MB / 0.5795 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04539/0.7029, allocations: 20.54 MB / 0.5996 GB, free: 5.566 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004311/0.7034, allocations: 71.31 kB / 0.5996 GB, free: 5.496 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003084/0.7065, allocations: 279.7 kB / 0.5999 GB, free: 5.223 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008445/0.7149, allocations: 4.349 MB / 0.6041 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04531/0.7603, allocations: 18.24 MB / 0.622 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7898/1.55, allocations: 75.17 MB / 0.6954 GB, free: 66.98 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01813/1.568, allocations: 8.169 MB / 0.7033 GB, free: 62.34 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008139/1.576, allocations: 5.361 MB / 0.7086 GB, free: 59.59 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004103/1.577, allocations: 59.05 kB / 0.7086 GB, free: 59.58 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.127e-05/1.577, allocations: 82.97 kB / 0.7087 GB, free: 59.5 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=450): time 9.467e-06/1.577, allocations: 0 / 0.7087 GB, free: 59.5 MB / 0.4982 GB Notification: Performance of matching and sorting (n=497): time 0.1008/1.678, allocations: 42.94 MB / 0.7506 GB, free: 23.93 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.678, allocations: 230.9 kB / 0.7509 GB, free: 23.66 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009153/1.687, allocations: 6.517 MB / 0.7572 GB, free: 17.14 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001275/1.688, allocations: 93.7 kB / 0.7573 GB, free: 17.04 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003052/1.691, allocations: 5.641 MB / 0.7628 GB, free: 11.4 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002737/1.694, allocations: 1.809 MB / 0.7646 GB, free: 9.605 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003367/1.698, allocations: 2.31 MB / 0.7668 GB, free: 7.289 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.195e-05/1.698, allocations: 305.1 kB / 0.7671 GB, free: 6.988 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006304/1.704, allocations: 5.199 MB / 0.7722 GB, free: 1.785 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01542/1.719, allocations: 11.39 MB / 0.7833 GB, free: 3.414 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02428/1.744, allocations: 17.94 MB / 0.8009 GB, free: 14.46 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003613/1.744, allocations: 60 kB / 0.8009 GB, free: 14.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1524) (initialization): time 0.04464/1.789, allocations: 18.34 MB / 0.8188 GB, free: 12.03 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003786/1.789, allocations: 96 kB / 0.8189 GB, free: 11.94 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004806/1.79, allocations: 220.2 kB / 0.8191 GB, free: 11.72 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006994/1.797, allocations: 2.347 MB / 0.8214 GB, free: 9.363 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/1.807, allocations: 2.644 MB / 0.824 GB, free: 6.715 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02376/1.831, allocations: 17.44 MB / 0.841 GB, free: 4.723 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009731/1.84, allocations: 0.6788 MB / 0.8417 GB, free: 4.043 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002559/1.843, allocations: 0.639 MB / 0.8423 GB, free: 3.406 MB / 0.5763 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.01173/1.855, allocations: 4.191 MB / 0.8464 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002648/1.857, allocations: 0.6131 MB / 0.847 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0232/1.881, allocations: 10.58 MB / 0.8573 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000156/1.881, allocations: 91.97 kB / 0.8574 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.332e-05/1.881, allocations: 12 kB / 0.8574 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001233/1.881, allocations: 19.92 kB / 0.8575 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.397/2.278, allocations: 22.58 MB / 0.8795 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.699e-05/2.278, allocations: 13.81 kB / 0.8795 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004511/2.283, allocations: 0.7796 MB / 0.8803 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006234/2.289, allocations: 2.035 MB / 0.8823 GB, free: 191.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001337/2.29, allocations: 90.16 kB / 0.8824 GB, free: 191 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/2.311, allocations: 16.19 MB / 0.8982 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.657e-05/2.311, allocations: 15.91 kB / 0.8982 GB, free: 181.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02416/2.336, allocations: 16.69 MB / 0.9145 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004788/2.34, allocations: 1.418 MB / 0.9159 GB, free: 173.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001445/2.342, allocations: 80 kB / 0.9159 GB, free: 173.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003553/2.346, allocations: 329.3 kB / 0.9163 GB, free: 173.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009035/2.346, allocations: 299.3 kB / 0.9165 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003235/2.347, allocations: 128 kB / 0.9167 GB, free: 173.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006567/2.353, allocations: 4.064 MB / 0.9206 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.41e-07/2.353, allocations: 3.969 kB / 0.9206 GB, free: 169.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01202/2.365, allocations: 2.102 MB / 0.9227 GB, free: 167 MB / 0.5919 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.001426/2.367, allocations: 241 kB / 0.9229 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02032/2.387, allocations: 12.76 MB / 0.9354 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.067e-05/2.387, allocations: 4 kB / 0.9354 GB, free: 154.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.007715/2.395, allocations: 5.113 MB / 0.9404 GB, free: 148.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005999/2.401, allocations: 0.7837 MB / 0.9411 GB, free: 148.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04437/2.445, allocations: 20.73 MB / 0.9614 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01586/2.461, allocations: 6.104 MB / 0.9673 GB, free: 121.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.01509/2.476, allocations: 4.09 MB / 0.9713 GB, free: 117.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003987/2.48, allocations: 451.4 kB / 0.9718 GB, free: 116.7 MB / 0.5919 GB Notification: Performance of SimCode: time 2.024e-06/2.48, allocations: 3.938 kB / 0.9718 GB, free: 116.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1256/2.606, allocations: 72.76 MB / 1.043 GB, free: 44.09 MB / 0.5919 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)