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.7548/0.7548, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001644/0.001644, allocations: 171.3 kB / 144 MB, free: 4.785 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.649e-05/1.643e-05, allocations: 4 kB / 173.9 MB, free: 22.79 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04231/0.04234, allocations: 25.18 MB / 199 MB, free: 13.69 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05338/0.09577, allocations: 44.03 MB / 243.1 MB, free: 1.582 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.09601, allocations: 71.95 kB / 243.1 MB, free: 1.512 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5778/0.6738, allocations: 126.3 MB / 369.4 MB, free: 39.69 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6738, allocations: 4 kB / 369.4 MB, free: 39.68 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001069/0.6739, allocations: 64 kB / 369.5 MB, free: 39.62 MB / 218.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.01749/0.6914, allocations: 5.458 MB / 375 MB, free: 34.11 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.6915, allocations: 8.031 kB / 375 MB, free: 34.1 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0923/0.7838, allocations: 19.36 MB / 394.3 MB, free: 14.7 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/0.7954, allocations: 4.85 MB / 399.2 MB, free: 9.836 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.7956, allocations: 128 kB / 399.3 MB, free: 9.711 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002529/0.7982, allocations: 200 kB / 399.5 MB, free: 9.516 MB / 218.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01846/0.8166, allocations: 11.91 MB / 411.4 MB, free: 13.6 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02754/0.8442, allocations: 13.02 MB / 424.4 MB, free: 144 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.8444, allocations: 31.67 kB / 424.5 MB, free: 112 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001093/0.8455, allocations: 15.98 kB / 424.5 MB, free: 96 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1602/1.006, allocations: 7.752 MB / 432.2 MB, free: 51.08 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4791/1.485, allocations: 95.77 MB / 0.5156 GB, free: 61.87 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004988/1.49, allocations: 3.797 MB / 0.5193 GB, free: 61.01 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002968/1.493, allocations: 2.233 MB / 0.5215 GB, free: 60.92 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/1.493, allocations: 33.56 kB / 0.5215 GB, free: 60.92 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/1.493, allocations: 57.81 kB / 0.5216 GB, free: 60.88 MB / 250.7 MB Notification: Performance of pre-optimization done (n=194): time 5.651e-06/1.493, allocations: 5.531 kB / 0.5216 GB, free: 60.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=202): time 0.0228/1.516, allocations: 15.85 MB / 0.5371 GB, free: 55.49 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/1.516, allocations: 358.3 kB / 0.5374 GB, free: 55.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/1.519, allocations: 2.81 MB / 0.5402 GB, free: 54.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005085/1.52, allocations: 29.45 kB / 0.5402 GB, free: 54.05 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/1.521, allocations: 2.78 MB / 0.5429 GB, free: 52 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007497/1.522, allocations: 0.74 MB / 0.5436 GB, free: 51.46 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003671/1.522, allocations: 0 / 0.5436 GB, free: 51.46 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000282/1.523, allocations: 0.6134 MB / 0.5442 GB, free: 51.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003251/1.526, allocations: 2.771 MB / 0.5469 GB, free: 50.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004806/1.531, allocations: 6.447 MB / 0.5532 GB, free: 44.13 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00425/1.535, allocations: 3.512 MB / 0.5567 GB, free: 43.13 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.259e-05/1.535, allocations: 39.31 kB / 0.5567 GB, free: 43.13 MB / 250.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.01442/1.549, allocations: 8.63 MB / 0.5651 GB, free: 40.52 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.636e-05/1.55, allocations: 64.06 kB / 0.5652 GB, free: 40.52 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003508/1.55, allocations: 252.5 kB / 0.5654 GB, free: 40.49 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/1.552, allocations: 0.8393 MB / 0.5662 GB, free: 39.92 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004599/1.557, allocations: 1.473 MB / 0.5677 GB, free: 38.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004285/1.561, allocations: 4.023 MB / 0.5716 GB, free: 35.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01102/1.572, allocations: 1.552 MB / 0.5731 GB, free: 34.21 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/1.574, allocations: 0.5406 MB / 0.5737 GB, free: 33.73 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * 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 (753): * Single equations (assignments): 739 * 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.001144/1.575, allocations: 431.9 kB / 0.5741 GB, free: 33.3 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009307/1.576, allocations: 276.1 kB / 0.5743 GB, free: 33.04 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00422/1.58, allocations: 2.395 MB / 0.5767 GB, free: 31.21 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01476/1.595, allocations: 4.568 MB / 0.5811 GB, free: 28.29 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.995e-05/1.595, allocations: 8 kB / 0.5811 GB, free: 28.28 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.415e-05/1.595, allocations: 14.84 kB / 0.5812 GB, free: 28.27 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06242/1.657, allocations: 16.15 MB / 0.5969 GB, free: 15.26 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/1.657, allocations: 8.156 kB / 0.5969 GB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.659, allocations: 296.3 kB / 0.5972 GB, free: 14.96 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/1.661, allocations: 0.6444 MB / 0.5978 GB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003255/1.661, allocations: 83.88 kB / 0.5979 GB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003568/1.664, allocations: 3.502 MB / 0.6013 GB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/1.664, allocations: 11.94 kB / 0.6013 GB, free: 10.6 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1319/1.796, allocations: 8.352 MB / 0.6095 GB, free: 53.89 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002828/1.799, allocations: 0.8585 MB / 0.6103 GB, free: 53.8 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007883/1.8, allocations: 14.45 kB / 0.6104 GB, free: 53.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007578/1.808, allocations: 1.329 MB / 0.6117 GB, free: 53.8 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003123/1.808, allocations: 125.5 kB / 0.6118 GB, free: 53.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003596/1.808, allocations: 215.4 kB / 0.612 GB, free: 53.8 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.003155/1.811, allocations: 1.848 MB / 0.6138 GB, free: 53.65 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.811, allocations: 0 / 0.6138 GB, free: 53.65 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.006022/1.818, allocations: 0.8768 MB / 0.6146 GB, free: 53.65 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 () * 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.0005461/1.818, allocations: 148.6 kB / 0.6148 GB, free: 53.57 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.009346/1.827, allocations: 6.195 MB / 0.6208 GB, free: 53.41 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/1.828, allocations: 1.312 kB / 0.6208 GB, free: 53.41 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003054/1.831, allocations: 2.152 MB / 0.6229 GB, free: 53.26 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/1.833, allocations: 237.5 kB / 0.6232 GB, free: 53.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/1.845, allocations: 7.314 MB / 0.6303 GB, free: 51.79 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002575/1.847, allocations: 2.999 MB / 0.6332 GB, free: 50.7 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.006914/1.854, allocations: 2.44 MB / 0.6356 GB, free: 50.59 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00213/1.856, allocations: 0.5239 MB / 0.6361 GB, free: 50.51 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/1.856, allocations: 0 / 0.6361 GB, free: 50.51 MB / 250.7 MB Notification: Performance of Templates: time 0.06932/1.926, allocations: 49.04 MB / 0.684 GB, free: 17.65 MB / 250.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)