Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001134/0.001134, allocations: 86.41 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.001359/0.001359, 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.486/1.486, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0005637/0.0005638, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2578, allocations: 47.6 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01211/0.27, allocations: 12.64 MB / 339.1 MB, free: 6.816 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007772/0.2778, allocations: 4.022 MB / 343.1 MB, free: 2.785 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.2789, allocations: 55.81 kB / 343.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.28, allocations: 0.5987 MB / 343.8 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.2844, allocations: 2.145 MB / 345.9 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.2854, allocations: 411.3 kB / 346.3 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003583/0.289, allocations: 2.723 MB / 349.1 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.291, allocations: 1.329 MB / 350.4 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.2921, allocations: 0.7043 MB / 351.1 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.2936, allocations: 1.149 MB / 352.3 MB, free: 9.617 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002163/0.2938, allocations: 80 kB / 352.3 MB, free: 9.539 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.2952, allocations: 0.7216 MB / 353.1 MB, free: 8.816 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008787/0.2961, allocations: 0.9466 MB / 354 MB, free: 7.867 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004577/0.2965, allocations: 492.1 kB / 354.5 MB, free: 7.379 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.2993, allocations: 2.951 MB / 357.4 MB, free: 4.422 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2993, allocations: 0 / 357.4 MB, free: 4.422 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2993, allocations: 0 / 357.4 MB, free: 4.422 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.461e-05/0.2993, allocations: 0 / 357.4 MB, free: 4.422 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.00412/0.3035, allocations: 2.438 MB / 359.9 MB, free: 1.926 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.3035, allocations: 19.97 kB / 359.9 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005475/0.309, allocations: 1.685 MB / 361.6 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/0.3116, allocations: 1.339 MB / 362.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.3118, allocations: 118.9 kB / 363 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005215/0.3124, allocations: 155.8 kB / 363.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/0.3253, allocations: 6.363 MB / 369.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001344/0.3255, allocations: 31.73 kB / 369.6 MB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004512/0.3259, allocations: 79.89 kB / 369.7 MB, free: 7.566 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002821/0.3288, allocations: 1.429 MB / 371.1 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.3405, allocations: 5.654 MB / 376.7 MB, free: 492 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0344/0.3749, allocations: 26.3 MB / 403 MB, free: 5.348 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004259/0.3792, allocations: 2.246 MB / 405.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.3807, allocations: 1.011 MB / 406.3 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.902e-05/0.3807, allocations: 16 kB / 406.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.3808, allocations: 46.25 kB / 406.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 3.216e-06/0.3808, allocations: 0 / 406.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=106): time 0.02097/0.4018, allocations: 8.568 MB / 414.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.284e-05/0.4019, allocations: 136.5 kB / 415 MB, free: 8.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005059/0.407, allocations: 2.827 MB / 417.9 MB, free: 6.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.4072, allocations: 37.7 kB / 417.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002163/0.4093, allocations: 2.075 MB / 420 MB, free: 3.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005732/0.4099, allocations: 438.6 kB / 420.4 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002648/0.4102, allocations: 84 kB / 420.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0004054/0.4106, allocations: 499.7 kB / 421 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/0.4131, allocations: 1.398 MB / 422.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0045/0.4177, allocations: 4.234 MB / 426.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003778/0.4215, allocations: 2.374 MB / 429 MB, free: 9.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.685e-05/0.4216, allocations: 28 kB / 429 MB, free: 9.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01146/0.433, allocations: 6.067 MB / 435.1 MB, free: 3.426 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.7e-05/0.4332, allocations: 52.25 kB / 435.1 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001653/0.4333, allocations: 100 kB / 435.2 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002238/0.4356, allocations: 0.8162 MB / 436.1 MB, free: 2.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003064/0.4387, allocations: 0.9864 MB / 437 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/0.4445, allocations: 4.153 MB / 441.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003109/0.4476, allocations: 251.6 kB / 441.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006007/0.4483, allocations: 276 kB / 441.7 MB, free: 12.67 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.002573/0.4508, allocations: 1.372 MB / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005133/0.4514, allocations: 229 kB / 443.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/0.4552, allocations: 1.853 MB / 445.2 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.483e-05/0.4553, allocations: 23.97 kB / 445.2 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.4553, allocations: 3.953 kB / 445.2 MB, free: 9.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.4553, allocations: 7.984 kB / 445.2 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009134/0.4645, allocations: 4.805 MB / 450 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.4645, allocations: 0 / 450 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005933/0.4651, allocations: 127.9 kB / 450.1 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/0.467, allocations: 0.6487 MB / 450.8 MB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.145e-05/0.4671, allocations: 20 kB / 450.8 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1833/0.6504, allocations: 3.687 MB / 454.5 MB, free: 108.4 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.6505, allocations: 2.344 kB / 454.5 MB, free: 108.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006538/0.657, allocations: 3.69 MB / 458.2 MB, free: 107.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.6582, allocations: 445.4 kB / 458.6 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002312/0.6584, allocations: 12.56 kB / 458.6 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008524/0.6593, allocations: 65.23 kB / 458.7 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.6594, allocations: 54.88 kB / 458.7 MB, free: 107.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.307e-05/0.6595, allocations: 31.16 kB / 458.8 MB, free: 107.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002609/0.6621, allocations: 1.751 MB / 460.5 MB, free: 107.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6621, allocations: 2.953 kB / 460.5 MB, free: 107.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003247/0.6654, allocations: 0.6505 MB / 461.2 MB, free: 107 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.0003023/0.6657, allocations: 143.5 kB / 461.3 MB, free: 106.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004503/0.6702, allocations: 3.393 MB / 464.7 MB, free: 105.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.6702, allocations: 0 / 464.7 MB, free: 105.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.6713, allocations: 0.9327 MB / 465.6 MB, free: 105.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.6727, allocations: 240.6 kB / 465.9 MB, free: 105.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007436/0.6801, allocations: 6.465 MB / 472.3 MB, free: 102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.6818, allocations: 2.198 MB / 474.5 MB, free: 100.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002771/0.6846, allocations: 1.39 MB / 475.9 MB, free: 99.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/0.6849, allocations: 163.4 kB / 476.1 MB, free: 98.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6849, allocations: 4 kB / 476.1 MB, free: 98.86 MB / 382.1 MB Notification: Performance of Templates: time 0.03315/0.7181, allocations: 21.4 MB / 497.5 MB, free: 77.5 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1)