Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001558/0.001558, allocations: 110.5 kB / 17.06 MB, free: 6.113 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.001855/0.001855, allocations: 191 kB / 18 MB, free: 5.191 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.473/1.473, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.001304/0.001304, allocations: 51.92 kB / 327.9 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09198, allocations: 46.61 MB / 374.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.2437/0.3357, allocations: 12.03 MB / 386.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009508/0.3453, allocations: 4.198 MB / 390.7 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/0.3482, allocations: 71.47 kB / 390.8 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005656/0.3538, allocations: 2.748 MB / 393.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008022/0.3619, allocations: 1.978 MB / 395.5 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003423/0.3654, allocations: 0.8058 MB / 396.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009923/0.3753, allocations: 4.631 MB / 401 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005692/0.3811, allocations: 3.557 MB / 404.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004478/0.3856, allocations: 1.698 MB / 406.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004416/0.39, allocations: 2.35 MB / 408.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.3914, allocations: 353 kB / 408.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003013/0.3944, allocations: 1.264 MB / 410.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002968/0.3974, allocations: 2.108 MB / 412.3 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003514/0.4009, allocations: 2.431 MB / 414.7 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009253/0.4102, allocations: 7.536 MB / 422.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.388e-06/0.4102, allocations: 7.984 kB / 422.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4102, allocations: 0 / 422.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002084/0.4104, allocations: 0 / 422.3 MB, free: 15.64 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.01137/0.4218, allocations: 5.278 MB / 427.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.4219, allocations: 12.03 kB / 427.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008337/0.4302, allocations: 2.108 MB / 429.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007194/0.4375, allocations: 2.63 MB / 432.3 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003024/0.4378, allocations: 282.8 kB / 432.6 MB, free: 5.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00198/0.4398, allocations: 431.6 kB / 433 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02739/0.4672, allocations: 12.22 MB / 445.2 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.4674, allocations: 47.53 kB / 445.2 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005463/0.468, allocations: 171.8 kB / 445.4 MB, free: 7.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003355/0.4714, allocations: 2.166 MB / 447.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02456/0.4959, allocations: 10.2 MB / 457.8 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06132/0.5573, allocations: 44.14 MB / 0.4902 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/0.5701, allocations: 4.606 MB / 0.4947 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003183/0.5733, allocations: 1.717 MB / 0.4963 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01475/0.5881, allocations: 8.231 MB / 0.5044 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.5882, allocations: 55.81 kB / 0.5044 GB, free: 14.53 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 5.189e-06/0.5882, allocations: 0 / 0.5044 GB, free: 14.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.04406/0.6323, allocations: 15.96 MB / 0.52 GB, free: 14.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001364/0.6337, allocations: 1.699 MB / 0.5217 GB, free: 12.51 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00687/0.6406, allocations: 4.211 MB / 0.5258 GB, free: 8.277 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000418/0.6411, allocations: 57.61 kB / 0.5258 GB, free: 8.219 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00245/0.6435, allocations: 3.404 MB / 0.5292 GB, free: 4.766 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001049/0.6446, allocations: 0.81 MB / 0.53 GB, free: 3.945 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002065/0.6467, allocations: 1.357 MB / 0.5313 GB, free: 2.578 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.6468, allocations: 305.1 kB / 0.5316 GB, free: 2.277 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003284/0.6501, allocations: 2.274 MB / 0.5338 GB, free: 0 / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005903/0.656, allocations: 6.39 MB / 0.54 GB, free: 7.562 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2447/0.9007, allocations: 9.315 MB / 0.5491 GB, free: 140.6 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000151/0.9009, allocations: 42.22 kB / 0.5492 GB, free: 140.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02571/0.9266, allocations: 10.06 MB / 0.559 GB, free: 138.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.9268, allocations: 71.78 kB / 0.5591 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01141/0.9382, allocations: 3.792 MB / 0.5628 GB, free: 137.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/0.9488, allocations: 2.168 MB / 0.5649 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005619/0.9544, allocations: 1.58 MB / 0.5664 GB, free: 137.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008413/0.9629, allocations: 6.598 MB / 0.5729 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005503/0.9684, allocations: 425.8 kB / 0.5733 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008672/0.9693, allocations: 419.5 kB / 0.5737 GB, free: 133.2 MB / 478.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.003296/0.9726, allocations: 2.215 MB / 0.5758 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006141/0.9732, allocations: 376.9 kB / 0.5762 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005506/0.9787, allocations: 3.283 MB / 0.5794 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004369/0.9831, allocations: 2.742 MB / 0.5821 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.9832, allocations: 6.531 kB / 0.5821 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/0.9832, allocations: 12.61 kB / 0.5821 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/0.9982, allocations: 10.34 MB / 0.5922 GB, free: 122.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/0.9982, allocations: 16.06 kB / 0.5922 GB, free: 122.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/0.9995, allocations: 363.5 kB / 0.5926 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002638/1.002, allocations: 0.9892 MB / 0.5935 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/1.002, allocations: 65.34 kB / 0.5936 GB, free: 121 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003907/1.006, allocations: 4.898 MB / 0.5984 GB, free: 115.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007094/1.007, allocations: 1.56 MB / 0.5999 GB, free: 114.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007573/1.015, allocations: 5.916 MB / 0.6057 GB, free: 108.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/1.016, allocations: 0.6522 MB / 0.6063 GB, free: 107.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004582/1.017, allocations: 63.58 kB / 0.6064 GB, free: 107.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/1.018, allocations: 143.8 kB / 0.6065 GB, free: 107.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003002/1.019, allocations: 172.4 kB / 0.6067 GB, free: 107.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/1.019, allocations: 79.97 kB / 0.6067 GB, free: 107.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003144/1.022, allocations: 2.605 MB / 0.6093 GB, free: 104.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/1.022, allocations: 0 / 0.6093 GB, free: 104.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005566/1.028, allocations: 1.165 MB / 0.6104 GB, free: 103.3 MB / 478.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.0004886/1.028, allocations: 229.4 kB / 0.6106 GB, free: 103.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008887/1.037, allocations: 6.037 MB / 0.6165 GB, free: 97 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.037, allocations: 4 kB / 0.6165 GB, free: 96.99 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003433/1.041, allocations: 2.192 MB / 0.6187 GB, free: 94.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/1.044, allocations: 0.4977 MB / 0.6192 GB, free: 94.24 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/1.057, allocations: 10.64 MB / 0.6296 GB, free: 83.42 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002729/1.06, allocations: 3.467 MB / 0.6329 GB, free: 79.92 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003676/1.064, allocations: 2.028 MB / 0.6349 GB, free: 77.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005973/1.064, allocations: 271.4 kB / 0.6352 GB, free: 77.62 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/1.064, allocations: 0 / 0.6352 GB, free: 77.62 MB / 478.1 MB Notification: Performance of Templates: time 0.06062/1.125, allocations: 38.44 MB / 0.6727 GB, free: 39.24 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1)