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.001538/0.001538, allocations: 108 kB / 15.6 MB, free: 132 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.001882/0.001882, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.806/1.806, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.3745/0.3745, allocations: 38 MB / 307.8 MB, free: 10 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.00222/0.00222, allocations: 75.89 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1684, allocations: 56.46 MB / 431.7 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.0218/0.1902, allocations: 19.39 MB / 451.1 MB, free: 3.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3124/0.5027, allocations: 5.419 MB / 456.5 MB, free: 35.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004481/0.5073, allocations: 124.5 kB / 456.6 MB, free: 35.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009157/0.5165, allocations: 4.806 MB / 461.4 MB, free: 35.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.528, allocations: 3.188 MB / 464.6 MB, free: 34.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.5312, allocations: 0.906 MB / 465.5 MB, free: 34.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01511/0.5464, allocations: 8.216 MB / 473.7 MB, free: 32.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.5575, allocations: 6.516 MB / 480.3 MB, free: 29.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007438/0.5649, allocations: 3.016 MB / 483.3 MB, free: 28.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008897/0.5739, allocations: 4.091 MB / 487.4 MB, free: 27.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005317/0.5792, allocations: 0.6495 MB / 488 MB, free: 27.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/0.5905, allocations: 1.468 MB / 489.5 MB, free: 27.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01052/0.6011, allocations: 3.782 MB / 493.3 MB, free: 25.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0166/0.6177, allocations: 4.409 MB / 497.7 MB, free: 22.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02906/0.6468, allocations: 13.51 MB / 0.4992 GB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.6469, allocations: 1.156 kB / 0.4992 GB, free: 15.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.6469, allocations: 0 / 0.4992 GB, free: 15.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008512/0.6478, allocations: 0 / 0.4992 GB, free: 15.79 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.03751/0.6853, allocations: 9.041 MB / 0.508 GB, free: 9.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.6854, allocations: 13.14 kB / 0.508 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02347/0.7088, allocations: 5.466 MB / 0.5134 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01462/0.7235, allocations: 5.084 MB / 0.5183 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004767/0.724, allocations: 453 kB / 0.5188 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004177/0.7282, allocations: 0.5941 MB / 0.5194 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05481/0.783, allocations: 20.52 MB / 0.5394 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004845/0.7836, allocations: 75.3 kB / 0.5395 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003818/0.7874, allocations: 285.6 kB / 0.5397 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008418/0.7958, allocations: 4.346 MB / 0.544 GB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05044/0.8463, allocations: 18.24 MB / 0.5618 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4669/1.313, allocations: 75.57 MB / 0.6356 GB, free: 97.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01577/1.329, allocations: 8.173 MB / 0.6436 GB, free: 96.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006885/1.336, allocations: 5.351 MB / 0.6488 GB, free: 96.03 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/1.336, allocations: 70.2 kB / 0.6489 GB, free: 96.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.604e-05/1.336, allocations: 80.88 kB / 0.649 GB, free: 95.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=450): time 7.844e-06/1.336, allocations: 0 / 0.649 GB, free: 95.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=497): time 0.1207/1.457, allocations: 42.94 MB / 0.6909 GB, free: 80.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/1.457, allocations: 230.3 kB / 0.6911 GB, free: 80.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01355/1.471, allocations: 6.511 MB / 0.6975 GB, free: 78.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002189/1.473, allocations: 90.77 kB / 0.6976 GB, free: 78.26 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007583/1.481, allocations: 5.644 MB / 0.7031 GB, free: 73.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.005522/1.486, allocations: 1.811 MB / 0.7048 GB, free: 72.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01237/1.499, allocations: 2.309 MB / 0.7071 GB, free: 71.47 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.603e-05/1.499, allocations: 305.1 kB / 0.7074 GB, free: 71.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0146/1.513, allocations: 5.206 MB / 0.7125 GB, free: 66.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02144/1.535, allocations: 11.38 MB / 0.7236 GB, free: 53.51 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0371/1.572, allocations: 17.93 MB / 0.7411 GB, free: 34.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003886/1.573, allocations: 60 kB / 0.7412 GB, free: 34.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=1524) (initialization): time 0.05813/1.631, allocations: 18.35 MB / 0.7591 GB, free: 15.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/1.631, allocations: 103.6 kB / 0.7592 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002478/1.631, allocations: 212 kB / 0.7594 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006062/1.637, allocations: 2.357 MB / 0.7617 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01039/1.648, allocations: 2.647 MB / 0.7643 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02168/1.669, allocations: 17.44 MB / 0.7813 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.012/1.681, allocations: 0.6778 MB / 0.782 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003755/1.685, allocations: 0.6336 MB / 0.7826 GB, free: 7.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.01556/1.701, allocations: 4.196 MB / 0.7867 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003643/1.705, allocations: 0.6054 MB / 0.7873 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02934/1.734, allocations: 10.6 MB / 0.7976 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001956/1.734, allocations: 91.97 kB / 0.7977 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.37e-05/1.734, allocations: 12 kB / 0.7977 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001531/1.734, allocations: 19.92 kB / 0.7977 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06958/1.804, allocations: 22.67 MB / 0.8199 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001224/1.804, allocations: 16.03 kB / 0.8199 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005146/1.809, allocations: 0.7761 MB / 0.8206 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007176/1.817, allocations: 2.045 MB / 0.8226 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001608/1.818, allocations: 87.98 kB / 0.8227 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2875/2.106, allocations: 16.2 MB / 0.8385 GB, free: 181.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.591e-05/2.106, allocations: 15.91 kB / 0.8386 GB, free: 181.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02297/2.129, allocations: 16.68 MB / 0.8548 GB, free: 177 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004673/2.134, allocations: 1.417 MB / 0.8562 GB, free: 176.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001867/2.135, allocations: 90.44 kB / 0.8563 GB, free: 176.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00351/2.139, allocations: 322.4 kB / 0.8566 GB, free: 176.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008674/2.14, allocations: 300.3 kB / 0.8569 GB, free: 176.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003244/2.14, allocations: 129.2 kB / 0.857 GB, free: 176.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007136/2.147, allocations: 4.057 MB / 0.861 GB, free: 175.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/2.147, allocations: 1.438 kB / 0.861 GB, free: 175.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01307/2.16, allocations: 2.106 MB / 0.8631 GB, free: 174.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.00126/2.162, allocations: 245.7 kB / 0.8633 GB, free: 174.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.04005/2.202, allocations: 23.43 MB / 0.8862 GB, free: 170 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.141e-05/2.202, allocations: 3.906 kB / 0.8862 GB, free: 170 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007985/2.21, allocations: 5.115 MB / 0.8912 GB, free: 167.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008491/2.218, allocations: 0.7956 MB / 0.8919 GB, free: 167.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04463/2.263, allocations: 20.96 MB / 0.9124 GB, free: 148.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01064/2.274, allocations: 6.091 MB / 0.9184 GB, free: 143.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01142/2.285, allocations: 4.088 MB / 0.9224 GB, free: 141.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003668/2.289, allocations: 446.4 kB / 0.9228 GB, free: 140.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.813e-06/2.289, allocations: 0 / 0.9228 GB, free: 140.7 MB / 0.545 GB Notification: Performance of Templates: time 0.1355/2.424, allocations: 77.91 MB / 0.9989 GB, free: 67.37 MB / 0.545 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)