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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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/Modelica 3.1.0+maint.om/package.mo): time 0.6669/0.6669, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001594/0.001594, allocations: 142.6 kB / 151.8 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.0002479, allocations: 8 kB / 184.9 MB, free: 3.926 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1447, allocations: 25.15 MB / 210.1 MB, free: 29.72 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05637/0.2011, allocations: 44.8 MB / 254.9 MB, free: 5.02 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.2014, allocations: 75.95 kB / 254.9 MB, free: 4.945 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4394/0.6407, allocations: 127.8 MB / 382.7 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6408, allocations: 0 / 382.7 MB, free: 3.648 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.000118/0.6409, allocations: 64 kB / 382.8 MB, free: 3.586 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.1348/0.7758, allocations: 5.591 MB / 388.4 MB, free: 38.22 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.7758, allocations: 7.156 kB / 388.4 MB, free: 38.22 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08592/0.8618, allocations: 19.39 MB / 407.8 MB, free: 37.76 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01408/0.8759, allocations: 4.864 MB / 412.6 MB, free: 37.49 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003795/0.8763, allocations: 288 kB / 412.9 MB, free: 37.48 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004286/0.8806, allocations: 353.5 kB / 413.3 MB, free: 37.48 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06594/0.9466, allocations: 22.25 MB / 435.5 MB, free: 32.7 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001584/0.9468, allocations: 28.08 kB / 435.6 MB, free: 32.69 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001953/0.9487, allocations: 161.4 kB / 435.7 MB, free: 32.65 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03019/0.9789, allocations: 7.748 MB / 443.5 MB, free: 25.04 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06233/1.041, allocations: 24.41 MB / 467.9 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4547/1.496, allocations: 97.45 MB / 0.5521 GB, free: 12.84 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02123/1.517, allocations: 7.557 MB / 0.5595 GB, free: 6.133 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001826/1.518, allocations: 36.39 kB / 0.5595 GB, free: 6.113 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/1.518, allocations: 65.38 kB / 0.5595 GB, free: 6.059 MB / 250.7 MB Notification: Performance of pre-optimization done (n=194): time 8.837e-06/1.518, allocations: 0 / 0.5595 GB, free: 6.059 MB / 250.7 MB Notification: Performance of matching and sorting (n=202): time 0.1835/1.701, allocations: 28.74 MB / 0.5876 GB, free: 44.5 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/1.701, allocations: 361.8 kB / 0.588 GB, free: 44.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006137/1.707, allocations: 3.446 MB / 0.5913 GB, free: 43.79 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009822/1.708, allocations: 50.39 kB / 0.5914 GB, free: 43.75 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001738/1.71, allocations: 2.73 MB / 0.594 GB, free: 42.29 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001042/1.711, allocations: 0.7567 MB / 0.5948 GB, free: 41.86 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004064/1.712, allocations: 110.3 kB / 0.5949 GB, free: 41.86 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002856/1.712, allocations: 0.5623 MB / 0.5954 GB, free: 41.54 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01805/1.73, allocations: 5.885 MB / 0.6012 GB, free: 41.52 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01944/1.749, allocations: 9.448 MB / 0.6104 GB, free: 36.91 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01665/1.766, allocations: 6.091 MB / 0.6164 GB, free: 35.9 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001975/1.766, allocations: 37.78 kB / 0.6164 GB, free: 35.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.0412/1.808, allocations: 14.89 MB / 0.6309 GB, free: 28.53 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003086/1.808, allocations: 61.03 kB / 0.631 GB, free: 28.47 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006189/1.809, allocations: 272.1 kB / 0.6313 GB, free: 28.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002463/1.811, allocations: 0.8404 MB / 0.6321 GB, free: 27.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004982/1.816, allocations: 1.429 MB / 0.6335 GB, free: 26.44 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004871/1.821, allocations: 4.257 MB / 0.6376 GB, free: 22.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01147/1.833, allocations: 1.657 MB / 0.6392 GB, free: 20.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001802/1.834, allocations: 0.5371 MB / 0.6398 GB, free: 19.96 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 15 (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.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 (729): * Single equations (assignments): 715 * Array equations: 13 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004917/1.839, allocations: 1.852 MB / 0.6416 GB, free: 18.1 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/1.841, allocations: 312.4 kB / 0.6419 GB, free: 17.79 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009206/1.85, allocations: 3.344 MB / 0.6451 GB, free: 14.43 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01846/1.868, allocations: 5.498 MB / 0.6505 GB, free: 8.922 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.981e-05/1.868, allocations: 4.938 kB / 0.6505 GB, free: 8.918 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.092e-05/1.868, allocations: 15.69 kB / 0.6505 GB, free: 8.906 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.174/2.042, allocations: 19.7 MB / 0.6698 GB, free: 41.67 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.331e-05/2.043, allocations: 9.156 kB / 0.6698 GB, free: 41.67 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/2.044, allocations: 293.2 kB / 0.6701 GB, free: 41.67 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/2.046, allocations: 0.6529 MB / 0.6707 GB, free: 41.66 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005896/2.047, allocations: 107 kB / 0.6708 GB, free: 41.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004894/2.051, allocations: 3.729 MB / 0.6744 GB, free: 40.42 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-05/2.052, allocations: 12.59 kB / 0.6745 GB, free: 40.42 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04515/2.097, allocations: 17 MB / 0.6911 GB, free: 38.82 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003124/2.1, allocations: 0.906 MB / 0.6919 GB, free: 38.73 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001356/2.101, allocations: 37.69 kB / 0.692 GB, free: 38.73 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007439/2.109, allocations: 1.357 MB / 0.6933 GB, free: 38.73 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000567/2.109, allocations: 124.6 kB / 0.6934 GB, free: 38.72 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006488/2.11, allocations: 215.6 kB / 0.6936 GB, free: 38.72 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.005323/2.115, allocations: 2.407 MB / 0.696 GB, free: 38.58 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.31e-07/2.115, allocations: 5.094 kB / 0.696 GB, free: 38.58 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.007451/2.123, allocations: 1.011 MB / 0.697 GB, free: 38.58 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (153): * Single equations (assignments): 140 * Array equations: 12 * 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.0008923/2.124, allocations: 187.2 kB / 0.6971 GB, free: 38.49 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.03463/2.158, allocations: 12.45 MB / 0.7093 GB, free: 34.67 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/2.158, allocations: 4 kB / 0.7093 GB, free: 34.66 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01533/2.174, allocations: 5.172 MB / 0.7144 GB, free: 29.52 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/2.176, allocations: 290.7 kB / 0.7146 GB, free: 29.23 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0284/2.205, allocations: 13.18 MB / 0.7275 GB, free: 16.02 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003946/2.209, allocations: 3.003 MB / 0.7304 GB, free: 13 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.007755/2.216, allocations: 2.422 MB / 0.7328 GB, free: 10.58 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002782/2.219, allocations: 0.5419 MB / 0.7333 GB, free: 10.04 MB / 250.7 MB Notification: Performance of SimCode: time 1.262e-06/2.219, allocations: 0 / 0.7333 GB, free: 10.04 MB / 250.7 MB Notification: Performance of Templates: time 0.2142/2.433, allocations: 52.98 MB / 0.7851 GB, free: 48.59 MB / 266.7 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)