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.008215/0.008216, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001404/0.001404, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.707/1.707, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.4238/0.4238, allocations: 38 MB / 307.9 MB, free: 10.12 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.001735/0.001735, allocations: 67.91 kB / 433 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3758, allocations: 56.47 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.01961/0.3954, allocations: 19.38 MB / 0.4969 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01502/0.4105, allocations: 5.424 MB / 0.5022 GB, free: 2.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006372/0.4169, allocations: 125.2 kB / 0.5023 GB, free: 2.562 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01022/0.4272, allocations: 4.808 MB / 0.507 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.4393, allocations: 3.182 MB / 0.5101 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.4432, allocations: 0.9066 MB / 0.511 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01632/0.4595, allocations: 8.222 MB / 0.5191 GB, free: 8.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01285/0.4724, allocations: 6.518 MB / 0.5254 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007843/0.4803, allocations: 3.002 MB / 0.5284 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008464/0.4888, allocations: 4.1 MB / 0.5324 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003351/0.4922, allocations: 0.6445 MB / 0.533 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006213/0.4984, allocations: 1.475 MB / 0.5344 GB, free: 9.547 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007011/0.5055, allocations: 3.783 MB / 0.5381 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009758/0.5153, allocations: 4.396 MB / 0.5424 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02325/0.5385, allocations: 14.03 MB / 0.5561 GB, free: 3.254 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.144e-05/0.5386, allocations: 3.984 kB / 0.5561 GB, free: 3.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5386, allocations: 0 / 0.5561 GB, free: 3.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007451/0.5394, allocations: 0 / 0.5561 GB, free: 3.25 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.03079/0.5702, allocations: 9.038 MB / 0.5649 GB, free: 10.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.5703, allocations: 15.89 kB / 0.565 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.024/0.5943, allocations: 5.46 MB / 0.5703 GB, free: 4.629 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01484/0.6092, allocations: 5.153 MB / 0.5753 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005499/0.6098, allocations: 455.8 kB / 0.5758 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003483/0.6133, allocations: 0.5896 MB / 0.5763 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04768/0.661, allocations: 20.54 MB / 0.5964 GB, free: 8.781 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004525/0.6614, allocations: 67.41 kB / 0.5965 GB, free: 8.715 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003227/0.6647, allocations: 283.7 kB / 0.5967 GB, free: 8.438 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008107/0.6728, allocations: 4.349 MB / 0.601 GB, free: 4.082 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04203/0.7149, allocations: 18.25 MB / 0.6188 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7215/1.436, allocations: 75.17 MB / 0.6922 GB, free: 67.54 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0188/1.455, allocations: 8.175 MB / 0.7002 GB, free: 64.06 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007656/1.463, allocations: 5.348 MB / 0.7054 GB, free: 61.88 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003216/1.463, allocations: 66.44 kB / 0.7055 GB, free: 61.87 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.963e-05/1.463, allocations: 77.56 kB / 0.7055 GB, free: 61.8 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=450): time 6.252e-06/1.463, allocations: 0 / 0.7055 GB, free: 61.8 MB / 0.4982 GB Notification: Performance of matching and sorting (n=497): time 0.1025/1.566, allocations: 42.94 MB / 0.7475 GB, free: 29.88 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/1.566, allocations: 234.9 kB / 0.7477 GB, free: 29.61 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008207/1.574, allocations: 6.513 MB / 0.7541 GB, free: 23.09 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.001508/1.576, allocations: 93.3 kB / 0.7542 GB, free: 23 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.003414/1.579, allocations: 5.643 MB / 0.7597 GB, free: 17.36 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002185/1.581, allocations: 1.807 MB / 0.7614 GB, free: 15.57 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003332/1.585, allocations: 2.302 MB / 0.7637 GB, free: 13.26 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 5.923e-05/1.585, allocations: 313.1 kB / 0.764 GB, free: 12.95 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006365/1.591, allocations: 5.192 MB / 0.769 GB, free: 7.754 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01209/1.603, allocations: 11.39 MB / 0.7802 GB, free: 9.383 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02575/1.629, allocations: 17.94 MB / 0.7977 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002235/1.629, allocations: 67.94 kB / 0.7978 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1524) (initialization): time 0.0375/1.667, allocations: 18.34 MB / 0.8157 GB, free: 1.988 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000149/1.667, allocations: 97.88 kB / 0.8158 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003878/1.667, allocations: 212.9 kB / 0.816 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006998/1.674, allocations: 2.347 MB / 0.8183 GB, free: 15.33 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01045/1.685, allocations: 2.653 MB / 0.8208 GB, free: 12.67 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02236/1.707, allocations: 17.44 MB / 0.8379 GB, free: 10.68 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01063/1.718, allocations: 0.6731 MB / 0.8385 GB, free: 10.01 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002984/1.721, allocations: 0.6431 MB / 0.8392 GB, free: 9.367 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.01035/1.731, allocations: 4.184 MB / 0.8432 GB, free: 5.172 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002287/1.734, allocations: 0.6131 MB / 0.8438 GB, free: 4.551 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0228/1.756, allocations: 10.58 MB / 0.8542 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002041/1.757, allocations: 95.91 kB / 0.8543 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.696e-05/1.757, allocations: 12 kB / 0.8543 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001248/1.757, allocations: 19.92 kB / 0.8543 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3892/2.146, allocations: 22.58 MB / 0.8763 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.348e-05/2.146, allocations: 11.62 kB / 0.8764 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004857/2.151, allocations: 0.7835 MB / 0.8771 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006748/2.158, allocations: 2.031 MB / 0.8791 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001179/2.159, allocations: 88.8 kB / 0.8792 GB, free: 192.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/2.177, allocations: 16.2 MB / 0.895 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.926e-05/2.177, allocations: 16.34 kB / 0.895 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0276/2.205, allocations: 16.68 MB / 0.9113 GB, free: 175.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006128/2.211, allocations: 1.419 MB / 0.9127 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003002/2.214, allocations: 93.17 kB / 0.9128 GB, free: 175.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00532/2.22, allocations: 323.6 kB / 0.9131 GB, free: 175.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001327/2.221, allocations: 291.4 kB / 0.9134 GB, free: 175.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003705/2.221, allocations: 133.5 kB / 0.9135 GB, free: 175.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008232/2.23, allocations: 4.061 MB / 0.9175 GB, free: 174 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.51e-07/2.23, allocations: 0 / 0.9175 GB, free: 174 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01344/2.243, allocations: 2.105 MB / 0.9195 GB, free: 173.8 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.001365/2.244, allocations: 247.6 kB / 0.9198 GB, free: 173.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01673/2.261, allocations: 12.75 MB / 0.9322 GB, free: 162.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.842e-05/2.261, allocations: 5.203 kB / 0.9322 GB, free: 162.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00658/2.268, allocations: 5.118 MB / 0.9372 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005259/2.273, allocations: 0.7978 MB / 0.938 GB, free: 156.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03874/2.312, allocations: 20.71 MB / 0.9582 GB, free: 135.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009701/2.322, allocations: 6.09 MB / 0.9642 GB, free: 129.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009958/2.332, allocations: 4.094 MB / 0.9682 GB, free: 125.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002484/2.334, allocations: 451.4 kB / 0.9686 GB, free: 125 MB / 0.5919 GB Notification: Performance of SimCode: time 8.32e-07/2.334, allocations: 0.6562 kB / 0.9686 GB, free: 125 MB / 0.5919 GB Notification: Performance of Templates: time 0.124/2.458, allocations: 73.09 MB / 1.04 GB, free: 52.02 MB / 0.5919 GB 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)