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.00177/0.001771, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002348/0.002348, allocations: 197.8 kB / 16.53 MB, free: 6.664 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.82/1.82, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.3931/0.3931, allocations: 39.93 MB / 309.7 MB, free: 9.32 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.001808/0.001808, allocations: 74.55 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1531, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.02253/0.1757, allocations: 19.39 MB / 453.9 MB, free: 220 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3385/0.5142, allocations: 5.416 MB / 459.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005385/0.5196, allocations: 122.2 kB / 459.4 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01006/0.5297, allocations: 4.806 MB / 464.2 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01112/0.541, allocations: 3.19 MB / 467.4 MB, free: 34.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003309/0.5443, allocations: 0.9003 MB / 468.3 MB, free: 34.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01345/0.5578, allocations: 8.217 MB / 476.5 MB, free: 31.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009825/0.5677, allocations: 6.519 MB / 483.1 MB, free: 29.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007865/0.5756, allocations: 3.006 MB / 486.1 MB, free: 28.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009863/0.5855, allocations: 4.098 MB / 490.2 MB, free: 26.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004263/0.5898, allocations: 0.6444 MB / 490.8 MB, free: 26.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008296/0.5981, allocations: 1.472 MB / 492.3 MB, free: 26.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009255/0.6074, allocations: 3.785 MB / 496.1 MB, free: 25.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01613/0.6236, allocations: 4.408 MB / 0.4887 GB, free: 21.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03255/0.6562, allocations: 13.51 MB / 0.5019 GB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.6563, allocations: 0 / 0.5019 GB, free: 14.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6563, allocations: 0 / 0.5019 GB, free: 14.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0009244/0.6572, allocations: 1.375 kB / 0.5019 GB, free: 14.56 MB / 382.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.04131/0.6985, allocations: 9.038 MB / 0.5108 GB, free: 8.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.295e-05/0.6986, allocations: 11.89 kB / 0.5108 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02401/0.7227, allocations: 5.467 MB / 0.5161 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01586/0.7386, allocations: 5.077 MB / 0.5211 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006483/0.7392, allocations: 457.2 kB / 0.5215 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00417/0.7434, allocations: 0.5887 MB / 0.5221 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05469/0.7981, allocations: 20.53 MB / 0.5421 GB, free: 7.441 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005791/0.7988, allocations: 75.3 kB / 0.5422 GB, free: 7.367 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00406/0.8028, allocations: 278.8 kB / 0.5425 GB, free: 7.172 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00855/0.8114, allocations: 4.355 MB / 0.5467 GB, free: 2.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.049/0.8605, allocations: 18.24 MB / 0.5645 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4694/1.33, allocations: 75.57 MB / 0.6383 GB, free: 94.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01767/1.348, allocations: 8.172 MB / 0.6463 GB, free: 93.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009146/1.357, allocations: 5.346 MB / 0.6515 GB, free: 92.96 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005389/1.357, allocations: 68.12 kB / 0.6516 GB, free: 92.95 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.99e-05/1.358, allocations: 84.17 kB / 0.6517 GB, free: 92.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=450): time 1.267e-05/1.358, allocations: 0 / 0.6517 GB, free: 92.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=497): time 0.1523/1.51, allocations: 42.93 MB / 0.6936 GB, free: 77.75 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002018/1.51, allocations: 228.9 kB / 0.6938 GB, free: 77.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01938/1.53, allocations: 6.514 MB / 0.7002 GB, free: 75.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001774/1.531, allocations: 96.42 kB / 0.7003 GB, free: 75.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004975/1.536, allocations: 5.642 MB / 0.7058 GB, free: 70.82 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00415/1.541, allocations: 1.811 MB / 0.7076 GB, free: 69.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01118/1.552, allocations: 2.314 MB / 0.7098 GB, free: 68.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.931e-05/1.552, allocations: 301.1 kB / 0.7101 GB, free: 68.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0111/1.563, allocations: 5.194 MB / 0.7152 GB, free: 63.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01579/1.579, allocations: 11.39 MB / 0.7263 GB, free: 50.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02347/1.602, allocations: 17.95 MB / 0.7438 GB, free: 31.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002938/1.603, allocations: 60 kB / 0.7439 GB, free: 31.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=1524) (initialization): time 0.0388/1.642, allocations: 18.34 MB / 0.7618 GB, free: 12.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003149/1.642, allocations: 97 kB / 0.7619 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004637/1.642, allocations: 212 kB / 0.7621 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006173/1.649, allocations: 2.363 MB / 0.7644 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01152/1.66, allocations: 2.651 MB / 0.767 GB, free: 7.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02416/1.684, allocations: 17.44 MB / 0.784 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01181/1.696, allocations: 0.6784 MB / 0.7847 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003538/1.7, allocations: 0.6367 MB / 0.7853 GB, free: 4.363 MB / 0.4981 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.0149/1.715, allocations: 4.188 MB / 0.7894 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00288/1.718, allocations: 0.6132 MB / 0.79 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0257/1.743, allocations: 10.58 MB / 0.8003 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000158/1.744, allocations: 95.95 kB / 0.8004 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.715e-05/1.744, allocations: 12 kB / 0.8004 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001232/1.744, allocations: 19.92 kB / 0.8004 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0596/1.803, allocations: 22.68 MB / 0.8226 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-05/1.803, allocations: 8 kB / 0.8226 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005063/1.809, allocations: 0.7885 MB / 0.8234 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006317/1.815, allocations: 2.033 MB / 0.8254 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001464/1.816, allocations: 91.89 kB / 0.8254 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3126/2.129, allocations: 16.19 MB / 0.8413 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/2.129, allocations: 17.91 kB / 0.8413 GB, free: 179.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02662/2.156, allocations: 16.69 MB / 0.8576 GB, free: 173.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004994/2.161, allocations: 1.412 MB / 0.8589 GB, free: 173.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002552/2.163, allocations: 87.22 kB / 0.859 GB, free: 173.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005236/2.169, allocations: 328.2 kB / 0.8593 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/2.17, allocations: 292.6 kB / 0.8596 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003733/2.17, allocations: 136.7 kB / 0.8598 GB, free: 173.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01247/2.182, allocations: 4.057 MB / 0.8637 GB, free: 172 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.91e-07/2.183, allocations: 0 / 0.8637 GB, free: 172 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.02257/2.205, allocations: 2.107 MB / 0.8658 GB, free: 171.8 MB / 0.545 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.002162/2.207, allocations: 242.3 kB / 0.866 GB, free: 171.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.04335/2.251, allocations: 23.43 MB / 0.8889 GB, free: 167 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.369e-05/2.251, allocations: 0 / 0.8889 GB, free: 167 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01151/2.262, allocations: 5.117 MB / 0.8939 GB, free: 163.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01451/2.277, allocations: 0.7971 MB / 0.8947 GB, free: 163 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05104/2.328, allocations: 20.95 MB / 0.9151 GB, free: 144.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02208/2.35, allocations: 6.098 MB / 0.9211 GB, free: 139.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01475/2.365, allocations: 4.094 MB / 0.9251 GB, free: 136.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003571/2.369, allocations: 450.4 kB / 0.9255 GB, free: 136.4 MB / 0.545 GB Notification: Performance of SimCode: time 2.756e-06/2.369, allocations: 0 / 0.9255 GB, free: 136.4 MB / 0.545 GB Notification: Performance of Templates: time 0.135/2.504, allocations: 77.92 MB / 1.002 GB, free: 62.66 MB / 0.545 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)