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/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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006416/0.006416, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001453/0.001452, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.693/1.693, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3439/0.3439, allocations: 37.99 MB / 307.9 MB, free: 10.08 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 63.91 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3606, allocations: 56.47 MB / 489.4 MB, free: 20.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01287/0.3735, allocations: 11.45 MB / 0.4892 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.3847, allocations: 4.125 MB / 0.4932 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/0.3879, allocations: 72.22 kB / 0.4932 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005692/0.3936, allocations: 2.599 MB / 0.4958 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007554/0.4012, allocations: 1.854 MB / 0.4976 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.4036, allocations: 0.7381 MB / 0.4983 GB, free: 6.949 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008406/0.412, allocations: 4.269 MB / 0.5025 GB, free: 4.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004945/0.417, allocations: 3.398 MB / 0.5058 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/0.4206, allocations: 1.564 MB / 0.5073 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003311/0.4239, allocations: 2.035 MB / 0.5093 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008308/0.4248, allocations: 329.6 kB / 0.5096 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002838/0.4276, allocations: 1.251 MB / 0.5109 GB, free: 92 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002503/0.4302, allocations: 1.966 MB / 0.5128 GB, free: 14.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003492/0.4337, allocations: 2.254 MB / 0.515 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.4446, allocations: 7.136 MB / 0.5219 GB, free: 6.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.4447, allocations: 8 kB / 0.522 GB, free: 6.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4447, allocations: 0 / 0.522 GB, free: 6.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002385/0.4449, allocations: 0 / 0.522 GB, free: 6.516 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1526 * Number of variables: 1526 Notification: Performance of Generate backend data structure: time 0.0116/0.4565, allocations: 4.815 MB / 0.5267 GB, free: 1.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.869e-05/0.4566, allocations: 11.89 kB / 0.5267 GB, free: 1.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007465/0.4641, allocations: 1.941 MB / 0.5286 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006125/0.4702, allocations: 2.499 MB / 0.531 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/0.4705, allocations: 246.6 kB / 0.5312 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001302/0.4718, allocations: 411.5 kB / 0.5316 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/0.4919, allocations: 10.18 MB / 0.5416 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001361/0.4921, allocations: 39.69 kB / 0.5416 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005102/0.4926, allocations: 159.8 kB / 0.5418 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003033/0.4956, allocations: 1.884 MB / 0.5436 GB, free: 15.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01794/0.5136, allocations: 8.592 MB / 0.552 GB, free: 6.918 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05753/0.5712, allocations: 39.6 MB / 0.5907 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01031/0.5815, allocations: 3.843 MB / 0.5944 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002654/0.5842, allocations: 1.619 MB / 0.596 GB, free: 8.461 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01414/0.5984, allocations: 7.912 MB / 0.6037 GB, free: 180 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.967e-05/0.5985, allocations: 51.56 kB / 0.6038 GB, free: 120 kB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 6.041e-06/0.5985, allocations: 0 / 0.6038 GB, free: 120 kB / 478.1 MB Notification: Performance of matching and sorting (n=169): time 0.0467/0.6452, allocations: 14.58 MB / 0.618 GB, free: 1.344 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001508/0.6468, allocations: 1.679 MB / 0.6196 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00596/0.6528, allocations: 3.921 MB / 0.6235 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004509/0.6532, allocations: 49.7 kB / 0.6235 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002266/0.6555, allocations: 3.163 MB / 0.6266 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001002/0.6565, allocations: 0.6828 MB / 0.6273 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001651/0.6582, allocations: 1.249 MB / 0.6285 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.6583, allocations: 309.1 kB / 0.6288 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/0.6614, allocations: 2.081 MB / 0.6308 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3405/1.002, allocations: 5.917 MB / 0.6366 GB, free: 121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01343/1.015, allocations: 8.624 MB / 0.645 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003172/1.016, allocations: 38.75 kB / 0.6451 GB, free: 114.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=808) (initialization): time 0.0253/1.041, allocations: 9.485 MB / 0.6543 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/1.041, allocations: 66.5 kB / 0.6544 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01164/1.053, allocations: 3.602 MB / 0.6579 GB, free: 110.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01086/1.064, allocations: 2.27 MB / 0.6601 GB, free: 110 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005254/1.069, allocations: 1.422 MB / 0.6615 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/1.08, allocations: 6.921 MB / 0.6683 GB, free: 106 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006325/1.086, allocations: 409.6 kB / 0.6687 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/1.087, allocations: 380.6 kB / 0.669 GB, free: 105.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 617 * Number of states: 0 () * Number of discrete variables: 39 (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.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 (770): * Single equations (assignments): 761 * 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.003951/1.091, allocations: 2.105 MB / 0.6711 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007314/1.092, allocations: 340.4 kB / 0.6714 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006071/1.098, allocations: 3.069 MB / 0.6744 GB, free: 103.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00477/1.103, allocations: 2.591 MB / 0.6769 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-05/1.103, allocations: 3.875 kB / 0.6769 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-05/1.103, allocations: 8.953 kB / 0.6769 GB, free: 102.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/1.119, allocations: 9.652 MB / 0.6864 GB, free: 96.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.119, allocations: 3.688 kB / 0.6864 GB, free: 96.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/1.12, allocations: 281.8 kB / 0.6866 GB, free: 96.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00301/1.123, allocations: 1.071 MB / 0.6877 GB, free: 96.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/1.123, allocations: 46.11 kB / 0.6877 GB, free: 96.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004536/1.128, allocations: 5.111 MB / 0.6927 GB, free: 91.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007304/1.129, allocations: 1.547 MB / 0.6942 GB, free: 89.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007321/1.136, allocations: 5.517 MB / 0.6996 GB, free: 83.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.137, allocations: 394.9 kB / 0.7 GB, free: 83.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/1.138, allocations: 43.36 kB / 0.7 GB, free: 83.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/1.139, allocations: 131.8 kB / 0.7002 GB, free: 83.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/1.139, allocations: 120.6 kB / 0.7003 GB, free: 83.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/1.139, allocations: 55.98 kB / 0.7003 GB, free: 83.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002941/1.142, allocations: 2.419 MB / 0.7027 GB, free: 80.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/1.142, allocations: 4 kB / 0.7027 GB, free: 80.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005497/1.148, allocations: 1.06 MB / 0.7037 GB, free: 79.74 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 129 * 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.0004358/1.148, allocations: 168.9 kB / 0.7039 GB, free: 79.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008802/1.157, allocations: 5.723 MB / 0.7095 GB, free: 73.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/1.157, allocations: 0 / 0.7095 GB, free: 73.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003485/1.161, allocations: 2.135 MB / 0.7116 GB, free: 71.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0029/1.163, allocations: 465 kB / 0.712 GB, free: 71.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/1.177, allocations: 9.561 MB / 0.7214 GB, free: 61.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002578/1.18, allocations: 3.253 MB / 0.7245 GB, free: 58.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003671/1.183, allocations: 1.921 MB / 0.7264 GB, free: 56.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005602/1.184, allocations: 247.4 kB / 0.7266 GB, free: 56.07 MB / 0.4981 GB Notification: Performance of SimCode: time 1.152e-06/1.184, allocations: 0 / 0.7266 GB, free: 56.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.05735/1.241, allocations: 35.5 MB / 0.7613 GB, free: 20.66 MB / 0.4981 GB 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)