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.009651/0.009651, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001883/0.001883, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.394/1.394, allocations: 205.1 MB / 222.5 MB, free: 4.383 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.001285/0.001285, allocations: 54.11 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09115/0.09245, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulumInitTip): time 0.01367/0.1062, allocations: 12.32 MB / 385.5 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008609/0.1148, allocations: 4.433 MB / 389.9 MB, free: 480 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.1168, allocations: 83.69 kB / 390 MB, free: 396 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005424/0.1223, allocations: 2.9 MB / 392.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00524/0.1275, allocations: 2.086 MB / 395 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.13, allocations: 1.045 MB / 396 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007554/0.1375, allocations: 5.327 MB / 401.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005153/0.1427, allocations: 4.055 MB / 405.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003063/0.1458, allocations: 1.779 MB / 407.2 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003662/0.1495, allocations: 2.391 MB / 409.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001168/0.1507, allocations: 384 kB / 410 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/0.1535, allocations: 1.268 MB / 411.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00261/0.1561, allocations: 2.205 MB / 413.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003848/0.16, allocations: 2.478 MB / 415.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008829/0.1688, allocations: 8.001 MB / 423.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1689, allocations: 0 / 423.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1689, allocations: 0 / 423.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001626/0.1691, allocations: 0 / 423.9 MB, free: 14.32 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.01024/0.1793, allocations: 5.373 MB / 429.3 MB, free: 8.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1794, allocations: 12.03 kB / 429.3 MB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02381/0.2032, allocations: 3.197 MB / 432.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01078/0.214, allocations: 3.742 MB / 436.2 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.2142, allocations: 246.3 kB / 436.5 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007356/0.215, allocations: 343.6 kB / 436.8 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.2308, allocations: 10.35 MB / 447.2 MB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/0.2309, allocations: 47.58 kB / 447.2 MB, free: 6.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004268/0.2314, allocations: 159.8 kB / 447.4 MB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003317/0.2347, allocations: 2.026 MB / 449.4 MB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2191/0.4538, allocations: 8.89 MB / 458.3 MB, free: 63.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04027/0.4941, allocations: 39.63 MB / 497.9 MB, free: 34.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007448/0.5016, allocations: 4.066 MB / 0.4902 GB, free: 30.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002032/0.5036, allocations: 2.239 MB / 0.4924 GB, free: 28.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004557/0.5041, allocations: 0.6466 MB / 0.493 GB, free: 27.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.5042, allocations: 53.53 kB / 0.4931 GB, free: 27.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 3.607e-06/0.5042, allocations: 0 / 0.4931 GB, free: 27.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.05164/0.5558, allocations: 22.95 MB / 0.5155 GB, free: 4.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.5559, allocations: 264.6 kB / 0.5158 GB, free: 4.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004875/0.5608, allocations: 4.267 MB / 0.5199 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004399/0.5613, allocations: 54.27 kB / 0.52 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002211/0.5635, allocations: 3.203 MB / 0.5231 GB, free: 12.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009333/0.5644, allocations: 0.804 MB / 0.5239 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/0.5662, allocations: 1.277 MB / 0.5251 GB, free: 10.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.5663, allocations: 301.1 kB / 0.5254 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003696/0.57, allocations: 2.558 MB / 0.5279 GB, free: 7.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005768/0.5758, allocations: 6.124 MB / 0.5339 GB, free: 15.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.5863, allocations: 9.299 MB / 0.543 GB, free: 4.832 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.578e-05/0.5865, allocations: 36 kB / 0.543 GB, free: 4.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.02161/0.6081, allocations: 10.76 MB / 0.5535 GB, free: 10.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.677e-05/0.6082, allocations: 60 kB / 0.5536 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001387/0.6084, allocations: 124 kB / 0.5537 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007619/0.616, allocations: 2.605 MB / 0.5562 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004356/0.6204, allocations: 1.349 MB / 0.5576 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02515/0.6455, allocations: 18.6 MB / 0.5757 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004475/0.65, allocations: 371.4 kB / 0.5761 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007263/0.6508, allocations: 372 kB / 0.5764 GB, free: 2.137 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.003402/0.6542, allocations: 2.23 MB / 0.5786 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006803/0.6549, allocations: 382.9 kB / 0.579 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009783/0.6647, allocations: 5.144 MB / 0.584 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-05/0.6647, allocations: 20 kB / 0.584 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.6647, allocations: 8 kB / 0.584 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.6648, allocations: 11.97 kB / 0.584 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/0.6839, allocations: 11.08 MB / 0.5949 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.684, allocations: 0 / 0.5949 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/0.6855, allocations: 311.5 kB / 0.5952 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005223/0.6907, allocations: 1.854 MB / 0.597 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002756/0.691, allocations: 37.48 kB / 0.597 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/0.705, allocations: 10.38 MB / 0.6071 GB, free: 2.461 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.705, allocations: 4 kB / 0.6071 GB, free: 2.457 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/0.7188, allocations: 8.344 MB / 0.6153 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/0.7207, allocations: 0.7733 MB / 0.616 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004657/0.7212, allocations: 35.98 kB / 0.6161 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/0.7228, allocations: 143.8 kB / 0.6162 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003976/0.7232, allocations: 117.1 kB / 0.6163 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/0.7234, allocations: 61.33 kB / 0.6164 GB, free: 8.934 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003868/0.7273, allocations: 2.688 MB / 0.619 GB, free: 6.238 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.184e-06/0.7273, allocations: 4 kB / 0.619 GB, free: 6.234 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004793/0.7321, allocations: 1.206 MB / 0.6202 GB, free: 5.031 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.0004102/0.7325, allocations: 169.6 kB / 0.6204 GB, free: 4.859 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.1882/0.9207, allocations: 6.664 MB / 0.6269 GB, free: 162.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.303e-06/0.9208, allocations: 4.219 kB / 0.6269 GB, free: 162.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004317/0.9251, allocations: 2.236 MB / 0.6291 GB, free: 162.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003448/0.9286, allocations: 0.5738 MB / 0.6296 GB, free: 162.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/0.9464, allocations: 10.71 MB / 0.6401 GB, free: 159 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003276/0.9497, allocations: 3.531 MB / 0.6435 GB, free: 157.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00384/0.9536, allocations: 1.916 MB / 0.6454 GB, free: 157.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006712/0.9543, allocations: 264.4 kB / 0.6456 GB, free: 157.5 MB / 494.1 MB Notification: Performance of SimCode: time 8.61e-07/0.9543, allocations: 0 / 0.6456 GB, free: 157.5 MB / 494.1 MB Notification: Performance of Templates: time 0.07392/1.028, allocations: 49.79 MB / 0.6943 GB, free: 115.3 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)