Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001597/0.001598, allocations: 102.3 kB / 16.62 MB, free: 6.805 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.001764/0.001764, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.319/1.319, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001192/0.001192, allocations: 43.94 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08455/0.08576, allocations: 46.63 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.2022/0.288, allocations: 57.95 MB / 384.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02247/0.3105, allocations: 11.66 MB / 395.8 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01287/0.3235, allocations: 244.2 kB / 396 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005963/0.3295, allocations: 3.111 MB / 399.1 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004593/0.3342, allocations: 1.934 MB / 401 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.3357, allocations: 0.7913 MB / 401.8 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005068/0.3408, allocations: 4.703 MB / 406.5 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004521/0.3453, allocations: 4.385 MB / 410.9 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00304/0.3484, allocations: 1.79 MB / 412.7 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003268/0.3517, allocations: 2.615 MB / 415.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007544/0.3525, allocations: 387.6 kB / 415.7 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.3547, allocations: 1.288 MB / 417 MB, free: 15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001898/0.3566, allocations: 2.252 MB / 419.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002298/0.3589, allocations: 2.576 MB / 421.8 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007194/0.3661, allocations: 8.031 MB / 429.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3662, allocations: 0 / 429.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3662, allocations: 0 / 429.8 MB, free: 2.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001836/0.3664, allocations: 0 / 429.8 MB, free: 2.484 MB / 334.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.01106/0.3774, allocations: 5.52 MB / 435.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.3775, allocations: 8.031 kB / 435.4 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008895/0.3864, allocations: 2.223 MB / 437.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006095/0.3925, allocations: 2.962 MB / 440.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000198/0.3927, allocations: 262.6 kB / 440.8 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007792/0.3935, allocations: 359.7 kB / 441.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.019/0.4125, allocations: 11.65 MB / 452.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.4127, allocations: 43.58 kB / 452.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004243/0.4131, allocations: 171.6 kB / 453 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003628/0.4168, allocations: 2.338 MB / 455.4 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01765/0.4344, allocations: 9.975 MB / 465.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05031/0.4848, allocations: 44.5 MB / 0.4979 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01217/0.497, allocations: 5.344 MB / 0.5031 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003351/0.5004, allocations: 2.81 MB / 0.5059 GB, free: 8.812 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/0.5113, allocations: 8.119 MB / 0.5138 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.5114, allocations: 59.8 kB / 0.5138 GB, free: 492 kB / 430.1 MB Notification: Performance of pre-optimization done (n=216): time 4.288e-06/0.5114, allocations: 3.938 kB / 0.5138 GB, free: 488 kB / 430.1 MB Notification: Performance of matching and sorting (n=237): time 0.1949/0.7063, allocations: 20.77 MB / 0.5341 GB, free: 165.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/0.7065, allocations: 182.6 kB / 0.5343 GB, free: 165.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007115/0.7136, allocations: 4.761 MB / 0.539 GB, free: 164.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004709/0.7141, allocations: 60.55 kB / 0.539 GB, free: 164.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001941/0.716, allocations: 3.395 MB / 0.5423 GB, free: 161.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000995/0.717, allocations: 0.8918 MB / 0.5432 GB, free: 160.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001771/0.7188, allocations: 1.381 MB / 0.5445 GB, free: 160.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.7189, allocations: 305.1 kB / 0.5448 GB, free: 160 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003563/0.7225, allocations: 2.703 MB / 0.5475 GB, free: 159.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004713/0.7272, allocations: 6.614 MB / 0.5539 GB, free: 152.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009291/0.7365, allocations: 10.09 MB / 0.5638 GB, free: 144.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/0.7367, allocations: 38.72 kB / 0.5638 GB, free: 144.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01658/0.7532, allocations: 10.17 MB / 0.5738 GB, free: 138.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.327e-05/0.7534, allocations: 64 kB / 0.5738 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/0.7535, allocations: 136 kB / 0.574 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002502/0.756, allocations: 1.211 MB / 0.5751 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004925/0.761, allocations: 1.602 MB / 0.5767 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007207/0.7682, allocations: 7.275 MB / 0.5838 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005549/0.7738, allocations: 384.9 kB / 0.5842 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009686/0.7748, allocations: 412 kB / 0.5846 GB, free: 127.6 MB / 446.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.003835/0.7786, allocations: 2.377 MB / 0.5869 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008741/0.7795, allocations: 414.6 kB / 0.5873 GB, free: 124.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006851/0.7864, allocations: 4.764 MB / 0.5919 GB, free: 120 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.643e-05/0.7864, allocations: 27.94 kB / 0.592 GB, free: 120 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.7864, allocations: 8 kB / 0.592 GB, free: 120 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/0.7865, allocations: 11.95 kB / 0.592 GB, free: 120 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/0.8027, allocations: 10.89 MB / 0.6026 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.183e-05/0.8027, allocations: 4.875 kB / 0.6026 GB, free: 109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/0.8047, allocations: 428 kB / 0.603 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/0.8071, allocations: 1.023 MB / 0.604 GB, free: 107.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002213/0.8074, allocations: 48 kB / 0.6041 GB, free: 107.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007047/0.8144, allocations: 6.842 MB / 0.6108 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8145, allocations: 8 kB / 0.6108 GB, free: 100.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009618/0.8241, allocations: 8.154 MB / 0.6187 GB, free: 92.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002281/0.8264, allocations: 0.8275 MB / 0.6195 GB, free: 91.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008289/0.8273, allocations: 52.47 kB / 0.6196 GB, free: 91.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001887/0.8292, allocations: 151.8 kB / 0.6197 GB, free: 91.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003958/0.8296, allocations: 141.6 kB / 0.6199 GB, free: 91.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.8297, allocations: 75.92 kB / 0.6199 GB, free: 91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003656/0.8334, allocations: 3.05 MB / 0.6229 GB, free: 87.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8334, allocations: 0 / 0.6229 GB, free: 87.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005899/0.8393, allocations: 1.196 MB / 0.6241 GB, free: 86.77 MB / 446.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.0004912/0.8398, allocations: 182 kB / 0.6243 GB, free: 86.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01121/0.851, allocations: 8.32 MB / 0.6324 GB, free: 78.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.8511, allocations: 0 / 0.6324 GB, free: 78.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003157/0.8543, allocations: 2.42 MB / 0.6348 GB, free: 75.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003123/0.8574, allocations: 0.51 MB / 0.6352 GB, free: 75.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/0.8734, allocations: 13.56 MB / 0.6485 GB, free: 61.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003061/0.8765, allocations: 3.669 MB / 0.6521 GB, free: 58.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004636/0.8812, allocations: 2.212 MB / 0.6542 GB, free: 55.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009209/0.8821, allocations: 295.4 kB / 0.6545 GB, free: 55.52 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.8821, allocations: 0 / 0.6545 GB, free: 55.52 MB / 446.1 MB Notification: Performance of Templates: time 0.2271/1.109, allocations: 46.31 MB / 0.6997 GB, free: 150.9 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1)