Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001386/0.001386, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001643/0.001643, allocations: 199.3 kB / 16.14 MB, free: 6.664 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.429/1.429, allocations: 205.1 MB / 222 MB, free: 4.73 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.001721/0.001721, allocations: 55.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2204, allocations: 46.62 MB / 324.7 MB, free: 1.957 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.04793/0.2683, allocations: 57.95 MB / 382.6 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02401/0.2924, allocations: 11.76 MB / 394.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009526/0.302, allocations: 247.4 kB / 394.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005549/0.3076, allocations: 3.23 MB / 397.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004471/0.3121, allocations: 1.946 MB / 399.8 MB, free: 8.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.3136, allocations: 0.7801 MB / 400.6 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007371/0.321, allocations: 6.702 MB / 407.3 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004382/0.3254, allocations: 4.132 MB / 411.4 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.3274, allocations: 1.553 MB / 413 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002738/0.3302, allocations: 2.519 MB / 415.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00058/0.3308, allocations: 276 kB / 415.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.3329, allocations: 1.232 MB / 417 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.3346, allocations: 2.143 MB / 419.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002263/0.3369, allocations: 2.442 MB / 421.6 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006971/0.3439, allocations: 7.885 MB / 429.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3439, allocations: 0 / 429.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3439, allocations: 0 / 429.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000141/0.3441, allocations: 4 kB / 429.5 MB, free: 10.97 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.009311/0.3534, allocations: 5.516 MB / 435 MB, free: 5.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3534, allocations: 8.031 kB / 435 MB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008573/0.362, allocations: 2.233 MB / 437.2 MB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005226/0.3673, allocations: 2.96 MB / 440.2 MB, free: 120 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.3675, allocations: 262.8 kB / 440.4 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005766/0.368, allocations: 351.7 kB / 440.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01713/0.3852, allocations: 11.65 MB / 452.4 MB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.965e-05/0.3853, allocations: 39.59 kB / 452.5 MB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004219/0.3858, allocations: 167.8 kB / 452.6 MB, free: 2.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003627/0.3894, allocations: 2.346 MB / 455 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1921/0.5815, allocations: 9.971 MB / 465 MB, free: 109.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04366/0.6252, allocations: 44.5 MB / 0.4975 GB, free: 66.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/0.6365, allocations: 5.333 MB / 0.5027 GB, free: 60.92 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002855/0.6394, allocations: 2.814 MB / 0.5055 GB, free: 58.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.6494, allocations: 8.131 MB / 0.5134 GB, free: 49.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.6495, allocations: 55.81 kB / 0.5135 GB, free: 49.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 4.468e-06/0.6495, allocations: 0 / 0.5135 GB, free: 49.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=237): time 0.04449/0.694, allocations: 20.78 MB / 0.5338 GB, free: 28.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.6941, allocations: 176.2 kB / 0.5339 GB, free: 28.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004892/0.699, allocations: 4.773 MB / 0.5386 GB, free: 23.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000315/0.6993, allocations: 68.77 kB / 0.5386 GB, free: 23.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/0.7008, allocations: 3.384 MB / 0.542 GB, free: 20.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006554/0.7014, allocations: 0.8907 MB / 0.5428 GB, free: 19.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001419/0.7029, allocations: 1.38 MB / 0.5442 GB, free: 18.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.123e-05/0.7029, allocations: 305.1 kB / 0.5445 GB, free: 17.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003022/0.7059, allocations: 2.707 MB / 0.5471 GB, free: 15.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004209/0.7101, allocations: 6.614 MB / 0.5536 GB, free: 6.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/0.7204, allocations: 10.07 MB / 0.5634 GB, free: 10.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000102/0.7205, allocations: 40 kB / 0.5634 GB, free: 10.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01852/0.739, allocations: 10.18 MB / 0.5734 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.849e-05/0.7392, allocations: 64 kB / 0.5734 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001657/0.7393, allocations: 140 kB / 0.5736 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/0.7424, allocations: 1.199 MB / 0.5747 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005342/0.7477, allocations: 1.606 MB / 0.5763 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.758, allocations: 6.796 MB / 0.583 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006686/0.7647, allocations: 383.4 kB / 0.5833 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001392/0.7661, allocations: 412 kB / 0.5837 GB, free: 5.609 MB / 414.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.005388/0.7716, allocations: 2.381 MB / 0.586 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/0.7727, allocations: 410.7 kB / 0.5864 GB, free: 2.809 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008859/0.7816, allocations: 4.776 MB / 0.5911 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.775e-05/0.7816, allocations: 24 kB / 0.5911 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.7817, allocations: 11.98 kB / 0.5911 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/0.7817, allocations: 7.969 kB / 0.5911 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/0.8004, allocations: 10.91 MB / 0.6018 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.8004, allocations: 4 kB / 0.6018 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001951/0.8024, allocations: 431.9 kB / 0.6022 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002671/0.8051, allocations: 1.019 MB / 0.6032 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002038/0.8053, allocations: 55.92 kB / 0.6033 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1749/0.9802, allocations: 6.347 MB / 0.6095 GB, free: 142.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.9802, allocations: 14.22 kB / 0.6095 GB, free: 142.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/0.9913, allocations: 8.157 MB / 0.6174 GB, free: 139 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/0.9932, allocations: 0.8307 MB / 0.6182 GB, free: 138.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000668/0.9939, allocations: 47.19 kB / 0.6183 GB, free: 138.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001787/0.9957, allocations: 147.3 kB / 0.6184 GB, free: 138.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004165/0.9961, allocations: 142.9 kB / 0.6186 GB, free: 138.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/0.9963, allocations: 72 kB / 0.6186 GB, free: 138.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004259/1.001, allocations: 3.053 MB / 0.6216 GB, free: 137.6 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.61e-07/1.001, allocations: 0 / 0.6216 GB, free: 137.6 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005144/1.006, allocations: 1.18 MB / 0.6228 GB, free: 137.5 MB / 430.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.0004096/1.006, allocations: 194.6 kB / 0.623 GB, free: 137.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008435/1.015, allocations: 6.506 MB / 0.6293 GB, free: 135.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/1.015, allocations: 0 / 0.6293 GB, free: 135.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003095/1.018, allocations: 2.41 MB / 0.6317 GB, free: 133.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/1.021, allocations: 0.4901 MB / 0.6321 GB, free: 132.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01631/1.037, allocations: 13.56 MB / 0.6454 GB, free: 120.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002933/1.04, allocations: 3.666 MB / 0.649 GB, free: 116.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004728/1.045, allocations: 2.213 MB / 0.6511 GB, free: 114.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009003/1.046, allocations: 299.4 kB / 0.6514 GB, free: 114.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.012e-06/1.046, allocations: 0 / 0.6514 GB, free: 114.1 MB / 430.1 MB Notification: Performance of Templates: time 0.06506/1.111, allocations: 44.63 MB / 0.695 GB, free: 69.48 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1)