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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001059/0.00106, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.202/1.202, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001681/0.001681, allocations: 107.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1677/0.1677, allocations: 37.99 MB / 300.4 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.097e-05, allocations: 4 kB / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08129/0.08134, allocations: 48.7 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3308/0.4121, allocations: 95.16 MB / 0.4891 GB, free: 16.63 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.4124, allocations: 81.83 kB / 0.4892 GB, free: 16.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2604/0.6728, allocations: 106.3 MB / 0.593 GB, free: 9.938 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6728, allocations: 0 / 0.593 GB, free: 9.938 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002916/0.6731, allocations: 108 kB / 0.5931 GB, free: 9.832 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1842 * Number of variables: 1842 Notification: Performance of Generate backend data structure: time 0.01527/0.6884, allocations: 5.263 MB / 0.5983 GB, free: 4.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.6885, allocations: 8.031 kB / 0.5983 GB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02714/0.7156, allocations: 6.9 MB / 0.605 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01732/0.733, allocations: 6.852 MB / 0.6117 GB, free: 6.664 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004608/0.7335, allocations: 402.7 kB / 0.6121 GB, free: 6.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002268/0.7358, allocations: 0.5426 MB / 0.6126 GB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2516/0.9874, allocations: 12.29 MB / 0.6246 GB, free: 74.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002552/0.9877, allocations: 74.08 kB / 0.6247 GB, free: 74.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008532/0.9886, allocations: 261.7 kB / 0.6249 GB, free: 74.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001525/0.9901, allocations: 1.129 MB / 0.626 GB, free: 74.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02028/1.01, allocations: 9.79 MB / 0.6356 GB, free: 74.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05896/1.069, allocations: 56.49 MB / 0.6908 GB, free: 39.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009133/1.079, allocations: 4.094 MB / 0.6948 GB, free: 38.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002821/1.081, allocations: 2.259 MB / 0.697 GB, free: 37.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01357/1.095, allocations: 9.499 MB / 0.7063 GB, free: 32.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/1.095, allocations: 61.5 kB / 0.7063 GB, free: 32.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 4.058e-06/1.095, allocations: 0 / 0.7063 GB, free: 32.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=218): time 0.04073/1.136, allocations: 16.49 MB / 0.7224 GB, free: 26.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.136, allocations: 204.6 kB / 0.7226 GB, free: 26.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007572/1.144, allocations: 4.193 MB / 0.7267 GB, free: 24.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005162/1.144, allocations: 58.75 kB / 0.7268 GB, free: 24.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003783/1.148, allocations: 3.766 MB / 0.7304 GB, free: 21.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001341/1.149, allocations: 0.8295 MB / 0.7312 GB, free: 21.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005048/1.15, allocations: 135.6 kB / 0.7314 GB, free: 20.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003222/1.15, allocations: 0.5874 MB / 0.732 GB, free: 20.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003159/1.153, allocations: 2.174 MB / 0.7341 GB, free: 19.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004351/1.158, allocations: 6.116 MB / 0.74 GB, free: 13.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004593/1.162, allocations: 3.63 MB / 0.7436 GB, free: 11.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.717e-05/1.162, allocations: 40 kB / 0.7436 GB, free: 11.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=857) (initialization): time 0.01309/1.176, allocations: 8.797 MB / 0.7522 GB, free: 3.406 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.629e-05/1.176, allocations: 68 kB / 0.7523 GB, free: 3.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.736e-05/1.176, allocations: 136 kB / 0.7524 GB, free: 3.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002254/1.178, allocations: 0.9314 MB / 0.7533 GB, free: 2.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004339/1.182, allocations: 1.51 MB / 0.7548 GB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008992/1.191, allocations: 7.41 MB / 0.762 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006334/1.198, allocations: 357.2 kB / 0.7624 GB, free: 9.953 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001778/1.2, allocations: 398.9 kB / 0.7628 GB, free: 9.574 MB / 442.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.001592/1.201, allocations: 0.618 MB / 0.7634 GB, free: 8.953 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/1.202, allocations: 430.4 kB / 0.7638 GB, free: 8.527 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007507/1.21, allocations: 3.501 MB / 0.7672 GB, free: 5.633 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.228e-05/1.21, allocations: 27.95 kB / 0.7672 GB, free: 5.605 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.554e-05/1.21, allocations: 4 kB / 0.7672 GB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.471e-05/1.21, allocations: 13.89 kB / 0.7672 GB, free: 5.598 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0205/1.231, allocations: 9.361 MB / 0.7764 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.517e-05/1.231, allocations: 0 / 0.7764 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.232, allocations: 351.3 kB / 0.7767 GB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002223/1.235, allocations: 0.6867 MB / 0.7774 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/1.235, allocations: 39.14 kB / 0.7774 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008325/1.243, allocations: 6.554 MB / 0.7838 GB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.243, allocations: 4 kB / 0.7838 GB, free: 7.551 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009796/1.253, allocations: 6.219 MB / 0.7899 GB, free: 2.004 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/1.256, allocations: 0.7351 MB / 0.7906 GB, free: 1.305 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000723/1.256, allocations: 36 kB / 0.7906 GB, free: 1.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/1.258, allocations: 111.8 kB / 0.7908 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003431/1.258, allocations: 135.8 kB / 0.7909 GB, free: 1.109 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/1.259, allocations: 56 kB / 0.7909 GB, free: 1.055 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.2569/1.515, allocations: 3.341 MB / 0.7942 GB, free: 99.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.516, allocations: 0 / 0.7942 GB, free: 99.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007686/1.523, allocations: 1.181 MB / 0.7954 GB, free: 99.18 MB / 458.7 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 () * 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.0006531/1.524, allocations: 177 kB / 0.7955 GB, free: 99.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01084/1.535, allocations: 5.605 MB / 0.801 GB, free: 98.85 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/1.535, allocations: 1.281 kB / 0.801 GB, free: 98.85 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00319/1.538, allocations: 1.936 MB / 0.8029 GB, free: 98.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/1.541, allocations: 0.5274 MB / 0.8034 GB, free: 98.58 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01951/1.561, allocations: 9.279 MB / 0.8125 GB, free: 96.76 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005519/1.567, allocations: 4.107 MB / 0.8165 GB, free: 95.93 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005535/1.572, allocations: 2.1 MB / 0.8185 GB, free: 95.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00095/1.573, allocations: 287.5 kB / 0.8188 GB, free: 95.88 MB / 458.7 MB Notification: Performance of SimCode: time 1.192e-06/1.573, allocations: 0 / 0.8188 GB, free: 95.88 MB / 458.7 MB Notification: Performance of Templates: time 0.07617/1.649, allocations: 40.99 MB / 0.8588 GB, free: 94.11 MB / 458.7 MB 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)