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.7346/0.7346, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001932/0.001932, allocations: 151.5 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.765e-05, allocations: 4 kB / 180.2 MB, free: 17.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04569/0.04573, allocations: 25.17 MB / 205.4 MB, free: 8.418 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1782/0.224, allocations: 44.69 MB / 250.1 MB, free: 42.61 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.2242, allocations: 73.17 kB / 250.2 MB, free: 42.61 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4578/0.6821, allocations: 127.6 MB / 377.8 MB, free: 51.37 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.6821, allocations: 0 / 377.8 MB, free: 51.37 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.557e-05/0.6822, allocations: 65.44 kB / 377.9 MB, free: 51.37 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.01579/0.698, allocations: 5.47 MB / 383.3 MB, free: 49.68 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.6981, allocations: 8.031 kB / 383.3 MB, free: 49.68 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0905/0.7886, allocations: 19.36 MB / 402.7 MB, free: 30.77 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/0.8001, allocations: 4.85 MB / 407.6 MB, free: 26.29 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002452/0.8004, allocations: 279.6 kB / 407.8 MB, free: 26.04 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002597/0.803, allocations: 352.4 kB / 408.2 MB, free: 25.73 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02241/0.8254, allocations: 13.73 MB / 421.9 MB, free: 11.66 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001111/0.8255, allocations: 27.72 kB / 421.9 MB, free: 11.63 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00119/0.8267, allocations: 164 kB / 422.1 MB, free: 11.5 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03216/0.8589, allocations: 7.755 MB / 429.8 MB, free: 3.738 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1471/1.006, allocations: 15.02 MB / 444.9 MB, free: 44.2 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4833/1.489, allocations: 97.45 MB / 0.5296 GB, free: 44.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006338/1.496, allocations: 4.092 MB / 0.5336 GB, free: 44.05 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002859/1.499, allocations: 2.273 MB / 0.5358 GB, free: 43.96 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.631e-05/1.499, allocations: 27.84 kB / 0.5358 GB, free: 43.96 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/1.499, allocations: 62.66 kB / 0.5359 GB, free: 43.92 MB / 250.7 MB Notification: Performance of pre-optimization done (n=194): time 7.123e-06/1.499, allocations: 2.703 kB / 0.5359 GB, free: 43.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=202): time 0.02389/1.523, allocations: 14.88 MB / 0.5504 GB, free: 38.33 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.06e-05/1.523, allocations: 352.8 kB / 0.5508 GB, free: 37.92 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004533/1.527, allocations: 3.371 MB / 0.5541 GB, free: 37.6 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005254/1.528, allocations: 47.77 kB / 0.5541 GB, free: 37.57 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/1.529, allocations: 2.733 MB / 0.5568 GB, free: 36.1 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008207/1.53, allocations: 0.758 MB / 0.5575 GB, free: 35.56 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/1.53, allocations: 118.3 kB / 0.5576 GB, free: 35.48 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002491/1.531, allocations: 0.5562 MB / 0.5582 GB, free: 35.06 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003435/1.534, allocations: 2.847 MB / 0.561 GB, free: 34.12 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005169/1.539, allocations: 6.413 MB / 0.5672 GB, free: 28.37 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004728/1.544, allocations: 3.57 MB / 0.5707 GB, free: 27.39 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.194e-05/1.544, allocations: 35.75 kB / 0.5707 GB, free: 27.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01585/1.56, allocations: 9.284 MB / 0.5798 GB, free: 19.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.084e-05/1.56, allocations: 62.34 kB / 0.5799 GB, free: 19.78 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002787/1.56, allocations: 270.9 kB / 0.5801 GB, free: 19.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/1.563, allocations: 0.8421 MB / 0.5809 GB, free: 18.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004333/1.567, allocations: 1.428 MB / 0.5823 GB, free: 17.75 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004409/1.571, allocations: 4.141 MB / 0.5864 GB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/1.582, allocations: 1.67 MB / 0.588 GB, free: 13.03 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001319/1.583, allocations: 0.5288 MB / 0.5885 GB, free: 12.55 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 () * 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.00109/1.584, allocations: 0.536 MB / 0.5891 GB, free: 12.02 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008166/1.585, allocations: 307.9 kB / 0.5894 GB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004303/1.589, allocations: 2.502 MB / 0.5918 GB, free: 9.789 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01456/1.604, allocations: 4.635 MB / 0.5963 GB, free: 6.773 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.868e-05/1.604, allocations: 8 kB / 0.5963 GB, free: 6.766 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.395e-05/1.604, allocations: 10.94 kB / 0.5963 GB, free: 6.762 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05312/1.657, allocations: 16.88 MB / 0.6128 GB, free: 6.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.53e-05/1.657, allocations: 4.906 kB / 0.6128 GB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/1.659, allocations: 295.5 kB / 0.6131 GB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00213/1.661, allocations: 0.6483 MB / 0.6137 GB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006026/1.661, allocations: 109.3 kB / 0.6139 GB, free: 5.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005047/1.666, allocations: 3.624 MB / 0.6174 GB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/1.667, allocations: 8 kB / 0.6174 GB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1444/1.811, allocations: 8.572 MB / 0.6258 GB, free: 65.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002843/1.814, allocations: 0.9075 MB / 0.6267 GB, free: 65.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008499/1.815, allocations: 38.52 kB / 0.6267 GB, free: 65.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007554/1.822, allocations: 1.354 MB / 0.628 GB, free: 65.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003856/1.823, allocations: 121.6 kB / 0.6281 GB, free: 65.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004203/1.823, allocations: 223.2 kB / 0.6283 GB, free: 65.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003908/1.827, allocations: 2.334 MB / 0.6306 GB, free: 65.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.5e-07/1.827, allocations: 0 / 0.6306 GB, free: 65.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.005911/1.833, allocations: 1.006 MB / 0.6316 GB, free: 65.37 MB / 266.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 () * 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.0006188/1.834, allocations: 186.8 kB / 0.6318 GB, free: 65.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.008782/1.842, allocations: 6.435 MB / 0.6381 GB, free: 65.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.842, allocations: 2.062 kB / 0.6381 GB, free: 65.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002737/1.845, allocations: 2.201 MB / 0.6402 GB, free: 64.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/1.847, allocations: 290.9 kB / 0.6405 GB, free: 64.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/1.859, allocations: 7.445 MB / 0.6478 GB, free: 61.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002487/1.861, allocations: 3.005 MB / 0.6507 GB, free: 60.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.007212/1.868, allocations: 2.418 MB / 0.6531 GB, free: 60.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00239/1.871, allocations: 0.5361 MB / 0.6536 GB, free: 60.49 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/1.871, allocations: 3.938 kB / 0.6536 GB, free: 60.48 MB / 266.7 MB Notification: Performance of Templates: time 0.07357/1.944, allocations: 52.98 MB / 0.7053 GB, free: 18.92 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)