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.0008927/0.0008928, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001081/0.001081, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.4229/0.4229, allocations: 39.99 MB / 310.4 MB, free: 9.934 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.0005664/0.0005664, allocations: 12 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1505, allocations: 57.96 MB / 436.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.GearConstraint): time 0.402/0.5525, allocations: 74.62 MB / 0.4994 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.06196/0.6145, allocations: 15.23 MB / 0.5143 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0285/0.6431, allocations: 354.8 kB / 0.5146 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02013/0.6633, allocations: 3.953 MB / 0.5185 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05086/0.7142, allocations: 11.54 MB / 0.5298 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006679/0.7209, allocations: 0.8047 MB / 0.5306 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05307/0.774, allocations: 37.49 MB / 0.5672 GB, free: 2.473 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01701/0.7911, allocations: 7.869 MB / 0.5749 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008497/0.7997, allocations: 2.421 MB / 0.5772 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008704/0.8084, allocations: 3.793 MB / 0.5809 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003751/0.8122, allocations: 292 kB / 0.5812 GB, free: 4.055 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007982/0.8203, allocations: 1.022 MB / 0.5822 GB, free: 3.031 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008006/0.8284, allocations: 3.323 MB / 0.5855 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004554/0.833, allocations: 1.629 MB / 0.587 GB, free: 14.06 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01587/0.8489, allocations: 10.84 MB / 0.5976 GB, free: 3.195 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.849, allocations: 0 / 0.5976 GB, free: 3.195 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.849, allocations: 0 / 0.5976 GB, free: 3.195 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0007566/0.8497, allocations: 0 / 0.5976 GB, free: 3.195 MB / 462.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.02372/0.8735, allocations: 7.455 MB / 0.6049 GB, free: 11.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.8736, allocations: 8.031 kB / 0.6049 GB, free: 11.65 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02313/0.8967, allocations: 5.608 MB / 0.6104 GB, free: 6.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/0.9111, allocations: 5.01 MB / 0.6153 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005869/0.9117, allocations: 455.5 kB / 0.6157 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003677/0.9154, allocations: 0.5894 MB / 0.6163 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5764/1.492, allocations: 20.51 MB / 0.6363 GB, free: 135.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002384/1.492, allocations: 70.92 kB / 0.6364 GB, free: 135.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008311/1.493, allocations: 283.7 kB / 0.6367 GB, free: 135.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006142/1.499, allocations: 4.345 MB / 0.6409 GB, free: 135.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04028/1.539, allocations: 18.19 MB / 0.6587 GB, free: 130.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1179/1.657, allocations: 75.6 MB / 0.7325 GB, free: 75.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01545/1.673, allocations: 8.171 MB / 0.7405 GB, free: 67.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006581/1.68, allocations: 5.349 MB / 0.7457 GB, free: 62.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003057/1.68, allocations: 66.45 kB / 0.7458 GB, free: 62.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/1.68, allocations: 81.19 kB / 0.7458 GB, free: 62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=450): time 6.903e-06/1.68, allocations: 0 / 0.7458 GB, free: 62 MB / 494.1 MB Notification: Performance of matching and sorting (n=497): time 0.09516/1.775, allocations: 42.92 MB / 0.7878 GB, free: 19.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.98e-05/1.775, allocations: 223 kB / 0.788 GB, free: 18.75 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009166/1.784, allocations: 6.485 MB / 0.7943 GB, free: 12.26 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001342/1.786, allocations: 93.7 kB / 0.7944 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003206/1.789, allocations: 5.641 MB / 0.7999 GB, free: 6.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002693/1.792, allocations: 1.808 MB / 0.8017 GB, free: 4.727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007944/1.793, allocations: 229.9 kB / 0.8019 GB, free: 4.504 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0005447/1.793, allocations: 0.8019 MB / 0.8027 GB, free: 3.695 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007709/1.801, allocations: 5.164 MB / 0.8077 GB, free: 14.53 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01684/1.818, allocations: 11.35 MB / 0.8188 GB, free: 200 kB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2888/2.107, allocations: 7.597 MB / 0.8262 GB, free: 136 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002399/2.107, allocations: 62.41 kB / 0.8263 GB, free: 136 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1524) (initialization): time 0.03673/2.144, allocations: 18.27 MB / 0.8441 GB, free: 130.1 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001881/2.144, allocations: 96.25 kB / 0.8442 GB, free: 130.1 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004629/2.144, allocations: 213.1 kB / 0.8444 GB, free: 130.1 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006683/2.151, allocations: 2.376 MB / 0.8467 GB, free: 129.6 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009902/2.161, allocations: 2.65 MB / 0.8493 GB, free: 129.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02155/2.183, allocations: 16.12 MB / 0.8651 GB, free: 119.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01136/2.194, allocations: 0.6894 MB / 0.8657 GB, free: 119.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003002/2.197, allocations: 0.6326 MB / 0.8663 GB, free: 119.6 MB / 0.4982 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(3,77.8%) 40,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01238/2.209, allocations: 4.194 MB / 0.8704 GB, free: 117.8 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001733/2.211, allocations: 0.6043 MB / 0.871 GB, free: 117.8 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01941/2.231, allocations: 10.58 MB / 0.8814 GB, free: 114 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001491/2.231, allocations: 89.17 kB / 0.8814 GB, free: 113.9 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.056e-05/2.231, allocations: 10.75 kB / 0.8815 GB, free: 113.9 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001118/2.231, allocations: 20.34 kB / 0.8815 GB, free: 113.9 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05365/2.285, allocations: 22.63 MB / 0.9036 GB, free: 97.38 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.819e-05/2.285, allocations: 9.594 kB / 0.9036 GB, free: 97.38 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004395/2.289, allocations: 0.7878 MB / 0.9044 GB, free: 96.75 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005338/2.295, allocations: 2.035 MB / 0.9063 GB, free: 95.01 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001471/2.296, allocations: 91.98 kB / 0.9064 GB, free: 94.92 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01567/2.312, allocations: 15.01 MB / 0.9211 GB, free: 79.48 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/2.312, allocations: 16.56 kB / 0.9211 GB, free: 79.46 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02595/2.338, allocations: 16.65 MB / 0.9374 GB, free: 62.64 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005169/2.343, allocations: 1.422 MB / 0.9388 GB, free: 61.19 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003057/2.346, allocations: 89.72 kB / 0.9388 GB, free: 61.11 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005488/2.352, allocations: 335.5 kB / 0.9392 GB, free: 60.78 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002133/2.354, allocations: 297.9 kB / 0.9394 GB, free: 60.49 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009914/2.355, allocations: 124 kB / 0.9396 GB, free: 60.37 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.008399/2.363, allocations: 4.012 MB / 0.9435 GB, free: 56.36 MB / 0.4982 GB Notification: Performance of sort global known variables: time 4.41e-07/2.363, allocations: 0 / 0.9435 GB, free: 56.36 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01266/2.376, allocations: 2.1 MB / 0.9455 GB, free: 54.27 MB / 0.4982 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,77.8%) 37,(1,100.0%) 2,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00151/2.377, allocations: 252.7 kB / 0.9458 GB, free: 54.02 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.02032/2.398, allocations: 12.65 MB / 0.9581 GB, free: 41.37 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/2.398, allocations: 0 / 0.9581 GB, free: 41.37 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.007999/2.406, allocations: 5.103 MB / 0.9631 GB, free: 36.21 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009619/2.416, allocations: 0.7735 MB / 0.9639 GB, free: 35.46 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04724/2.463, allocations: 24.34 MB / 0.9876 GB, free: 10.95 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009309/2.472, allocations: 6.101 MB / 0.9936 GB, free: 4.809 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009829/2.482, allocations: 4.094 MB / 0.9976 GB, free: 0.707 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/2.484, allocations: 451.4 kB / 0.998 GB, free: 272 kB / 0.4982 GB Notification: Performance of SimCode: time 1.443e-06/2.484, allocations: 0 / 0.998 GB, free: 272 kB / 0.4982 GB Notification: Performance of Templates: time 0.3973/2.881, allocations: 72.05 MB / 1.068 GB, free: 123.8 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: