Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009183/0.0009182, allocations: 167.3 kB / 12.72 MB, free: 2.59 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.195/1.195, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.00167/0.00167, allocations: 110.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.161/0.161, allocations: 38 MB / 300.4 MB, free: 5.336 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.018e-05/3.022e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08488/0.08493, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.317/0.402, allocations: 92.73 MB / 498.4 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.4022, allocations: 70.47 kB / 498.5 MB, free: 17.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1952/0.5975, allocations: 81.93 MB / 0.5668 GB, free: 4.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5975, allocations: 0 / 0.5668 GB, free: 4.906 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002116/0.5977, allocations: 83.98 kB / 0.5669 GB, free: 4.824 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01229/0.61, allocations: 3.912 MB / 0.5707 GB, free: 0.8477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.6101, allocations: 8.031 kB / 0.5707 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01146/0.6216, allocations: 2.326 MB / 0.573 GB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01469/0.6363, allocations: 5.187 MB / 0.5781 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003096/0.6367, allocations: 316.3 kB / 0.5784 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002026/0.6387, allocations: 427.8 kB / 0.5788 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/0.6606, allocations: 10.32 MB / 0.5889 GB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.6608, allocations: 63.36 kB / 0.5889 GB, free: 13.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007861/0.6616, allocations: 211.9 kB / 0.5891 GB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001504/0.6631, allocations: 0.9985 MB / 0.5901 GB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01659/0.6797, allocations: 8.318 MB / 0.5982 GB, free: 3.527 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2963/0.976, allocations: 48.28 MB / 0.6454 GB, free: 58.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008573/0.9846, allocations: 3.545 MB / 0.6488 GB, free: 58.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.987, allocations: 1.52 MB / 0.6503 GB, free: 58.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/0.9985, allocations: 6.983 MB / 0.6571 GB, free: 56.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.9986, allocations: 51.14 kB / 0.6572 GB, free: 56.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 4.108e-06/0.9986, allocations: 0 / 0.6572 GB, free: 56.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=155): time 0.02634/1.025, allocations: 11.89 MB / 0.6688 GB, free: 53.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008885/1.026, allocations: 1.586 MB / 0.6703 GB, free: 51.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/1.03, allocations: 3.443 MB / 0.6737 GB, free: 51.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001486/1.03, allocations: 48.36 kB / 0.6737 GB, free: 51.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001356/1.032, allocations: 3.138 MB / 0.6768 GB, free: 49.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004426/1.032, allocations: 0.6356 MB / 0.6774 GB, free: 49.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/1.032, allocations: 120.9 kB / 0.6775 GB, free: 49.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002391/1.033, allocations: 0.5582 MB / 0.6781 GB, free: 49.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002315/1.035, allocations: 1.959 MB / 0.68 GB, free: 49.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004325/1.039, allocations: 5.735 MB / 0.6856 GB, free: 44.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003899/1.043, allocations: 3.317 MB / 0.6888 GB, free: 43.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.917e-05/1.043, allocations: 35.38 kB / 0.6889 GB, free: 43.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01115/1.054, allocations: 8.147 MB / 0.6968 GB, free: 40.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.205e-05/1.055, allocations: 64.47 kB / 0.6969 GB, free: 40.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003796/1.058, allocations: 2.424 MB / 0.6993 GB, free: 40.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002486/1.061, allocations: 1.053 MB / 0.7003 GB, free: 39.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003702/1.065, allocations: 1.4 MB / 0.7017 GB, free: 39.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/1.068, allocations: 4.326 MB / 0.7059 GB, free: 36.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004022/1.072, allocations: 390.1 kB / 0.7062 GB, free: 36.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004844/1.073, allocations: 379.1 kB / 0.7066 GB, free: 36.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (750): * Single equations (assignments): 741 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00068/1.073, allocations: 0.5646 MB / 0.7072 GB, free: 36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004809/1.074, allocations: 347.1 kB / 0.7075 GB, free: 35.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005057/1.079, allocations: 2.925 MB / 0.7103 GB, free: 34.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003935/1.083, allocations: 2.436 MB / 0.7127 GB, free: 34.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/1.083, allocations: 3.594 kB / 0.7127 GB, free: 34.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/1.083, allocations: 11.36 kB / 0.7127 GB, free: 34.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/1.097, allocations: 9.188 MB / 0.7217 GB, free: 29.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/1.097, allocations: 7.938 kB / 0.7217 GB, free: 29.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.098, allocations: 249.3 kB / 0.722 GB, free: 29.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002732/1.101, allocations: 1.007 MB / 0.7229 GB, free: 29.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001895/1.101, allocations: 42.98 kB / 0.723 GB, free: 29.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004345/1.105, allocations: 4.839 MB / 0.7277 GB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006637/1.106, allocations: 1.445 MB / 0.7291 GB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006743/1.113, allocations: 5.546 MB / 0.7345 GB, free: 18.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/1.114, allocations: 398.5 kB / 0.7349 GB, free: 17.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/1.114, allocations: 35.66 kB / 0.735 GB, free: 17.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/1.116, allocations: 129.7 kB / 0.7351 GB, free: 17.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/1.116, allocations: 108.4 kB / 0.7352 GB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.116, allocations: 43.52 kB / 0.7352 GB, free: 17.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00335/1.119, allocations: 2.37 MB / 0.7375 GB, free: 15.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.119, allocations: 0 / 0.7375 GB, free: 15.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004316/1.124, allocations: 1.007 MB / 0.7385 GB, free: 14.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003627/1.124, allocations: 181.1 kB / 0.7387 GB, free: 14.17 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007419/1.131, allocations: 5.243 MB / 0.7438 GB, free: 9.457 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.131, allocations: 4 kB / 0.7438 GB, free: 9.453 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003343/1.135, allocations: 2.098 MB / 0.7459 GB, free: 7.594 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/1.137, allocations: 412 kB / 0.7463 GB, free: 7.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/1.148, allocations: 7.767 MB / 0.7538 GB, free: 332 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003956/1.152, allocations: 3.334 MB / 0.7571 GB, free: 13.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004547/1.157, allocations: 1.886 MB / 0.7589 GB, free: 12.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006287/1.158, allocations: 242.9 kB / 0.7592 GB, free: 12.52 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/1.158, allocations: 7.875 kB / 0.7592 GB, free: 12.51 MB / 442.7 MB Notification: Performance of Templates: time 0.2751/1.433, allocations: 32.6 MB / 0.791 GB, free: 113.9 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1)