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.0007765/0.0007765, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00622/0.00622, allocations: 170 kB / 16.27 MB, free: 6.652 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.344/1.344, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.0006893/0.0006893, allocations: 8 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2332, allocations: 47.58 MB / 327 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.06912/0.3024, allocations: 56.49 MB / 383.5 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02512/0.3275, allocations: 11.7 MB / 395.2 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008417/0.336, allocations: 243.4 kB / 395.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.3376, allocations: 469.7 kB / 395.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005096/0.3427, allocations: 1.962 MB / 397.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.3443, allocations: 0.6514 MB / 398.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007943/0.3523, allocations: 6.706 MB / 405.2 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008585/0.3609, allocations: 5.854 MB / 411.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002605/0.3635, allocations: 1.291 MB / 412.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003287/0.3669, allocations: 2.172 MB / 414.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008747/0.3678, allocations: 164 kB / 414.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.3703, allocations: 1.119 MB / 415.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002637/0.3729, allocations: 1.99 MB / 417.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00382/0.3768, allocations: 2.272 MB / 420.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008948/0.3857, allocations: 7.653 MB / 427.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3858, allocations: 4 kB / 427.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3858, allocations: 0 / 427.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003063/0.3861, allocations: 4 kB / 427.8 MB, free: 14.2 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.00948/0.3956, allocations: 4.518 MB / 432.3 MB, free: 9.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3957, allocations: 11.97 kB / 432.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009877/0.4055, allocations: 2.295 MB / 434.6 MB, free: 7.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005996/0.4116, allocations: 2.956 MB / 437.5 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.4118, allocations: 262.8 kB / 437.8 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000997/0.4128, allocations: 351.7 kB / 438.1 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02049/0.4333, allocations: 11.66 MB / 449.8 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/0.4335, allocations: 39.59 kB / 449.8 MB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004956/0.434, allocations: 167.8 kB / 450 MB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00397/0.438, allocations: 2.338 MB / 452.4 MB, free: 4.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1902/0.6282, allocations: 9.984 MB / 462.3 MB, free: 109.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04709/0.6753, allocations: 44.52 MB / 0.495 GB, free: 69.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/0.6869, allocations: 5.344 MB / 0.5002 GB, free: 64.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002897/0.6898, allocations: 2.812 MB / 0.5029 GB, free: 61.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009435/0.6993, allocations: 8.128 MB / 0.5109 GB, free: 53.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.6993, allocations: 55.88 kB / 0.5109 GB, free: 53.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 4.388e-06/0.6994, allocations: 0 / 0.5109 GB, free: 53.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=237): time 0.04473/0.7441, allocations: 20.8 MB / 0.5312 GB, free: 32.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.7442, allocations: 176.2 kB / 0.5314 GB, free: 32.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005295/0.7495, allocations: 4.762 MB / 0.5361 GB, free: 27.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004901/0.75, allocations: 61.22 kB / 0.5361 GB, free: 27.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001612/0.7516, allocations: 3.392 MB / 0.5394 GB, free: 23.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009424/0.7526, allocations: 0.8892 MB / 0.5403 GB, free: 23.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006837/0.7533, allocations: 0.5839 MB / 0.5409 GB, free: 22.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.7533, allocations: 305.1 kB / 0.5412 GB, free: 22.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003336/0.7567, allocations: 2.707 MB / 0.5438 GB, free: 19.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004835/0.7615, allocations: 6.61 MB / 0.5503 GB, free: 10.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009052/0.7706, allocations: 10.08 MB / 0.5601 GB, free: 14.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.301e-05/0.7707, allocations: 36 kB / 0.5601 GB, free: 14.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01772/0.7884, allocations: 10.19 MB / 0.5701 GB, free: 4.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.51e-05/0.7885, allocations: 64 kB / 0.5701 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000128/0.7887, allocations: 140.2 kB / 0.5703 GB, free: 4.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003035/0.7917, allocations: 1.199 MB / 0.5715 GB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005486/0.7972, allocations: 1.602 MB / 0.573 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/0.8075, allocations: 6.797 MB / 0.5797 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004972/0.8125, allocations: 391.4 kB / 0.58 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/0.8136, allocations: 403.4 kB / 0.5804 GB, free: 9.965 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.004753/0.8184, allocations: 2.389 MB / 0.5827 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/0.8194, allocations: 410.7 kB / 0.5831 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/0.8295, allocations: 4.776 MB / 0.5878 GB, free: 2.359 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-05/0.8296, allocations: 24 kB / 0.5878 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.8296, allocations: 7.938 kB / 0.5878 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.783e-05/0.8297, allocations: 7.969 kB / 0.5878 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02232/0.852, allocations: 10.91 MB / 0.5985 GB, free: 7.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.176e-05/0.8521, allocations: 4 kB / 0.5985 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/0.8542, allocations: 427.3 kB / 0.5989 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002808/0.857, allocations: 1.02 MB / 0.5999 GB, free: 5.879 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002661/0.8573, allocations: 47.94 kB / 0.5999 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1885/1.046, allocations: 6.372 MB / 0.6062 GB, free: 142.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.27e-05/1.046, allocations: 10.59 kB / 0.6062 GB, free: 142.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/1.058, allocations: 8.158 MB / 0.6141 GB, free: 140.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/1.06, allocations: 0.8423 MB / 0.615 GB, free: 140 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005442/1.06, allocations: 46.33 kB / 0.615 GB, free: 140 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/1.062, allocations: 151.3 kB / 0.6152 GB, free: 139.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004128/1.063, allocations: 144 kB / 0.6153 GB, free: 139.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001974/1.063, allocations: 76.25 kB / 0.6154 GB, free: 139.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00416/1.067, allocations: 3.049 MB / 0.6183 GB, free: 138.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.067, allocations: 3.906 kB / 0.6184 GB, free: 138.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005189/1.072, allocations: 1.18 MB / 0.6195 GB, free: 138.7 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.0005337/1.073, allocations: 188.4 kB / 0.6197 GB, free: 138.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009043/1.082, allocations: 6.504 MB / 0.626 GB, free: 136.3 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.082, allocations: 0 / 0.626 GB, free: 136.3 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003266/1.085, allocations: 2.416 MB / 0.6284 GB, free: 135.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006474/1.092, allocations: 499.1 kB / 0.6289 GB, free: 135.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/1.11, allocations: 13.65 MB / 0.6422 GB, free: 123 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004653/1.114, allocations: 3.672 MB / 0.6458 GB, free: 119.9 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005327/1.12, allocations: 2.219 MB / 0.648 GB, free: 117.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/1.121, allocations: 291.4 kB / 0.6482 GB, free: 117.4 MB / 430.1 MB Notification: Performance of SimCode: time 8.61e-07/1.121, allocations: 0 / 0.6482 GB, free: 117.4 MB / 430.1 MB Notification: Performance of Templates: time 0.06519/1.186, allocations: 43.83 MB / 0.691 GB, free: 73.57 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)