Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005619/0.005619, allocations: 98.3 kB / 15.73 MB, free: 5.977 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.001137/0.001137, allocations: 195.9 kB / 16.67 MB, free: 5.906 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.307/1.307, allocations: 205.1 MB / 222.5 MB, free: 12.2 MB / 190.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.001049/0.001049, allocations: 43.94 kB / 326.5 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08287/0.08393, allocations: 46.62 MB / 373.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.1653/0.2493, allocations: 12.5 MB / 385.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007615/0.2569, allocations: 4.188 MB / 389.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.2588, allocations: 74.34 kB / 389.9 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005119/0.2639, allocations: 3.228 MB / 393.2 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005129/0.2691, allocations: 2.073 MB / 395.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.2708, allocations: 0.8285 MB / 396.1 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006389/0.2772, allocations: 4.549 MB / 400.6 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005426/0.2826, allocations: 4.177 MB / 404.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003166/0.2858, allocations: 1.761 MB / 406.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003551/0.2894, allocations: 2.35 MB / 408.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007997/0.2902, allocations: 387.2 kB / 409.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.2926, allocations: 1.27 MB / 410.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001947/0.2946, allocations: 2.234 MB / 412.8 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002367/0.297, allocations: 2.544 MB / 415.3 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008823/0.3058, allocations: 8.28 MB / 423.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3058, allocations: 0 / 423.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3059, allocations: 4 kB / 423.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001465/0.306, allocations: 0 / 423.6 MB, free: 12.94 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.009737/0.3157, allocations: 5.667 MB / 429.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3158, allocations: 8.031 kB / 429.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009177/0.325, allocations: 2.263 MB / 431.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005767/0.3308, allocations: 3.012 MB / 434.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001844/0.331, allocations: 274.7 kB / 434.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005949/0.3316, allocations: 351.8 kB / 435.2 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/0.35, allocations: 11.65 MB / 446.8 MB, free: 4.871 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001079/0.3501, allocations: 47.64 kB / 446.9 MB, free: 4.824 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004186/0.3506, allocations: 163.8 kB / 447 MB, free: 4.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003841/0.3544, allocations: 2.342 MB / 449.4 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0183/0.3727, allocations: 9.971 MB / 459.3 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05344/0.4262, allocations: 44.35 MB / 0.4919 GB, free: 10.83 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01354/0.4398, allocations: 5.338 MB / 0.4971 GB, free: 5.348 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00417/0.444, allocations: 2.822 MB / 0.4998 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01448/0.4585, allocations: 8.141 MB / 0.5078 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.659e-05/0.4586, allocations: 55.88 kB / 0.5079 GB, free: 10.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=216): time 6.853e-06/0.4586, allocations: 3.938 kB / 0.5079 GB, free: 10.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=237): time 0.05517/0.5138, allocations: 21.04 MB / 0.5284 GB, free: 4.941 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/0.5139, allocations: 180.3 kB / 0.5286 GB, free: 4.727 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006746/0.5207, allocations: 4.782 MB / 0.5332 GB, free: 15.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003487/0.5211, allocations: 57.7 kB / 0.5333 GB, free: 15.87 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002312/0.5234, allocations: 3.529 MB / 0.5367 GB, free: 12.31 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001069/0.5245, allocations: 0.9302 MB / 0.5377 GB, free: 11.37 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001839/0.5263, allocations: 1.397 MB / 0.539 GB, free: 9.965 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.118e-05/0.5264, allocations: 305.1 kB / 0.5393 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003856/0.5303, allocations: 2.703 MB / 0.5419 GB, free: 6.957 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1979/0.7282, allocations: 6.606 MB / 0.5484 GB, free: 142.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.7393, allocations: 10.08 MB / 0.5582 GB, free: 136 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/0.7394, allocations: 39.5 kB / 0.5583 GB, free: 136 MB / 478.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01816/0.7576, allocations: 10.2 MB / 0.5682 GB, free: 132.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.7578, allocations: 64.69 kB / 0.5683 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/0.7579, allocations: 137.2 kB / 0.5684 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00321/0.7612, allocations: 1.204 MB / 0.5696 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00551/0.7667, allocations: 1.605 MB / 0.5712 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008329/0.775, allocations: 7.271 MB / 0.5783 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005035/0.7801, allocations: 384.9 kB / 0.5786 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006952/0.7808, allocations: 410.4 kB / 0.579 GB, free: 128.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (835): * Single equations (assignments): 829 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003075/0.7839, allocations: 2.38 MB / 0.5814 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006102/0.7845, allocations: 435.3 kB / 0.5818 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007113/0.7916, allocations: 4.773 MB / 0.5864 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/0.7917, allocations: 27.94 kB / 0.5865 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.7917, allocations: 6 kB / 0.5865 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/0.7917, allocations: 7.266 kB / 0.5865 GB, free: 125.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/0.8062, allocations: 10.79 MB / 0.597 GB, free: 118.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/0.8063, allocations: 8.281 kB / 0.597 GB, free: 118.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/0.8082, allocations: 427.3 kB / 0.5974 GB, free: 117.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00235/0.8105, allocations: 1.016 MB / 0.5984 GB, free: 116.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/0.8107, allocations: 47.98 kB / 0.5985 GB, free: 116.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007065/0.8178, allocations: 6.886 MB / 0.6052 GB, free: 109.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.8179, allocations: 8 kB / 0.6052 GB, free: 109.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009997/0.8279, allocations: 8.185 MB / 0.6132 GB, free: 101.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/0.8295, allocations: 0.8554 MB / 0.614 GB, free: 100.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006266/0.8302, allocations: 44 kB / 0.6141 GB, free: 100.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/0.8319, allocations: 155.8 kB / 0.6142 GB, free: 100.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/0.8323, allocations: 149.6 kB / 0.6144 GB, free: 100.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/0.8324, allocations: 67.92 kB / 0.6144 GB, free: 100.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003494/0.8359, allocations: 3.054 MB / 0.6174 GB, free: 97.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8359, allocations: 4 kB / 0.6174 GB, free: 97.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005574/0.8415, allocations: 1.188 MB / 0.6186 GB, free: 96.23 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (198): * Single equations (assignments): 194 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000424/0.842, allocations: 183.6 kB / 0.6188 GB, free: 96.05 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009096/0.8511, allocations: 6.542 MB / 0.6251 GB, free: 89.53 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.8511, allocations: 4.875 kB / 0.6251 GB, free: 89.53 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003211/0.8543, allocations: 2.422 MB / 0.6275 GB, free: 87.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/0.8572, allocations: 0.507 MB / 0.628 GB, free: 86.62 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/0.8724, allocations: 11.38 MB / 0.6391 GB, free: 75.15 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002916/0.8753, allocations: 3.679 MB / 0.6427 GB, free: 71.45 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004365/0.8797, allocations: 2.212 MB / 0.6449 GB, free: 69.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009192/0.8806, allocations: 291.4 kB / 0.6452 GB, free: 68.95 MB / 478.1 MB Notification: Performance of SimCode: time 7.21e-07/0.8806, allocations: 0 / 0.6452 GB, free: 68.95 MB / 478.1 MB Notification: Performance of Templates: time 0.08591/0.9666, allocations: 42.64 MB / 0.6868 GB, free: 26.36 MB / 478.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1)