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.001011/0.001011, allocations: 88.16 kB / 16.31 MB, free: 5.566 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.001224/0.001225, allocations: 179.7 kB / 17.2 MB, free: 5.484 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.407/1.407, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.0004621/0.0004621, allocations: 8 kB / 280.1 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0974/0.09787, allocations: 47.58 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.03043/0.1283, allocations: 31.45 MB / 359.2 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01801/0.1464, allocations: 7.453 MB / 366.6 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006735/0.1532, allocations: 143.6 kB / 366.8 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005095/0.1583, allocations: 1.582 MB / 368.3 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01407/0.1724, allocations: 4.848 MB / 373.2 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.175, allocations: 0.5811 MB / 373.8 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005498/0.1805, allocations: 3.817 MB / 377.6 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.214/0.3946, allocations: 3.361 MB / 381 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.3974, allocations: 1.049 MB / 382 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003469/0.4009, allocations: 1.657 MB / 383.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008096/0.4017, allocations: 125.3 kB / 383.8 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.4042, allocations: 0.8724 MB / 384.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002237/0.4064, allocations: 1.401 MB / 386.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.4079, allocations: 0.7065 MB / 386.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006771/0.4147, allocations: 4.49 MB / 391.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4147, allocations: 0 / 391.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.4147, allocations: 0 / 391.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002313/0.415, allocations: 1.969 kB / 391.3 MB, free: 11.45 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.009602/0.4246, allocations: 3.422 MB / 394.7 MB, free: 9.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.4246, allocations: 9.625 kB / 394.7 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007677/0.4323, allocations: 1.911 MB / 396.6 MB, free: 9.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005053/0.4374, allocations: 1.89 MB / 398.5 MB, free: 9.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.4376, allocations: 206.1 kB / 398.7 MB, free: 9.059 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001219/0.4389, allocations: 276.8 kB / 399 MB, free: 9.051 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01861/0.4575, allocations: 9.974 MB / 408.9 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/0.4576, allocations: 35.31 kB / 409 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004381/0.4581, allocations: 133.5 kB / 409.1 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002654/0.4607, allocations: 1.857 MB / 411 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01695/0.4777, allocations: 8.511 MB / 419.5 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06058/0.5383, allocations: 36.84 MB / 456.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01233/0.5507, allocations: 3.863 MB / 460.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00412/0.5549, allocations: 1.806 MB / 462 MB, free: 9.773 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01972/0.5746, allocations: 7.529 MB / 469.5 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.304e-05/0.5747, allocations: 49.91 kB / 469.6 MB, free: 1.977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=150): time 8.506e-06/0.5748, allocations: 0 / 469.6 MB, free: 1.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=166): time 0.06219/0.637, allocations: 17.38 MB / 486.9 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/0.6371, allocations: 152.3 kB / 487.1 MB, free: 360 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007023/0.6442, allocations: 3.464 MB / 490.5 MB, free: 12.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004615/0.6447, allocations: 49.7 kB / 490.6 MB, free: 12.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002462/0.6471, allocations: 2.732 MB / 493.3 MB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001229/0.6484, allocations: 0.6473 MB / 494 MB, free: 9.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006703/0.6491, allocations: 116 kB / 494.1 MB, free: 9.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0006069/0.6497, allocations: 0.5337 MB / 494.6 MB, free: 8.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003953/0.6537, allocations: 1.935 MB / 496.6 MB, free: 6.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006372/0.6601, allocations: 5.347 MB / 0.4901 GB, free: 15.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005633/0.6657, allocations: 3.132 MB / 0.4932 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/0.6659, allocations: 36 kB / 0.4932 GB, free: 12.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.01862/0.6845, allocations: 8.115 MB / 0.5012 GB, free: 5.277 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.6847, allocations: 59.28 kB / 0.5012 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002163/0.6849, allocations: 128.1 kB / 0.5013 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004404/0.6894, allocations: 1.316 MB / 0.5026 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004782/0.6942, allocations: 1.259 MB / 0.5039 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.7046, allocations: 6.103 MB / 0.5098 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004731/0.7094, allocations: 299.6 kB / 0.5101 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/0.7107, allocations: 336 kB / 0.5104 GB, free: 11.66 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004691/0.7154, allocations: 1.814 MB / 0.5122 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008114/0.7163, allocations: 309.9 kB / 0.5125 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008137/0.7244, allocations: 3.364 MB / 0.5158 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.561e-05/0.7245, allocations: 20 kB / 0.5158 GB, free: 6.137 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.7245, allocations: 4 kB / 0.5158 GB, free: 6.133 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.7245, allocations: 3.984 kB / 0.5158 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/0.741, allocations: 7.605 MB / 0.5232 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-05/0.741, allocations: 0 / 0.5232 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.7422, allocations: 239.7 kB / 0.5235 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00352/0.7458, allocations: 1.113 MB / 0.5245 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/0.746, allocations: 39.98 kB / 0.5246 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008538/0.7545, allocations: 5.716 MB / 0.5302 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.7546, allocations: 3.938 kB / 0.5302 GB, free: 7.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/0.7646, allocations: 5.689 MB / 0.5357 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002023/0.7667, allocations: 0.5866 MB / 0.5363 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007793/0.7675, allocations: 31.89 kB / 0.5363 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/0.7693, allocations: 87.89 kB / 0.5364 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003348/0.7697, allocations: 84.88 kB / 0.5365 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001951/0.7699, allocations: 47.98 kB / 0.5365 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.1737/0.9436, allocations: 2.137 MB / 0.5386 GB, free: 162.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.9436, allocations: 0 / 0.5386 GB, free: 162.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007267/0.9509, allocations: 0.9152 MB / 0.5395 GB, free: 162.4 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006499/0.9516, allocations: 161.3 kB / 0.5397 GB, free: 162.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008891/0.9605, allocations: 4.76 MB / 0.5443 GB, free: 161.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.9605, allocations: 0 / 0.5443 GB, free: 161.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002747/0.9633, allocations: 1.531 MB / 0.5458 GB, free: 160.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003785/0.9671, allocations: 344.2 kB / 0.5461 GB, free: 160.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/0.9852, allocations: 9.524 MB / 0.5554 GB, free: 156 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002744/0.9879, allocations: 2.852 MB / 0.5582 GB, free: 154.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003829/0.9918, allocations: 1.723 MB / 0.5599 GB, free: 154.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005598/0.9924, allocations: 218.7 kB / 0.5601 GB, free: 154.6 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.9924, allocations: 3.938 kB / 0.5601 GB, free: 154.6 MB / 446.1 MB Notification: Performance of Templates: time 0.04969/1.042, allocations: 31.6 MB / 0.591 GB, free: 127.4 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)