Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.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.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00629/0.00629, allocations: 175.8 kB / 15.12 MB, free: 5.973 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.527/1.527, allocations: 194.5 MB / 210.3 MB, free: 7.555 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.001766/0.001766, allocations: 124.6 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.178/0.178, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004076, allocations: 20.11 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1095, allocations: 54.87 MB / 461 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.371/0.4806, allocations: 101.6 MB / 0.5495 GB, free: 21.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.4808, allocations: 83.7 kB / 0.5495 GB, free: 21.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3361/0.817, allocations: 131.1 MB / 0.6776 GB, free: 12.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.817, allocations: 0 / 0.6776 GB, free: 12.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006925/0.8177, allocations: 140 kB / 0.6777 GB, free: 12.82 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: 2232 * Number of variables: 2232 Notification: Performance of Generate backend data structure: time 0.02923/0.847, allocations: 7.479 MB / 0.685 GB, free: 5.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.847, allocations: 8.031 kB / 0.685 GB, free: 5.242 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0378/0.8848, allocations: 9.406 MB / 0.6942 GB, free: 11.81 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0264/0.9113, allocations: 9.022 MB / 0.703 GB, free: 2.707 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006762/0.912, allocations: 484.8 kB / 0.7035 GB, free: 2.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004515/0.9165, allocations: 0.648 MB / 0.7041 GB, free: 1.582 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5274/1.444, allocations: 16.38 MB / 0.7201 GB, free: 82.45 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007407/1.445, allocations: 83.31 kB / 0.7202 GB, free: 82.45 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004494/1.449, allocations: 303.1 kB / 0.7205 GB, free: 82.45 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003447/1.453, allocations: 1.531 MB / 0.722 GB, free: 82.43 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03519/1.488, allocations: 14.35 MB / 0.736 GB, free: 82.37 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0839/1.572, allocations: 70.53 MB / 0.8049 GB, free: 45.14 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01726/1.589, allocations: 7.44 MB / 0.8121 GB, free: 42.7 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02615/1.615, allocations: 17.92 MB / 0.8296 GB, free: 34.56 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/1.615, allocations: 66.3 kB / 0.8297 GB, free: 34.5 MB / 490.8 MB Notification: Performance of pre-optimization done (n=310): time 5.35e-06/1.615, allocations: 0 / 0.8297 GB, free: 34.5 MB / 490.8 MB Notification: Performance of matching and sorting (n=404): time 0.15/1.766, allocations: 60.2 MB / 0.8885 GB, free: 15.04 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001933/1.766, allocations: 325.3 kB / 0.8888 GB, free: 14.66 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009262/1.775, allocations: 4.95 MB / 0.8936 GB, free: 10.58 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001328/1.776, allocations: 85.7 kB / 0.8937 GB, free: 10.49 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004005/1.78, allocations: 4.415 MB / 0.898 GB, free: 6.547 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002639/1.783, allocations: 1.463 MB / 0.8995 GB, free: 5.246 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/1.784, allocations: 168 kB / 0.8996 GB, free: 5.082 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0005911/1.785, allocations: 0.6649 MB / 0.9003 GB, free: 4.508 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008524/1.793, allocations: 5.026 MB / 0.9052 GB, free: 220 kB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2438/2.037, allocations: 9.616 MB / 0.9146 GB, free: 94.28 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/2.05, allocations: 6.773 MB / 0.9212 GB, free: 94.23 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003126/2.051, allocations: 46.62 kB / 0.9212 GB, free: 94.23 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.06052/2.111, allocations: 18.64 MB / 0.9394 GB, free: 93.79 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001881/2.111, allocations: 69 kB / 0.9395 GB, free: 93.79 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003125/2.112, allocations: 151.8 kB / 0.9396 GB, free: 93.79 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0212/2.133, allocations: 4.788 MB / 0.9443 GB, free: 93.75 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01243/2.145, allocations: 2.022 MB / 0.9463 GB, free: 93.59 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05293/2.198, allocations: 26.25 MB / 0.9719 GB, free: 86.32 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01275/2.211, allocations: 0.6032 MB / 0.9725 GB, free: 86.18 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002745/2.214, allocations: 495.5 kB / 0.973 GB, free: 86.12 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 690 * Number of states: 0 () * Number of discrete variables: 54 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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],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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1001): * Single equations (assignments): 995 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 15,(14,44.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0107/2.225, allocations: 3.168 MB / 0.9761 GB, free: 84.75 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002061/2.227, allocations: 0.5488 MB / 0.9766 GB, free: 84.75 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03983/2.267, allocations: 13.5 MB / 0.9898 GB, free: 80.09 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.363e-05/2.267, allocations: 44.12 kB / 0.9898 GB, free: 80.09 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.727e-05/2.267, allocations: 15.12 kB / 0.9899 GB, free: 80.09 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001027/2.267, allocations: 18.47 kB / 0.9899 GB, free: 80.09 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06825/2.335, allocations: 23.91 MB / 1.013 GB, free: 69.82 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.931e-05/2.335, allocations: 3.953 kB / 1.013 GB, free: 69.81 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006364/2.342, allocations: 0.7014 MB / 1.014 GB, free: 69.27 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01995/2.362, allocations: 4.531 MB / 1.018 GB, free: 66.31 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002251/2.364, allocations: 71.52 kB / 1.018 GB, free: 66.24 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05093/2.415, allocations: 25.43 MB / 1.043 GB, free: 44.47 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/2.415, allocations: 0 / 1.043 GB, free: 44.47 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03706/2.452, allocations: 20.32 MB / 1.063 GB, free: 27.52 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005209/2.457, allocations: 1.457 MB / 1.064 GB, free: 26.19 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001695/2.459, allocations: 73.16 kB / 1.065 GB, free: 26.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004136/2.463, allocations: 357 kB / 1.065 GB, free: 25.91 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009937/2.464, allocations: 253.6 kB / 1.065 GB, free: 25.75 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003518/2.465, allocations: 99.52 kB / 1.065 GB, free: 25.66 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005634/2.47, allocations: 3.531 MB / 1.069 GB, free: 22.67 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.8e-07/2.47, allocations: 0 / 1.069 GB, free: 22.67 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01097/2.481, allocations: 1.928 MB / 1.071 GB, free: 20.75 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (315): * Single equations (assignments): 309 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(14,43.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001368/2.483, allocations: 218.5 kB / 1.071 GB, free: 20.55 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02386/2.507, allocations: 13.15 MB / 1.084 GB, free: 7.422 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/2.507, allocations: 4 kB / 1.084 GB, free: 7.418 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.2751/2.782, allocations: 6.308 MB / 1.09 GB, free: 90.43 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00598/2.788, allocations: 0.694 MB / 1.09 GB, free: 90.41 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04128/2.829, allocations: 20.66 MB / 1.111 GB, free: 83.73 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01173/2.841, allocations: 5.098 MB / 1.116 GB, free: 82.87 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01021/2.851, allocations: 2.958 MB / 1.119 GB, free: 82.8 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002391/2.854, allocations: 405.1 kB / 1.119 GB, free: 82.79 MB / 0.4949 GB Notification: Performance of SimCode: time 2.504e-06/2.854, allocations: 0 / 1.119 GB, free: 82.79 MB / 0.4949 GB Notification: Performance of Templates: time 0.1325/2.986, allocations: 85.29 MB / 1.202 GB, free: 57.84 MB / 0.4949 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3.pipe 2>&1)