Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007892/0.0007891, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0008077/0.0008077, allocations: 175.4 kB / 17.56 MB, free: 6.18 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.398/1.398, allocations: 205.4 MB / 223.7 MB, free: 13.05 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.0004242/0.0004243, allocations: 12 kB / 280.7 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09436/0.0948, allocations: 47.58 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.03217/0.127, allocations: 33.76 MB / 362.1 MB, free: 1.844 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01811/0.1452, allocations: 7.861 MB / 369.9 MB, free: 9.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005745/0.151, allocations: 147.6 kB / 370.1 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001369/0.1524, allocations: 382 kB / 370.5 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004098/0.1565, allocations: 1.538 MB / 372 MB, free: 7.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.1581, allocations: 0.6397 MB / 372.6 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005541/0.1636, allocations: 4.793 MB / 377.4 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.211/0.3747, allocations: 3.739 MB / 381.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.3773, allocations: 0.9677 MB / 382.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003369/0.3807, allocations: 1.675 MB / 383.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006358/0.3814, allocations: 127.4 kB / 383.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.3845, allocations: 1.046 MB / 385 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002299/0.3868, allocations: 1.44 MB / 386.4 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002694/0.3895, allocations: 1.718 MB / 388.1 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008066/0.3976, allocations: 5.536 MB / 393.7 MB, free: 8.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3977, allocations: 1.781 kB / 393.7 MB, free: 8.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3977, allocations: 0 / 393.7 MB, free: 8.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001973/0.3979, allocations: 0 / 393.7 MB, free: 8.648 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1349 * Number of variables: 1349 Notification: Performance of Generate backend data structure: time 0.0117/0.4096, allocations: 3.386 MB / 397.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4096, allocations: 8.25 kB / 397.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01135/0.421, allocations: 1.905 MB / 399 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00678/0.4278, allocations: 1.922 MB / 400.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002896/0.4282, allocations: 217.6 kB / 401.1 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001216/0.4294, allocations: 263.7 kB / 401.4 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02613/0.4555, allocations: 9.995 MB / 411.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00013/0.4557, allocations: 35.84 kB / 411.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005344/0.4563, allocations: 130.9 kB / 411.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004264/0.4605, allocations: 1.854 MB / 413.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02737/0.4879, allocations: 8.553 MB / 421.9 MB, free: 9.945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06077/0.5488, allocations: 36.86 MB / 458.8 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01033/0.5592, allocations: 3.872 MB / 462.7 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00256/0.5618, allocations: 1.81 MB / 464.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/0.5725, allocations: 7.542 MB / 472 MB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.5725, allocations: 53.84 kB / 472.1 MB, free: 6.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 4.668e-06/0.5726, allocations: 0 / 472.1 MB, free: 6.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=166): time 0.0541/0.6267, allocations: 17.39 MB / 489.5 MB, free: 5.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.6268, allocations: 141.5 kB / 489.6 MB, free: 5.176 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005557/0.6324, allocations: 3.493 MB / 493.1 MB, free: 1.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004321/0.6329, allocations: 45.7 kB / 493.1 MB, free: 1.629 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002054/0.6349, allocations: 2.729 MB / 495.9 MB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008586/0.6358, allocations: 0.6526 MB / 496.5 MB, free: 14.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005801/0.6364, allocations: 478.3 kB / 497 MB, free: 13.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.6365, allocations: 305.1 kB / 497.3 MB, free: 13.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002992/0.6395, allocations: 1.954 MB / 499.2 MB, free: 11.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005338/0.6448, allocations: 5.369 MB / 0.4928 GB, free: 4.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/0.6549, allocations: 7.929 MB / 0.5005 GB, free: 11.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001066/0.655, allocations: 36 kB / 0.5006 GB, free: 11.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01806/0.6731, allocations: 8.181 MB / 0.5085 GB, free: 3.879 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-05/0.6732, allocations: 60.06 kB / 0.5086 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/0.6734, allocations: 120 kB / 0.5087 GB, free: 3.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004307/0.6777, allocations: 1.296 MB / 0.51 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004581/0.6823, allocations: 1.265 MB / 0.5112 GB, free: 1.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009125/0.6915, allocations: 6.102 MB / 0.5172 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005278/0.6968, allocations: 299.6 kB / 0.5175 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/0.6979, allocations: 340 kB / 0.5178 GB, free: 10.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * Number of states: 0 () * Number of discrete variables: 36 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (685): * Single equations (assignments): 681 * 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,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003731/0.7016, allocations: 1.817 MB / 0.5196 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007527/0.7024, allocations: 308 kB / 0.5199 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007616/0.71, allocations: 3.371 MB / 0.5231 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-05/0.7101, allocations: 16 kB / 0.5232 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.7101, allocations: 4 kB / 0.5232 GB, free: 4.926 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/0.7101, allocations: 19.91 kB / 0.5232 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.202/0.9121, allocations: 7.599 MB / 0.5306 GB, free: 161.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.9122, allocations: 2.344 kB / 0.5306 GB, free: 161.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.9133, allocations: 241.5 kB / 0.5308 GB, free: 161.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003917/0.9173, allocations: 1.117 MB / 0.5319 GB, free: 161.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/0.9175, allocations: 26.31 kB / 0.532 GB, free: 161.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009358/0.9269, allocations: 5.73 MB / 0.5375 GB, free: 159.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9269, allocations: 2.969 kB / 0.5376 GB, free: 159.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009091/0.936, allocations: 5.699 MB / 0.5431 GB, free: 157.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.9373, allocations: 0.5775 MB / 0.5437 GB, free: 157.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003643/0.9377, allocations: 29.98 kB / 0.5437 GB, free: 157.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/0.939, allocations: 91.59 kB / 0.5438 GB, free: 157.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.9393, allocations: 89.94 kB / 0.5439 GB, free: 157.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.9394, allocations: 44.03 kB / 0.5439 GB, free: 157.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002857/0.9422, allocations: 2.158 MB / 0.546 GB, free: 156.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.9423, allocations: 0 / 0.546 GB, free: 156.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003999/0.9463, allocations: 0.9186 MB / 0.5469 GB, free: 156.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (129): * Single equations (assignments): 125 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003809/0.9467, allocations: 168 kB / 0.5471 GB, free: 156.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006279/0.9529, allocations: 4.784 MB / 0.5518 GB, free: 155.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.953, allocations: 5.969 kB / 0.5518 GB, free: 155.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001911/0.9549, allocations: 1.53 MB / 0.5533 GB, free: 154.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.9571, allocations: 342.1 kB / 0.5536 GB, free: 154.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.9695, allocations: 9.922 MB / 0.5633 GB, free: 145.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002316/0.9719, allocations: 2.865 MB / 0.5661 GB, free: 143.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003626/0.9755, allocations: 1.718 MB / 0.5678 GB, free: 142.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005045/0.976, allocations: 214.6 kB / 0.568 GB, free: 142 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.976, allocations: 0 / 0.568 GB, free: 142 MB / 446.1 MB Notification: Performance of Templates: time 0.04799/1.024, allocations: 32.28 MB / 0.5995 GB, free: 109.9 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1)