Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008955/0.008955, allocations: 176 kB / 15.12 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.704/1.704, allocations: 194.5 MB / 210.3 MB, free: 7.539 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001696/0.001696, allocations: 116.5 kB / 255.6 MB, free: 10.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1779/0.1779, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004029, allocations: 10.34 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09997/0.1004, allocations: 54.87 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3743/0.4747, allocations: 102.5 MB / 0.5503 GB, free: 21.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.475, allocations: 89.59 kB / 0.5504 GB, free: 21.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2474/0.7224, allocations: 106.5 MB / 0.6544 GB, free: 4.789 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.046e-06/0.7225, allocations: 0 / 0.6544 GB, free: 4.789 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003202/0.7228, allocations: 108 kB / 0.6545 GB, free: 4.684 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1843 * Number of variables: 1843 Notification: Performance of Generate backend data structure: time 0.01819/0.741, allocations: 5.727 MB / 0.6601 GB, free: 14.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.7411, allocations: 8.031 kB / 0.6601 GB, free: 14.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02732/0.7684, allocations: 6.923 MB / 0.6669 GB, free: 7.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02024/0.7887, allocations: 6.914 MB / 0.6736 GB, free: 0.957 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004816/0.7892, allocations: 414.7 kB / 0.674 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002988/0.7922, allocations: 0.5271 MB / 0.6746 GB, free: 24 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03078/0.823, allocations: 12.78 MB / 0.687 GB, free: 2.094 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002808/0.8233, allocations: 75.31 kB / 0.6871 GB, free: 2.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001202/0.8246, allocations: 255.9 kB / 0.6873 GB, free: 1.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001547/0.8261, allocations: 1.133 MB / 0.6885 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02308/0.8492, allocations: 10.48 MB / 0.6987 GB, free: 6.133 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3321/1.181, allocations: 57.08 MB / 0.7544 GB, free: 62.72 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/1.193, allocations: 4.41 MB / 0.7587 GB, free: 62.05 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01444/1.207, allocations: 9.987 MB / 0.7685 GB, free: 60.37 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/1.207, allocations: 54.03 kB / 0.7685 GB, free: 60.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=192): time 4.558e-06/1.207, allocations: 0 / 0.7685 GB, free: 60.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=218): time 0.04854/1.256, allocations: 18.96 MB / 0.7871 GB, free: 56.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/1.256, allocations: 207.7 kB / 0.7873 GB, free: 56.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00732/1.263, allocations: 4.23 MB / 0.7914 GB, free: 55.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003235/1.263, allocations: 57.27 kB / 0.7914 GB, free: 55.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002316/1.266, allocations: 3.765 MB / 0.7951 GB, free: 53.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000794/1.267, allocations: 0.8278 MB / 0.7959 GB, free: 53.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/1.267, allocations: 127.9 kB / 0.7961 GB, free: 53.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002983/1.267, allocations: 0.586 MB / 0.7966 GB, free: 53.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002873/1.27, allocations: 2.25 MB / 0.7988 GB, free: 53.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004302/1.274, allocations: 6.195 MB / 0.8049 GB, free: 48.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00459/1.279, allocations: 3.669 MB / 0.8085 GB, free: 47.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.217e-05/1.279, allocations: 39.81 kB / 0.8085 GB, free: 47.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.01634/1.295, allocations: 8.95 MB / 0.8172 GB, free: 44.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000115/1.296, allocations: 64.34 kB / 0.8173 GB, free: 44.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002149/1.296, allocations: 143.9 kB / 0.8174 GB, free: 44.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002771/1.299, allocations: 0.9395 MB / 0.8183 GB, free: 44.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005376/1.304, allocations: 1.509 MB / 0.8198 GB, free: 44.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007967/1.312, allocations: 7.606 MB / 0.8273 GB, free: 39.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005941/1.318, allocations: 356.9 kB / 0.8276 GB, free: 39.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001216/1.319, allocations: 399.4 kB / 0.828 GB, free: 39.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 635 * Number of states: 0 () * Number of discrete variables: 42 (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.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 (795): * Single equations (assignments): 790 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005192/1.324, allocations: 2.56 MB / 0.8305 GB, free: 37.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009936/1.325, allocations: 431.4 kB / 0.8309 GB, free: 37.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006223/1.332, allocations: 3.609 MB / 0.8344 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.329e-05/1.332, allocations: 27.31 kB / 0.8344 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.547e-05/1.332, allocations: 10.22 kB / 0.8344 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/1.332, allocations: 7.688 kB / 0.8345 GB, free: 36.35 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0204/1.352, allocations: 9.312 MB / 0.8435 GB, free: 32.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/1.352, allocations: 0 / 0.8435 GB, free: 32.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/1.354, allocations: 343.1 kB / 0.8439 GB, free: 32.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002165/1.356, allocations: 0.6814 MB / 0.8445 GB, free: 32.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/1.356, allocations: 49.59 kB / 0.8446 GB, free: 32.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006608/1.363, allocations: 6.74 MB / 0.8512 GB, free: 26.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.363, allocations: 64 / 0.8512 GB, free: 26.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007973/1.371, allocations: 6.373 MB / 0.8574 GB, free: 21.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002242/1.373, allocations: 0.7428 MB / 0.8581 GB, free: 20.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006022/1.374, allocations: 32 kB / 0.8581 GB, free: 20.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/1.375, allocations: 111.7 kB / 0.8583 GB, free: 20.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003908/1.376, allocations: 131 kB / 0.8584 GB, free: 20.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.376, allocations: 55.19 kB / 0.8584 GB, free: 20.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004368/1.38, allocations: 2.998 MB / 0.8614 GB, free: 17.89 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.38, allocations: 0 / 0.8614 GB, free: 17.89 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005989/1.386, allocations: 1.187 MB / 0.8625 GB, free: 16.71 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (169): * Single equations (assignments): 164 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004564/1.387, allocations: 177.5 kB / 0.8627 GB, free: 16.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008378/1.395, allocations: 5.755 MB / 0.8683 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.395, allocations: 4 kB / 0.8683 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00275/1.398, allocations: 1.997 MB / 0.8703 GB, free: 9.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/1.401, allocations: 0.5258 MB / 0.8708 GB, free: 9.242 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/1.422, allocations: 13.4 MB / 0.8839 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006369/1.429, allocations: 4.098 MB / 0.8879 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005933/1.435, allocations: 2.091 MB / 0.8899 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/1.436, allocations: 281.4 kB / 0.8902 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of SimCode: time 1.673e-06/1.436, allocations: 0 / 0.8902 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of Templates: time 0.3259/1.762, allocations: 41 MB / 0.9302 GB, free: 106.2 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1)