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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001161/0.001161, allocations: 166.8 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.299/1.299, allocations: 170.7 MB / 178.7 MB, free: 15.63 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001619/0.00162, allocations: 111.5 kB / 218 MB, free: 8.398 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.79e-05, allocations: 8 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07263/0.07266, allocations: 38.77 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3058/0.3785, allocations: 78.32 MB / 379.3 MB, free: 6.277 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.3788, allocations: 82.14 kB / 379.4 MB, free: 6.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1517/0.5305, allocations: 55.91 MB / 435.3 MB, free: 4.004 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.5306, allocations: 0 / 435.3 MB, free: 4.004 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001348/0.5307, allocations: 47.98 kB / 435.3 MB, free: 3.957 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.007794/0.5385, allocations: 2.518 MB / 437.9 MB, free: 1.383 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.5386, allocations: 16.02 kB / 437.9 MB, free: 1.367 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009068/0.5477, allocations: 1.966 MB / 439.8 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009285/0.557, allocations: 3.252 MB / 443.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.5573, allocations: 83.95 kB / 443.2 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001356/0.5586, allocations: 132 kB / 443.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007814/0.5665, allocations: 3.912 MB / 447.2 MB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01152/0.578, allocations: 6.179 MB / 453.4 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001365/0.5782, allocations: 55.53 kB / 453.5 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006894/0.5789, allocations: 24 kB / 453.5 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001097/0.58, allocations: 0.7033 MB / 454.2 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2061/0.7861, allocations: 31.94 MB / 486.1 MB, free: 67.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.7886, allocations: 2.024 MB / 488.1 MB, free: 66.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.7898, allocations: 0.9892 MB / 489.1 MB, free: 66.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.782e-05/0.7899, allocations: 18.84 kB / 489.1 MB, free: 66.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.79, allocations: 49.44 kB / 489.2 MB, free: 66.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=98): time 2.655e-06/0.79, allocations: 0 / 489.2 MB, free: 66.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.01356/0.8035, allocations: 8.191 MB / 497.4 MB, free: 65.05 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.8036, allocations: 138.5 kB / 497.5 MB, free: 64.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003742/0.8073, allocations: 2.148 MB / 499.7 MB, free: 64.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.8075, allocations: 28.08 kB / 499.7 MB, free: 64.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.8088, allocations: 2.117 MB / 0.4901 GB, free: 63.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004104/0.8093, allocations: 429 kB / 0.4905 GB, free: 63.24 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.8095, allocations: 0 / 0.4905 GB, free: 63.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003278/0.8098, allocations: 0.5473 MB / 0.491 GB, free: 62.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/0.8122, allocations: 1.305 MB / 0.4923 GB, free: 62.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003779/0.816, allocations: 4.208 MB / 0.4964 GB, free: 59.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003961/0.82, allocations: 2.341 MB / 0.4987 GB, free: 59.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.768e-05/0.8201, allocations: 30.78 kB / 0.4987 GB, free: 59.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01226/0.8324, allocations: 5.475 MB / 0.504 GB, free: 57.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.393e-05/0.8325, allocations: 57.72 kB / 0.5041 GB, free: 57.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/0.8326, allocations: 112.4 kB / 0.5042 GB, free: 57.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003277/0.8359, allocations: 0.8077 MB / 0.505 GB, free: 57.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/0.8405, allocations: 1.038 MB / 0.506 GB, free: 57.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006995/0.8475, allocations: 3.96 MB / 0.5099 GB, free: 55.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006525/0.8541, allocations: 198.3 kB / 0.5101 GB, free: 55.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009988/0.8551, allocations: 290.6 kB / 0.5103 GB, free: 55.21 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (552): * Single equations (assignments): 548 * 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.0008697/0.856, allocations: 363.5 kB / 0.5107 GB, free: 54.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004882/0.8565, allocations: 207.8 kB / 0.5109 GB, free: 54.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004832/0.8613, allocations: 1.775 MB / 0.5126 GB, free: 54.28 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/0.8614, allocations: 12.56 kB / 0.5126 GB, free: 54.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.8614, allocations: 3.188 kB / 0.5126 GB, free: 54.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.8615, allocations: 5.109 kB / 0.5126 GB, free: 54.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009947/0.8714, allocations: 4.324 MB / 0.5169 GB, free: 52.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.8715, allocations: 5.844 kB / 0.5169 GB, free: 52.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007421/0.8722, allocations: 132.2 kB / 0.517 GB, free: 52.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002166/0.8744, allocations: 0.6419 MB / 0.5176 GB, free: 52.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.8745, allocations: 3.969 kB / 0.5176 GB, free: 52.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004414/0.8789, allocations: 3.503 MB / 0.521 GB, free: 50.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.879, allocations: 3.969 kB / 0.521 GB, free: 50.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004932/0.8839, allocations: 3.671 MB / 0.5246 GB, free: 48.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009045/0.8848, allocations: 419.2 kB / 0.525 GB, free: 48.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.8851, allocations: 7.438 kB / 0.525 GB, free: 48.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008675/0.8859, allocations: 57.66 kB / 0.5251 GB, free: 48.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.8861, allocations: 54.38 kB / 0.5251 GB, free: 48.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.8862, allocations: 46.39 kB / 0.5252 GB, free: 48.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001821/0.888, allocations: 1.415 MB / 0.5266 GB, free: 46.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.888, allocations: 0 / 0.5266 GB, free: 46.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003052/0.8911, allocations: 0.5431 MB / 0.5271 GB, free: 46.41 MB / 346.7 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 () * 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.0003521/0.8914, allocations: 145.4 kB / 0.5272 GB, free: 46.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004031/0.8955, allocations: 3.157 MB / 0.5303 GB, free: 43.44 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8955, allocations: 192 / 0.5303 GB, free: 43.44 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008968/0.8964, allocations: 0.9005 MB / 0.5312 GB, free: 42.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.8975, allocations: 192.9 kB / 0.5314 GB, free: 42.45 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007232/0.9047, allocations: 4.349 MB / 0.5356 GB, free: 38.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.9064, allocations: 2.229 MB / 0.5378 GB, free: 36.79 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003025/0.9094, allocations: 1.434 MB / 0.5392 GB, free: 35.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/0.9098, allocations: 158.4 kB / 0.5394 GB, free: 35.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.142e-06/0.9098, allocations: 0 / 0.5394 GB, free: 35.75 MB / 346.7 MB Notification: Performance of Templates: time 0.03164/0.9414, allocations: 18.99 MB / 0.5579 GB, free: 19.49 MB / 346.7 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)