Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001449/0.00145, allocations: 100.1 kB / 16.5 MB, free: 6.641 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.001603/0.001603, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.384/1.384, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.0012/0.0012, allocations: 55.92 kB / 279.3 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09562/0.09684, allocations: 46.63 MB / 326 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01415/0.111, allocations: 14.1 MB / 340.1 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009293/0.1204, allocations: 4.367 MB / 344.4 MB, free: 2.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.1231, allocations: 55.88 kB / 344.5 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00207/0.1252, allocations: 0.7477 MB / 345.2 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00354/0.1288, allocations: 1.219 MB / 346.5 MB, free: 320 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.1299, allocations: 471.2 kB / 346.9 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004154/0.1341, allocations: 3.444 MB / 350.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.1356, allocations: 1.156 MB / 351.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/0.1367, allocations: 0.6613 MB / 352.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.1383, allocations: 1.207 MB / 353.4 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002544/0.1385, allocations: 92 kB / 353.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.1401, allocations: 0.8969 MB / 354.4 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009148/0.141, allocations: 0.9776 MB / 355.3 MB, free: 7.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.1422, allocations: 1.172 MB / 356.5 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003808/0.146, allocations: 3.781 MB / 360.3 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.146, allocations: 0 / 360.3 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.146, allocations: 3.938 kB / 360.3 MB, free: 2.398 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.597e-05/0.1461, allocations: 0 / 360.3 MB, free: 2.398 MB / 302.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.005124/0.1512, allocations: 2.886 MB / 363.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.1513, allocations: 8.031 kB / 363.2 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005746/0.157, allocations: 1.639 MB / 364.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002754/0.1598, allocations: 1.367 MB / 366.2 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.16, allocations: 122.8 kB / 366.3 MB, free: 12.26 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003195/0.1603, allocations: 147.9 kB / 366.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009369/0.1697, allocations: 6.37 MB / 372.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-05/0.1698, allocations: 31.73 kB / 372.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/0.17, allocations: 79.89 kB / 372.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002326/0.1724, allocations: 1.429 MB / 374.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1655/0.3379, allocations: 5.667 MB / 380 MB, free: 50.17 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02609/0.364, allocations: 26.29 MB / 406.3 MB, free: 30.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004008/0.3681, allocations: 2.263 MB / 408.6 MB, free: 29.3 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.3692, allocations: 1.02 MB / 409.6 MB, free: 28.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.634e-05/0.3693, allocations: 10.23 kB / 409.6 MB, free: 28.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3693, allocations: 46.31 kB / 409.7 MB, free: 28.71 MB / 318.1 MB Notification: Performance of pre-optimization done (n=98): time 3.035e-06/0.3693, allocations: 0 / 409.7 MB, free: 28.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=106): time 0.01798/0.3873, allocations: 8.606 MB / 418.3 MB, free: 22 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.3874, allocations: 140.5 kB / 418.4 MB, free: 21.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/0.3904, allocations: 2.835 MB / 421.3 MB, free: 18.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.3906, allocations: 33.7 kB / 421.3 MB, free: 18.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009457/0.3915, allocations: 2.077 MB / 423.4 MB, free: 16.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003043/0.3918, allocations: 438.1 kB / 423.8 MB, free: 16.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007821/0.3926, allocations: 0.8882 MB / 424.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.3927, allocations: 308 kB / 425 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.3943, allocations: 1.41 MB / 426.4 MB, free: 13.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002536/0.3968, allocations: 4.251 MB / 430.6 MB, free: 8.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00451/0.4013, allocations: 6.138 MB / 436.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.161e-05/0.4014, allocations: 31.94 kB / 436.8 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.009833/0.4112, allocations: 6.104 MB / 442.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.101e-05/0.4113, allocations: 52.06 kB / 443 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/0.4114, allocations: 100 kB / 443.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002229/0.4137, allocations: 0.7928 MB / 443.9 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/0.4163, allocations: 0.9864 MB / 444.8 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005382/0.4217, allocations: 4.164 MB / 449 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/0.4245, allocations: 247.5 kB / 449.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003764/0.4249, allocations: 272 kB / 449.5 MB, free: 3.723 MB / 334.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 (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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001807/0.4267, allocations: 1.368 MB / 450.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/0.4271, allocations: 232.9 kB / 451.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003587/0.4307, allocations: 1.857 MB / 453 MB, free: 240 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/0.4307, allocations: 15.98 kB / 453 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4307, allocations: 6.062 kB / 453 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.4307, allocations: 3.984 kB / 453 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00811/0.4388, allocations: 4.817 MB / 457.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.4389, allocations: 0 / 457.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/0.4395, allocations: 135.8 kB / 457.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/0.4415, allocations: 0.6456 MB / 458.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.841e-05/0.4416, allocations: 20 kB / 458.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004596/0.4462, allocations: 3.703 MB / 462.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4462, allocations: 0 / 462.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005619/0.4518, allocations: 3.688 MB / 466 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009335/0.4528, allocations: 437.8 kB / 466.4 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.453, allocations: 15.98 kB / 466.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008453/0.4539, allocations: 63.86 kB / 466.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.4541, allocations: 55.92 kB / 466.6 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.369e-05/0.4541, allocations: 29 kB / 466.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002504/0.4566, allocations: 1.766 MB / 468.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4567, allocations: 0 / 468.3 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003178/0.4598, allocations: 0.6467 MB / 469 MB, free: 15.95 MB / 366.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 (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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003022/0.4602, allocations: 145.6 kB / 469.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005506/0.4657, allocations: 3.408 MB / 472.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.4657, allocations: 4 kB / 472.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.4669, allocations: 0.9303 MB / 473.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001769/0.4687, allocations: 257.8 kB / 473.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009065/0.4778, allocations: 6.637 MB / 480.4 MB, free: 4.539 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.4798, allocations: 2.192 MB / 482.6 MB, free: 2.316 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.003201/0.4831, allocations: 1.392 MB / 484 MB, free: 0.918 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/0.4835, allocations: 171.3 kB / 484.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4835, allocations: 0 / 484.1 MB, free: 0.75 MB / 366.1 MB Notification: Performance of Templates: time 0.03882/0.5223, allocations: 22.14 MB / 0.4944 GB, free: 10.61 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1)