Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.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.DoublePendulumInitTip,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009439/0.000944, allocations: 98.03 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.007679/0.00768, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.367/1.367, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.0004432/0.0004432, allocations: 8 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2131, allocations: 47.59 MB / 327 MB, free: 1.379 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.04505/0.2582, allocations: 49.44 MB / 376.5 MB, free: 1.781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02327/0.2815, allocations: 10.87 MB / 387.3 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008505/0.2901, allocations: 227.4 kB / 387.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001867/0.292, allocations: 493.5 kB / 388 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005266/0.2972, allocations: 1.911 MB / 390 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.2992, allocations: 0.7411 MB / 390.7 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009316/0.3085, allocations: 7.503 MB / 398.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008926/0.3175, allocations: 5.425 MB / 403.6 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002741/0.3202, allocations: 1.303 MB / 404.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003929/0.3242, allocations: 2.231 MB / 407.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001057/0.3253, allocations: 156 kB / 407.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.3279, allocations: 1.092 MB / 408.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002244/0.3301, allocations: 1.963 MB / 410.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002165/0.3323, allocations: 2.195 MB / 412.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006841/0.3392, allocations: 7.424 MB / 420 MB, free: 6.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3392, allocations: 0 / 420 MB, free: 6.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3392, allocations: 0 / 420 MB, free: 6.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001357/0.3393, allocations: 0 / 420 MB, free: 6.055 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.008959/0.3483, allocations: 4.426 MB / 424.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3484, allocations: 8.031 kB / 424.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0279/0.3763, allocations: 3.275 MB / 427.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008449/0.3848, allocations: 3.664 MB / 431.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000217/0.385, allocations: 254.3 kB / 431.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/0.3861, allocations: 331.8 kB / 431.9 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01787/0.404, allocations: 10.36 MB / 442.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001401/0.4042, allocations: 47.53 kB / 442.3 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000447/0.4047, allocations: 159.8 kB / 442.5 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00359/0.4083, allocations: 2.026 MB / 444.5 MB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01742/0.4257, allocations: 8.919 MB / 453.4 MB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2185/0.6443, allocations: 39.85 MB / 493.3 MB, free: 82.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007859/0.6522, allocations: 4.079 MB / 497.4 MB, free: 79.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002316/0.6545, allocations: 2.238 MB / 499.6 MB, free: 77.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004907/0.655, allocations: 0.6456 MB / 0.4885 GB, free: 76.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.6551, allocations: 51.56 kB / 0.4886 GB, free: 76.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 4.138e-06/0.6551, allocations: 0 / 0.4886 GB, free: 76.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.05386/0.709, allocations: 22.94 MB / 0.511 GB, free: 53.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.7091, allocations: 256.6 kB / 0.5112 GB, free: 52.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005353/0.7144, allocations: 4.259 MB / 0.5154 GB, free: 48.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003609/0.7148, allocations: 58.64 kB / 0.5154 GB, free: 48.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001486/0.7163, allocations: 3.202 MB / 0.5186 GB, free: 45.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000757/0.7171, allocations: 0.8073 MB / 0.5194 GB, free: 44.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007852/0.7179, allocations: 0.5351 MB / 0.5199 GB, free: 44.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.459e-05/0.7179, allocations: 309.1 kB / 0.5202 GB, free: 43.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003211/0.7211, allocations: 2.558 MB / 0.5227 GB, free: 41.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004427/0.7256, allocations: 6.127 MB / 0.5287 GB, free: 33.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008231/0.7338, allocations: 9.293 MB / 0.5377 GB, free: 22.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.697e-05/0.7339, allocations: 40 kB / 0.5378 GB, free: 22.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.0191/0.753, allocations: 10.76 MB / 0.5483 GB, free: 11.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.7532, allocations: 61.19 kB / 0.5483 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001843/0.7534, allocations: 124 kB / 0.5485 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00686/0.7603, allocations: 2.615 MB / 0.551 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003843/0.7641, allocations: 1.353 MB / 0.5523 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02302/0.7872, allocations: 17.21 MB / 0.5691 GB, free: 5.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004768/0.792, allocations: 379.4 kB / 0.5695 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/0.793, allocations: 368 kB / 0.5699 GB, free: 5 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * Number of states: 0 () * Number of discrete variables: 33 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (731): * Single equations (assignments): 725 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,34,87.5%), (3,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.005017/0.7981, allocations: 2.228 MB / 0.572 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/0.7993, allocations: 379 kB / 0.5724 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/0.8106, allocations: 5.161 MB / 0.5774 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.188e-05/0.8107, allocations: 24 kB / 0.5775 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/0.8107, allocations: 8 kB / 0.5775 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.091e-05/0.8107, allocations: 7.969 kB / 0.5775 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02448/0.8352, allocations: 11.12 MB / 0.5883 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.347e-05/0.8353, allocations: 4 kB / 0.5883 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.837, allocations: 303.5 kB / 0.5886 GB, free: 1.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005501/0.8425, allocations: 1.854 MB / 0.5904 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003208/0.8428, allocations: 35.98 kB / 0.5905 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01404/0.8569, allocations: 9.706 MB / 0.5999 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.8569, allocations: 0 / 0.5999 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1907/1.048, allocations: 8.334 MB / 0.6081 GB, free: 143.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/1.049, allocations: 0.7729 MB / 0.6088 GB, free: 143.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000488/1.05, allocations: 39.39 kB / 0.6089 GB, free: 143.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001634/1.051, allocations: 143.2 kB / 0.609 GB, free: 143.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003709/1.052, allocations: 121.2 kB / 0.6091 GB, free: 143.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/1.052, allocations: 59.38 kB / 0.6092 GB, free: 143.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003637/1.056, allocations: 2.69 MB / 0.6118 GB, free: 142.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.81e-07/1.056, allocations: 0 / 0.6118 GB, free: 142.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004587/1.06, allocations: 1.204 MB / 0.613 GB, free: 142.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (157): * Single equations (assignments): 153 * 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 {(3,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003867/1.061, allocations: 172.1 kB / 0.6132 GB, free: 142.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0081/1.069, allocations: 6.639 MB / 0.6196 GB, free: 140.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/1.069, allocations: 1.156 kB / 0.6196 GB, free: 140.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002669/1.071, allocations: 2.242 MB / 0.6218 GB, free: 139.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/1.075, allocations: 0.5241 MB / 0.6223 GB, free: 139 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/1.09, allocations: 13.08 MB / 0.6351 GB, free: 130.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002991/1.094, allocations: 3.531 MB / 0.6386 GB, free: 127.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.004018/1.098, allocations: 1.924 MB / 0.6404 GB, free: 126.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006682/1.098, allocations: 258.7 kB / 0.6407 GB, free: 126.1 MB / 430.1 MB Notification: Performance of SimCode: time 1.713e-06/1.098, allocations: 0 / 0.6407 GB, free: 126.1 MB / 430.1 MB Notification: Performance of Templates: time 0.07256/1.171, allocations: 49.91 MB / 0.6894 GB, free: 76.36 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip.pipe 2>&1)