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.001136/0.001136, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.583/1.583, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001599/0.001599, allocations: 110.6 kB / 252.6 MB, free: 4.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2076/0.2076, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.61e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4032/0.5162, allocations: 102.4 MB / 0.5445 GB, free: 5.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.5165, allocations: 79.58 kB / 0.5446 GB, free: 5.391 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2901/0.8066, allocations: 106.6 MB / 0.6487 GB, free: 2.332 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.8067, allocations: 0 / 0.6487 GB, free: 2.332 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000488/0.8072, allocations: 108 kB / 0.6488 GB, free: 2.227 MB / 458.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.01855/0.8257, allocations: 5.255 MB / 0.6539 GB, free: 12.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.8258, allocations: 8.031 kB / 0.6539 GB, free: 12.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02883/0.8546, allocations: 6.935 MB / 0.6607 GB, free: 5.941 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3575/1.212, allocations: 6.877 MB / 0.6674 GB, free: 94.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008889/1.213, allocations: 407.5 kB / 0.6678 GB, free: 94.31 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003611/1.217, allocations: 0.534 MB / 0.6683 GB, free: 94.31 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03748/1.254, allocations: 12.66 MB / 0.6807 GB, free: 91.23 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004647/1.255, allocations: 75.44 kB / 0.6808 GB, free: 91.23 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002052/1.257, allocations: 256.2 kB / 0.681 GB, free: 91.23 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00241/1.259, allocations: 1.131 MB / 0.6821 GB, free: 91.22 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02291/1.282, allocations: 10.29 MB / 0.6922 GB, free: 91.17 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06626/1.348, allocations: 57.09 MB / 0.7479 GB, free: 53.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009836/1.358, allocations: 4.366 MB / 0.7522 GB, free: 51.47 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002806/1.361, allocations: 2.371 MB / 0.7545 GB, free: 50.42 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01448/1.376, allocations: 9.984 MB / 0.7642 GB, free: 45.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/1.376, allocations: 53.05 kB / 0.7643 GB, free: 45.51 MB / 474.7 MB Notification: Performance of pre-optimization done (n=192): time 5.26e-06/1.376, allocations: 0 / 0.7643 GB, free: 45.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=218): time 0.03984/1.416, allocations: 16.18 MB / 0.7801 GB, free: 39.45 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.844e-05/1.416, allocations: 204.4 kB / 0.7803 GB, free: 39.23 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006715/1.423, allocations: 4.183 MB / 0.7844 GB, free: 36.31 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004903/1.423, allocations: 61.7 kB / 0.7844 GB, free: 36.24 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001918/1.425, allocations: 3.762 MB / 0.7881 GB, free: 32.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000824/1.426, allocations: 0.8359 MB / 0.7889 GB, free: 32.14 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/1.426, allocations: 128 kB / 0.789 GB, free: 32.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002639/1.426, allocations: 0.5817 MB / 0.7896 GB, free: 31.51 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002616/1.429, allocations: 2.188 MB / 0.7917 GB, free: 29.53 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004542/1.434, allocations: 6.131 MB / 0.7977 GB, free: 21.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004703/1.438, allocations: 3.635 MB / 0.8013 GB, free: 18.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.253e-05/1.438, allocations: 40 kB / 0.8013 GB, free: 18.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.0143/1.453, allocations: 8.811 MB / 0.8099 GB, free: 11.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.958e-05/1.453, allocations: 68 kB / 0.81 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/1.453, allocations: 136 kB / 0.8101 GB, free: 10.84 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/1.455, allocations: 0.9362 MB / 0.811 GB, free: 10.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004767/1.46, allocations: 1.505 MB / 0.8125 GB, free: 8.793 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007533/1.468, allocations: 7.408 MB / 0.8197 GB, free: 1.887 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005246/1.473, allocations: 359.3 kB / 0.8201 GB, free: 1.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/1.474, allocations: 398.9 kB / 0.8205 GB, free: 1.188 MB / 474.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 () * 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.001007/1.475, allocations: 0.6202 MB / 0.8211 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008373/1.476, allocations: 426.5 kB / 0.8215 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007902/1.484, allocations: 3.65 MB / 0.825 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/1.484, allocations: 24 kB / 0.8251 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.712e-05/1.484, allocations: 15.8 kB / 0.8251 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/1.484, allocations: 11.62 kB / 0.8251 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0184/1.502, allocations: 9.222 MB / 0.8341 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.502, allocations: 3.875 kB / 0.8341 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001657/1.504, allocations: 343.3 kB / 0.8344 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/1.506, allocations: 0.6866 MB / 0.8351 GB, free: 5.223 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000224/1.506, allocations: 46.05 kB / 0.8351 GB, free: 5.184 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007968/1.514, allocations: 6.537 MB / 0.8415 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.515, allocations: 3.938 kB / 0.8415 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/1.525, allocations: 6.261 MB / 0.8476 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002765/1.527, allocations: 0.7312 MB / 0.8483 GB, free: 8.762 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008748/1.528, allocations: 39.7 kB / 0.8484 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/1.53, allocations: 115.9 kB / 0.8485 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003876/1.53, allocations: 125.9 kB / 0.8486 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/1.531, allocations: 71.42 kB / 0.8487 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006589/1.537, allocations: 2.949 MB / 0.8516 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.91e-07/1.537, allocations: 0 / 0.8516 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008325/1.546, allocations: 1.186 MB / 0.8527 GB, free: 4.73 MB / 0.4948 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 () * 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.0007029/1.546, allocations: 171.6 kB / 0.8529 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.2832/1.83, allocations: 5.637 MB / 0.8584 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.83, allocations: 2.906 kB / 0.8584 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003242/1.833, allocations: 1.959 MB / 0.8603 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00327/1.836, allocations: 0.5252 MB / 0.8608 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0227/1.859, allocations: 9.276 MB / 0.8699 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006114/1.865, allocations: 4.11 MB / 0.8739 GB, free: 109.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006251/1.871, allocations: 2.094 MB / 0.8759 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009256/1.872, allocations: 286.7 kB / 0.8762 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.934e-06/1.872, allocations: 0 / 0.8762 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.07494/1.947, allocations: 41.01 MB / 0.9163 GB, free: 108 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)