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.00123/0.00123, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001148/0.001148, allocations: 192.2 kB / 16.25 MB, free: 6.637 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.755/1.755, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.3883/0.3883, allocations: 37.98 MB / 307.4 MB, free: 10.07 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.00155/0.00155, allocations: 78.39 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1411, allocations: 56.46 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.3345/0.4757, allocations: 82.25 MB / 0.5014 GB, free: 3.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04737/0.5231, allocations: 15.84 MB / 0.5169 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02487/0.548, allocations: 356.9 kB / 0.5172 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01068/0.5588, allocations: 4.62 MB / 0.5217 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0116/0.5704, allocations: 2.978 MB / 0.5246 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.5738, allocations: 0.8542 MB / 0.5255 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01618/0.59, allocations: 8.476 MB / 0.5338 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01247/0.6026, allocations: 6.856 MB / 0.5405 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008914/0.6115, allocations: 3.06 MB / 0.5434 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008598/0.6202, allocations: 4.525 MB / 0.5479 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003182/0.6234, allocations: 0.6445 MB / 0.5485 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006251/0.6296, allocations: 1.491 MB / 0.5499 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007182/0.6369, allocations: 3.834 MB / 0.5537 GB, free: 15.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01124/0.6482, allocations: 4.454 MB / 0.558 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02221/0.6704, allocations: 13.58 MB / 0.5713 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.988e-06/0.6705, allocations: 0 / 0.5713 GB, free: 13.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.6705, allocations: 0 / 0.5713 GB, free: 13.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007811/0.6713, allocations: 0 / 0.5713 GB, free: 13.66 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.02786/0.6991, allocations: 9.038 MB / 0.5801 GB, free: 4.531 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/0.6992, allocations: 15.89 kB / 0.5801 GB, free: 4.516 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02118/0.7204, allocations: 5.464 MB / 0.5855 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/0.7332, allocations: 5.086 MB / 0.5904 GB, free: 9.887 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005004/0.7337, allocations: 455.9 kB / 0.5909 GB, free: 9.441 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003563/0.7373, allocations: 0.5897 MB / 0.5915 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0458/0.7831, allocations: 20.53 MB / 0.6115 GB, free: 3.254 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003196/0.7835, allocations: 67.38 kB / 0.6116 GB, free: 3.188 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00247/0.786, allocations: 283.7 kB / 0.6118 GB, free: 2.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007487/0.7935, allocations: 4.349 MB / 0.6161 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4819/1.275, allocations: 18.24 MB / 0.6339 GB, free: 137 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1077/1.383, allocations: 75.57 MB / 0.7077 GB, free: 88.36 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01808/1.401, allocations: 8.176 MB / 0.7157 GB, free: 84.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007611/1.409, allocations: 5.353 MB / 0.7209 GB, free: 82.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004214/1.409, allocations: 65.97 kB / 0.721 GB, free: 82.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.661e-05/1.409, allocations: 77.22 kB / 0.721 GB, free: 82.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=450): time 9.087e-06/1.409, allocations: 4 kB / 0.7211 GB, free: 82.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=497): time 0.132/1.541, allocations: 42.94 MB / 0.763 GB, free: 43.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.542, allocations: 230.9 kB / 0.7632 GB, free: 43.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008983/1.551, allocations: 6.517 MB / 0.7696 GB, free: 36.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001366/1.552, allocations: 93.7 kB / 0.7697 GB, free: 36.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003167/1.555, allocations: 5.648 MB / 0.7752 GB, free: 31.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002674/1.558, allocations: 1.8 MB / 0.7769 GB, free: 29.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00322/1.561, allocations: 2.313 MB / 0.7792 GB, free: 26.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.55e-05/1.561, allocations: 301.1 kB / 0.7795 GB, free: 26.61 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006432/1.568, allocations: 5.199 MB / 0.7846 GB, free: 21.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0106/1.578, allocations: 11.39 MB / 0.7957 GB, free: 7.035 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02455/1.603, allocations: 17.94 MB / 0.8132 GB, free: 2.078 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002609/1.603, allocations: 63.94 kB / 0.8133 GB, free: 2.016 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1524) (initialization): time 0.3279/1.931, allocations: 18.35 MB / 0.8312 GB, free: 152 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/1.931, allocations: 101.5 kB / 0.8313 GB, free: 152 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003146/1.932, allocations: 215.9 kB / 0.8315 GB, free: 152 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00578/1.937, allocations: 2.355 MB / 0.8338 GB, free: 152 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008694/1.946, allocations: 2.645 MB / 0.8364 GB, free: 152 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01874/1.965, allocations: 17.44 MB / 0.8534 GB, free: 143.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01082/1.976, allocations: 0.6781 MB / 0.8541 GB, free: 143.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002867/1.979, allocations: 0.6405 MB / 0.8547 GB, free: 143.5 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.00972/1.988, allocations: 4.192 MB / 0.8588 GB, free: 142 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/1.99, allocations: 0.6045 MB / 0.8594 GB, free: 142 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/2.006, allocations: 10.59 MB / 0.8697 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001516/2.007, allocations: 90.75 kB / 0.8698 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-05/2.007, allocations: 11.84 kB / 0.8698 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.429e-05/2.007, allocations: 21.17 kB / 0.8698 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04413/2.051, allocations: 22.66 MB / 0.8919 GB, free: 130.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-05/2.051, allocations: 7.719 kB / 0.892 GB, free: 130.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00386/2.055, allocations: 0.7897 MB / 0.8927 GB, free: 130.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00508/2.06, allocations: 2.038 MB / 0.8947 GB, free: 129.8 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007906/2.061, allocations: 90.47 kB / 0.8948 GB, free: 129.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01519/2.076, allocations: 16.19 MB / 0.9106 GB, free: 119.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.856e-06/2.076, allocations: 19.12 kB / 0.9106 GB, free: 119.7 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02319/2.099, allocations: 16.69 MB / 0.9269 GB, free: 103.4 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004225/2.103, allocations: 1.415 MB / 0.9283 GB, free: 102.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00253/2.106, allocations: 94.22 kB / 0.9284 GB, free: 102 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004899/2.111, allocations: 319.5 kB / 0.9287 GB, free: 101.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001516/2.113, allocations: 300.9 kB / 0.929 GB, free: 101.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005075/2.113, allocations: 128 kB / 0.9291 GB, free: 101.2 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00717/2.12, allocations: 4.056 MB / 0.9331 GB, free: 97.2 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.61e-07/2.12, allocations: 2.906 kB / 0.9331 GB, free: 97.2 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01154/2.132, allocations: 2.105 MB / 0.9351 GB, free: 95.11 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.001306/2.133, allocations: 251.1 kB / 0.9354 GB, free: 94.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0344/2.168, allocations: 23.43 MB / 0.9583 GB, free: 71.76 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/2.168, allocations: 8 kB / 0.9583 GB, free: 71.75 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007371/2.175, allocations: 5.119 MB / 0.9633 GB, free: 66.59 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007116/2.182, allocations: 0.8049 MB / 0.9641 GB, free: 65.82 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03778/2.22, allocations: 25.13 MB / 0.9886 GB, free: 40.52 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/2.231, allocations: 6.098 MB / 0.9945 GB, free: 34.38 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01003/2.241, allocations: 4.094 MB / 0.9985 GB, free: 30.28 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/2.243, allocations: 453.3 kB / 0.999 GB, free: 29.84 MB / 0.5138 GB Notification: Performance of SimCode: time 7.91e-07/2.243, allocations: 0 / 0.999 GB, free: 29.84 MB / 0.5138 GB Notification: Performance of Templates: time 0.3906/2.634, allocations: 77.85 MB / 1.075 GB, free: 128 MB / 0.5138 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)