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.001388/0.001388, allocations: 107.4 kB / 17.06 MB, free: 6.098 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.001502/0.001502, allocations: 198.9 kB / 18 MB, free: 5.168 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.371/1.371, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.001319/0.001319, allocations: 55.92 kB / 327.9 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08421/0.08554, allocations: 46.61 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.186/0.2716, allocations: 12.5 MB / 387 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008987/0.2806, allocations: 4.185 MB / 391.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/0.2834, allocations: 74 kB / 391.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006702/0.2902, allocations: 3.229 MB / 394.5 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007372/0.2976, allocations: 2.076 MB / 396.6 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.3002, allocations: 0.8239 MB / 397.4 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00788/0.3081, allocations: 4.556 MB / 401.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006315/0.3144, allocations: 4.175 MB / 406.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003802/0.3183, allocations: 1.76 MB / 407.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004301/0.3226, allocations: 2.349 MB / 410.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001447/0.3241, allocations: 388.7 kB / 410.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/0.3279, allocations: 1.27 MB / 411.9 MB, free: 9.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004203/0.3322, allocations: 2.226 MB / 414.1 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004666/0.3369, allocations: 2.544 MB / 416.6 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0112/0.3481, allocations: 8.288 MB / 424.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3481, allocations: 4 kB / 424.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3481, allocations: 0 / 424.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002917/0.3484, allocations: 4 kB / 424.9 MB, free: 12.95 MB / 350.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.01209/0.3605, allocations: 5.663 MB / 430.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3606, allocations: 11.97 kB / 430.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009401/0.37, allocations: 2.256 MB / 432.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006373/0.3764, allocations: 3.012 MB / 435.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.3766, allocations: 274.7 kB / 436.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008258/0.3775, allocations: 359.8 kB / 436.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02097/0.3985, allocations: 11.64 MB / 448.1 MB, free: 4.891 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002526/0.3988, allocations: 47.62 kB / 448.2 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001274/0.4001, allocations: 171.8 kB / 448.3 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004192/0.4043, allocations: 2.342 MB / 450.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02046/0.4247, allocations: 9.969 MB / 460.7 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06023/0.485, allocations: 44.35 MB / 0.4932 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01367/0.4988, allocations: 5.345 MB / 0.4984 GB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003777/0.5026, allocations: 2.81 MB / 0.5011 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01253/0.5152, allocations: 8.141 MB / 0.5091 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/0.5153, allocations: 63.8 kB / 0.5091 GB, free: 10.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=216): time 4.569e-06/0.5153, allocations: 3.938 kB / 0.5092 GB, free: 10.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=237): time 0.05247/0.5677, allocations: 21.04 MB / 0.5297 GB, free: 4.953 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.5679, allocations: 188.2 kB / 0.5299 GB, free: 4.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006013/0.5739, allocations: 4.778 MB / 0.5345 GB, free: 15.94 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004002/0.5743, allocations: 65.7 kB / 0.5346 GB, free: 15.87 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002329/0.5767, allocations: 3.521 MB / 0.538 GB, free: 12.32 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009182/0.5776, allocations: 0.9264 MB / 0.5389 GB, free: 11.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001697/0.5793, allocations: 1.393 MB / 0.5403 GB, free: 9.98 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.5794, allocations: 305.1 kB / 0.5406 GB, free: 9.68 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003824/0.5832, allocations: 2.699 MB / 0.5432 GB, free: 6.977 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1802/0.7634, allocations: 6.612 MB / 0.5497 GB, free: 142.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.7746, allocations: 10.08 MB / 0.5595 GB, free: 135.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001659/0.7748, allocations: 39.52 kB / 0.5596 GB, free: 135.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=893) (initialization): time 0.02021/0.795, allocations: 10.19 MB / 0.5695 GB, free: 132.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.7952, allocations: 65.17 kB / 0.5696 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002293/0.7954, allocations: 136.6 kB / 0.5697 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003239/0.7987, allocations: 1.203 MB / 0.5709 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005457/0.8042, allocations: 1.605 MB / 0.5725 GB, free: 132 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008111/0.8123, allocations: 7.279 MB / 0.5796 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004779/0.8171, allocations: 395.5 kB / 0.5799 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008874/0.818, allocations: 403.8 kB / 0.5803 GB, free: 128.2 MB / 478.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.003395/0.8214, allocations: 2.374 MB / 0.5826 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007105/0.8221, allocations: 442.7 kB / 0.5831 GB, free: 127.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007314/0.8294, allocations: 4.765 MB / 0.5877 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.678e-05/0.8295, allocations: 29.78 kB / 0.5878 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.8295, allocations: 6 kB / 0.5878 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.8295, allocations: 10.88 kB / 0.5878 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/0.8448, allocations: 10.79 MB / 0.5983 GB, free: 118.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.8449, allocations: 8 kB / 0.5983 GB, free: 118.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/0.8467, allocations: 423.3 kB / 0.5987 GB, free: 118 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/0.8491, allocations: 1.023 MB / 0.5997 GB, free: 116.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/0.8493, allocations: 44 kB / 0.5998 GB, free: 116.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007053/0.8564, allocations: 6.888 MB / 0.6065 GB, free: 109.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.8564, allocations: 7.938 kB / 0.6065 GB, free: 109.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009693/0.8661, allocations: 8.192 MB / 0.6145 GB, free: 101.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/0.8678, allocations: 0.8571 MB / 0.6153 GB, free: 100.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008809/0.8687, allocations: 47.98 kB / 0.6154 GB, free: 100.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/0.871, allocations: 143.8 kB / 0.6155 GB, free: 100.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000355/0.8714, allocations: 149.6 kB / 0.6157 GB, free: 100.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/0.8716, allocations: 66 kB / 0.6157 GB, free: 100.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004778/0.8764, allocations: 3.058 MB / 0.6187 GB, free: 97.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.8764, allocations: 0 / 0.6187 GB, free: 97.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005166/0.8815, allocations: 1.189 MB / 0.6199 GB, free: 96.27 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 (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.0004615/0.882, allocations: 187 kB / 0.62 GB, free: 96.09 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008727/0.8907, allocations: 6.543 MB / 0.6264 GB, free: 89.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.8908, allocations: 0 / 0.6264 GB, free: 89.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003081/0.8939, allocations: 2.416 MB / 0.6288 GB, free: 87.15 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/0.8967, allocations: 0.5126 MB / 0.6293 GB, free: 86.65 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.9116, allocations: 11.4 MB / 0.6404 GB, free: 75.18 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004188/0.9158, allocations: 3.668 MB / 0.644 GB, free: 71.49 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004682/0.9205, allocations: 2.219 MB / 0.6462 GB, free: 69.26 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.9217, allocations: 287.4 kB / 0.6464 GB, free: 68.98 MB / 478.1 MB Notification: Performance of SimCode: time 7.82e-07/0.9217, allocations: 0 / 0.6464 GB, free: 68.98 MB / 478.1 MB Notification: Performance of Templates: time 0.06395/0.9856, allocations: 42.64 MB / 0.6881 GB, free: 26.38 MB / 478.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)