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.001175/0.001175, allocations: 109.2 kB / 17.06 MB, free: 5.828 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.001165/0.001165, allocations: 195.9 kB / 18 MB, free: 4.965 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.467/1.467, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001114/0.001114, allocations: 47.94 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09183/0.09296, allocations: 46.62 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.2021/0.2951, allocations: 7.115 MB / 381.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005903/0.301, allocations: 3.162 MB / 384.8 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009788/0.3021, allocations: 31.88 kB / 384.8 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001711/0.3038, allocations: 0.7858 MB / 385.6 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003244/0.3071, allocations: 1.316 MB / 386.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.3083, allocations: 0.4978 MB / 387.4 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003807/0.3121, allocations: 2.536 MB / 389.9 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.3138, allocations: 1.158 MB / 391.1 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.3152, allocations: 0.765 MB / 391.9 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.3167, allocations: 1.108 MB / 393 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003231/0.317, allocations: 133.8 kB / 393.1 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.3191, allocations: 0.8816 MB / 394 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.3203, allocations: 0.9979 MB / 395 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.3215, allocations: 1.2 MB / 396.2 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005372/0.3269, allocations: 3.973 MB / 400.1 MB, free: 1.363 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3269, allocations: 0 / 400.1 MB, free: 1.363 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3269, allocations: 0 / 400.1 MB, free: 1.363 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001253/0.327, allocations: 0 / 400.1 MB, free: 1.363 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.006915/0.3339, allocations: 2.971 MB / 403.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.334, allocations: 10.28 kB / 403.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006487/0.3405, allocations: 1.651 MB / 404.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/0.3441, allocations: 1.39 MB / 406.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.3442, allocations: 120.7 kB / 406.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004578/0.3447, allocations: 160.9 kB / 406.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.3557, allocations: 6.364 MB / 412.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.124e-05/0.3558, allocations: 27.75 kB / 412.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/0.3561, allocations: 83.89 kB / 412.9 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002762/0.3589, allocations: 1.437 MB / 414.4 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01124/0.3701, allocations: 5.665 MB / 420 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03061/0.4008, allocations: 26.25 MB / 446.3 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004355/0.4052, allocations: 2.265 MB / 448.5 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.4065, allocations: 1.026 MB / 449.6 MB, free: 2.816 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.899e-05/0.4066, allocations: 19.98 kB / 449.6 MB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.4066, allocations: 38.56 kB / 449.6 MB, free: 2.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 3.506e-06/0.4066, allocations: 0 / 449.6 MB, free: 2.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=106): time 0.02112/0.4278, allocations: 8.749 MB / 458.4 MB, free: 9.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/0.4279, allocations: 144.5 kB / 458.5 MB, free: 9.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004364/0.4323, allocations: 2.84 MB / 461.3 MB, free: 6.848 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000282/0.4326, allocations: 33.7 kB / 461.4 MB, free: 6.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.4341, allocations: 2.163 MB / 463.5 MB, free: 4.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006925/0.4348, allocations: 460.6 kB / 464 MB, free: 4.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001133/0.4359, allocations: 0.8894 MB / 464.9 MB, free: 3.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.866e-05/0.436, allocations: 301.1 kB / 465.2 MB, free: 2.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/0.4381, allocations: 1.418 MB / 466.6 MB, free: 1.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003736/0.4418, allocations: 4.25 MB / 470.8 MB, free: 11.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006741/0.4486, allocations: 6.131 MB / 477 MB, free: 4.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-05/0.4487, allocations: 28 kB / 477 MB, free: 4.297 MB / 398.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01102/0.4597, allocations: 6.122 MB / 483.1 MB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.401e-05/0.4598, allocations: 48 kB / 483.2 MB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.562e-05/0.4599, allocations: 100 kB / 483.3 MB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/0.4622, allocations: 0.7969 MB / 484.1 MB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/0.465, allocations: 0.9941 MB / 485.1 MB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005499/0.4705, allocations: 4.484 MB / 489.5 MB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003174/0.4737, allocations: 247.6 kB / 489.8 MB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004863/0.4742, allocations: 280 kB / 490.1 MB, free: 7.082 MB / 414.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.002073/0.4763, allocations: 1.372 MB / 491.4 MB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004038/0.4767, allocations: 242.4 kB / 491.7 MB, free: 5.461 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003831/0.4806, allocations: 1.845 MB / 493.5 MB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/0.4806, allocations: 15.98 kB / 493.5 MB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.4806, allocations: 7.938 kB / 493.5 MB, free: 3.574 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.4807, allocations: 3.984 kB / 493.5 MB, free: 3.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00874/0.4894, allocations: 4.801 MB / 498.3 MB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.4894, allocations: 0 / 498.3 MB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006316/0.4901, allocations: 135.7 kB / 498.5 MB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002075/0.4922, allocations: 0.6444 MB / 499.1 MB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.4923, allocations: 24.09 kB / 499.1 MB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005041/0.4973, allocations: 3.965 MB / 0.4913 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.4974, allocations: 0 / 0.4913 GB, free: 9.773 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006319/0.5037, allocations: 3.714 MB / 0.4949 GB, free: 6.027 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.5048, allocations: 447.2 kB / 0.4954 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.5051, allocations: 16 kB / 0.4954 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009052/0.506, allocations: 67.83 kB / 0.4954 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.5062, allocations: 51.94 kB / 0.4955 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/0.5063, allocations: 35.98 kB / 0.4955 GB, free: 5.402 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003104/0.5094, allocations: 1.762 MB / 0.4973 GB, free: 3.633 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.006e-06/0.5094, allocations: 0 / 0.4973 GB, free: 3.633 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004231/0.5137, allocations: 0.6483 MB / 0.4979 GB, free: 2.984 MB / 430.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.0004005/0.5141, allocations: 143.1 kB / 0.498 GB, free: 2.836 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00566/0.5197, allocations: 3.425 MB / 0.5014 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.5198, allocations: 4 kB / 0.5014 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00121/0.521, allocations: 0.9308 MB / 0.5023 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.5229, allocations: 250.2 kB / 0.5025 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008335/0.5312, allocations: 5.519 MB / 0.5079 GB, free: 8.656 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001978/0.5332, allocations: 2.2 MB / 0.5101 GB, free: 6.426 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00278/0.536, allocations: 1.392 MB / 0.5114 GB, free: 5.027 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003616/0.5364, allocations: 167.4 kB / 0.5116 GB, free: 4.863 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5364, allocations: 0 / 0.5116 GB, free: 4.863 MB / 446.1 MB Notification: Performance of Templates: time 0.03934/0.5758, allocations: 20.71 MB / 0.5318 GB, free: 124 kB / 462.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)