Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.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.PendulumWithSpringDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002372/0.002371, allocations: 157.2 kB / 7.633 MB, free: 1.445 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.279/1.279, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001606/0.001606, allocations: 103.5 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.468e-05, allocations: 4 kB / 262.2 MB, free: 3.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2348, allocations: 38.76 MB / 301 MB, free: 39.14 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1028/0.3376, allocations: 86.39 MB / 387.4 MB, free: 9.219 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.338, allocations: 87.94 kB / 387.5 MB, free: 9.133 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3565/0.6944, allocations: 72.38 MB / 459.8 MB, free: 80.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.6945, allocations: 3.969 kB / 459.8 MB, free: 80.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002008/0.6947, allocations: 66.09 kB / 459.9 MB, free: 80.95 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1322 * Number of variables: 1322 Notification: Performance of Generate backend data structure: time 0.01113/0.7058, allocations: 3.428 MB / 463.3 MB, free: 79.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.7059, allocations: 11.25 kB / 463.4 MB, free: 79.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009562/0.7154, allocations: 2.26 MB / 465.6 MB, free: 78.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009682/0.7252, allocations: 3.882 MB / 469.5 MB, free: 76.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002467/0.7255, allocations: 119.8 kB / 469.6 MB, free: 76.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001653/0.7271, allocations: 214.8 kB / 469.8 MB, free: 76.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008844/0.736, allocations: 5.498 MB / 475.3 MB, free: 73.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.7491, allocations: 8.442 MB / 483.8 MB, free: 64.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001699/0.7493, allocations: 59.45 kB / 483.8 MB, free: 64.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00116/0.7505, allocations: 28 kB / 483.8 MB, free: 64.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001416/0.7519, allocations: 0.9848 MB / 484.8 MB, free: 63.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03832/0.7903, allocations: 43.39 MB / 0.5158 GB, free: 18.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/0.7932, allocations: 2.686 MB / 0.5185 GB, free: 15.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/0.795, allocations: 1.623 MB / 0.52 GB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004778/0.7955, allocations: 0.5486 MB / 0.5206 GB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.7955, allocations: 43.34 kB / 0.5206 GB, free: 13.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=145): time 3.917e-06/0.7955, allocations: 0 / 0.5206 GB, free: 13.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=162): time 0.03488/0.8304, allocations: 16.16 MB / 0.5364 GB, free: 13.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/0.8305, allocations: 141.8 kB / 0.5365 GB, free: 13.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00405/0.8346, allocations: 2.598 MB / 0.5391 GB, free: 10.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002113/0.8348, allocations: 25.7 kB / 0.5391 GB, free: 10.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00175/0.8366, allocations: 2.756 MB / 0.5418 GB, free: 7.668 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006261/0.8372, allocations: 0.617 MB / 0.5424 GB, free: 7.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.8374, allocations: 0 / 0.5424 GB, free: 7.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003464/0.8378, allocations: 0.5456 MB / 0.5429 GB, free: 6.488 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002415/0.8402, allocations: 1.799 MB / 0.5447 GB, free: 4.684 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1884/1.029, allocations: 5.272 MB / 0.5498 GB, free: 82.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004225/1.033, allocations: 3.035 MB / 0.5528 GB, free: 82.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-05/1.033, allocations: 40.22 kB / 0.5528 GB, free: 82.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=739) (initialization): time 0.01654/1.05, allocations: 7.337 MB / 0.56 GB, free: 82.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001492/1.05, allocations: 62.42 kB / 0.5601 GB, free: 82.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002637/1.05, allocations: 125.9 kB / 0.5602 GB, free: 82.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004712/1.055, allocations: 1.295 MB / 0.5614 GB, free: 82.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005242/1.06, allocations: 1.319 MB / 0.5627 GB, free: 82.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008017/1.068, allocations: 5.816 MB / 0.5684 GB, free: 80.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004371/1.072, allocations: 248.8 kB / 0.5686 GB, free: 80.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008954/1.073, allocations: 351.8 kB / 0.569 GB, free: 80.89 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (696): * Single equations (assignments): 692 * 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,88.9%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008615/1.074, allocations: 418 kB / 0.5694 GB, free: 80.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000489/1.075, allocations: 282.1 kB / 0.5696 GB, free: 80.66 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00602/1.081, allocations: 3.14 MB / 0.5727 GB, free: 79.75 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.84e-05/1.081, allocations: 20.34 kB / 0.5727 GB, free: 79.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.081, allocations: 6.625 kB / 0.5727 GB, free: 79.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-05/1.081, allocations: 10.17 kB / 0.5728 GB, free: 79.74 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/1.093, allocations: 6.908 MB / 0.5795 GB, free: 77.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/1.093, allocations: 1.562 kB / 0.5795 GB, free: 77.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.094, allocations: 243.8 kB / 0.5797 GB, free: 77.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003344/1.098, allocations: 1.097 MB / 0.5808 GB, free: 77.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/1.098, allocations: 8.562 kB / 0.5808 GB, free: 77.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006615/1.105, allocations: 5.458 MB / 0.5861 GB, free: 74.67 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.105, allocations: 1.125 kB / 0.5861 GB, free: 74.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00796/1.113, allocations: 5.538 MB / 0.5915 GB, free: 72.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/1.114, allocations: 0.5422 MB / 0.5921 GB, free: 72.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003307/1.114, allocations: 7.562 kB / 0.5921 GB, free: 72.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/1.115, allocations: 90.23 kB / 0.5922 GB, free: 72.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/1.116, allocations: 83.06 kB / 0.5923 GB, free: 72.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/1.116, allocations: 44 kB / 0.5923 GB, free: 72.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00254/1.118, allocations: 1.699 MB / 0.594 GB, free: 71.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.118, allocations: 4 kB / 0.594 GB, free: 71.64 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004508/1.123, allocations: 0.7801 MB / 0.5947 GB, free: 71.64 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 122 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003964/1.123, allocations: 143.5 kB / 0.5949 GB, free: 71.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005906/1.129, allocations: 4.417 MB / 0.5992 GB, free: 68.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/1.129, allocations: 0 / 0.5992 GB, free: 68.88 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001721/1.131, allocations: 1.459 MB / 0.6006 GB, free: 67.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/1.133, allocations: 252.7 kB / 0.6008 GB, free: 67.35 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.144, allocations: 6.623 MB / 0.6073 GB, free: 61.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/1.146, allocations: 2.892 MB / 0.6101 GB, free: 59.37 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003914/1.15, allocations: 1.767 MB / 0.6119 GB, free: 58.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005162/1.151, allocations: 201 kB / 0.612 GB, free: 58.08 MB / 346.7 MB Notification: Performance of SimCode: time 8.21e-07/1.151, allocations: 0 / 0.612 GB, free: 58.08 MB / 346.7 MB Notification: Performance of Templates: time 0.04402/1.195, allocations: 27.54 MB / 0.6389 GB, free: 31.94 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamper.pipe 2>&1)