Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.SpringWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00734/0.00734, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.405/1.405, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001677/0.001677, allocations: 106.6 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.0003841, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2543, allocations: 38.76 MB / 312.9 MB, free: 38.72 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1067/0.3611, allocations: 79.51 MB / 392.4 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.3614, allocations: 87.95 kB / 392.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3576/0.719, allocations: 56.43 MB / 448.9 MB, free: 40.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.7191, allocations: 0.5938 kB / 448.9 MB, free: 40.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001442/0.7192, allocations: 43.81 kB / 449 MB, free: 40.7 MB / 314.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.0133/0.7325, allocations: 3.025 MB / 452 MB, free: 39.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.7326, allocations: 11.66 kB / 452 MB, free: 39.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009394/0.742, allocations: 2.038 MB / 454 MB, free: 39.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009846/0.7519, allocations: 3.597 MB / 457.6 MB, free: 37.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.7521, allocations: 182.5 kB / 457.8 MB, free: 37.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/0.7534, allocations: 253.1 kB / 458.1 MB, free: 37.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/0.765, allocations: 6.901 MB / 465 MB, free: 34.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/0.7651, allocations: 36.66 kB / 465 MB, free: 34.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003671/0.7655, allocations: 126.8 kB / 465.1 MB, free: 34.69 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008847/0.7664, allocations: 0.7026 MB / 465.8 MB, free: 34.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/0.7769, allocations: 5.985 MB / 471.8 MB, free: 33.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03254/0.8094, allocations: 32.27 MB / 0.4923 GB, free: 5.023 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005872/0.8154, allocations: 2.529 MB / 0.4947 GB, free: 2.348 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005703/0.8211, allocations: 3.54 MB / 0.4982 GB, free: 14.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/0.8212, allocations: 58.84 kB / 0.4983 GB, free: 14.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=105): time 3.487e-06/0.8212, allocations: 0 / 0.4983 GB, free: 14.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=118): time 0.0288/0.85, allocations: 10.34 MB / 0.5083 GB, free: 3.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001524/0.8516, allocations: 1.599 MB / 0.5099 GB, free: 2.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006083/0.8577, allocations: 2.447 MB / 0.5123 GB, free: 15.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003928/0.8582, allocations: 41.7 kB / 0.5123 GB, free: 15.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002306/0.8605, allocations: 2.062 MB / 0.5144 GB, free: 13.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008813/0.8614, allocations: 489.5 kB / 0.5148 GB, free: 13.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005604/0.862, allocations: 91.44 kB / 0.5149 GB, free: 13.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004998/0.8625, allocations: 0.492 MB / 0.5154 GB, free: 12.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00318/0.8657, allocations: 1.609 MB / 0.517 GB, free: 10.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005526/0.8712, allocations: 4.353 MB / 0.5212 GB, free: 5.215 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004456/0.8757, allocations: 2.602 MB / 0.5238 GB, free: 2.609 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-05/0.8758, allocations: 28 kB / 0.5238 GB, free: 2.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=579) (initialization): time 0.01505/0.8909, allocations: 6.876 MB / 0.5305 GB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.891, allocations: 48 kB / 0.5305 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005954/0.897, allocations: 2.417 MB / 0.5329 GB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004927/0.902, allocations: 1.427 MB / 0.5343 GB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003921/0.9059, allocations: 1.018 MB / 0.5353 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2328/1.139, allocations: 7.052 MB / 0.5422 GB, free: 93.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004609/1.143, allocations: 362.9 kB / 0.5425 GB, free: 93.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008546/1.144, allocations: 283.8 kB / 0.5428 GB, free: 93.81 MB / 362.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 (534): * Single equations (assignments): 526 * 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 {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.002558/1.147, allocations: 1.398 MB / 0.5442 GB, free: 93.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005326/1.147, allocations: 234.5 kB / 0.5444 GB, free: 93.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005963/1.153, allocations: 2.796 MB / 0.5471 GB, free: 93.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005883/1.159, allocations: 2.472 MB / 0.5495 GB, free: 93.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.411e-05/1.159, allocations: 3.781 kB / 0.5495 GB, free: 93.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/1.159, allocations: 10.33 kB / 0.5495 GB, free: 93.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/1.174, allocations: 6.712 MB / 0.5561 GB, free: 93.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.109e-05/1.175, allocations: 2.438 kB / 0.5561 GB, free: 93.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000784/1.175, allocations: 165.2 kB / 0.5563 GB, free: 93.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004867/1.18, allocations: 1.433 MB / 0.5576 GB, free: 93.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/1.18, allocations: 31.92 kB / 0.5577 GB, free: 93.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/1.191, allocations: 7.666 MB / 0.5652 GB, free: 90.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008758/1.192, allocations: 1.457 MB / 0.5666 GB, free: 89.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008837/1.201, allocations: 4.826 MB / 0.5713 GB, free: 87.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009212/1.202, allocations: 299.8 kB / 0.5716 GB, free: 87.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00069/1.203, allocations: 29.72 kB / 0.5716 GB, free: 87.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/1.204, allocations: 120.6 kB / 0.5717 GB, free: 87.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/1.205, allocations: 80.67 kB / 0.5718 GB, free: 87.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/1.205, allocations: 33.92 kB / 0.5718 GB, free: 87.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003814/1.209, allocations: 1.699 MB / 0.5735 GB, free: 86.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.9e-07/1.209, allocations: 0 / 0.5735 GB, free: 86.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00569/1.214, allocations: 0.7522 MB / 0.5742 GB, free: 86.69 MB / 362.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.0006532/1.215, allocations: 161.4 kB / 0.5744 GB, free: 86.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007806/1.223, allocations: 4.129 MB / 0.5784 GB, free: 85.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/1.223, allocations: 3.156 kB / 0.5784 GB, free: 85.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003182/1.226, allocations: 1.7 MB / 0.5801 GB, free: 84.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/1.228, allocations: 239.7 kB / 0.5803 GB, free: 84.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.24, allocations: 7.49 MB / 0.5876 GB, free: 80.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002656/1.242, allocations: 2.323 MB / 0.5899 GB, free: 79.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003713/1.246, allocations: 1.382 MB / 0.5912 GB, free: 79.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006964/1.247, allocations: 165.7 kB / 0.5914 GB, free: 79.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/1.247, allocations: 3.75 kB / 0.5914 GB, free: 79.64 MB / 362.7 MB Notification: Performance of Templates: time 0.04581/1.293, allocations: 25.65 MB / 0.6165 GB, free: 60.89 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1)