Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8354/0.8354, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001803/0.001803, allocations: 151.4 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.356e-05, allocations: 0 / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05108/0.05112, allocations: 25.17 MB / 205.4 MB, free: 8.434 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.2347, allocations: 45.13 MB / 250.5 MB, free: 42.53 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.2349, allocations: 70 kB / 250.6 MB, free: 42.52 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4717/0.7067, allocations: 123.7 MB / 374.3 MB, free: 49.79 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.7067, allocations: 3.281 kB / 374.3 MB, free: 49.79 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.634e-05/0.7069, allocations: 65.88 kB / 374.4 MB, free: 49.79 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: 1374 * Number of variables: 1374 Notification: Performance of Generate backend data structure: time 0.02169/0.7285, allocations: 5.711 MB / 380.1 MB, free: 48.12 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.7286, allocations: 11.78 kB / 380.1 MB, free: 48.12 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08432/0.8129, allocations: 18.58 MB / 398.7 MB, free: 33.62 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/0.8269, allocations: 5.109 MB / 403.8 MB, free: 29.66 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003045/0.8273, allocations: 288.8 kB / 404.1 MB, free: 29.41 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003401/0.8307, allocations: 359.7 kB / 404.4 MB, free: 29.09 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02866/0.8593, allocations: 13.55 MB / 418 MB, free: 15.21 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001418/0.8595, allocations: 27.77 kB / 418 MB, free: 15.18 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001808/0.8613, allocations: 162.8 kB / 418.2 MB, free: 15.05 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03016/0.8915, allocations: 7.436 MB / 425.6 MB, free: 7.617 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1868/1.078, allocations: 14.81 MB / 440.4 MB, free: 42.4 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4676/1.546, allocations: 95.05 MB / 0.5229 GB, free: 44.38 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008631/1.555, allocations: 4.437 MB / 0.5273 GB, free: 43.57 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003363/1.558, allocations: 2.414 MB / 0.5296 GB, free: 43.5 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08424/1.642, allocations: 24.09 MB / 0.5532 GB, free: 40.91 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/1.642, allocations: 57 kB / 0.5532 GB, free: 40.87 MB / 250.7 MB Notification: Performance of pre-optimization done (n=180): time 7.083e-06/1.642, allocations: 3.344 kB / 0.5532 GB, free: 40.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=193): time 0.02604/1.668, allocations: 12.16 MB / 0.5651 GB, free: 37.51 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008737/1.669, allocations: 1.6 MB / 0.5666 GB, free: 35.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00437/1.674, allocations: 3.225 MB / 0.5698 GB, free: 33.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005958/1.674, allocations: 52.2 kB / 0.5698 GB, free: 33.37 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001228/1.676, allocations: 2.723 MB / 0.5725 GB, free: 31 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007671/1.676, allocations: 0.7401 MB / 0.5732 GB, free: 30.35 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003639/1.677, allocations: 115 kB / 0.5733 GB, free: 30.24 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002314/1.677, allocations: 0.5602 MB / 0.5739 GB, free: 29.74 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003666/1.681, allocations: 3.047 MB / 0.5769 GB, free: 27.1 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00481/1.686, allocations: 6.587 MB / 0.5833 GB, free: 19.42 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004497/1.69, allocations: 3.74 MB / 0.5869 GB, free: 16.29 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.308e-05/1.69, allocations: 36 kB / 0.587 GB, free: 16.25 MB / 250.7 MB Notification: Performance of matching and sorting (n=783) (initialization): time 0.01655/1.707, allocations: 10.05 MB / 0.5968 GB, free: 6.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.997e-05/1.707, allocations: 61.25 kB / 0.5969 GB, free: 6.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005846/1.713, allocations: 3.061 MB / 0.5998 GB, free: 3.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004212/1.717, allocations: 1.414 MB / 0.6012 GB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00495/1.722, allocations: 1.415 MB / 0.6026 GB, free: 268 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009303/1.731, allocations: 6.787 MB / 0.6092 GB, free: 9.223 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01248/1.744, allocations: 1.811 MB / 0.611 GB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002023/1.746, allocations: 0.5448 MB / 0.6115 GB, free: 6.867 MB / 266.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: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 700 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003118/1.749, allocations: 0.5406 MB / 0.6121 GB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001683/1.751, allocations: 296.1 kB / 0.6124 GB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009697/1.76, allocations: 3.471 MB / 0.6157 GB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1573/1.918, allocations: 5.693 MB / 0.6213 GB, free: 64.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.729e-05/1.918, allocations: 7.781 kB / 0.6213 GB, free: 64.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.96e-05/1.918, allocations: 6.516 kB / 0.6213 GB, free: 64.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0595/1.977, allocations: 17.91 MB / 0.6388 GB, free: 64.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/1.977, allocations: 0 / 0.6388 GB, free: 64.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/1.979, allocations: 282.7 kB / 0.6391 GB, free: 64.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004344/1.983, allocations: 1.397 MB / 0.6404 GB, free: 64.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007511/1.984, allocations: 114 kB / 0.6405 GB, free: 64.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008526/1.993, allocations: 7.264 MB / 0.6476 GB, free: 61.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000764/1.993, allocations: 1.45 MB / 0.6491 GB, free: 60.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/2.009, allocations: 8.868 MB / 0.6577 GB, free: 57.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/2.01, allocations: 435.1 kB / 0.6581 GB, free: 57.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001164/2.011, allocations: 39.8 kB / 0.6582 GB, free: 57.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008323/2.019, allocations: 1.495 MB / 0.6596 GB, free: 57.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006236/2.02, allocations: 113.7 kB / 0.6597 GB, free: 57.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006753/2.021, allocations: 224.1 kB / 0.6599 GB, free: 57.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.005108/2.026, allocations: 2.225 MB / 0.6621 GB, free: 56.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.026, allocations: 0 / 0.6621 GB, free: 56.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.008171/2.034, allocations: 1.106 MB / 0.6632 GB, free: 56.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 116 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001031/2.035, allocations: 177 kB / 0.6634 GB, free: 56.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.01213/2.047, allocations: 7.261 MB / 0.6705 GB, free: 51.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/2.047, allocations: 0 / 0.6705 GB, free: 51.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005138/2.053, allocations: 2.99 MB / 0.6734 GB, free: 48.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/2.055, allocations: 280.2 kB / 0.6736 GB, free: 48.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/2.072, allocations: 8.291 MB / 0.6817 GB, free: 41.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004186/2.076, allocations: 3.044 MB / 0.6847 GB, free: 39.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.008846/2.085, allocations: 2.422 MB / 0.6871 GB, free: 37.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00365/2.089, allocations: 0.5457 MB / 0.6876 GB, free: 36.64 MB / 266.7 MB Notification: Performance of SimCode: time 1.363e-06/2.089, allocations: 0 / 0.6876 GB, free: 36.64 MB / 266.7 MB Notification: Performance of Templates: time 0.2308/2.32, allocations: 55.86 MB / 0.7422 GB, free: 57.39 MB / 266.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1)