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.001296/0.001297, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.008677/0.008677, allocations: 172.2 kB / 16.27 MB, free: 6.652 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.89/1.89, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.4105/0.4105, allocations: 40 MB / 310.7 MB, free: 9.562 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.0005661/0.0005663, allocations: 12 kB / 379.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1509, allocations: 57.96 MB / 437.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.4092/0.5601, allocations: 80.26 MB / 0.5055 GB, free: 480 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05183/0.612, allocations: 15.88 MB / 0.521 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02544/0.6375, allocations: 355 kB / 0.5214 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004195/0.6417, allocations: 0.8211 MB / 0.5222 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01349/0.6553, allocations: 3.021 MB / 0.5251 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003904/0.6592, allocations: 0.8335 MB / 0.526 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02268/0.6819, allocations: 11.91 MB / 0.5376 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01786/0.6998, allocations: 8.704 MB / 0.5461 GB, free: 8.125 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007908/0.7078, allocations: 2.241 MB / 0.5483 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01127/0.7191, allocations: 3.846 MB / 0.552 GB, free: 2.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00323/0.7224, allocations: 292 kB / 0.5523 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00634/0.7288, allocations: 1.17 MB / 0.5534 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007294/0.7361, allocations: 3.408 MB / 0.5568 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009879/0.746, allocations: 3.952 MB / 0.5606 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01898/0.765, allocations: 12.97 MB / 0.5733 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.7651, allocations: 0 / 0.5733 GB, free: 12.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.7651, allocations: 0 / 0.5733 GB, free: 12.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006166/0.7657, allocations: 0 / 0.5733 GB, free: 12.14 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.02254/0.7883, allocations: 7.345 MB / 0.5805 GB, free: 4.715 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.7883, allocations: 8.031 kB / 0.5805 GB, free: 4.707 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02403/0.8124, allocations: 5.613 MB / 0.586 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/0.825, allocations: 5.082 MB / 0.5909 GB, free: 9.934 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005409/0.8256, allocations: 451.9 kB / 0.5914 GB, free: 9.492 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003215/0.8288, allocations: 0.5975 MB / 0.5919 GB, free: 8.895 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0484/0.8772, allocations: 20.55 MB / 0.612 GB, free: 3.277 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005635/0.8779, allocations: 71.31 kB / 0.6121 GB, free: 3.207 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003797/0.8817, allocations: 283.6 kB / 0.6123 GB, free: 2.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00808/0.8898, allocations: 4.36 MB / 0.6166 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.607/1.497, allocations: 18.27 MB / 0.6344 GB, free: 130.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1283/1.625, allocations: 75.64 MB / 0.7083 GB, free: 83.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01885/1.644, allocations: 8.187 MB / 0.7163 GB, free: 79.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007789/1.652, allocations: 5.365 MB / 0.7215 GB, free: 77.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004591/1.652, allocations: 66.77 kB / 0.7216 GB, free: 77.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.438e-05/1.653, allocations: 76.88 kB / 0.7217 GB, free: 77.03 MB / 494.1 MB Notification: Performance of pre-optimization done (n=450): time 8.266e-06/1.653, allocations: 0 / 0.7217 GB, free: 77.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=497): time 0.1134/1.766, allocations: 42.99 MB / 0.7637 GB, free: 39.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/1.766, allocations: 223 kB / 0.7639 GB, free: 39.04 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01204/1.778, allocations: 6.522 MB / 0.7702 GB, free: 32.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001816/1.78, allocations: 92.52 kB / 0.7703 GB, free: 32.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004077/1.784, allocations: 5.646 MB / 0.7758 GB, free: 26.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003532/1.788, allocations: 1.805 MB / 0.7776 GB, free: 24.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004287/1.792, allocations: 0.9813 MB / 0.7786 GB, free: 24 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.249e-05/1.792, allocations: 305.1 kB / 0.7789 GB, free: 23.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009687/1.802, allocations: 5.203 MB / 0.7839 GB, free: 18.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01521/1.817, allocations: 11.4 MB / 0.7951 GB, free: 4.109 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02723/1.844, allocations: 17.95 MB / 0.8126 GB, free: 15.14 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002926/1.845, allocations: 60 kB / 0.8127 GB, free: 15.08 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1524) (initialization): time 0.368/2.213, allocations: 18.36 MB / 0.8306 GB, free: 147.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004014/2.213, allocations: 99.62 kB / 0.8307 GB, free: 147.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005471/2.214, allocations: 217.1 kB / 0.8309 GB, free: 147.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006623/2.22, allocations: 2.35 MB / 0.8332 GB, free: 147.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009463/2.23, allocations: 2.645 MB / 0.8358 GB, free: 147.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01862/2.249, allocations: 16.16 MB / 0.8515 GB, free: 140.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008966/2.258, allocations: 0.6861 MB / 0.8522 GB, free: 140.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002234/2.26, allocations: 0.638 MB / 0.8528 GB, free: 140.6 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.01021/2.27, allocations: 4.197 MB / 0.8569 GB, free: 139.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002365/2.272, allocations: 0.6113 MB / 0.8575 GB, free: 139.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01973/2.292, allocations: 10.6 MB / 0.8679 GB, free: 135.3 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001283/2.292, allocations: 87.19 kB / 0.868 GB, free: 135.3 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.35e-05/2.292, allocations: 10.22 kB / 0.868 GB, free: 135.3 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.388e-05/2.292, allocations: 21.39 kB / 0.868 GB, free: 135.3 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04527/2.338, allocations: 22.68 MB / 0.8901 GB, free: 127.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.789e-05/2.338, allocations: 7.75 kB / 0.8902 GB, free: 127.2 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00388/2.342, allocations: 0.7899 MB / 0.8909 GB, free: 127.1 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005578/2.347, allocations: 2.031 MB / 0.8929 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008695/2.348, allocations: 89.55 kB / 0.893 GB, free: 126.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/2.364, allocations: 15.03 MB / 0.9077 GB, free: 116.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/2.364, allocations: 17.11 kB / 0.9077 GB, free: 116.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02287/2.387, allocations: 16.71 MB / 0.924 GB, free: 99.53 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004053/2.391, allocations: 1.429 MB / 0.9254 GB, free: 98.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002571/2.393, allocations: 91.66 kB / 0.9255 GB, free: 98.11 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004336/2.398, allocations: 330.1 kB / 0.9258 GB, free: 97.79 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009945/2.399, allocations: 298 kB / 0.9261 GB, free: 97.5 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004267/2.399, allocations: 136 kB / 0.9262 GB, free: 97.38 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006414/2.405, allocations: 4.06 MB / 0.9302 GB, free: 93.32 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.31e-07/2.405, allocations: 2.953 kB / 0.9302 GB, free: 93.32 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01285/2.418, allocations: 2.099 MB / 0.9322 GB, free: 91.23 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.00162/2.42, allocations: 245.1 kB / 0.9325 GB, free: 90.98 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02027/2.44, allocations: 12.71 MB / 0.9449 GB, free: 78.27 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/2.44, allocations: 0 / 0.9449 GB, free: 78.27 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007514/2.448, allocations: 5.119 MB / 0.9499 GB, free: 73.11 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01491/2.463, allocations: 0.7689 MB / 0.9506 GB, free: 72.36 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03473/2.498, allocations: 25.24 MB / 0.9753 GB, free: 46.95 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007442/2.505, allocations: 6.096 MB / 0.9812 GB, free: 40.82 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01126/2.516, allocations: 4.102 MB / 0.9852 GB, free: 36.71 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002699/2.519, allocations: 451.4 kB / 0.9857 GB, free: 36.27 MB / 0.5138 GB Notification: Performance of SimCode: time 1.192e-06/2.519, allocations: 0 / 0.9857 GB, free: 36.27 MB / 0.5138 GB Notification: Performance of Templates: time 0.3859/2.905, allocations: 73.59 MB / 1.058 GB, free: 133.3 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.GearConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: