Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001424/0.001428, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001589/0.001589, allocations: 191 kB / 16.25 MB, free: 6.629 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.419/1.419, allocations: 205.1 MB / 222.1 MB, free: 4.723 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.001291/0.001291, allocations: 51.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2263, allocations: 46.63 MB / 324.9 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.03294/0.2593, allocations: 34.76 MB / 359.6 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01884/0.2783, allocations: 7.822 MB / 367.4 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007269/0.2856, allocations: 147.6 kB / 367.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004885/0.2905, allocations: 1.994 MB / 369.6 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005409/0.2959, allocations: 1.53 MB / 371.1 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.2979, allocations: 0.6397 MB / 371.7 MB, free: 5.047 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00488/0.3028, allocations: 3.42 MB / 375.2 MB, free: 1.613 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003492/0.3063, allocations: 2.858 MB / 378 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.3085, allocations: 1.281 MB / 379.3 MB, free: 13.42 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.311, allocations: 1.955 MB / 381.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006061/0.3116, allocations: 260 kB / 381.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.3136, allocations: 1.127 MB / 382.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001582/0.3152, allocations: 1.609 MB / 384.2 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001903/0.3171, allocations: 1.887 MB / 386.1 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006339/0.3234, allocations: 5.779 MB / 391.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.3235, allocations: 0 / 391.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3235, allocations: 0 / 391.9 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000191/0.3237, allocations: 0 / 391.9 MB, free: 0.7656 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.01008/0.3338, allocations: 4.133 MB / 396 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.3339, allocations: 11.89 kB / 396.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006555/0.3404, allocations: 1.856 MB / 397.9 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003867/0.3443, allocations: 1.933 MB / 399.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.3445, allocations: 213.2 kB / 400.1 MB, free: 8.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005353/0.3451, allocations: 267.7 kB / 400.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01983/0.3649, allocations: 9.97 MB / 410.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.3651, allocations: 39.69 kB / 410.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004459/0.3655, allocations: 135.8 kB / 410.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003025/0.3686, allocations: 1.852 MB / 412.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01757/0.3862, allocations: 8.536 MB / 420.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2506/0.6368, allocations: 36.85 MB / 457.7 MB, free: 90.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01413/0.651, allocations: 3.869 MB / 461.6 MB, free: 89.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003837/0.6549, allocations: 1.812 MB / 463.4 MB, free: 89.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01546/0.6704, allocations: 7.537 MB / 470.9 MB, free: 85.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.6705, allocations: 46.88 kB / 471 MB, free: 85.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 6.271e-06/0.6705, allocations: 0.875 kB / 471 MB, free: 85.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=166): time 0.05861/0.7291, allocations: 17.45 MB / 488.4 MB, free: 73.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.7292, allocations: 152.5 kB / 488.6 MB, free: 72.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007177/0.7364, allocations: 3.485 MB / 492 MB, free: 69.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005413/0.737, allocations: 49.7 kB / 492.1 MB, free: 69.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002043/0.7391, allocations: 2.741 MB / 494.8 MB, free: 66.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001021/0.7401, allocations: 0.6428 MB / 495.5 MB, free: 65.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002288/0.7424, allocations: 1.111 MB / 496.6 MB, free: 64.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.703e-05/0.7425, allocations: 309 kB / 496.9 MB, free: 64.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002731/0.7453, allocations: 1.956 MB / 498.8 MB, free: 62.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003923/0.7492, allocations: 5.374 MB / 0.4924 GB, free: 55.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006701/0.756, allocations: 7.927 MB / 0.5001 GB, free: 46.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.964e-05/0.7561, allocations: 36 kB / 0.5002 GB, free: 46.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01393/0.77, allocations: 8.172 MB / 0.5082 GB, free: 37.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.125e-05/0.7701, allocations: 60 kB / 0.5082 GB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001258/0.7703, allocations: 120 kB / 0.5083 GB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003934/0.7742, allocations: 1.304 MB / 0.5096 GB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003879/0.7781, allocations: 1.267 MB / 0.5108 GB, free: 35.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008244/0.7864, allocations: 6.541 MB / 0.5172 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004703/0.7911, allocations: 295.5 kB / 0.5175 GB, free: 28.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/0.7922, allocations: 348 kB / 0.5178 GB, free: 27.87 MB / 382.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.003788/0.796, allocations: 1.808 MB / 0.5196 GB, free: 26.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007781/0.7967, allocations: 308.1 kB / 0.5199 GB, free: 25.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007078/0.8038, allocations: 3.365 MB / 0.5232 GB, free: 22.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.937e-05/0.8039, allocations: 20 kB / 0.5232 GB, free: 22.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/0.804, allocations: 4 kB / 0.5232 GB, free: 22.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.609e-05/0.804, allocations: 7.969 kB / 0.5232 GB, free: 22.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/0.8176, allocations: 7.603 MB / 0.5306 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/0.8177, allocations: 7.938 kB / 0.5307 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.8188, allocations: 239.7 kB / 0.5309 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0035/0.8223, allocations: 1.12 MB / 0.532 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002031/0.8225, allocations: 35.98 kB / 0.532 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007407/0.8299, allocations: 6.171 MB / 0.538 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.83, allocations: 0 / 0.538 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008566/0.8386, allocations: 5.705 MB / 0.5436 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/0.8401, allocations: 0.5751 MB / 0.5442 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000603/0.8408, allocations: 28 kB / 0.5442 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/0.8421, allocations: 87.88 kB / 0.5443 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003089/0.8424, allocations: 84.88 kB / 0.5444 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.8426, allocations: 51.69 kB / 0.5444 GB, free: 404 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.003555/0.8461, allocations: 2.159 MB / 0.5465 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8461, allocations: 0 / 0.5465 GB, free: 14.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004761/0.8509, allocations: 0.9231 MB / 0.5474 GB, free: 13.33 MB / 398.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.0004475/0.8514, allocations: 169 kB / 0.5476 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01036/0.8618, allocations: 5.543 MB / 0.553 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.976e-06/0.8618, allocations: 0 / 0.553 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.8643, allocations: 1.538 MB / 0.5545 GB, free: 6.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/0.8669, allocations: 351.7 kB / 0.5548 GB, free: 5.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/0.8848, allocations: 9.831 MB / 0.5644 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003504/0.8884, allocations: 2.851 MB / 0.5672 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.004409/0.8928, allocations: 1.703 MB / 0.5689 GB, free: 7.297 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006668/0.8935, allocations: 219.4 kB / 0.5691 GB, free: 7.082 MB / 414.1 MB Notification: Performance of SimCode: time 1.172e-06/0.8935, allocations: 0 / 0.5691 GB, free: 7.082 MB / 414.1 MB Notification: Performance of Templates: time 0.06587/0.9594, allocations: 34.07 MB / 0.6024 GB, free: 5.023 MB / 446.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1)