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.007117/0.007117, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001377/0.001377, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.533/1.533, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3479/0.3479, allocations: 37.99 MB / 307.9 MB, free: 10.05 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.001655/0.001655, allocations: 71.89 kB / 433 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3177, allocations: 56.47 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01261/0.3304, allocations: 11.44 MB / 0.4892 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.3411, allocations: 4.132 MB / 0.4932 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.3442, allocations: 76.66 kB / 0.4933 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005457/0.3498, allocations: 2.59 MB / 0.4958 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006238/0.356, allocations: 1.911 MB / 0.4977 GB, free: 6.895 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.3584, allocations: 0.7311 MB / 0.4984 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007698/0.3661, allocations: 4.27 MB / 0.5025 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005583/0.3717, allocations: 3.398 MB / 0.5059 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003266/0.375, allocations: 1.553 MB / 0.5074 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00319/0.3782, allocations: 2.051 MB / 0.5094 GB, free: 260 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009425/0.3792, allocations: 328.8 kB / 0.5097 GB, free: 260 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.3822, allocations: 1.259 MB / 0.5109 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002317/0.3846, allocations: 1.995 MB / 0.5129 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003/0.3876, allocations: 2.251 MB / 0.5151 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009334/0.3969, allocations: 7.132 MB / 0.522 GB, free: 6.273 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.397, allocations: 0 / 0.522 GB, free: 6.273 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.397, allocations: 0 / 0.522 GB, free: 6.273 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002017/0.3972, allocations: 0 / 0.522 GB, free: 6.273 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.009301/0.4065, allocations: 4.818 MB / 0.5267 GB, free: 1.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.4065, allocations: 19.88 kB / 0.5268 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006909/0.4135, allocations: 1.937 MB / 0.5286 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006377/0.4199, allocations: 2.495 MB / 0.5311 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/0.4203, allocations: 246.6 kB / 0.5313 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001877/0.4221, allocations: 411.5 kB / 0.5317 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02183/0.444, allocations: 10.18 MB / 0.5416 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002218/0.4443, allocations: 35.69 kB / 0.5417 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00119/0.4455, allocations: 159.8 kB / 0.5418 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002856/0.4483, allocations: 1.888 MB / 0.5437 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01837/0.4667, allocations: 8.6 MB / 0.5521 GB, free: 6.664 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05618/0.523, allocations: 39.59 MB / 0.5907 GB, free: 13.83 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009544/0.5326, allocations: 3.847 MB / 0.5945 GB, free: 9.844 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002502/0.5351, allocations: 1.615 MB / 0.5961 GB, free: 8.219 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01313/0.5483, allocations: 7.912 MB / 0.6038 GB, free: 15.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.871e-05/0.5484, allocations: 55.5 kB / 0.6038 GB, free: 15.87 MB / 494.1 MB Notification: Performance of pre-optimization done (n=153): time 5.48e-06/0.5484, allocations: 0 / 0.6038 GB, free: 15.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=169): time 0.03931/0.5877, allocations: 14.57 MB / 0.6181 GB, free: 1.113 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001668/0.5894, allocations: 1.695 MB / 0.6197 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006942/0.5964, allocations: 3.921 MB / 0.6236 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003197/0.5967, allocations: 53.64 kB / 0.6236 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002293/0.5991, allocations: 3.163 MB / 0.6267 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008661/0.5999, allocations: 0.675 MB / 0.6274 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002168/0.6021, allocations: 1.253 MB / 0.6286 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.994e-05/0.6022, allocations: 301.1 kB / 0.6289 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003353/0.6056, allocations: 2.089 MB / 0.6309 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2761/0.8817, allocations: 5.913 MB / 0.6367 GB, free: 120.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/0.8918, allocations: 8.622 MB / 0.6451 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002482/0.8921, allocations: 39.47 kB / 0.6451 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=808) (initialization): time 0.02584/0.9179, allocations: 9.492 MB / 0.6544 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001659/0.9182, allocations: 63.62 kB / 0.6545 GB, free: 110.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0124/0.9306, allocations: 3.611 MB / 0.658 GB, free: 110 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01081/0.9414, allocations: 2.265 MB / 0.6602 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00514/0.9466, allocations: 1.424 MB / 0.6616 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008913/0.9556, allocations: 6.909 MB / 0.6683 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005301/0.9609, allocations: 406.7 kB / 0.6687 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009893/0.9619, allocations: 383.1 kB / 0.6691 GB, free: 105.6 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.003596/0.9655, allocations: 2.096 MB / 0.6711 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006534/0.9662, allocations: 344.9 kB / 0.6715 GB, free: 104.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005726/0.9719, allocations: 3.074 MB / 0.6745 GB, free: 103.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00425/0.9762, allocations: 2.591 MB / 0.677 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.9762, allocations: 7.281 kB / 0.677 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/0.9762, allocations: 7.484 kB / 0.677 GB, free: 102.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/0.991, allocations: 9.658 MB / 0.6865 GB, free: 96.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/0.991, allocations: 7.719 kB / 0.6865 GB, free: 96.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001085/0.9921, allocations: 280.4 kB / 0.6867 GB, free: 96.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002696/0.9948, allocations: 1.071 MB / 0.6878 GB, free: 95.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001953/0.995, allocations: 42.53 kB / 0.6878 GB, free: 95.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004212/0.9993, allocations: 5.106 MB / 0.6928 GB, free: 90.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006855/1, allocations: 1.54 MB / 0.6943 GB, free: 89.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007196/1.007, allocations: 5.521 MB / 0.6997 GB, free: 83.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.008, allocations: 396.5 kB / 0.7001 GB, free: 83.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003603/1.009, allocations: 39.92 kB / 0.7001 GB, free: 83.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.01, allocations: 131.8 kB / 0.7002 GB, free: 83.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/1.01, allocations: 120.7 kB / 0.7004 GB, free: 83.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.01, allocations: 47.98 kB / 0.7004 GB, free: 83.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003544/1.014, allocations: 2.427 MB / 0.7028 GB, free: 80.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.014, allocations: 0 / 0.7028 GB, free: 80.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005552/1.02, allocations: 1.056 MB / 0.7038 GB, free: 79.57 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.0004184/1.02, allocations: 177.1 kB / 0.704 GB, free: 79.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008654/1.029, allocations: 5.726 MB / 0.7096 GB, free: 73.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.029, allocations: 0 / 0.7096 GB, free: 73.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003155/1.032, allocations: 2.131 MB / 0.7116 GB, free: 71.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/1.035, allocations: 465.5 kB / 0.7121 GB, free: 70.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.048, allocations: 9.562 MB / 0.7214 GB, free: 61.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002507/1.05, allocations: 3.26 MB / 0.7246 GB, free: 58.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003516/1.054, allocations: 1.914 MB / 0.7265 GB, free: 56.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005182/1.054, allocations: 243.4 kB / 0.7267 GB, free: 55.9 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/1.054, allocations: 1.641 kB / 0.7267 GB, free: 55.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.05771/1.112, allocations: 35.52 MB / 0.7614 GB, free: 20.47 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)