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.0007948/0.0007948, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004802/0.004802, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.373/1.373, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.3132/0.3132, allocations: 38.03 MB / 308.8 MB, free: 10.34 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.0005891/0.0005891, allocations: 16 kB / 377.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1216, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint): time 0.2678/0.3894, allocations: 68.51 MB / 0.4913 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03055/0.42, allocations: 13.98 MB / 0.5049 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01689/0.4369, allocations: 304.7 kB / 0.5052 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002266/0.4392, allocations: 0.5211 MB / 0.5057 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006427/0.4457, allocations: 2.139 MB / 0.5078 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.4481, allocations: 0.851 MB / 0.5087 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01249/0.4606, allocations: 8.506 MB / 0.517 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01295/0.4736, allocations: 7.43 MB / 0.5242 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004972/0.4786, allocations: 1.577 MB / 0.5258 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005151/0.4838, allocations: 2.664 MB / 0.5284 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008528/0.4847, allocations: 189.1 kB / 0.5285 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003714/0.4884, allocations: 1.13 MB / 0.5296 GB, free: 9.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003213/0.4916, allocations: 2.295 MB / 0.5319 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002938/0.4946, allocations: 2.614 MB / 0.5344 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008629/0.5032, allocations: 8.887 MB / 0.5431 GB, free: 12.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5033, allocations: 0 / 0.5431 GB, free: 12.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5033, allocations: 0 / 0.5431 GB, free: 12.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002662/0.5036, allocations: 0 / 0.5431 GB, free: 12.81 MB / 414.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.01056/0.5141, allocations: 5.2 MB / 0.5482 GB, free: 7.531 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.5142, allocations: 8.031 kB / 0.5482 GB, free: 7.523 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/0.5259, allocations: 2.653 MB / 0.5508 GB, free: 4.859 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008007/0.534, allocations: 3.973 MB / 0.5547 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002499/0.5343, allocations: 316.5 kB / 0.555 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001383/0.5357, allocations: 420 kB / 0.5554 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0216/0.5573, allocations: 12.01 MB / 0.5671 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000196/0.5575, allocations: 59.42 kB / 0.5672 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006229/0.5582, allocations: 195.8 kB / 0.5674 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003767/0.5619, allocations: 2.206 MB / 0.5695 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02081/0.5828, allocations: 10.15 MB / 0.5794 GB, free: 6.695 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06331/0.6461, allocations: 47.15 MB / 0.6255 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.657, allocations: 4.364 MB / 0.6297 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2088/0.8658, allocations: 2.52 MB / 0.6322 GB, free: 144.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01375/0.8796, allocations: 9.978 MB / 0.6419 GB, free: 141.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.8797, allocations: 50.47 kB / 0.642 GB, free: 141.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=191): time 6.262e-06/0.8797, allocations: 0 / 0.642 GB, free: 141.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=218): time 0.05418/0.9339, allocations: 21.48 MB / 0.663 GB, free: 133.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.934, allocations: 199.7 kB / 0.6631 GB, free: 133.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01109/0.9451, allocations: 4.824 MB / 0.6679 GB, free: 131.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005878/0.9458, allocations: 58.08 kB / 0.6679 GB, free: 131.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004211/0.95, allocations: 3.728 MB / 0.6715 GB, free: 129 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001818/0.9518, allocations: 0.8295 MB / 0.6724 GB, free: 128.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002319/0.9542, allocations: 0.5897 MB / 0.6729 GB, free: 128.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.378e-05/0.9543, allocations: 304.9 kB / 0.6732 GB, free: 127.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005989/0.9603, allocations: 2.576 MB / 0.6757 GB, free: 127 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008129/0.9684, allocations: 6.562 MB / 0.6821 GB, free: 120.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/0.9801, allocations: 9.806 MB / 0.6917 GB, free: 112.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002415/0.9804, allocations: 40.41 kB / 0.6918 GB, free: 112.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.02082/1.001, allocations: 10.25 MB / 0.7018 GB, free: 108.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002369/1.002, allocations: 66.22 kB / 0.7018 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000336/1.002, allocations: 137.8 kB / 0.702 GB, free: 108.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004165/1.006, allocations: 1.626 MB / 0.7036 GB, free: 108.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005064/1.011, allocations: 1.567 MB / 0.7051 GB, free: 106.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/1.023, allocations: 9.566 MB / 0.7144 GB, free: 98.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006269/1.029, allocations: 391.4 kB / 0.7148 GB, free: 97.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001156/1.03, allocations: 403.4 kB / 0.7152 GB, free: 97.35 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 (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.005403/1.035, allocations: 2.57 MB / 0.7177 GB, free: 95.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/1.037, allocations: 426.5 kB / 0.7181 GB, free: 94.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009324/1.046, allocations: 4.615 MB / 0.7226 GB, free: 90.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.194e-05/1.046, allocations: 20 kB / 0.7226 GB, free: 90.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.005e-05/1.046, allocations: 15.94 kB / 0.7226 GB, free: 90.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/1.046, allocations: 15.95 kB / 0.7227 GB, free: 90.13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02042/1.067, allocations: 10.45 MB / 0.7329 GB, free: 79.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/1.067, allocations: 0 / 0.7329 GB, free: 79.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001578/1.069, allocations: 351.5 kB / 0.7332 GB, free: 79.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003571/1.072, allocations: 1.355 MB / 0.7345 GB, free: 77.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002026/1.072, allocations: 43.92 kB / 0.7346 GB, free: 77.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00892/1.081, allocations: 8.749 MB / 0.7431 GB, free: 68.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.081, allocations: 0 / 0.7431 GB, free: 68.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/1.092, allocations: 7.54 MB / 0.7505 GB, free: 61.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/1.094, allocations: 0.7845 MB / 0.7512 GB, free: 60.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/1.095, allocations: 32 kB / 0.7513 GB, free: 60.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002337/1.098, allocations: 139.8 kB / 0.7514 GB, free: 60.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003828/1.098, allocations: 125.8 kB / 0.7515 GB, free: 60.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/1.098, allocations: 63.36 kB / 0.7516 GB, free: 60.17 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004928/1.103, allocations: 3.051 MB / 0.7546 GB, free: 57.12 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.103, allocations: 0 / 0.7546 GB, free: 57.12 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0063/1.109, allocations: 1.26 MB / 0.7558 GB, free: 55.87 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 (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.0004747/1.11, allocations: 175.4 kB / 0.756 GB, free: 55.69 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009148/1.119, allocations: 6.361 MB / 0.7622 GB, free: 49.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.119, allocations: 4 kB / 0.7622 GB, free: 49.33 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002838/1.122, allocations: 2.183 MB / 0.7643 GB, free: 47.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004056/1.126, allocations: 0.5167 MB / 0.7648 GB, free: 46.62 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/1.147, allocations: 14.47 MB / 0.7789 GB, free: 32.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003949/1.151, allocations: 4.01 MB / 0.7829 GB, free: 28.08 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004477/1.156, allocations: 2.085 MB / 0.7849 GB, free: 25.99 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007492/1.157, allocations: 291.4 kB / 0.7852 GB, free: 25.7 MB / 494.1 MB Notification: Performance of SimCode: time 8.62e-07/1.157, allocations: 0 / 0.7852 GB, free: 25.7 MB / 494.1 MB Notification: Performance of Templates: time 0.2779/1.435, allocations: 45 MB / 0.8291 GB, free: 138.2 MB / 0.4981 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: