Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.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.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009482/0.009482, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.00201/0.00201, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.47/1.47, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1713/0.1713, allocations: 38.01 MB / 307.9 MB, free: 5.988 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.001427/0.001427, allocations: 67.91 kB / 433 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1246, allocations: 56.47 MB / 489.5 MB, free: 5.883 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.01575/0.1404, allocations: 14.26 MB / 0.4919 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.1525, allocations: 4.653 MB / 0.4965 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003271/0.1558, allocations: 95.69 kB / 0.4966 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008474/0.1643, allocations: 4.233 MB / 0.5007 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007743/0.1721, allocations: 2.327 MB / 0.503 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0027/0.1748, allocations: 0.9204 MB / 0.5039 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009251/0.1841, allocations: 5.878 MB / 0.5096 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007852/0.192, allocations: 5.286 MB / 0.5148 GB, free: 44 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2687/0.4607, allocations: 2.19 MB / 0.5169 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005446/0.4662, allocations: 2.923 MB / 0.5198 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001447/0.4677, allocations: 493 kB / 0.5202 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.4708, allocations: 1.372 MB / 0.5216 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003621/0.4744, allocations: 2.651 MB / 0.5242 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004677/0.4791, allocations: 2.999 MB / 0.5271 GB, free: 8.328 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01251/0.4917, allocations: 9.557 MB / 0.5364 GB, free: 5.672 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4917, allocations: 0 / 0.5364 GB, free: 5.672 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4917, allocations: 0.5 kB / 0.5364 GB, free: 5.672 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004133/0.4922, allocations: 0.5938 kB / 0.5364 GB, free: 5.672 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1846 * Number of variables: 1846 Notification: Performance of Generate backend data structure: time 0.01922/0.5114, allocations: 6.335 MB / 0.5426 GB, free: 2.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.5115, allocations: 12.11 kB / 0.5426 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.5224, allocations: 2.612 MB / 0.5452 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009889/0.5323, allocations: 4.038 MB / 0.5491 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/0.5326, allocations: 314.2 kB / 0.5494 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001552/0.5342, allocations: 424.1 kB / 0.5498 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02343/0.5576, allocations: 11.99 MB / 0.5615 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001837/0.5579, allocations: 47.39 kB / 0.5616 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006517/0.5585, allocations: 195.5 kB / 0.5617 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003465/0.562, allocations: 2.204 MB / 0.5639 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02066/0.5827, allocations: 10.13 MB / 0.5738 GB, free: 8.391 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06237/0.6451, allocations: 46.87 MB / 0.6196 GB, free: 8.793 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/0.6557, allocations: 4.374 MB / 0.6238 GB, free: 4.273 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003479/0.6592, allocations: 2.521 MB / 0.6263 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01652/0.6758, allocations: 9.98 MB / 0.636 GB, free: 7.672 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/0.6759, allocations: 55.16 kB / 0.6361 GB, free: 7.613 MB / 494.1 MB Notification: Performance of pre-optimization done (n=191): time 5.059e-06/0.6759, allocations: 0 / 0.6361 GB, free: 7.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.05592/0.7318, allocations: 21.42 MB / 0.657 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/0.732, allocations: 201.2 kB / 0.6572 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008285/0.7403, allocations: 4.828 MB / 0.6619 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005642/0.7409, allocations: 57.7 kB / 0.662 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002985/0.7439, allocations: 3.728 MB / 0.6656 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001169/0.7451, allocations: 0.8353 MB / 0.6664 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002017/0.7471, allocations: 1.388 MB / 0.6678 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.7472, allocations: 309.1 kB / 0.6681 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003783/0.751, allocations: 2.569 MB / 0.6706 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005968/0.757, allocations: 6.554 MB / 0.677 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/0.7688, allocations: 9.792 MB / 0.6866 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001052/0.7689, allocations: 40 kB / 0.6866 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.01972/0.7887, allocations: 10.23 MB / 0.6966 GB, free: 6.312 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.7888, allocations: 68.03 kB / 0.6967 GB, free: 6.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001989/0.789, allocations: 140 kB / 0.6968 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004402/0.7934, allocations: 1.618 MB / 0.6984 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005184/0.7986, allocations: 1.567 MB / 0.6999 GB, free: 2.914 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/0.8113, allocations: 10.25 MB / 0.7099 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008921/0.8202, allocations: 387.3 kB / 0.7103 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001668/0.8219, allocations: 406.6 kB / 0.7107 GB, free: 7.602 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 635 * Number of states: 0 () * Number of discrete variables: 45 (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 (835): * Single equations (assignments): 830 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,31,77.8%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006588/0.8285, allocations: 2.582 MB / 0.7132 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/0.8299, allocations: 418.6 kB / 0.7136 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009738/0.8396, allocations: 4.601 MB / 0.7181 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/0.8397, allocations: 24 kB / 0.7181 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-05/0.8397, allocations: 8 kB / 0.7181 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/0.8398, allocations: 7.969 kB / 0.7181 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02427/0.864, allocations: 10.4 MB / 0.7283 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/0.8641, allocations: 0 / 0.7283 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/0.8659, allocations: 349.6 kB / 0.7286 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003975/0.8699, allocations: 1.355 MB / 0.7299 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002737/0.8702, allocations: 36 kB / 0.73 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3329/1.203, allocations: 9.379 MB / 0.7391 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.203, allocations: 2.531 kB / 0.7391 GB, free: 198.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/1.217, allocations: 7.515 MB / 0.7465 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002562/1.22, allocations: 0.7783 MB / 0.7472 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001302/1.221, allocations: 34 kB / 0.7473 GB, free: 195.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/1.223, allocations: 132.9 kB / 0.7474 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000534/1.224, allocations: 131.3 kB / 0.7475 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/1.224, allocations: 60.95 kB / 0.7476 GB, free: 195.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006463/1.23, allocations: 3.045 MB / 0.7505 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.91e-07/1.23, allocations: 0 / 0.7505 GB, free: 194.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007807/1.238, allocations: 1.265 MB / 0.7518 GB, free: 193.9 MB / 0.5762 GB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,27,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006614/1.239, allocations: 172.9 kB / 0.7519 GB, free: 193.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01021/1.249, allocations: 6.367 MB / 0.7582 GB, free: 191.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/1.249, allocations: 0 / 0.7582 GB, free: 191.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003231/1.252, allocations: 2.179 MB / 0.7603 GB, free: 190.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004081/1.257, allocations: 0.559 MB / 0.7608 GB, free: 190.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02447/1.281, allocations: 11.71 MB / 0.7723 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005031/1.286, allocations: 4.004 MB / 0.7762 GB, free: 180.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004936/1.291, allocations: 2.085 MB / 0.7782 GB, free: 179.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008466/1.292, allocations: 286.8 kB / 0.7785 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.462e-06/1.292, allocations: 4 kB / 0.7785 GB, free: 179.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.07232/1.364, allocations: 44.03 MB / 0.8215 GB, free: 136.4 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.pipe 2>&1)