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.001086/0.001086, allocations: 111.3 kB / 15.34 MB, free: 0.5078 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.001211/0.001211, allocations: 191.2 kB / 16.25 MB, free: 6.625 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.454/1.454, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001348/0.001348, allocations: 51.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.278, allocations: 46.63 MB / 324.9 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.04407/0.3221, allocations: 46.98 MB / 371.8 MB, free: 4.953 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02847/0.3507, allocations: 9.865 MB / 381.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01174/0.3625, allocations: 199.5 kB / 381.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006136/0.3687, allocations: 2.645 MB / 384.5 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006435/0.3752, allocations: 1.833 MB / 386.4 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.3776, allocations: 0.7607 MB / 387.1 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007979/0.3856, allocations: 4.656 MB / 391.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005985/0.3916, allocations: 3.756 MB / 395.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003827/0.3955, allocations: 1.729 MB / 397.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004354/0.3999, allocations: 2.601 MB / 399.9 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.4014, allocations: 352 kB / 400.2 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003737/0.4052, allocations: 1.272 MB / 401.5 MB, free: 7.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003785/0.409, allocations: 2.143 MB / 403.6 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006974/0.416, allocations: 2.458 MB / 406.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.011/0.427, allocations: 7.324 MB / 413.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.427, allocations: 0 / 413.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4271, allocations: 0 / 413.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003137/0.4274, allocations: 0 / 413.4 MB, free: 11.2 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.0128/0.4402, allocations: 5.285 MB / 418.7 MB, free: 5.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.4403, allocations: 8.031 kB / 418.7 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008722/0.449, allocations: 2.108 MB / 420.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005759/0.4548, allocations: 2.587 MB / 423.4 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003397/0.4552, allocations: 278.8 kB / 423.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001813/0.457, allocations: 427.6 kB / 424.1 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02844/0.4854, allocations: 12.22 MB / 436.3 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001609/0.4856, allocations: 47.62 kB / 436.4 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007941/0.4864, allocations: 171.8 kB / 436.5 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003131/0.4896, allocations: 2.17 MB / 438.7 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02163/0.5112, allocations: 10.2 MB / 448.9 MB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.25/0.7612, allocations: 44.33 MB / 493.2 MB, free: 79.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/0.7714, allocations: 4.615 MB / 497.8 MB, free: 76.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.7734, allocations: 1.727 MB / 499.6 MB, free: 75.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009541/0.783, allocations: 8.228 MB / 0.4959 GB, free: 66.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.7831, allocations: 63.75 kB / 0.496 GB, free: 66.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=183): time 5.33e-06/0.7831, allocations: 0 / 0.496 GB, free: 66.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=205): time 0.03671/0.8198, allocations: 15.95 MB / 0.5115 GB, free: 50.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001002/0.8209, allocations: 1.696 MB / 0.5132 GB, free: 48.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004995/0.8259, allocations: 4.211 MB / 0.5173 GB, free: 44.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000389/0.8263, allocations: 57.45 kB / 0.5174 GB, free: 44.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.8278, allocations: 3.398 MB / 0.5207 GB, free: 41.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000712/0.8285, allocations: 0.8075 MB / 0.5215 GB, free: 40.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001416/0.83, allocations: 1.361 MB / 0.5228 GB, free: 39.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.886e-05/0.83, allocations: 301.1 kB / 0.5231 GB, free: 38.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002672/0.8327, allocations: 2.266 MB / 0.5253 GB, free: 36.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00423/0.837, allocations: 6.398 MB / 0.5315 GB, free: 28.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008477/0.8455, allocations: 9.318 MB / 0.5406 GB, free: 16.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.96e-05/0.8456, allocations: 44 kB / 0.5407 GB, free: 16.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02058/0.8662, allocations: 10.07 MB / 0.5505 GB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.747e-05/0.8663, allocations: 68 kB / 0.5506 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0101/0.8764, allocations: 3.787 MB / 0.5543 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009528/0.886, allocations: 2.172 MB / 0.5564 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005212/0.8912, allocations: 1.583 MB / 0.5579 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009179/0.9004, allocations: 6.602 MB / 0.5644 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00607/0.9066, allocations: 431.3 kB / 0.5648 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001811/0.9084, allocations: 420.1 kB / 0.5652 GB, free: 7.188 MB / 398.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.005951/0.9144, allocations: 2.215 MB / 0.5674 GB, free: 4.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/0.9156, allocations: 371.2 kB / 0.5677 GB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008038/0.9236, allocations: 3.296 MB / 0.5709 GB, free: 1.273 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005529/0.9292, allocations: 2.749 MB / 0.5736 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.174e-05/0.9293, allocations: 0 / 0.5736 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.912e-05/0.9294, allocations: 11.97 kB / 0.5736 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02244/0.9518, allocations: 10.35 MB / 0.5837 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.527e-05/0.9519, allocations: 12 kB / 0.5838 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/0.9536, allocations: 367.4 kB / 0.5841 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002999/0.9566, allocations: 0.9907 MB / 0.5851 GB, free: 2.516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000385/0.9571, allocations: 63.97 kB / 0.5851 GB, free: 2.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005693/0.9628, allocations: 4.888 MB / 0.5899 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001114/0.9639, allocations: 1.573 MB / 0.5914 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/0.974, allocations: 5.921 MB / 0.5972 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002138/0.9761, allocations: 0.6522 MB / 0.5979 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/0.9774, allocations: 59.98 kB / 0.5979 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002408/0.9798, allocations: 147.8 kB / 0.5981 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004098/0.9802, allocations: 172.4 kB / 0.5982 GB, free: 4.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/0.9804, allocations: 75.98 kB / 0.5983 GB, free: 4.316 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005368/0.9858, allocations: 2.605 MB / 0.6008 GB, free: 1.703 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.9858, allocations: 0 / 0.6008 GB, free: 1.703 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007812/0.9937, allocations: 1.169 MB / 0.602 GB, free: 0.5391 MB / 430.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.00094/0.9946, allocations: 213.3 kB / 0.6022 GB, free: 332 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.2063/1.201, allocations: 6.669 MB / 0.6087 GB, free: 147.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/1.201, allocations: 3.969 kB / 0.6087 GB, free: 147.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003471/1.204, allocations: 2.193 MB / 0.6108 GB, free: 146.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/1.208, allocations: 0.4945 MB / 0.6113 GB, free: 146.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/1.224, allocations: 12.94 MB / 0.624 GB, free: 139.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002945/1.227, allocations: 3.468 MB / 0.6273 GB, free: 136.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00451/1.232, allocations: 2.021 MB / 0.6293 GB, free: 135 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006079/1.232, allocations: 275.4 kB / 0.6296 GB, free: 134.7 MB / 430.1 MB Notification: Performance of SimCode: time 8.91e-07/1.232, allocations: 3.938 kB / 0.6296 GB, free: 134.7 MB / 430.1 MB Notification: Performance of Templates: time 0.06224/1.295, allocations: 42.36 MB / 0.671 GB, free: 92.38 MB / 430.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)