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.001122/0.001122, allocations: 179.3 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.223/1.223, allocations: 194.5 MB / 211.6 MB, free: 3.043 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001541/0.001541, allocations: 110.3 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003053, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08163/0.08195, allocations: 44.49 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2398/0.3218, allocations: 85.13 MB / 440.2 MB, free: 4.582 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000179/0.322, allocations: 89.67 kB / 440.3 MB, free: 4.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1425/0.4646, allocations: 56.61 MB / 496.9 MB, free: 14.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4646, allocations: 0 / 496.9 MB, free: 14.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001341/0.4647, allocations: 48 kB / 496.9 MB, free: 14.05 MB / 378.7 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.01132/0.4761, allocations: 3.027 MB / 500 MB, free: 10.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4761, allocations: 12.03 kB / 500 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008739/0.4849, allocations: 2.052 MB / 0.4903 GB, free: 8.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009648/0.4946, allocations: 3.599 MB / 0.4938 GB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002264/0.4948, allocations: 192.8 kB / 0.494 GB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/0.496, allocations: 255.8 kB / 0.4942 GB, free: 4.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/0.5093, allocations: 6.887 MB / 0.5009 GB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001617/0.5095, allocations: 35.69 kB / 0.501 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008662/0.5104, allocations: 131.8 kB / 0.5011 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001111/0.5115, allocations: 0.7111 MB / 0.5018 GB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/0.5229, allocations: 5.977 MB / 0.5076 GB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1886/0.7114, allocations: 32.26 MB / 0.5391 GB, free: 73.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005601/0.7171, allocations: 2.526 MB / 0.5416 GB, free: 72.78 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005553/0.7227, allocations: 3.55 MB / 0.5451 GB, free: 71.22 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.7227, allocations: 51.62 kB / 0.5451 GB, free: 71.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=105): time 4.398e-06/0.7227, allocations: 3.469 kB / 0.5451 GB, free: 71.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=118): time 0.02577/0.7485, allocations: 10.34 MB / 0.5552 GB, free: 68.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001101/0.7496, allocations: 1.597 MB / 0.5568 GB, free: 67.16 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005575/0.7552, allocations: 2.446 MB / 0.5592 GB, free: 66.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002509/0.7555, allocations: 43.23 kB / 0.5592 GB, free: 66.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.757, allocations: 2.058 MB / 0.5612 GB, free: 65.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007/0.7577, allocations: 493.6 kB / 0.5617 GB, free: 65.49 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004282/0.7582, allocations: 86.27 kB / 0.5618 GB, free: 65.49 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003476/0.7585, allocations: 0.4965 MB / 0.5622 GB, free: 65.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002926/0.7615, allocations: 1.612 MB / 0.5638 GB, free: 65.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004409/0.7659, allocations: 4.36 MB / 0.5681 GB, free: 61.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003936/0.7699, allocations: 2.606 MB / 0.5706 GB, free: 60.78 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001675/0.77, allocations: 25.69 kB / 0.5706 GB, free: 60.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.01271/0.7828, allocations: 6.978 MB / 0.5775 GB, free: 58.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.7829, allocations: 49.88 kB / 0.5775 GB, free: 58.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005306/0.7882, allocations: 2.501 MB / 0.5799 GB, free: 57.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004816/0.793, allocations: 1.5 MB / 0.5814 GB, free: 57.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003094/0.7962, allocations: 1 MB / 0.5824 GB, free: 57.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008329/0.8045, allocations: 7.501 MB / 0.5897 GB, free: 53.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004568/0.8091, allocations: 364.2 kB / 0.5901 GB, free: 53.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/0.8101, allocations: 280.6 kB / 0.5903 GB, free: 53.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 447 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (531): * Single equations (assignments): 523 * 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.003642/0.8138, allocations: 1.399 MB / 0.5917 GB, free: 52.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009047/0.8147, allocations: 229.2 kB / 0.5919 GB, free: 52.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006564/0.8213, allocations: 2.803 MB / 0.5946 GB, free: 51.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005161/0.8265, allocations: 2.472 MB / 0.5971 GB, free: 50.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/0.8265, allocations: 10.28 kB / 0.5971 GB, free: 50.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.8265, allocations: 8.812 kB / 0.5971 GB, free: 50.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.8391, allocations: 6.719 MB / 0.6036 GB, free: 48.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.8392, allocations: 4 kB / 0.6036 GB, free: 48.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007767/0.84, allocations: 165.1 kB / 0.6038 GB, free: 48.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004234/0.8442, allocations: 1.441 MB / 0.6052 GB, free: 47.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/0.8444, allocations: 27.94 kB / 0.6052 GB, free: 47.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008193/0.8526, allocations: 7.658 MB / 0.6127 GB, free: 40.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000776/0.8534, allocations: 1.466 MB / 0.6141 GB, free: 39.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007975/0.8614, allocations: 4.823 MB / 0.6189 GB, free: 34.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008306/0.8622, allocations: 297.9 kB / 0.6191 GB, free: 34.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005463/0.8628, allocations: 21.44 kB / 0.6192 GB, free: 34.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.8643, allocations: 127.1 kB / 0.6193 GB, free: 34.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000232/0.8646, allocations: 86.78 kB / 0.6194 GB, free: 34.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.8647, allocations: 39.97 kB / 0.6194 GB, free: 34.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002629/0.8673, allocations: 1.697 MB / 0.6211 GB, free: 32.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8673, allocations: 0 / 0.6211 GB, free: 32.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003831/0.8712, allocations: 0.7581 MB / 0.6218 GB, free: 31.59 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 71 * 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.0003684/0.8716, allocations: 161.6 kB / 0.622 GB, free: 31.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006407/0.878, allocations: 4.273 MB / 0.6261 GB, free: 27.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.878, allocations: 0 / 0.6261 GB, free: 27.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002701/0.8807, allocations: 1.695 MB / 0.6278 GB, free: 25.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.8824, allocations: 239.8 kB / 0.628 GB, free: 25.17 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.8939, allocations: 7.497 MB / 0.6353 GB, free: 17.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/0.8963, allocations: 2.317 MB / 0.6376 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003332/0.8996, allocations: 1.385 MB / 0.6389 GB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/0.9002, allocations: 171.2 kB / 0.6391 GB, free: 13.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.9002, allocations: 0 / 0.6391 GB, free: 13.82 MB / 394.7 MB Notification: Performance of Templates: time 0.04388/0.9441, allocations: 26.28 MB / 0.6648 GB, free: 3.883 MB / 410.7 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)