Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6602/0.6602, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001744/0.001744, allocations: 143.3 kB / 151.9 MB, free: 4.98 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003833, allocations: 8 kB / 184.9 MB, free: 3.906 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.175, allocations: 25.15 MB / 210.1 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07957/0.2546, allocations: 51.55 MB / 261.6 MB, free: 14.22 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.255, allocations: 81.45 kB / 261.7 MB, free: 14.14 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5957/0.8507, allocations: 159.2 MB / 420.9 MB, free: 35.09 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.8507, allocations: 4 kB / 420.9 MB, free: 35.09 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0001436/0.8509, allocations: 103.5 kB / 421 MB, free: 35.07 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: 1845 * Number of variables: 1845 Notification: Performance of Generate backend data structure: time 0.02159/0.8725, allocations: 6.918 MB / 428 MB, free: 32.88 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.8726, allocations: 8.781 kB / 428 MB, free: 32.88 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09666/0.9692, allocations: 22.21 MB / 450.2 MB, free: 20.86 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01656/0.9858, allocations: 5.706 MB / 455.9 MB, free: 16.64 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004329/0.9863, allocations: 384.7 kB / 456.2 MB, free: 16.43 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003998/0.9903, allocations: 499.6 kB / 456.7 MB, free: 16.05 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08418/1.075, allocations: 28.08 MB / 484.8 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001963/1.075, allocations: 35.64 kB / 484.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00283/1.078, allocations: 231 kB / 485.1 MB, free: 3.324 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1528/1.23, allocations: 9.004 MB / 494.1 MB, free: 46.11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08275/1.313, allocations: 29.94 MB / 0.5117 GB, free: 45.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5339/1.847, allocations: 117.4 MB / 0.6264 GB, free: 40.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02723/1.874, allocations: 9.521 MB / 0.6357 GB, free: 39.56 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08714/1.962, allocations: 26.73 MB / 0.6618 GB, free: 16.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/1.962, allocations: 56.56 kB / 0.6618 GB, free: 16.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=209): time 6.783e-06/1.962, allocations: 0 / 0.6618 GB, free: 16.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=228): time 0.2415/2.203, allocations: 34.54 MB / 0.6955 GB, free: 72.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/2.203, allocations: 150.6 kB / 0.6957 GB, free: 72.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006489/2.21, allocations: 4.232 MB / 0.6998 GB, free: 72.37 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008767/2.211, allocations: 58.66 kB / 0.6999 GB, free: 72.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001908/2.213, allocations: 3.585 MB / 0.7034 GB, free: 70.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001168/2.214, allocations: 0.8677 MB / 0.7042 GB, free: 70.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004661/2.214, allocations: 148.2 kB / 0.7044 GB, free: 70.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002995/2.215, allocations: 0.6167 MB / 0.705 GB, free: 70 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01976/2.234, allocations: 6.728 MB / 0.7115 GB, free: 69.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0236/2.258, allocations: 11.14 MB / 0.7224 GB, free: 64.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01847/2.277, allocations: 7.098 MB / 0.7293 GB, free: 64.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001614/2.277, allocations: 49.72 kB / 0.7294 GB, free: 64.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=959) (initialization): time 0.0482/2.325, allocations: 17.69 MB / 0.7467 GB, free: 60.33 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000139/2.325, allocations: 73.91 kB / 0.7467 GB, free: 60.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002316/2.325, allocations: 160.6 kB / 0.7469 GB, free: 60.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003816/2.329, allocations: 1.325 MB / 0.7482 GB, free: 60.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006048/2.335, allocations: 1.762 MB / 0.7499 GB, free: 59.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007657/2.343, allocations: 6.176 MB / 0.7559 GB, free: 57.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01244/2.355, allocations: 1.83 MB / 0.7577 GB, free: 56.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001591/2.357, allocations: 0.6344 MB / 0.7583 GB, free: 55.98 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 716 * Number of states: 0 () * Number of discrete variables: 33 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (896): * Single equations (assignments): 882 * 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 {(3,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004635/2.362, allocations: 2.358 MB / 0.7606 GB, free: 53.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001018/2.363, allocations: 382.9 kB / 0.761 GB, free: 53.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/2.377, allocations: 5.266 MB / 0.7662 GB, free: 49.78 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01162/2.388, allocations: 2.668 MB / 0.7688 GB, free: 48.31 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-05/2.388, allocations: 4 kB / 0.7688 GB, free: 48.31 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-05/2.389, allocations: 7.547 kB / 0.7688 GB, free: 48.31 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05966/2.448, allocations: 19.58 MB / 0.7879 GB, free: 28.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/2.448, allocations: 0.6562 kB / 0.7879 GB, free: 28.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/2.45, allocations: 347 kB / 0.7882 GB, free: 28.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003187/2.453, allocations: 1.081 MB / 0.7893 GB, free: 27.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006823/2.454, allocations: 114.3 kB / 0.7894 GB, free: 27.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006539/2.46, allocations: 5.73 MB / 0.795 GB, free: 21.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/2.461, allocations: 0 / 0.795 GB, free: 21.34 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.172/2.632, allocations: 18.75 MB / 0.8133 GB, free: 64.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003893/2.636, allocations: 1.054 MB / 0.8143 GB, free: 64.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001351/2.638, allocations: 30.22 kB / 0.8144 GB, free: 64.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008921/2.647, allocations: 1.485 MB / 0.8158 GB, free: 64.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006518/2.647, allocations: 116.3 kB / 0.8159 GB, free: 64.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004829/2.648, allocations: 236.9 kB / 0.8161 GB, free: 64.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.006475/2.654, allocations: 2.94 MB / 0.819 GB, free: 64 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.21e-07/2.654, allocations: 0.75 kB / 0.819 GB, free: 64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.009114/2.664, allocations: 1.295 MB / 0.8203 GB, free: 64 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * 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 (172): * Single equations (assignments): 158 * 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%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007549/2.664, allocations: 181 kB / 0.8204 GB, free: 63.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.04109/2.705, allocations: 14.47 MB / 0.8346 GB, free: 63.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/2.706, allocations: 0 / 0.8346 GB, free: 63.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01803/2.724, allocations: 5.962 MB / 0.8404 GB, free: 63.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/2.726, allocations: 355.5 kB / 0.8407 GB, free: 63.43 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0339/2.76, allocations: 16.56 MB / 0.8569 GB, free: 57.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003392/2.764, allocations: 3.743 MB / 0.8606 GB, free: 55.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.008296/2.772, allocations: 2.804 MB / 0.8633 GB, free: 53.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002238/2.774, allocations: 0.6221 MB / 0.8639 GB, free: 52.61 MB / 282.7 MB Notification: Performance of SimCode: time 1.052e-06/2.774, allocations: 0 / 0.8639 GB, free: 52.61 MB / 282.7 MB Notification: Performance of Templates: time 0.1945/2.969, allocations: 62.9 MB / 0.9253 GB, free: 61.33 MB / 282.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1)