Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008285/0.008285, allocations: 104.2 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 194 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 54.47 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09596/0.09716, allocations: 46.62 MB / 373.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01293/0.1102, allocations: 12.04 MB / 385.2 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.1213, allocations: 4.196 MB / 389.4 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002864/0.1242, allocations: 67.81 kB / 389.5 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005402/0.1296, allocations: 2.764 MB / 392.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00556/0.1352, allocations: 2.015 MB / 394.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.1369, allocations: 0.815 MB / 395.1 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005735/0.1427, allocations: 4.617 MB / 399.7 MB, free: 6.828 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004309/0.147, allocations: 3.56 MB / 403.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002709/0.1497, allocations: 1.701 MB / 405 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003117/0.1529, allocations: 2.344 MB / 407.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007415/0.1536, allocations: 356 kB / 407.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002201/0.1558, allocations: 1.268 MB / 408.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001843/0.1577, allocations: 2.127 MB / 411 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00269/0.1604, allocations: 2.431 MB / 413.5 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00706/0.1675, allocations: 7.532 MB / 421 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1675, allocations: 0 / 421 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1675, allocations: 0 / 421 MB, free: 1.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001387/0.1677, allocations: 0 / 421 MB, free: 1.402 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.009789/0.1775, allocations: 5.285 MB / 426.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1775, allocations: 8.031 kB / 426.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008017/0.1856, allocations: 2.116 MB / 428.4 MB, free: 9.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004962/0.1906, allocations: 2.629 MB / 431 MB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002051/0.1908, allocations: 270.9 kB / 431.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009217/0.1917, allocations: 431.6 kB / 431.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02195/0.2137, allocations: 12.22 MB / 443.9 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/0.2139, allocations: 55.45 kB / 444 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005661/0.2145, allocations: 175.8 kB / 444.2 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003242/0.2177, allocations: 2.158 MB / 446.3 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2569/0.4747, allocations: 10.2 MB / 456.5 MB, free: 63.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05743/0.5321, allocations: 44.13 MB / 0.4889 GB, free: 30.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009873/0.5421, allocations: 4.624 MB / 0.4934 GB, free: 27.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.544, allocations: 1.72 MB / 0.4951 GB, free: 25.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.5544, allocations: 8.215 MB / 0.5031 GB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.885e-05/0.5545, allocations: 59.75 kB / 0.5032 GB, free: 16.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=183): time 5.57e-06/0.5545, allocations: 0 / 0.5032 GB, free: 16.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.03689/0.5914, allocations: 15.95 MB / 0.5188 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001414/0.5929, allocations: 1.695 MB / 0.5204 GB, free: 14.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005987/0.5989, allocations: 4.226 MB / 0.5246 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003605/0.5992, allocations: 53.7 kB / 0.5246 GB, free: 10.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002707/0.602, allocations: 3.406 MB / 0.5279 GB, free: 7.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001036/0.603, allocations: 0.8039 MB / 0.5287 GB, free: 6.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001727/0.6047, allocations: 1.357 MB / 0.53 GB, free: 4.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6049, allocations: 305.1 kB / 0.5303 GB, free: 4.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003392/0.6083, allocations: 2.266 MB / 0.5326 GB, free: 2.348 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006934/0.6152, allocations: 6.401 MB / 0.5388 GB, free: 9.902 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/0.6266, allocations: 9.318 MB / 0.5479 GB, free: 14.53 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000153/0.6268, allocations: 44 kB / 0.5479 GB, free: 14.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02527/0.6521, allocations: 10.06 MB / 0.5578 GB, free: 4.406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.6523, allocations: 68.94 kB / 0.5578 GB, free: 4.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01215/0.6645, allocations: 3.786 MB / 0.5615 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/0.675, allocations: 2.168 MB / 0.5636 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006433/0.6815, allocations: 1.583 MB / 0.5652 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009699/0.6912, allocations: 6.602 MB / 0.5716 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006319/0.6976, allocations: 431.4 kB / 0.5721 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001371/0.699, allocations: 414.5 kB / 0.5724 GB, free: 5.062 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (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],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004892/0.7039, allocations: 2.22 MB / 0.5746 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/0.705, allocations: 375.1 kB / 0.575 GB, free: 2.461 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007943/0.7129, allocations: 3.293 MB / 0.5782 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005479/0.7185, allocations: 2.734 MB / 0.5809 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.127e-05/0.7185, allocations: 4 kB / 0.5809 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.909e-05/0.7185, allocations: 15.97 kB / 0.5809 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02393/0.7425, allocations: 10.33 MB / 0.591 GB, free: 1.785 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-05/0.7426, allocations: 12 kB / 0.591 GB, free: 1.773 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/0.7442, allocations: 375.4 kB / 0.5913 GB, free: 1.406 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002988/0.7472, allocations: 0.983 MB / 0.5923 GB, free: 420 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000322/0.7476, allocations: 59.97 kB / 0.5924 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005421/0.753, allocations: 4.911 MB / 0.5972 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001129/0.7541, allocations: 1.556 MB / 0.5987 GB, free: 9.461 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009857/0.764, allocations: 5.912 MB / 0.6044 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/0.7659, allocations: 0.66 MB / 0.6051 GB, free: 2.66 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/0.767, allocations: 55.97 kB / 0.6051 GB, free: 2.605 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002348/0.7694, allocations: 148.5 kB / 0.6053 GB, free: 2.461 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004228/0.7698, allocations: 176.4 kB / 0.6055 GB, free: 2.289 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/0.77, allocations: 71.98 kB / 0.6055 GB, free: 2.219 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00579/0.7758, allocations: 2.605 MB / 0.6081 GB, free: 15.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7758, allocations: 0 / 0.6081 GB, free: 15.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007691/0.7835, allocations: 1.169 MB / 0.6092 GB, free: 14.44 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007908/0.7844, allocations: 227.8 kB / 0.6094 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01185/0.7962, allocations: 6.035 MB / 0.6153 GB, free: 8.141 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.227e-05/0.7963, allocations: 4 kB / 0.6153 GB, free: 8.137 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004488/0.8008, allocations: 2.197 MB / 0.6175 GB, free: 5.871 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/0.8054, allocations: 0.4959 MB / 0.618 GB, free: 5.375 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2493/1.055, allocations: 10.63 MB / 0.6283 GB, free: 158.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008838/1.064, allocations: 3.463 MB / 0.6317 GB, free: 157.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.009574/1.073, allocations: 2.022 MB / 0.6337 GB, free: 157.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/1.075, allocations: 275.8 kB / 0.6339 GB, free: 157.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.133e-06/1.075, allocations: 1.094 kB / 0.6339 GB, free: 157.9 MB / 494.1 MB Notification: Performance of Templates: time 0.09258/1.168, allocations: 38.45 MB / 0.6715 GB, free: 132.9 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1)