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.001091/0.001091, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001296/0.001297, allocations: 56.33 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.28, allocations: 46.63 MB / 325.3 MB, free: 1.965 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01341/0.2934, allocations: 12.31 MB / 337.6 MB, free: 7.684 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.3039, allocations: 4.445 MB / 342.1 MB, free: 3.223 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002633/0.3066, allocations: 83.69 kB / 342.2 MB, free: 3.141 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005494/0.3121, allocations: 2.9 MB / 345.1 MB, free: 236 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005985/0.3182, allocations: 2.031 MB / 347.1 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.3206, allocations: 1.045 MB / 348.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007203/0.3278, allocations: 5.335 MB / 353.5 MB, free: 7.793 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005408/0.3332, allocations: 4.055 MB / 357.5 MB, free: 3.676 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002864/0.3361, allocations: 1.756 MB / 359.3 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00351/0.3396, allocations: 2.399 MB / 361.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008971/0.3406, allocations: 384 kB / 362.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.3433, allocations: 1.252 MB / 363.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002154/0.3455, allocations: 2.19 MB / 365.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002794/0.3483, allocations: 2.478 MB / 368 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008658/0.3569, allocations: 7.757 MB / 375.7 MB, free: 1.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.357, allocations: 4 kB / 375.7 MB, free: 1.406 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.357, allocations: 0 / 375.7 MB, free: 1.406 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002328/0.3572, allocations: 0 / 375.7 MB, free: 1.406 MB / 302.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.01313/0.3704, allocations: 5.373 MB / 381.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3704, allocations: 12.03 kB / 381.1 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02684/0.3973, allocations: 3.189 MB / 384.3 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008775/0.4061, allocations: 3.673 MB / 388 MB, free: 5.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/0.4064, allocations: 258.2 kB / 388.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001727/0.4082, allocations: 343.7 kB / 388.6 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/0.4252, allocations: 10.33 MB / 398.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001269/0.4254, allocations: 59.48 kB / 399 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000443/0.4259, allocations: 159.8 kB / 399.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00334/0.4292, allocations: 2.026 MB / 401.1 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01718/0.4464, allocations: 8.896 MB / 410 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05177/0.4983, allocations: 39.82 MB / 449.9 MB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009041/0.5074, allocations: 4.06 MB / 453.9 MB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1848/0.6922, allocations: 2.239 MB / 456.2 MB, free: 110.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000732/0.693, allocations: 0.649 MB / 456.8 MB, free: 109.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.693, allocations: 53.7 kB / 456.9 MB, free: 109.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 5.621e-06/0.693, allocations: 0.5312 kB / 456.9 MB, free: 109.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.05522/0.7483, allocations: 22.95 MB / 479.8 MB, free: 97.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.617e-05/0.7484, allocations: 260.6 kB / 480.1 MB, free: 97.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004664/0.7531, allocations: 4.266 MB / 484.3 MB, free: 93.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004019/0.7535, allocations: 53.7 kB / 484.4 MB, free: 93.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001297/0.7548, allocations: 3.196 MB / 487.6 MB, free: 90.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006278/0.7554, allocations: 0.8036 MB / 488.4 MB, free: 89.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/0.7568, allocations: 1.281 MB / 489.7 MB, free: 87.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.8e-05/0.7568, allocations: 305.1 kB / 490 MB, free: 87.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002864/0.7597, allocations: 2.558 MB / 492.5 MB, free: 85.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004464/0.7642, allocations: 6.129 MB / 498.6 MB, free: 77.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008021/0.7722, allocations: 9.288 MB / 0.496 GB, free: 66.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.284e-05/0.7723, allocations: 39.06 kB / 0.4961 GB, free: 66.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01847/0.7908, allocations: 10.77 MB / 0.5066 GB, free: 55.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.064e-05/0.7909, allocations: 56 kB / 0.5066 GB, free: 55.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001146/0.791, allocations: 127.9 kB / 0.5068 GB, free: 55.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00693/0.798, allocations: 2.621 MB / 0.5093 GB, free: 52.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004543/0.8026, allocations: 1.357 MB / 0.5106 GB, free: 51.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02047/0.8231, allocations: 18.6 MB / 0.5288 GB, free: 32.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00517/0.8283, allocations: 371.4 kB / 0.5292 GB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000778/0.8291, allocations: 371.2 kB / 0.5295 GB, free: 31.52 MB / 382.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.003462/0.8326, allocations: 2.232 MB / 0.5317 GB, free: 29.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007594/0.8333, allocations: 379 kB / 0.5321 GB, free: 28.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008599/0.8419, allocations: 5.148 MB / 0.5371 GB, free: 23.72 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/0.842, allocations: 24 kB / 0.5371 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/0.842, allocations: 8 kB / 0.5371 GB, free: 23.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.842, allocations: 7.969 kB / 0.5371 GB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/0.8583, allocations: 11.12 MB / 0.548 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.8584, allocations: 0 / 0.548 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.8597, allocations: 307.6 kB / 0.5483 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004644/0.8643, allocations: 1.858 MB / 0.5501 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/0.8645, allocations: 35.98 kB / 0.5501 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.8759, allocations: 10.38 MB / 0.5603 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.8759, allocations: 3.938 kB / 0.5603 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/0.8898, allocations: 8.345 MB / 0.5684 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002215/0.892, allocations: 0.7694 MB / 0.5692 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005919/0.8926, allocations: 32 kB / 0.5692 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/0.8943, allocations: 143.8 kB / 0.5693 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004409/0.8948, allocations: 129.1 kB / 0.5695 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.8949, allocations: 55.98 kB / 0.5695 GB, free: 6.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004326/0.8993, allocations: 2.688 MB / 0.5721 GB, free: 3.574 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8993, allocations: 0 / 0.5721 GB, free: 3.574 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.007046/0.9063, allocations: 1.206 MB / 0.5733 GB, free: 2.375 MB / 398.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.0006456/0.907, allocations: 177.5 kB / 0.5735 GB, free: 2.195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01402/0.921, allocations: 8.032 MB / 0.5813 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.9211, allocations: 0 / 0.5813 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003352/0.9244, allocations: 2.235 MB / 0.5835 GB, free: 7.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003299/0.9278, allocations: 0.5606 MB / 0.5841 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01804/0.9458, allocations: 10.85 MB / 0.5946 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003893/0.9497, allocations: 3.527 MB / 0.5981 GB, free: 8.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.1772/1.127, allocations: 1.916 MB / 0.6 GB, free: 139.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/1.128, allocations: 261.8 kB / 0.6002 GB, free: 139.2 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/1.128, allocations: 0 / 0.6002 GB, free: 139.2 MB / 430.1 MB Notification: Performance of Templates: time 0.08005/1.208, allocations: 52.9 MB / 0.6519 GB, free: 103.3 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)