Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.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) 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(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007925/0.007925, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001339/0.001339, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.518/1.518, allocations: 205.1 MB / 222.5 MB, free: 4.375 MB / 174.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: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 50.55 kB / 326.5 MB, free: 14.47 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1082, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint): time 0.01492/0.1231, allocations: 14.21 MB / 387.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.1347, allocations: 4.642 MB / 392 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003636/0.1384, allocations: 95.69 kB / 392.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008569/0.147, allocations: 4.225 MB / 396.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007174/0.1542, allocations: 2.264 MB / 398.6 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.1571, allocations: 0.9282 MB / 399.5 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01042/0.1675, allocations: 5.902 MB / 405.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01076/0.1783, allocations: 5.309 MB / 410.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005007/0.1834, allocations: 2.2 MB / 413 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005595/0.1891, allocations: 2.936 MB / 415.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001914/0.191, allocations: 496 kB / 416.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003938/0.195, allocations: 1.366 MB / 417.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00406/0.1991, allocations: 2.63 MB / 420.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006189/0.2053, allocations: 2.999 MB / 423.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.2215, allocations: 9.566 MB / 432.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.949e-06/0.2216, allocations: 0 / 432.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2216, allocations: 0 / 432.9 MB, free: 5.281 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004216/0.222, allocations: 0 / 432.9 MB, free: 5.281 MB / 366.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.02135/0.2434, allocations: 6.35 MB / 439.3 MB, free: 14.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.2435, allocations: 11.97 kB / 439.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/0.2574, allocations: 2.61 MB / 441.9 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01019/0.2676, allocations: 4.039 MB / 445.9 MB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002781/0.2679, allocations: 316.5 kB / 446.3 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/0.2697, allocations: 443.8 kB / 446.7 MB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2591/0.5288, allocations: 12.24 MB / 458.9 MB, free: 62.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002245/0.5291, allocations: 55.02 kB / 459 MB, free: 62.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005744/0.5296, allocations: 193.3 kB / 459.2 MB, free: 62.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004391/0.534, allocations: 2.204 MB / 461.4 MB, free: 61.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02348/0.5576, allocations: 10.54 MB / 471.9 MB, free: 58.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05538/0.613, allocations: 47.35 MB / 0.5071 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.6239, allocations: 4.601 MB / 0.5116 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003889/0.6279, allocations: 2.639 MB / 0.5142 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01909/0.647, allocations: 10.45 MB / 0.5244 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.6471, allocations: 59.81 kB / 0.5244 GB, free: 11.87 MB / 398.1 MB Notification: Performance of pre-optimization done (n=192): time 5.871e-06/0.6471, allocations: 0 / 0.5244 GB, free: 11.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=218): time 0.06119/0.7083, allocations: 20.97 MB / 0.5449 GB, free: 6.793 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002169/0.7086, allocations: 209.2 kB / 0.5451 GB, free: 6.543 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007891/0.7165, allocations: 4.82 MB / 0.5498 GB, free: 1.719 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005928/0.7171, allocations: 57.7 kB / 0.5499 GB, free: 1.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002785/0.7199, allocations: 3.719 MB / 0.5535 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00142/0.7214, allocations: 0.8291 MB / 0.5543 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002311/0.7237, allocations: 1.396 MB / 0.5557 GB, free: 11.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.7238, allocations: 305.1 kB / 0.556 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003871/0.7277, allocations: 2.586 MB / 0.5585 GB, free: 8.746 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006496/0.7342, allocations: 6.546 MB / 0.5649 GB, free: 248 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/0.7455, allocations: 9.821 MB / 0.5745 GB, free: 4.469 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.264e-05/0.7456, allocations: 40 kB / 0.5745 GB, free: 4.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.0211/0.7667, allocations: 10.26 MB / 0.5845 GB, free: 10.16 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002605/0.767, allocations: 64.84 kB / 0.5846 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003135/0.7673, allocations: 140 kB / 0.5847 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005103/0.7724, allocations: 1.615 MB / 0.5863 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005614/0.7781, allocations: 1.571 MB / 0.5878 GB, free: 6.762 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/0.7939, allocations: 10.25 MB / 0.5978 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006404/0.8003, allocations: 391.4 kB / 0.5982 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/0.8018, allocations: 404.5 kB / 0.5986 GB, free: 11.44 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 634 * 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 (834): * Single equations (assignments): 829 * 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.00657/0.8084, allocations: 2.569 MB / 0.6011 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001416/0.8098, allocations: 422.6 kB / 0.6015 GB, free: 8.441 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/0.8217, allocations: 4.636 MB / 0.606 GB, free: 3.781 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.676e-05/0.8219, allocations: 20 kB / 0.6061 GB, free: 3.762 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-05/0.8219, allocations: 8 kB / 0.6061 GB, free: 3.754 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.759e-05/0.8219, allocations: 8.438 kB / 0.6061 GB, free: 3.746 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02661/0.8486, allocations: 10.43 MB / 0.6163 GB, free: 9.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.543e-05/0.8486, allocations: 4 kB / 0.6163 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/0.8506, allocations: 347.5 kB / 0.6166 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004468/0.8551, allocations: 1.359 MB / 0.6179 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004191/0.8556, allocations: 39.94 kB / 0.618 GB, free: 7.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2574/1.113, allocations: 9.382 MB / 0.6271 GB, free: 155.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.113, allocations: 2.312 kB / 0.6271 GB, free: 155.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/1.126, allocations: 7.558 MB / 0.6345 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002539/1.129, allocations: 0.7787 MB / 0.6353 GB, free: 154.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006631/1.129, allocations: 37.23 kB / 0.6353 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/1.131, allocations: 125.7 kB / 0.6354 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004603/1.132, allocations: 132.7 kB / 0.6356 GB, free: 154.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/1.132, allocations: 63.02 kB / 0.6356 GB, free: 154.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004992/1.137, allocations: 3.042 MB / 0.6386 GB, free: 153.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.603e-06/1.137, allocations: 0 / 0.6386 GB, free: 153.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006418/1.143, allocations: 1.269 MB / 0.6398 GB, free: 152.9 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.0004498/1.144, allocations: 169.5 kB / 0.64 GB, free: 152.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008689/1.152, allocations: 6.401 MB / 0.6462 GB, free: 150.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.152, allocations: 0 / 0.6462 GB, free: 150.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003122/1.156, allocations: 2.2 MB / 0.6484 GB, free: 149.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003153/1.159, allocations: 0.5542 MB / 0.6489 GB, free: 149.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/1.176, allocations: 11.71 MB / 0.6604 GB, free: 144.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003884/1.18, allocations: 4.005 MB / 0.6643 GB, free: 141.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004236/1.184, allocations: 2.087 MB / 0.6663 GB, free: 140 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000729/1.185, allocations: 282.6 kB / 0.6666 GB, free: 139.8 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/1.185, allocations: 0 / 0.6666 GB, free: 139.8 MB / 494.1 MB Notification: Performance of Templates: time 0.0703/1.255, allocations: 43.93 MB / 0.7095 GB, free: 96.03 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GearConstraint.pipe 2>&1)