Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia2.phi|inertia2.w|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001049/0.001049, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001038/0.001038, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 59.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.206, allocations: 50.54 MB / 409.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D): time 0.01374/0.2198, allocations: 13.19 MB / 423.1 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008227/0.228, allocations: 4.653 MB / 427.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.2295, allocations: 87.75 kB / 427.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006966/0.2365, allocations: 4.073 MB / 431.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003929/0.2405, allocations: 2.031 MB / 434 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.242, allocations: 0.8306 MB / 434.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004819/0.2469, allocations: 4.779 MB / 439.6 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004814/0.2517, allocations: 5.114 MB / 444.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.2536, allocations: 1.924 MB / 446.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002711/0.2563, allocations: 2.695 MB / 449.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006277/0.2569, allocations: 452 kB / 449.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.2588, allocations: 1.319 MB / 451.1 MB, free: 8.309 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00176/0.2606, allocations: 2.318 MB / 453.4 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002156/0.2628, allocations: 2.708 MB / 456.1 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006908/0.2697, allocations: 8.691 MB / 464.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2697, allocations: 3.984 kB / 464.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2697, allocations: 0 / 464.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.947e-05/0.2698, allocations: 0 / 464.8 MB, free: 10.54 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1750 * Number of variables: 1750 Notification: Performance of Generate backend data structure: time 0.02413/0.2939, allocations: 6.973 MB / 471.8 MB, free: 3.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.294, allocations: 8.031 kB / 471.8 MB, free: 3.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01511/0.3091, allocations: 2.568 MB / 474.3 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006595/0.3157, allocations: 3.116 MB / 477.5 MB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.3159, allocations: 303.8 kB / 477.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007498/0.3166, allocations: 399.8 kB / 478.2 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02145/0.3381, allocations: 13.25 MB / 491.4 MB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000113/0.3382, allocations: 51.44 kB / 491.5 MB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005544/0.3388, allocations: 187.9 kB / 491.6 MB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004086/0.3429, allocations: 2.206 MB / 493.8 MB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.023/0.3659, allocations: 12.67 MB / 0.4946 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2091/0.575, allocations: 49.04 MB / 0.5425 GB, free: 111.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02244/0.5975, allocations: 6.416 MB / 0.5488 GB, free: 110.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003386/0.6009, allocations: 3.913 MB / 0.5526 GB, free: 110.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007062/0.6016, allocations: 424.2 kB / 0.553 GB, free: 110.2 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.6017, allocations: 57.94 kB / 0.5531 GB, free: 110.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=214): time 5.37e-06/0.6017, allocations: 8.969 kB / 0.5531 GB, free: 110.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=252): time 0.08485/0.6865, allocations: 36.07 MB / 0.5883 GB, free: 83.46 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.6866, allocations: 201.9 kB / 0.5885 GB, free: 83.22 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004198/0.6908, allocations: 4.409 MB / 0.5928 GB, free: 78.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002507/0.6911, allocations: 61.7 kB / 0.5929 GB, free: 78.72 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.6922, allocations: 3.455 MB / 0.5962 GB, free: 75.27 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005952/0.6928, allocations: 0.9502 MB / 0.5972 GB, free: 74.33 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/0.6946, allocations: 1.591 MB / 0.5987 GB, free: 72.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.549e-05/0.6946, allocations: 305 kB / 0.599 GB, free: 72.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004544/0.6992, allocations: 4.32 MB / 0.6032 GB, free: 68.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005432/0.7046, allocations: 8.214 MB / 0.6113 GB, free: 58.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/0.7154, allocations: 13.36 MB / 0.6243 GB, free: 42.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-05/0.7155, allocations: 44 kB / 0.6243 GB, free: 42.83 MB / 462.1 MB Notification: Performance of matching and sorting (n=899) (initialization): time 0.01895/0.7345, allocations: 14.75 MB / 0.6388 GB, free: 28.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.737e-05/0.7345, allocations: 66.66 kB / 0.6388 GB, free: 27.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-05/0.7346, allocations: 140.1 kB / 0.639 GB, free: 27.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005815/0.7404, allocations: 2.457 MB / 0.6414 GB, free: 25.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005388/0.7458, allocations: 1.786 MB / 0.6431 GB, free: 23.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/0.7624, allocations: 17.02 MB / 0.6597 GB, free: 6.172 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004945/0.7674, allocations: 471.3 kB / 0.6602 GB, free: 5.711 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005535/0.7679, allocations: 0.4996 MB / 0.6607 GB, free: 5.211 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 36 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.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],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (826): * Single equations (assignments): 820 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (4,21,100.0%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002764/0.7707, allocations: 2.378 MB / 0.663 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007026/0.7714, allocations: 406.8 kB / 0.6634 GB, free: 2.418 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/0.7871, allocations: 9.631 MB / 0.6728 GB, free: 8.758 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/0.7872, allocations: 11.95 kB / 0.6728 GB, free: 8.746 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.7872, allocations: 4 kB / 0.6728 GB, free: 8.742 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007056/0.7879, allocations: 455.8 kB / 0.6732 GB, free: 8.273 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005922/0.7885, allocations: 47.84 kB / 0.6733 GB, free: 8.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002766/0.7913, allocations: 219.7 kB / 0.6735 GB, free: 8.016 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006357/0.7919, allocations: 269.5 kB / 0.6737 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01742/0.8093, allocations: 9.828 MB / 0.6833 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.016/0.8254, allocations: 13 MB / 0.696 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004282/0.8297, allocations: 3.584 MB / 0.6995 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003727/0.8334, allocations: 2.771 MB / 0.7022 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of Backend: time 3.81e-07/0.8334, allocations: 0 / 0.7022 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01196/0.8454, allocations: 7.311 MB / 0.7094 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of SimCode: time 0.01492/0.8603, allocations: 11.18 MB / 0.7203 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of Templates: time 0.2723/1.133, allocations: 87.96 MB / 0.8062 GB, free: 131.9 MB / 0.5294 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.BevelGear1D.pipe 2>&1)