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.001286/0.001286, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001559/0.00156, allocations: 177.3 kB / 15.94 MB, free: 228 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.652/1.652, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3893/0.3893, allocations: 38.03 MB / 308.4 MB, free: 10.5 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.0006216/0.0006219, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1481, allocations: 57.52 MB / 433.9 MB, free: 5.582 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.3202/0.4683, allocations: 60.11 MB / 494 MB, free: 18.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04373/0.5121, allocations: 14.03 MB / 0.4962 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0178/0.53, allocations: 301.4 kB / 0.4964 GB, free: 8.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01249/0.5425, allocations: 3.005 MB / 0.4994 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0378/0.5803, allocations: 8.602 MB / 0.5078 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005451/0.5858, allocations: 0.7954 MB / 0.5086 GB, free: 3.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0442/0.63, allocations: 26.82 MB / 0.5347 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01215/0.6422, allocations: 6.559 MB / 0.5412 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00419/0.6465, allocations: 1.394 MB / 0.5425 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004217/0.6507, allocations: 1.838 MB / 0.5443 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00106/0.6518, allocations: 188 kB / 0.5445 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.6546, allocations: 0.9597 MB / 0.5454 GB, free: 9.805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002498/0.6571, allocations: 2.085 MB / 0.5475 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001787/0.6589, allocations: 1.1 MB / 0.5485 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.67, allocations: 7.534 MB / 0.5559 GB, free: 15.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.6701, allocations: 4 kB / 0.5559 GB, free: 15.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.95e-06/0.6701, allocations: 0 / 0.5559 GB, free: 15.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004416/0.6706, allocations: 4 kB / 0.5559 GB, free: 15.05 MB / 430.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.0167/0.6873, allocations: 5.551 MB / 0.5613 GB, free: 9.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.6873, allocations: 8.031 kB / 0.5613 GB, free: 9.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0432/0.7305, allocations: 8.032 MB / 0.5692 GB, free: 1.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/0.742, allocations: 4.261 MB / 0.5733 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003489/0.7424, allocations: 312.1 kB / 0.5736 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002236/0.7446, allocations: 427.7 kB / 0.574 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02412/0.7688, allocations: 11.96 MB / 0.5857 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001717/0.769, allocations: 55.47 kB / 0.5858 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005922/0.7696, allocations: 195.8 kB / 0.586 GB, free: 15.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003738/0.7733, allocations: 2.203 MB / 0.5881 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02297/0.7963, allocations: 9.997 MB / 0.5979 GB, free: 3.117 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3592/1.156, allocations: 46.7 MB / 0.6435 GB, free: 116.1 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009619/1.165, allocations: 4.254 MB / 0.6476 GB, free: 115.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01592/1.181, allocations: 9.664 MB / 0.6571 GB, free: 113.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/1.181, allocations: 57.38 kB / 0.6571 GB, free: 113 MB / 494.1 MB Notification: Performance of pre-optimization done (n=191): time 5.31e-06/1.181, allocations: 0 / 0.6571 GB, free: 113 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.05682/1.238, allocations: 20.43 MB / 0.6771 GB, free: 105.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.763e-05/1.238, allocations: 202.4 kB / 0.6773 GB, free: 104.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01014/1.248, allocations: 5.07 MB / 0.6822 GB, free: 103.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006938/1.249, allocations: 56.86 kB / 0.6823 GB, free: 103.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003807/1.253, allocations: 3.764 MB / 0.6859 GB, free: 100.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001443/1.255, allocations: 0.8281 MB / 0.6867 GB, free: 99.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/1.255, allocations: 126 kB / 0.6869 GB, free: 99.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004779/1.255, allocations: 0.5807 MB / 0.6874 GB, free: 99.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004715/1.26, allocations: 2.329 MB / 0.6897 GB, free: 98.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007554/1.268, allocations: 6.265 MB / 0.6958 GB, free: 92.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007144/1.275, allocations: 3.75 MB / 0.6995 GB, free: 90.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001941/1.275, allocations: 39.19 kB / 0.6995 GB, free: 90.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.02109/1.296, allocations: 9.192 MB / 0.7085 GB, free: 87.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.296, allocations: 62.75 kB / 0.7086 GB, free: 87.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001728/1.297, allocations: 139.5 kB / 0.7087 GB, free: 87.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/1.3, allocations: 1.101 MB / 0.7098 GB, free: 87.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005237/1.305, allocations: 1.515 MB / 0.7113 GB, free: 87.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009686/1.315, allocations: 8.389 MB / 0.7194 GB, free: 79.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006764/1.321, allocations: 368.1 kB / 0.7198 GB, free: 79.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001692/1.323, allocations: 398.2 kB / 0.7202 GB, free: 79.08 MB / 494.1 MB 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 (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.007824/1.331, allocations: 2.571 MB / 0.7227 GB, free: 76.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00179/1.333, allocations: 434.4 kB / 0.7231 GB, free: 76.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007876/1.341, allocations: 3.865 MB / 0.7269 GB, free: 72.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.941e-05/1.341, allocations: 20 kB / 0.7269 GB, free: 72.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.734e-05/1.341, allocations: 12 kB / 0.7269 GB, free: 72.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/1.341, allocations: 7.969 kB / 0.7269 GB, free: 72.26 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0225/1.363, allocations: 9.747 MB / 0.7364 GB, free: 62.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/1.363, allocations: 3.984 kB / 0.7364 GB, free: 62.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001647/1.365, allocations: 347.5 kB / 0.7368 GB, free: 62.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002577/1.368, allocations: 0.8507 MB / 0.7376 GB, free: 61.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002468/1.368, allocations: 39.98 kB / 0.7376 GB, free: 61.26 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008114/1.376, allocations: 7.541 MB / 0.745 GB, free: 53.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.376, allocations: 0 / 0.745 GB, free: 53.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009919/1.386, allocations: 6.719 MB / 0.7516 GB, free: 46.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003176/1.389, allocations: 0.7726 MB / 0.7523 GB, free: 45.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001562/1.391, allocations: 38.58 kB / 0.7524 GB, free: 45.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002731/1.394, allocations: 119.9 kB / 0.7525 GB, free: 45.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004273/1.394, allocations: 129.8 kB / 0.7526 GB, free: 45.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/1.394, allocations: 55.98 kB / 0.7526 GB, free: 45.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00673/1.401, allocations: 3.242 MB / 0.7558 GB, free: 42.31 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.81e-07/1.401, allocations: 0 / 0.7558 GB, free: 42.31 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00944/1.41, allocations: 1.228 MB / 0.757 GB, free: 41.09 MB / 494.1 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.00103/1.411, allocations: 194.7 kB / 0.7572 GB, free: 40.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01107/1.423, allocations: 5.881 MB / 0.7629 GB, free: 35.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.423, allocations: 0 / 0.7629 GB, free: 35.03 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00355/1.426, allocations: 2.064 MB / 0.765 GB, free: 32.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004322/1.43, allocations: 0.5234 MB / 0.7655 GB, free: 32.43 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02607/1.457, allocations: 13.5 MB / 0.7787 GB, free: 18.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006399/1.463, allocations: 4.12 MB / 0.7827 GB, free: 14.74 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005736/1.469, allocations: 2.096 MB / 0.7847 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009284/1.47, allocations: 295.4 kB / 0.785 GB, free: 12.35 MB / 494.1 MB Notification: Performance of SimCode: time 1.552e-06/1.47, allocations: 0 / 0.785 GB, free: 12.35 MB / 494.1 MB Notification: Performance of Templates: time 0.08414/1.554, allocations: 43.2 MB / 0.8272 GB, free: 1.234 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: