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.00746/0.00746, allocations: 102.1 kB / 15.73 MB, free: 6.004 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.001741/0.001741, allocations: 195.3 kB / 16.68 MB, free: 5.926 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.359/1.359, allocations: 205.1 MB / 222.5 MB, free: 4.477 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.00118/0.001181, allocations: 50.59 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07923/0.08042, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01293/0.09338, allocations: 12.33 MB / 385.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009981/0.1034, allocations: 4.434 MB / 389.9 MB, free: 484 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/0.1059, allocations: 83.69 kB / 390 MB, free: 400 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005889/0.1118, allocations: 2.9 MB / 392.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005005/0.1168, allocations: 2.039 MB / 395 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.1192, allocations: 1.033 MB / 396 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007398/0.1266, allocations: 5.331 MB / 401.3 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005307/0.132, allocations: 4.059 MB / 405.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003048/0.135, allocations: 1.768 MB / 407.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003906/0.139, allocations: 2.379 MB / 409.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001419/0.1404, allocations: 384 kB / 409.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002959/0.1434, allocations: 1.256 MB / 411.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003009/0.1464, allocations: 2.198 MB / 413.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004291/0.1507, allocations: 2.482 MB / 415.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01225/0.163, allocations: 8.001 MB / 423.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.1631, allocations: 0 / 423.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.1631, allocations: 0 / 423.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003536/0.1634, allocations: 0 / 423.8 MB, free: 14.41 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: 1556 * Number of variables: 1556 Notification: Performance of Generate backend data structure: time 0.01605/0.1795, allocations: 5.373 MB / 429.2 MB, free: 8.961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.1796, allocations: 12.03 kB / 429.2 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02795/0.2075, allocations: 3.193 MB / 432.4 MB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009204/0.2168, allocations: 3.746 MB / 436.2 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002475/0.2171, allocations: 246.3 kB / 436.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/0.2184, allocations: 335.7 kB / 436.7 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02039/0.2388, allocations: 10.35 MB / 447.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002606/0.2391, allocations: 47.64 kB / 447.1 MB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001302/0.2405, allocations: 151.9 kB / 447.3 MB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003713/0.2442, allocations: 2.03 MB / 449.3 MB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1974/0.4416, allocations: 8.894 MB / 458.2 MB, free: 63.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04399/0.4856, allocations: 39.64 MB / 497.8 MB, free: 34.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008237/0.4938, allocations: 4.063 MB / 0.4901 GB, free: 30.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/0.4961, allocations: 2.232 MB / 0.4923 GB, free: 28.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005663/0.4967, allocations: 0.6486 MB / 0.493 GB, free: 27.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.4968, allocations: 51.56 kB / 0.493 GB, free: 27.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 4.799e-06/0.4968, allocations: 3.125 kB / 0.493 GB, free: 27.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.05608/0.5529, allocations: 22.95 MB / 0.5154 GB, free: 4.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.553, allocations: 269.8 kB / 0.5157 GB, free: 4.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005446/0.5584, allocations: 4.263 MB / 0.5198 GB, free: 100 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007523/0.5592, allocations: 53.7 kB / 0.5199 GB, free: 40 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002598/0.5619, allocations: 3.204 MB / 0.523 GB, free: 12.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001235/0.5631, allocations: 0.7929 MB / 0.5238 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001814/0.5649, allocations: 1.288 MB / 0.5251 GB, free: 10.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.565, allocations: 301.1 kB / 0.5253 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/0.5688, allocations: 2.562 MB / 0.5278 GB, free: 7.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006603/0.5754, allocations: 6.119 MB / 0.5338 GB, free: 16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/0.5874, allocations: 9.295 MB / 0.5429 GB, free: 4.969 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/0.5876, allocations: 36 kB / 0.5429 GB, free: 4.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.02282/0.6104, allocations: 10.76 MB / 0.5534 GB, free: 10.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.344e-05/0.6105, allocations: 60 kB / 0.5535 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001392/0.6107, allocations: 126.6 kB / 0.5536 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007754/0.6185, allocations: 2.616 MB / 0.5562 GB, free: 7.352 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004682/0.6232, allocations: 1.345 MB / 0.5575 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0246/0.6478, allocations: 18.59 MB / 0.5756 GB, free: 2.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/0.6534, allocations: 371.4 kB / 0.576 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009715/0.6544, allocations: 368 kB / 0.5763 GB, free: 2.273 MB / 446.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.004022/0.6585, allocations: 2.236 MB / 0.5785 GB, free: 32 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009175/0.6594, allocations: 383.2 kB / 0.5789 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/0.67, allocations: 5.141 MB / 0.5839 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.063e-05/0.6701, allocations: 20 kB / 0.5839 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.6701, allocations: 8 kB / 0.5839 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/0.6701, allocations: 11.95 kB / 0.584 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02199/0.6921, allocations: 11.08 MB / 0.5948 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/0.6922, allocations: 0 / 0.5948 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/0.694, allocations: 307.5 kB / 0.5951 GB, free: 15.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005512/0.6995, allocations: 1.854 MB / 0.5969 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004286/0.7, allocations: 45.56 kB / 0.5969 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01466/0.7147, allocations: 10.38 MB / 0.6071 GB, free: 2.59 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7147, allocations: 0 / 0.6071 GB, free: 2.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/0.7292, allocations: 8.341 MB / 0.6152 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/0.7316, allocations: 0.7654 MB / 0.616 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009809/0.7326, allocations: 39.83 kB / 0.616 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/0.7351, allocations: 147.8 kB / 0.6161 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005872/0.7357, allocations: 125.1 kB / 0.6162 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/0.7359, allocations: 52 kB / 0.6163 GB, free: 9.074 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005002/0.7409, allocations: 2.684 MB / 0.6189 GB, free: 6.383 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.741, allocations: 3.938 kB / 0.6189 GB, free: 6.379 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006041/0.747, allocations: 1.21 MB / 0.6201 GB, free: 5.172 MB / 494.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.000646/0.7477, allocations: 176.1 kB / 0.6203 GB, free: 5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.1924/0.94, allocations: 6.658 MB / 0.6268 GB, free: 163.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/0.9401, allocations: 1.25 kB / 0.6268 GB, free: 163.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006874/0.947, allocations: 2.236 MB / 0.629 GB, free: 162.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005544/0.9526, allocations: 0.5709 MB / 0.6295 GB, free: 162.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02743/0.98, allocations: 10.72 MB / 0.64 GB, free: 159.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003412/0.9835, allocations: 3.527 MB / 0.6434 GB, free: 158 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004074/0.9876, allocations: 1.922 MB / 0.6453 GB, free: 157.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008507/0.9885, allocations: 263.9 kB / 0.6456 GB, free: 157.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.293e-06/0.9885, allocations: 0 / 0.6456 GB, free: 157.9 MB / 494.1 MB Notification: Performance of Templates: time 0.07001/1.059, allocations: 49.79 MB / 0.6942 GB, free: 115.5 MB / 494.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)