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.0008515/0.0008513, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009163/0.0009164, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.388/1.388, allocations: 205.4 MB / 222.1 MB, free: 5.367 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.0004251/0.0004251, allocations: 12 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2229, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.0502/0.2731, allocations: 52.55 MB / 379 MB, free: 14.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02698/0.3002, allocations: 11.18 MB / 390.2 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009491/0.3097, allocations: 243.4 kB / 390.4 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008127/0.3179, allocations: 2.725 MB / 393.2 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02347/0.3414, allocations: 8.113 MB / 401.3 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.3448, allocations: 0.628 MB / 401.9 MB, free: 7.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0277/0.3725, allocations: 19.42 MB / 421.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009131/0.3817, allocations: 5.111 MB / 426.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.3848, allocations: 1.397 MB / 427.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004151/0.389, allocations: 2.153 MB / 430 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001198/0.3902, allocations: 160 kB / 430.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.393, allocations: 0.9557 MB / 431.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002941/0.396, allocations: 1.932 MB / 433 MB, free: 8.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.3976, allocations: 0.9439 MB / 434 MB, free: 7.613 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00782/0.4055, allocations: 6.332 MB / 440.3 MB, free: 1.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4055, allocations: 0 / 440.3 MB, free: 1.266 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4055, allocations: 4 kB / 440.3 MB, free: 1.262 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002396/0.4057, allocations: 3.938 kB / 440.3 MB, free: 1.258 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.01003/0.4158, allocations: 4.584 MB / 444.9 MB, free: 12.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.4158, allocations: 12.03 kB / 444.9 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00907/0.4249, allocations: 2.286 MB / 447.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005909/0.4309, allocations: 2.905 MB / 450.1 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.4311, allocations: 266.8 kB / 450.4 MB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006979/0.4318, allocations: 351.7 kB / 450.7 MB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2205/0.6523, allocations: 11.63 MB / 462.3 MB, free: 42.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.6524, allocations: 42.47 kB / 462.4 MB, free: 42.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004224/0.6529, allocations: 170.3 kB / 462.6 MB, free: 42.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003295/0.6562, allocations: 2.337 MB / 464.9 MB, free: 42.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.6739, allocations: 9.941 MB / 474.8 MB, free: 42.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05035/0.7243, allocations: 44.49 MB / 0.5072 GB, free: 16.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.7355, allocations: 5.342 MB / 0.5124 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003164/0.7387, allocations: 2.802 MB / 0.5151 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/0.7499, allocations: 8.132 MB / 0.5231 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.75, allocations: 55.84 kB / 0.5231 GB, free: 4.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=216): time 5.54e-06/0.75, allocations: 0 / 0.5231 GB, free: 4.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=237): time 0.0484/0.7984, allocations: 20.76 MB / 0.5434 GB, free: 1.039 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.7985, allocations: 178.4 kB / 0.5436 GB, free: 0.832 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006441/0.805, allocations: 4.742 MB / 0.5482 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004159/0.8054, allocations: 59.34 kB / 0.5482 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002385/0.8078, allocations: 3.391 MB / 0.5516 GB, free: 8.648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001156/0.809, allocations: 0.8924 MB / 0.5524 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/0.8093, allocations: 136 kB / 0.5526 GB, free: 7.633 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004254/0.8098, allocations: 0.5953 MB / 0.5531 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004106/0.8139, allocations: 2.676 MB / 0.5557 GB, free: 4.352 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007028/0.8209, allocations: 6.585 MB / 0.5622 GB, free: 11.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006504/0.8275, allocations: 4.119 MB / 0.5662 GB, free: 7.914 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-05/0.8276, allocations: 40 kB / 0.5662 GB, free: 7.875 MB / 430.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.01938/0.847, allocations: 10.12 MB / 0.5761 GB, free: 14.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.8471, allocations: 64 kB / 0.5762 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001732/0.8473, allocations: 136 kB / 0.5763 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002855/0.8502, allocations: 1.238 MB / 0.5775 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005415/0.8556, allocations: 1.605 MB / 0.5791 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009113/0.8647, allocations: 6.778 MB / 0.5857 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005378/0.8701, allocations: 383.5 kB / 0.5861 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001232/0.8714, allocations: 408 kB / 0.5865 GB, free: 4.047 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00457/0.876, allocations: 2.382 MB / 0.5888 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009209/0.8769, allocations: 418.6 kB / 0.5892 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008893/0.8858, allocations: 4.752 MB / 0.5938 GB, free: 12.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.845e-05/0.8859, allocations: 24 kB / 0.5939 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-05/0.8859, allocations: 11.95 kB / 0.5939 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/0.886, allocations: 11.95 kB / 0.5939 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02145/0.9074, allocations: 10.89 MB / 0.6045 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/0.9075, allocations: 8.656 kB / 0.6045 GB, free: 1.664 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/0.9095, allocations: 430.5 kB / 0.6049 GB, free: 1.262 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002693/0.9122, allocations: 1.022 MB / 0.6059 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002479/0.9125, allocations: 44 kB / 0.606 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008519/0.921, allocations: 6.361 MB / 0.6122 GB, free: 9.703 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/0.9211, allocations: 10.16 kB / 0.6122 GB, free: 9.695 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/0.934, allocations: 8.128 MB / 0.6201 GB, free: 1.496 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001922/0.936, allocations: 0.8485 MB / 0.621 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009404/0.9369, allocations: 47.98 kB / 0.621 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/0.9389, allocations: 155.6 kB / 0.6212 GB, free: 440 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000374/0.9393, allocations: 143 kB / 0.6213 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/0.9395, allocations: 68 kB / 0.6214 GB, free: 236 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.1819/1.121, allocations: 3.026 MB / 0.6243 GB, free: 190.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.052e-06/1.121, allocations: 0 / 0.6243 GB, free: 190.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00568/1.127, allocations: 1.184 MB / 0.6255 GB, free: 190.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004744/1.128, allocations: 190.9 kB / 0.6256 GB, free: 190.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008806/1.136, allocations: 6.498 MB / 0.632 GB, free: 188.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.137, allocations: 3.125 kB / 0.632 GB, free: 188.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003272/1.14, allocations: 2.396 MB / 0.6343 GB, free: 187.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/1.143, allocations: 0.4968 MB / 0.6348 GB, free: 187.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/1.158, allocations: 13.1 MB / 0.6476 GB, free: 180.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003052/1.161, allocations: 3.675 MB / 0.6512 GB, free: 177.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00463/1.165, allocations: 2.216 MB / 0.6534 GB, free: 176.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008639/1.166, allocations: 292.1 kB / 0.6536 GB, free: 176.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.974e-06/1.166, allocations: 0 / 0.6536 GB, free: 176.2 MB / 478.1 MB Notification: Performance of Templates: time 0.06095/1.227, allocations: 42.94 MB / 0.6956 GB, free: 133.3 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)