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.001231/0.00123, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001406/0.001406, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.417/1.417, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0004958/0.0004958, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2247, allocations: 47.58 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper): time 0.02915/0.2539, allocations: 29.72 MB / 356.2 MB, free: 5.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.2711, allocations: 7.721 MB / 363.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005771/0.2769, allocations: 147.6 kB / 364 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004853/0.2818, allocations: 1.431 MB / 365.5 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01282/0.2946, allocations: 4.34 MB / 369.8 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002136/0.2968, allocations: 0.5538 MB / 370.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003642/0.3005, allocations: 1.958 MB / 372.3 MB, free: 5.535 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004672/0.3052, allocations: 3.337 MB / 375.6 MB, free: 2.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.3065, allocations: 0.872 MB / 376.5 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.3079, allocations: 1.191 MB / 377.7 MB, free: 80 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003471/0.3083, allocations: 124 kB / 377.8 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.3098, allocations: 0.8426 MB / 378.7 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.311, allocations: 1.317 MB / 380 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007106/0.3117, allocations: 0.7064 MB / 380.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004393/0.3161, allocations: 4.494 MB / 385.2 MB, free: 8.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3161, allocations: 0 / 385.2 MB, free: 8.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3162, allocations: 0 / 385.2 MB, free: 8.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000122/0.3163, allocations: 0 / 385.2 MB, free: 8.574 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.006606/0.3229, allocations: 3.49 MB / 388.7 MB, free: 5.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.323, allocations: 12.03 kB / 388.7 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007675/0.3306, allocations: 2.241 MB / 390.9 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004471/0.3351, allocations: 2.065 MB / 393 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.3354, allocations: 205.2 kB / 393.2 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005849/0.336, allocations: 275.8 kB / 393.5 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01861/0.3546, allocations: 10.08 MB / 403.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.966e-05/0.3548, allocations: 31.66 kB / 403.6 MB, free: 5.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003577/0.3551, allocations: 135.8 kB / 403.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002942/0.3581, allocations: 1.856 MB / 405.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01662/0.3747, allocations: 8.642 MB / 414.2 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04092/0.4157, allocations: 37.37 MB / 451.6 MB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1628/0.5785, allocations: 6.431 MB / 458 MB, free: 112.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/0.5897, allocations: 8.593 MB / 466.6 MB, free: 108.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.5898, allocations: 49.31 kB / 466.7 MB, free: 108.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=150): time 4.488e-06/0.5898, allocations: 0 / 466.7 MB, free: 108.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=166): time 0.06211/0.6519, allocations: 23.75 MB / 490.4 MB, free: 89.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.652, allocations: 145.5 kB / 490.5 MB, free: 89.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003622/0.6556, allocations: 3.591 MB / 494.1 MB, free: 85.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002372/0.6559, allocations: 45.7 kB / 494.2 MB, free: 85.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.657, allocations: 2.743 MB / 496.9 MB, free: 83.07 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004882/0.6575, allocations: 0.6424 MB / 497.6 MB, free: 82.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.6577, allocations: 110.2 kB / 497.7 MB, free: 82.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.658, allocations: 0.5376 MB / 498.2 MB, free: 81.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/0.6604, allocations: 2.021 MB / 0.4885 GB, free: 79.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003303/0.6637, allocations: 5.42 MB / 0.4938 GB, free: 72.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00349/0.6672, allocations: 3.218 MB / 0.4969 GB, free: 69.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.759e-05/0.6673, allocations: 32 kB / 0.497 GB, free: 69.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=724) (initialization): time 0.01201/0.6793, allocations: 8.308 MB / 0.5051 GB, free: 61.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.764e-05/0.6794, allocations: 56 kB / 0.5051 GB, free: 61.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.457e-05/0.6794, allocations: 124 kB / 0.5053 GB, free: 60.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003635/0.6831, allocations: 1.312 MB / 0.5065 GB, free: 59.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003535/0.6866, allocations: 1.275 MB / 0.5078 GB, free: 58.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007245/0.6939, allocations: 6.27 MB / 0.5139 GB, free: 51.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003961/0.6979, allocations: 316.4 kB / 0.5142 GB, free: 51.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004825/0.6984, allocations: 340 kB / 0.5145 GB, free: 51.25 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 (681): * Single equations (assignments): 677 * 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.002245/0.7006, allocations: 1.817 MB / 0.5163 GB, free: 49.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/0.7011, allocations: 311.9 kB / 0.5166 GB, free: 49.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006268/0.7073, allocations: 3.591 MB / 0.5201 GB, free: 45.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/0.7074, allocations: 16 kB / 0.5201 GB, free: 45.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.829e-06/0.7074, allocations: 12 kB / 0.5201 GB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.7074, allocations: 7.969 kB / 0.5201 GB, free: 45.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/0.7202, allocations: 7.995 MB / 0.528 GB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.7202, allocations: 480 / 0.528 GB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.7214, allocations: 259.6 kB / 0.5282 GB, free: 37.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003424/0.7248, allocations: 1.116 MB / 0.5293 GB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/0.725, allocations: 37.39 kB / 0.5293 GB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006773/0.7318, allocations: 5.887 MB / 0.5351 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.7318, allocations: 8 kB / 0.5351 GB, free: 29.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008569/0.7404, allocations: 6.125 MB / 0.5411 GB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/0.742, allocations: 0.6062 MB / 0.5417 GB, free: 23.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003603/0.7423, allocations: 27.95 kB / 0.5417 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.7436, allocations: 113.1 kB / 0.5418 GB, free: 23.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.7439, allocations: 88.88 kB / 0.5419 GB, free: 22.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/0.744, allocations: 43.98 kB / 0.5419 GB, free: 22.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002675/0.7467, allocations: 2.232 MB / 0.5441 GB, free: 20.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7467, allocations: 0 / 0.5441 GB, free: 20.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003854/0.7506, allocations: 0.9484 MB / 0.545 GB, free: 19.76 MB / 382.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.0004159/0.751, allocations: 190.3 kB / 0.5452 GB, free: 19.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006376/0.7574, allocations: 4.933 MB / 0.55 GB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.7574, allocations: 0 / 0.55 GB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002035/0.7594, allocations: 1.628 MB / 0.5516 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.761, allocations: 321.3 kB / 0.5519 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.7731, allocations: 9.678 MB / 0.5614 GB, free: 2.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002263/0.7754, allocations: 2.933 MB / 0.5642 GB, free: 20 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.004508/0.7799, allocations: 1.739 MB / 0.5659 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/0.7806, allocations: 219.4 kB / 0.5661 GB, free: 14.06 MB / 398.1 MB Notification: Performance of SimCode: time 1.212e-06/0.7806, allocations: 0 / 0.5661 GB, free: 14.06 MB / 398.1 MB Notification: Performance of Templates: time 0.05575/0.8364, allocations: 32.75 MB / 0.5981 GB, free: 13.32 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: