Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009843/0.0009843, allocations: 187.9 kB / 8.351 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.322/1.322, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001487/0.001487, allocations: 115.6 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.134e-05, allocations: 7.984 kB / 298.1 MB, free: 8.234 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/0.09242, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2965/0.3889, allocations: 84.38 MB / 427 MB, free: 11.62 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001743/0.3892, allocations: 83.45 kB / 427 MB, free: 11.58 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1385/0.5277, allocations: 55.65 MB / 482.7 MB, free: 11.12 MB / 363.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5277, allocations: 0 / 482.7 MB, free: 11.12 MB / 363.1 MB Notification: Performance of Transformations before backend: time 9.447e-05/0.5278, allocations: 48 kB / 482.7 MB, free: 11.07 MB / 363.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.009424/0.5373, allocations: 2.9 MB / 485.6 MB, free: 8.113 MB / 363.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.5373, allocations: 12.03 kB / 485.7 MB, free: 8.102 MB / 363.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008908/0.5462, allocations: 2.055 MB / 487.7 MB, free: 6.043 MB / 363.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009506/0.5558, allocations: 3.588 MB / 491.3 MB, free: 2.406 MB / 363.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.5559, allocations: 80 kB / 491.4 MB, free: 2.328 MB / 363.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006695/0.5566, allocations: 151.9 kB / 491.5 MB, free: 2.18 MB / 363.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005972/0.5626, allocations: 3.991 MB / 495.5 MB, free: 14.18 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008275/0.5709, allocations: 6.17 MB / 0.4899 GB, free: 7.281 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.408e-05/0.571, allocations: 39.62 kB / 0.49 GB, free: 7.242 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003047/0.5713, allocations: 27.95 kB / 0.49 GB, free: 7.215 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00111/0.5724, allocations: 0.7033 MB / 0.4907 GB, free: 6.508 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2304/0.8029, allocations: 31 MB / 0.5209 GB, free: 71.41 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.8055, allocations: 1.978 MB / 0.5229 GB, free: 70.75 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009396/0.8065, allocations: 0.9565 MB / 0.5238 GB, free: 70.72 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006871/0.8072, allocations: 0.6555 MB / 0.5245 GB, free: 70.16 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.8072, allocations: 44.14 kB / 0.5245 GB, free: 70.12 MB / 395.1 MB Notification: Performance of pre-optimization done (n=111): time 2.995e-06/0.8072, allocations: 0 / 0.5245 GB, free: 70.12 MB / 395.1 MB Notification: Performance of matching and sorting (n=124): time 0.01566/0.8229, allocations: 8.139 MB / 0.5324 GB, free: 68.28 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.823, allocations: 144.4 kB / 0.5326 GB, free: 68.12 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/0.8256, allocations: 2.109 MB / 0.5346 GB, free: 67.85 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000178/0.8258, allocations: 28.98 kB / 0.5347 GB, free: 67.82 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000861/0.8266, allocations: 2.099 MB / 0.5367 GB, free: 66.71 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/0.827, allocations: 0.4946 MB / 0.5372 GB, free: 66.43 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.8272, allocations: 0 / 0.5372 GB, free: 66.43 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.8274, allocations: 0.5459 MB / 0.5377 GB, free: 66.11 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.8292, allocations: 1.53 MB / 0.5392 GB, free: 66.1 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002648/0.8319, allocations: 4.379 MB / 0.5435 GB, free: 62.37 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.8347, allocations: 2.572 MB / 0.546 GB, free: 62.36 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.336e-05/0.8348, allocations: 29.53 kB / 0.546 GB, free: 62.36 MB / 395.1 MB Notification: Performance of matching and sorting (n=606) (initialization): time 0.01178/0.8466, allocations: 6.435 MB / 0.5523 GB, free: 61.87 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.858e-05/0.8467, allocations: 55.09 kB / 0.5524 GB, free: 61.87 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005648/0.8523, allocations: 2.445 MB / 0.5548 GB, free: 61.8 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005065/0.8574, allocations: 1.477 MB / 0.5562 GB, free: 61.61 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003509/0.861, allocations: 1.054 MB / 0.5572 GB, free: 61.48 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008871/0.8698, allocations: 6.939 MB / 0.564 GB, free: 57.55 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004195/0.8741, allocations: 288.9 kB / 0.5643 GB, free: 57.52 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008544/0.8749, allocations: 289.7 kB / 0.5646 GB, free: 57.49 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 468 * 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 (558): * Single equations (assignments): 550 * Array equations: 5 * 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%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008235/0.8758, allocations: 360 kB / 0.5649 GB, free: 57.19 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004779/0.8763, allocations: 214.5 kB / 0.5651 GB, free: 57.07 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0063/0.8826, allocations: 2.716 MB / 0.5678 GB, free: 56.31 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005797/0.8884, allocations: 2.41 MB / 0.5701 GB, free: 55.71 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.066e-05/0.8884, allocations: 8.125 kB / 0.5701 GB, free: 55.71 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.72e-05/0.8885, allocations: 9.984 kB / 0.5701 GB, free: 55.7 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.8998, allocations: 6.638 MB / 0.5766 GB, free: 53.4 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.8999, allocations: 0 / 0.5766 GB, free: 53.4 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007965/0.9007, allocations: 174.3 kB / 0.5768 GB, free: 53.39 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004292/0.905, allocations: 1.405 MB / 0.5782 GB, free: 53.18 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.9051, allocations: 14.72 kB / 0.5782 GB, free: 53.17 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007703/0.9128, allocations: 7.177 MB / 0.5852 GB, free: 49.21 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006503/0.9135, allocations: 1.389 MB / 0.5865 GB, free: 47.85 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007381/0.9209, allocations: 4.828 MB / 0.5913 GB, free: 46.04 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005811/0.9215, allocations: 277.5 kB / 0.5915 GB, free: 45.82 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/0.9218, allocations: 11.53 kB / 0.5915 GB, free: 45.81 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.9229, allocations: 106.5 kB / 0.5916 GB, free: 45.81 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.9232, allocations: 84.94 kB / 0.5917 GB, free: 45.8 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.213e-05/0.9233, allocations: 39.52 kB / 0.5917 GB, free: 45.79 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001697/0.925, allocations: 1.391 MB / 0.5931 GB, free: 45.25 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.925, allocations: 3.938 kB / 0.5931 GB, free: 45.24 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.003504/0.9285, allocations: 0.6768 MB / 0.5938 GB, free: 45.24 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 (83): * Single equations (assignments): 77 * Array equations: 3 * 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.0003274/0.9288, allocations: 144.9 kB / 0.5939 GB, free: 45.13 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.005733/0.9346, allocations: 4.085 MB / 0.5979 GB, free: 43.59 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.9346, allocations: 3.969 kB / 0.5979 GB, free: 43.59 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002656/0.9373, allocations: 1.66 MB / 0.5995 GB, free: 42.88 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.9385, allocations: 202.6 kB / 0.5997 GB, free: 42.78 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008083/0.9466, allocations: 5.409 MB / 0.605 GB, free: 38.07 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001711/0.9484, allocations: 2.325 MB / 0.6073 GB, free: 36.23 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.003098/0.9515, allocations: 1.463 MB / 0.6087 GB, free: 35.32 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.9518, allocations: 163.1 kB / 0.6089 GB, free: 35.18 MB / 395.1 MB Notification: Performance of SimCode: time 6.51e-07/0.9518, allocations: 0 / 0.6089 GB, free: 35.18 MB / 395.1 MB Notification: Performance of Templates: time 0.03479/0.9866, allocations: 24.06 MB / 0.6324 GB, free: 13.29 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1)