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.001424/0.001423, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001484/0.001484, allocations: 195.1 kB / 16.14 MB, free: 6.703 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.801/1.801, allocations: 205.1 MB / 222 MB, free: 4.758 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.4489/0.4489, allocations: 39.93 MB / 309.3 MB, free: 9.637 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.002117/0.002117, allocations: 67.91 kB / 376.9 MB, free: 13.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1679, allocations: 56.87 MB / 433.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.4242/0.5921, allocations: 82.26 MB / 0.504 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0568/0.649, allocations: 15.94 MB / 0.5195 GB, free: 6.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02919/0.6782, allocations: 357.8 kB / 0.5199 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01385/0.6922, allocations: 4.773 MB / 0.5245 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01401/0.7063, allocations: 3.014 MB / 0.5275 GB, free: 2.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004048/0.7104, allocations: 0.8413 MB / 0.5283 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02203/0.7324, allocations: 11.9 MB / 0.5399 GB, free: 12.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01163/0.7441, allocations: 6.375 MB / 0.5461 GB, free: 6.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007496/0.7516, allocations: 2.635 MB / 0.5487 GB, free: 3.387 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008907/0.7606, allocations: 4.342 MB / 0.553 GB, free: 15.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003091/0.7637, allocations: 456 kB / 0.5534 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005322/0.7691, allocations: 1.334 MB / 0.5547 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005729/0.7748, allocations: 3.631 MB / 0.5582 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007815/0.7827, allocations: 4.232 MB / 0.5624 GB, free: 5.352 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01819/0.8009, allocations: 13.34 MB / 0.5754 GB, free: 7.973 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.8009, allocations: 0 / 0.5754 GB, free: 7.973 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.8009, allocations: 4 kB / 0.5754 GB, free: 7.969 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006518/0.8016, allocations: 0 / 0.5754 GB, free: 7.969 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.02756/0.8292, allocations: 9.034 MB / 0.5842 GB, free: 14.85 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/0.8293, allocations: 8.031 kB / 0.5842 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02127/0.8505, allocations: 5.472 MB / 0.5896 GB, free: 9.348 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01473/0.8653, allocations: 5.078 MB / 0.5945 GB, free: 4.211 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005334/0.8659, allocations: 455.9 kB / 0.595 GB, free: 3.766 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003641/0.8695, allocations: 0.5859 MB / 0.5955 GB, free: 3.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04875/0.9183, allocations: 20.54 MB / 0.6156 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003276/0.9187, allocations: 67.45 kB / 0.6157 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002007/0.9207, allocations: 279.7 kB / 0.6159 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00755/0.9282, allocations: 4.353 MB / 0.6202 GB, free: 8.879 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6526/1.581, allocations: 18.24 MB / 0.638 GB, free: 133.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1236/1.705, allocations: 75.57 MB / 0.7118 GB, free: 85.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01844/1.723, allocations: 8.184 MB / 0.7198 GB, free: 80.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008547/1.732, allocations: 5.349 MB / 0.725 GB, free: 78.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000604/1.732, allocations: 73.06 kB / 0.7251 GB, free: 78.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.848e-05/1.732, allocations: 74.62 kB / 0.7252 GB, free: 78.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=450): time 1.032e-05/1.732, allocations: 0 / 0.7252 GB, free: 78.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=497): time 0.105/1.837, allocations: 42.94 MB / 0.7671 GB, free: 35.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/1.838, allocations: 230.9 kB / 0.7673 GB, free: 35.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008472/1.846, allocations: 6.513 MB / 0.7737 GB, free: 28.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001349/1.847, allocations: 92.2 kB / 0.7738 GB, free: 28.53 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00304/1.85, allocations: 5.645 MB / 0.7793 GB, free: 22.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002684/1.853, allocations: 1.819 MB / 0.781 GB, free: 21.05 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003381/1.857, allocations: 2.302 MB / 0.7833 GB, free: 18.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.951e-05/1.857, allocations: 305.1 kB / 0.7836 GB, free: 18.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00797/1.865, allocations: 5.196 MB / 0.7887 GB, free: 13.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01497/1.88, allocations: 11.39 MB / 0.7998 GB, free: 14.86 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02781/1.908, allocations: 17.94 MB / 0.8173 GB, free: 9.906 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003051/1.908, allocations: 64 kB / 0.8174 GB, free: 9.844 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1524) (initialization): time 0.3491/2.257, allocations: 18.34 MB / 0.8353 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/2.257, allocations: 99.22 kB / 0.8354 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003085/2.258, allocations: 213.1 kB / 0.8356 GB, free: 151.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00574/2.263, allocations: 2.355 MB / 0.8379 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009587/2.273, allocations: 2.643 MB / 0.8404 GB, free: 151.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/2.291, allocations: 16.14 MB / 0.8562 GB, free: 142.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0115/2.302, allocations: 0.6872 MB / 0.8569 GB, free: 142.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00295/2.305, allocations: 0.6336 MB / 0.8575 GB, free: 142.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.009844/2.315, allocations: 4.194 MB / 0.8616 GB, free: 140.9 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001734/2.317, allocations: 0.6107 MB / 0.8622 GB, free: 140.9 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02097/2.338, allocations: 10.59 MB / 0.8725 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001805/2.338, allocations: 90.97 kB / 0.8726 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.664e-05/2.338, allocations: 9.812 kB / 0.8726 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000123/2.338, allocations: 23.98 kB / 0.8726 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04901/2.387, allocations: 22.67 MB / 0.8948 GB, free: 129 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-05/2.387, allocations: 11.09 kB / 0.8948 GB, free: 129 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003913/2.391, allocations: 0.7826 MB / 0.8956 GB, free: 128.8 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005328/2.397, allocations: 2.028 MB / 0.8975 GB, free: 127.4 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00124/2.398, allocations: 91.58 kB / 0.8976 GB, free: 127.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/2.413, allocations: 15.02 MB / 0.9123 GB, free: 112.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/2.413, allocations: 15.94 kB / 0.9123 GB, free: 112.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02375/2.437, allocations: 16.69 MB / 0.9286 GB, free: 95.75 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004463/2.441, allocations: 1.421 MB / 0.93 GB, free: 94.42 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001822/2.443, allocations: 87.83 kB / 0.9301 GB, free: 94.34 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004199/2.447, allocations: 327.5 kB / 0.9304 GB, free: 94.02 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00116/2.448, allocations: 294.1 kB / 0.9307 GB, free: 93.73 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003495/2.449, allocations: 124 kB / 0.9308 GB, free: 93.61 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006288/2.455, allocations: 4.06 MB / 0.9348 GB, free: 89.55 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.8e-07/2.455, allocations: 0 / 0.9348 GB, free: 89.55 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01242/2.468, allocations: 2.112 MB / 0.9368 GB, free: 87.45 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.001322/2.469, allocations: 253.4 kB / 0.9371 GB, free: 87.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01925/2.488, allocations: 12.69 MB / 0.9494 GB, free: 74.51 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.888e-05/2.488, allocations: 0 / 0.9494 GB, free: 74.51 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007807/2.496, allocations: 5.108 MB / 0.9544 GB, free: 69.35 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006276/2.502, allocations: 0.7549 MB / 0.9552 GB, free: 68.61 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03972/2.542, allocations: 25.14 MB / 0.9797 GB, free: 43.32 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00932/2.552, allocations: 6.102 MB / 0.9857 GB, free: 37.18 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01071/2.562, allocations: 4.108 MB / 0.9897 GB, free: 33.06 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002379/2.565, allocations: 447.4 kB / 0.9901 GB, free: 32.62 MB / 0.5138 GB Notification: Performance of SimCode: time 1.272e-06/2.565, allocations: 0 / 0.9901 GB, free: 32.62 MB / 0.5138 GB Notification: Performance of Templates: time 0.4203/2.985, allocations: 75.09 MB / 1.063 GB, free: 133.9 MB / 0.5138 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)