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.001847/0.001847, allocations: 115.8 kB / 17.11 MB, free: 5.906 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.002225/0.002225, allocations: 193.3 kB / 18.05 MB, free: 4.98 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.529/1.529, allocations: 207.6 MB / 226.4 MB, free: 11.5 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.002017/0.002017, allocations: 55.91 kB / 335.4 MB, free: 13.86 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2876, allocations: 49.12 MB / 384.5 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.009218/0.2968, allocations: 10.36 MB / 394.9 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008317/0.3051, allocations: 3.891 MB / 398.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.3069, allocations: 53.41 kB / 398.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004457/0.3114, allocations: 2.105 MB / 400.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005236/0.3166, allocations: 1.681 MB / 402.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.3186, allocations: 0.6877 MB / 403.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006331/0.3249, allocations: 3.386 MB / 406.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003608/0.3285, allocations: 2.321 MB / 409 MB, free: 9.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003342/0.3318, allocations: 1.27 MB / 410.3 MB, free: 8.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003687/0.3355, allocations: 1.915 MB / 412.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007523/0.3363, allocations: 263.4 kB / 412.5 MB, free: 7.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.3392, allocations: 1.143 MB / 413.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001998/0.3412, allocations: 1.617 MB / 415.2 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003108/0.3443, allocations: 1.865 MB / 417.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00911/0.3534, allocations: 5.972 MB / 423.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3534, allocations: 0 / 423.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3534, allocations: 0 / 423.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001699/0.3536, allocations: 0 / 423.1 MB, free: 13.98 MB / 350.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.008956/0.3625, allocations: 4.243 MB / 427.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3626, allocations: 15.89 kB / 427.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006646/0.3692, allocations: 1.874 MB / 429.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004236/0.3734, allocations: 1.972 MB / 431.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000191/0.3736, allocations: 205.2 kB / 431.4 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007338/0.3744, allocations: 267.8 kB / 431.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01905/0.3934, allocations: 9.977 MB / 441.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.847e-05/0.3935, allocations: 43.64 kB / 441.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000354/0.3939, allocations: 131.9 kB / 441.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002967/0.3968, allocations: 1.856 MB / 443.6 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01854/0.4154, allocations: 8.54 MB / 452.2 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0464/0.4618, allocations: 36.76 MB / 488.9 MB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009495/0.4713, allocations: 3.756 MB / 492.7 MB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002736/0.474, allocations: 1.705 MB / 494.4 MB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01165/0.4857, allocations: 7.533 MB / 0.4902 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.4857, allocations: 51.5 kB / 0.4902 GB, free: 12.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=150): time 4.609e-06/0.4857, allocations: 0 / 0.4902 GB, free: 12.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=166): time 0.05063/0.5363, allocations: 17.63 MB / 0.5074 GB, free: 10.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/0.5365, allocations: 141.5 kB / 0.5076 GB, free: 10.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005435/0.5419, allocations: 3.502 MB / 0.511 GB, free: 7.297 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003475/0.5423, allocations: 45.7 kB / 0.511 GB, free: 7.246 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002114/0.5444, allocations: 2.85 MB / 0.5138 GB, free: 4.371 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007933/0.5452, allocations: 0.6706 MB / 0.5145 GB, free: 3.695 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001448/0.5466, allocations: 1.128 MB / 0.5156 GB, free: 2.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.5467, allocations: 313 kB / 0.5159 GB, free: 2.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003049/0.5498, allocations: 1.947 MB / 0.5178 GB, free: 304 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005989/0.5558, allocations: 5.381 MB / 0.523 GB, free: 9.195 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009934/0.5657, allocations: 7.929 MB / 0.5308 GB, free: 15.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.527e-05/0.5658, allocations: 32 kB / 0.5308 GB, free: 15.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=728) (initialization): time 0.02449/0.5903, allocations: 8.172 MB / 0.5388 GB, free: 7.352 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.5904, allocations: 59.94 kB / 0.5388 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002317/0.5907, allocations: 124 kB / 0.539 GB, free: 7.172 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006461/0.5971, allocations: 1.296 MB / 0.5402 GB, free: 5.871 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006432/0.6036, allocations: 1.263 MB / 0.5415 GB, free: 4.605 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01505/0.6186, allocations: 6.544 MB / 0.5478 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006599/0.6252, allocations: 307.6 kB / 0.5481 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/0.6263, allocations: 344 kB / 0.5485 GB, free: 13.29 MB / 494.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.003694/0.63, allocations: 1.803 MB / 0.5502 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006383/0.6307, allocations: 317.8 kB / 0.5505 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.6419, allocations: 3.361 MB / 0.5538 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.285e-05/0.642, allocations: 20 kB / 0.5538 GB, free: 7.758 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/0.642, allocations: 4 kB / 0.5538 GB, free: 7.754 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.01e-05/0.642, allocations: 7.969 kB / 0.5538 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02316/0.6652, allocations: 7.567 MB / 0.5612 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.6652, allocations: 4 kB / 0.5612 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2407/0.9059, allocations: 238.1 kB / 0.5615 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004725/0.9107, allocations: 1.118 MB / 0.5626 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003885/0.9111, allocations: 29.41 kB / 0.5626 GB, free: 157.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009724/0.9208, allocations: 6.168 MB / 0.5686 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.9208, allocations: 4.172 kB / 0.5686 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/0.9321, allocations: 5.713 MB / 0.5742 GB, free: 153.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/0.9336, allocations: 0.5911 MB / 0.5748 GB, free: 153.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005961/0.9342, allocations: 22.81 kB / 0.5748 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/0.9358, allocations: 93.73 kB / 0.5749 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003243/0.9361, allocations: 88.36 kB / 0.575 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.9362, allocations: 52.5 kB / 0.575 GB, free: 153.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003894/0.9401, allocations: 2.155 MB / 0.5771 GB, free: 152.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.9401, allocations: 2.688 kB / 0.5771 GB, free: 152.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005904/0.946, allocations: 0.9164 MB / 0.578 GB, free: 152.5 MB / 494.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.0004897/0.9465, allocations: 165.1 kB / 0.5782 GB, free: 152.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008064/0.9546, allocations: 4.6 MB / 0.5827 GB, free: 150.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.9546, allocations: 1.125 kB / 0.5827 GB, free: 150.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002262/0.9569, allocations: 1.431 MB / 0.5841 GB, free: 150.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002371/0.9592, allocations: 364.1 kB / 0.5844 GB, free: 150.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.9725, allocations: 8.138 MB / 0.5924 GB, free: 146.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002644/0.9752, allocations: 2.858 MB / 0.5951 GB, free: 145.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003539/0.9787, allocations: 1.698 MB / 0.5968 GB, free: 145.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000567/0.9793, allocations: 217.1 kB / 0.597 GB, free: 145.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.403e-06/0.9793, allocations: 0 / 0.597 GB, free: 145.1 MB / 494.1 MB Notification: Performance of Templates: time 0.05443/1.034, allocations: 31.75 MB / 0.628 GB, free: 113.7 MB / 494.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)