Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007836/0.0007835, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008041/0.0008041, allocations: 168.7 kB / 15.95 MB, free: 204 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.37/1.37, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004519/0.0004522, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2245, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01236/0.237, allocations: 12.65 MB / 339.1 MB, free: 6.824 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007642/0.2446, allocations: 4.01 MB / 343.1 MB, free: 2.805 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001985/0.2467, allocations: 55.81 kB / 343.2 MB, free: 2.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.2483, allocations: 0.5948 MB / 343.8 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004953/0.2532, allocations: 2.152 MB / 345.9 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.2544, allocations: 411.3 kB / 346.3 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003379/0.2578, allocations: 2.719 MB / 349.1 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001763/0.2595, allocations: 1.337 MB / 350.4 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008507/0.2604, allocations: 0.7082 MB / 351.1 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.2618, allocations: 1.137 MB / 352.2 MB, free: 9.637 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.2619, allocations: 83.94 kB / 352.3 MB, free: 9.555 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.2632, allocations: 0.7255 MB / 353.1 MB, free: 8.828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007914/0.264, allocations: 0.9427 MB / 354 MB, free: 7.883 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003825/0.2644, allocations: 492.1 kB / 354.5 MB, free: 7.395 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002475/0.2668, allocations: 2.955 MB / 357.4 MB, free: 4.434 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2669, allocations: 0 / 357.4 MB, free: 4.434 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2669, allocations: 0 / 357.4 MB, free: 4.434 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.203e-05/0.2669, allocations: 0 / 357.4 MB, free: 4.434 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.003641/0.2705, allocations: 2.434 MB / 359.9 MB, free: 1.941 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2706, allocations: 12.03 kB / 359.9 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005273/0.2759, allocations: 1.689 MB / 361.6 MB, free: 240 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/0.2779, allocations: 1.339 MB / 362.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.278, allocations: 118.9 kB / 363 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002661/0.2782, allocations: 159.8 kB / 363.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008119/0.2864, allocations: 6.359 MB / 369.5 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.924e-05/0.2865, allocations: 31.75 kB / 369.6 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002147/0.2867, allocations: 79.89 kB / 369.6 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002234/0.2889, allocations: 1.429 MB / 371.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008768/0.2977, allocations: 5.658 MB / 376.7 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0262/0.3239, allocations: 26.29 MB / 403 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004208/0.3282, allocations: 2.25 MB / 405.3 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/0.3296, allocations: 1.019 MB / 406.3 MB, free: 1.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6e-05/0.3297, allocations: 15.98 kB / 406.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.3297, allocations: 54.19 kB / 406.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 3.947e-06/0.3297, allocations: 0 / 406.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=106): time 0.02043/0.3502, allocations: 8.556 MB / 414.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.463e-05/0.3503, allocations: 136.5 kB / 415 MB, free: 8.996 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00453/0.3548, allocations: 2.816 MB / 417.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.355, allocations: 45.69 kB / 417.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001565/0.3565, allocations: 2.071 MB / 420 MB, free: 4.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005265/0.3571, allocations: 442.5 kB / 420.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.3573, allocations: 88 kB / 420.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002986/0.3576, allocations: 495.7 kB / 421 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002168/0.3598, allocations: 1.402 MB / 422.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004015/0.3638, allocations: 4.226 MB / 426.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/0.3671, allocations: 2.388 MB / 429 MB, free: 9.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.452e-05/0.3672, allocations: 28 kB / 429 MB, free: 9.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01033/0.3775, allocations: 6.061 MB / 435.1 MB, free: 3.441 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.154e-05/0.3777, allocations: 48.19 kB / 435.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001318/0.3778, allocations: 104 kB / 435.2 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/0.3799, allocations: 0.8084 MB / 436 MB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/0.3828, allocations: 0.9942 MB / 437 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005374/0.3881, allocations: 4.157 MB / 441.2 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/0.3909, allocations: 251.6 kB / 441.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005294/0.3915, allocations: 276 kB / 441.7 MB, free: 12.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (537): * Single equations (assignments): 533 * 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,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002398/0.3939, allocations: 1.368 MB / 443.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005075/0.3944, allocations: 233 kB / 443.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/0.3982, allocations: 1.853 MB / 445.2 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/0.3982, allocations: 12 kB / 445.2 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.3982, allocations: 7.953 kB / 445.2 MB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.3983, allocations: 3.984 kB / 445.2 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009191/0.4075, allocations: 4.805 MB / 450 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.478e-05/0.4075, allocations: 4 kB / 450 MB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.4081, allocations: 131.8 kB / 450.1 MB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002024/0.4101, allocations: 0.6525 MB / 450.8 MB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.283e-05/0.4103, allocations: 23.94 kB / 450.8 MB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1863/0.5966, allocations: 3.675 MB / 454.5 MB, free: 108.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.5966, allocations: 2.781 kB / 454.5 MB, free: 108.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005916/0.6026, allocations: 3.686 MB / 458.2 MB, free: 108.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008477/0.6034, allocations: 441.7 kB / 458.6 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.6036, allocations: 19.56 kB / 458.6 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007731/0.6044, allocations: 70.91 kB / 458.7 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.6046, allocations: 48.42 kB / 458.7 MB, free: 107.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.182e-05/0.6047, allocations: 35.5 kB / 458.8 MB, free: 107.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002632/0.6073, allocations: 1.748 MB / 460.5 MB, free: 107.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6073, allocations: 5.453 kB / 460.5 MB, free: 107.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002867/0.6102, allocations: 0.6454 MB / 461.2 MB, free: 107.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (75): * Single equations (assignments): 71 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002794/0.6105, allocations: 144.1 kB / 461.3 MB, free: 107.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004151/0.6146, allocations: 3.4 MB / 464.7 MB, free: 106 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6147, allocations: 3.719 kB / 464.7 MB, free: 106 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009943/0.6157, allocations: 0.9316 MB / 465.6 MB, free: 105.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.6169, allocations: 241.7 kB / 465.9 MB, free: 105.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007093/0.624, allocations: 6.462 MB / 472.3 MB, free: 102.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/0.6257, allocations: 2.189 MB / 474.5 MB, free: 100.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002628/0.6283, allocations: 1.397 MB / 475.9 MB, free: 99.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/0.6287, allocations: 163.4 kB / 476.1 MB, free: 99.03 MB / 382.1 MB Notification: Performance of SimCode: time 1.243e-06/0.6287, allocations: 0 / 476.1 MB, free: 99.03 MB / 382.1 MB Notification: Performance of Templates: time 0.0315/0.6602, allocations: 21.41 MB / 497.5 MB, free: 77.66 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1)