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.006865/0.006865, allocations: 100.3 kB / 15.73 MB, free: 6 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.001258/0.001259, allocations: 195.1 kB / 16.67 MB, free: 5.922 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.353/1.353, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001158/0.001158, allocations: 55.27 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07959/0.08076, allocations: 46.62 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.0136/0.09438, allocations: 12.49 MB / 385.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007907/0.1023, allocations: 4.198 MB / 389.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.1037, allocations: 75.81 kB / 389.9 MB, free: 484 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005165/0.1089, allocations: 3.216 MB / 393.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004449/0.1133, allocations: 2.078 MB / 395.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.1149, allocations: 0.8382 MB / 396.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005318/0.1202, allocations: 4.545 MB / 400.6 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003913/0.1241, allocations: 4.174 MB / 404.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002036/0.1262, allocations: 1.76 MB / 406.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002789/0.129, allocations: 2.356 MB / 408.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006636/0.1297, allocations: 388 kB / 409.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.1322, allocations: 1.268 MB / 410.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002265/0.1344, allocations: 2.233 MB / 412.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002491/0.1369, allocations: 2.548 MB / 415.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009918/0.1469, allocations: 8.249 MB / 423.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1469, allocations: 4 kB / 423.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1469, allocations: 0 / 423.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001879/0.1471, allocations: 0 / 423.6 MB, free: 14.66 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: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.01192/0.159, allocations: 5.512 MB / 429.1 MB, free: 9.082 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1591, allocations: 8.031 kB / 429.1 MB, free: 9.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009632/0.1687, allocations: 2.244 MB / 431.4 MB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007469/0.1762, allocations: 3.01 MB / 434.4 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.1764, allocations: 266.8 kB / 434.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006426/0.1771, allocations: 347.7 kB / 435 MB, free: 3.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01897/0.1961, allocations: 11.65 MB / 446.6 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001703/0.1963, allocations: 43.59 kB / 446.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004362/0.1967, allocations: 167.8 kB / 446.8 MB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0037/0.2004, allocations: 2.338 MB / 449.2 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1806/0.3811, allocations: 9.963 MB / 459.1 MB, free: 62.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04175/0.4228, allocations: 44.28 MB / 0.4916 GB, free: 28.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01096/0.4338, allocations: 5.342 MB / 0.4968 GB, free: 23.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002645/0.4365, allocations: 2.81 MB / 0.4996 GB, free: 20.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01056/0.4471, allocations: 8.127 MB / 0.5075 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.4471, allocations: 55.81 kB / 0.5076 GB, free: 12.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 4.609e-06/0.4472, allocations: 0 / 0.5076 GB, free: 12.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=237): time 0.046/0.4932, allocations: 20.79 MB / 0.5279 GB, free: 7.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/0.4934, allocations: 180.2 kB / 0.528 GB, free: 7.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005943/0.4993, allocations: 4.766 MB / 0.5327 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003964/0.4997, allocations: 65.14 kB / 0.5327 GB, free: 2.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002261/0.502, allocations: 3.39 MB / 0.5361 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001128/0.5031, allocations: 0.8914 MB / 0.5369 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001777/0.5049, allocations: 1.376 MB / 0.5383 GB, free: 12.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.552e-05/0.505, allocations: 306.3 kB / 0.5386 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003949/0.509, allocations: 2.703 MB / 0.5412 GB, free: 9.582 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007075/0.5161, allocations: 6.614 MB / 0.5477 GB, free: 1.043 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/0.5285, allocations: 10.08 MB / 0.5575 GB, free: 5.043 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.183e-05/0.5286, allocations: 36 kB / 0.5575 GB, free: 5.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01701/0.5456, allocations: 10.18 MB / 0.5675 GB, free: 10.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.441e-05/0.5457, allocations: 64 kB / 0.5675 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001214/0.5459, allocations: 136.8 kB / 0.5677 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002836/0.5487, allocations: 1.203 MB / 0.5688 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004743/0.5535, allocations: 1.602 MB / 0.5704 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009041/0.5625, allocations: 7.26 MB / 0.5775 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004348/0.5669, allocations: 383.5 kB / 0.5779 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005986/0.5675, allocations: 411.8 kB / 0.5783 GB, free: 15.62 MB / 462.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.003174/0.5707, allocations: 2.373 MB / 0.5806 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000628/0.5713, allocations: 414.6 kB / 0.581 GB, free: 12.83 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008194/0.5795, allocations: 4.772 MB / 0.5856 GB, free: 8.035 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.933e-05/0.5796, allocations: 24 kB / 0.5857 GB, free: 8.012 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.5796, allocations: 8 kB / 0.5857 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.5796, allocations: 7.969 kB / 0.5857 GB, free: 7.996 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01824/0.5978, allocations: 10.81 MB / 0.5962 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.5979, allocations: 11.92 kB / 0.5962 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/0.5999, allocations: 423.4 kB / 0.5966 GB, free: 12.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00268/0.6026, allocations: 1.024 MB / 0.5976 GB, free: 11.62 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/0.6027, allocations: 47.98 kB / 0.5977 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008938/0.6117, allocations: 6.886 MB / 0.6044 GB, free: 4.543 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.6117, allocations: 7.938 kB / 0.6044 GB, free: 4.535 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/0.6234, allocations: 8.159 MB / 0.6124 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002219/0.6256, allocations: 0.8391 MB / 0.6132 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004568/0.6261, allocations: 48 kB / 0.6133 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/0.6278, allocations: 143.8 kB / 0.6134 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/0.6282, allocations: 141.7 kB / 0.6135 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/0.6283, allocations: 75.98 kB / 0.6136 GB, free: 11.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003902/0.6322, allocations: 3.05 MB / 0.6166 GB, free: 7.973 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6323, allocations: 0.8438 kB / 0.6166 GB, free: 7.973 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004232/0.6365, allocations: 1.182 MB / 0.6177 GB, free: 6.793 MB / 494.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.0003772/0.6369, allocations: 197.4 kB / 0.6179 GB, free: 6.594 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008787/0.6457, allocations: 6.531 MB / 0.6243 GB, free: 80 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.6457, allocations: 0 / 0.6243 GB, free: 80 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1858/0.8315, allocations: 2.416 MB / 0.6267 GB, free: 164.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004982/0.8366, allocations: 0.5164 MB / 0.6272 GB, free: 164.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0282/0.8648, allocations: 11.22 MB / 0.6381 GB, free: 160.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006043/0.8709, allocations: 3.683 MB / 0.6417 GB, free: 159 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007147/0.8781, allocations: 2.22 MB / 0.6439 GB, free: 158.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001625/0.8797, allocations: 298.4 kB / 0.6442 GB, free: 158.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.342e-06/0.8798, allocations: 0 / 0.6442 GB, free: 158.8 MB / 494.1 MB Notification: Performance of Templates: time 0.09741/0.9772, allocations: 42.54 MB / 0.6857 GB, free: 122.7 MB / 494.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)