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.00145/0.00145, allocations: 176 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.614/1.614, allocations: 194.4 MB / 202.4 MB, free: 13.02 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.001724/0.001724, allocations: 108.5 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1808/0.1808, allocations: 39.95 MB / 332.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.364e-05, allocations: 4 kB / 393.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2646, allocations: 54.87 MB / 448.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3442/0.6088, allocations: 101.8 MB / 0.5371 GB, free: 88.26 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.6091, allocations: 84.27 kB / 0.5371 GB, free: 88.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2379/0.847, allocations: 104.2 MB / 0.6389 GB, free: 1.301 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.847, allocations: 0 / 0.6389 GB, free: 1.301 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003995/0.8475, allocations: 108 kB / 0.639 GB, free: 1.195 MB / 394.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.01696/0.8644, allocations: 5.256 MB / 0.6441 GB, free: 11.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.8645, allocations: 8.031 kB / 0.6441 GB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02909/0.8936, allocations: 6.939 MB / 0.6509 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01833/0.912, allocations: 6.875 MB / 0.6576 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004009/0.9124, allocations: 172 kB / 0.6578 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/0.9149, allocations: 331.9 kB / 0.6581 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.017/0.9319, allocations: 7.541 MB / 0.6655 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02805/0.96, allocations: 11.33 MB / 0.6765 GB, free: 9.457 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004133/0.9604, allocations: 75.31 kB / 0.6766 GB, free: 9.383 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002236/0.9627, allocations: 32 kB / 0.6766 GB, free: 9.352 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001823/0.9645, allocations: 1.125 MB / 0.6777 GB, free: 8.227 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3404/1.305, allocations: 55.94 MB / 0.7323 GB, free: 55.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/1.309, allocations: 3.503 MB / 0.7358 GB, free: 55.26 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003338/1.313, allocations: 2.273 MB / 0.738 GB, free: 55.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004982/1.313, allocations: 334.7 kB / 0.7383 GB, free: 54.95 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/1.313, allocations: 60.72 kB / 0.7384 GB, free: 54.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=201): time 5.541e-06/1.313, allocations: 0 / 0.7384 GB, free: 54.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=228): time 0.039/1.352, allocations: 19.96 MB / 0.7578 GB, free: 51.33 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/1.352, allocations: 205.8 kB / 0.758 GB, free: 51.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004941/1.357, allocations: 3.654 MB / 0.7616 GB, free: 50.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003543/1.358, allocations: 28.52 kB / 0.7616 GB, free: 50.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001949/1.36, allocations: 3.816 MB / 0.7654 GB, free: 48.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008213/1.361, allocations: 0.8426 MB / 0.7662 GB, free: 48.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/1.361, allocations: 0 / 0.7662 GB, free: 48.39 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002773/1.361, allocations: 0.6014 MB / 0.7668 GB, free: 48.07 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/1.364, allocations: 2.166 MB / 0.7689 GB, free: 47.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004381/1.368, allocations: 6.227 MB / 0.775 GB, free: 41.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005178/1.373, allocations: 3.66 MB / 0.7785 GB, free: 39.94 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.96e-05/1.373, allocations: 41.59 kB / 0.7786 GB, free: 39.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01469/1.388, allocations: 8.249 MB / 0.7866 GB, free: 37.57 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.981e-05/1.388, allocations: 69.64 kB / 0.7867 GB, free: 37.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001789/1.388, allocations: 143.4 kB / 0.7868 GB, free: 37.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/1.391, allocations: 0.9512 MB / 0.7878 GB, free: 37.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005284/1.396, allocations: 1.577 MB / 0.7893 GB, free: 37.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007473/1.404, allocations: 7.248 MB / 0.7964 GB, free: 32.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005557/1.409, allocations: 241.1 kB / 0.7966 GB, free: 32.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001291/1.411, allocations: 416 kB / 0.797 GB, free: 32.62 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * 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 (832): * Single equations (assignments): 827 * 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.001049/1.412, allocations: 472.3 kB / 0.7975 GB, free: 32.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009396/1.413, allocations: 397 kB / 0.7978 GB, free: 32.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005861/1.418, allocations: 3.498 MB / 0.8013 GB, free: 30.73 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-05/1.418, allocations: 28.47 kB / 0.8013 GB, free: 30.73 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/1.418, allocations: 6.469 kB / 0.8013 GB, free: 30.73 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/1.419, allocations: 14.44 kB / 0.8013 GB, free: 30.73 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/1.433, allocations: 8.562 MB / 0.8097 GB, free: 24.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/1.433, allocations: 4 kB / 0.8097 GB, free: 24.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/1.435, allocations: 355.5 kB / 0.81 GB, free: 23.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/1.436, allocations: 0.6739 MB / 0.8107 GB, free: 23.33 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/1.437, allocations: 15.7 kB / 0.8107 GB, free: 23.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005999/1.443, allocations: 6.207 MB / 0.8168 GB, free: 17.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.443, allocations: 7.953 kB / 0.8168 GB, free: 17.53 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007677/1.45, allocations: 6.323 MB / 0.8229 GB, free: 11.87 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/1.452, allocations: 0.7091 MB / 0.8236 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004424/1.453, allocations: 6.531 kB / 0.8236 GB, free: 11.19 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.454, allocations: 79.97 kB / 0.8237 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/1.454, allocations: 144.5 kB / 0.8238 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/1.455, allocations: 59.89 kB / 0.8239 GB, free: 10.99 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003265/1.458, allocations: 2.474 MB / 0.8263 GB, free: 8.836 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/1.458, allocations: 3.5 kB / 0.8263 GB, free: 8.836 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005732/1.464, allocations: 1.041 MB / 0.8273 GB, free: 7.805 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (179): * Single equations (assignments): 174 * 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.0004033/1.464, allocations: 142.5 kB / 0.8275 GB, free: 7.66 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007618/1.472, allocations: 5.474 MB / 0.8328 GB, free: 2.707 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.472, allocations: 0 / 0.8328 GB, free: 2.707 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002642/1.474, allocations: 1.942 MB / 0.8347 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/1.477, allocations: 447.2 kB / 0.8351 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01902/1.497, allocations: 9.358 MB / 0.8443 GB, free: 8.543 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004429/1.501, allocations: 4.106 MB / 0.8483 GB, free: 5.477 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005396/1.506, allocations: 2.173 MB / 0.8504 GB, free: 4.102 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008008/1.507, allocations: 274 kB / 0.8507 GB, free: 3.844 MB / 474.7 MB Notification: Performance of SimCode: time 1.032e-06/1.507, allocations: 0 / 0.8507 GB, free: 3.844 MB / 474.7 MB Notification: Performance of Templates: time 0.06909/1.576, allocations: 36.51 MB / 0.8863 GB, free: 5.035 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)