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.01322/0.01322, allocations: 103 kB / 15.73 MB, free: 6.004 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.00225/0.00225, allocations: 193.8 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.786/1.786, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2074/0.2074, allocations: 38.02 MB / 307.9 MB, free: 5.965 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.001508/0.001508, allocations: 71.91 kB / 433 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1401, allocations: 56.47 MB / 489.4 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01296/0.1531, allocations: 11.45 MB / 0.4892 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009971/0.1631, allocations: 4.125 MB / 0.4932 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003322/0.1665, allocations: 67.81 kB / 0.4933 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005519/0.1721, allocations: 2.593 MB / 0.4958 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006649/0.1788, allocations: 1.871 MB / 0.4976 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.1809, allocations: 0.733 MB / 0.4983 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006865/0.1878, allocations: 4.266 MB / 0.5025 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004263/0.1921, allocations: 3.402 MB / 0.5058 GB, free: 9.211 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.1949, allocations: 1.55 MB / 0.5073 GB, free: 7.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003186/0.1981, allocations: 2.048 MB / 0.5093 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009549/0.1991, allocations: 332 kB / 0.5096 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/0.2018, allocations: 1.248 MB / 0.5109 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002259/0.2041, allocations: 1.991 MB / 0.5128 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2942/0.4983, allocations: 2.255 MB / 0.515 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01444/0.5128, allocations: 7.129 MB / 0.522 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.5129, allocations: 0.7031 kB / 0.522 GB, free: 10.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.277e-06/0.5129, allocations: 0 / 0.522 GB, free: 10.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004128/0.5133, allocations: 0 / 0.522 GB, free: 10.87 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.01966/0.533, allocations: 4.815 MB / 0.5267 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.5331, allocations: 14.27 kB / 0.5267 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008761/0.5418, allocations: 1.942 MB / 0.5286 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009558/0.5514, allocations: 2.506 MB / 0.531 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003163/0.5518, allocations: 246.2 kB / 0.5313 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002624/0.5544, allocations: 411.7 kB / 0.5317 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02363/0.5781, allocations: 10.17 MB / 0.5416 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/0.5783, allocations: 42.31 kB / 0.5416 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006303/0.5789, allocations: 156.8 kB / 0.5418 GB, free: 4.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00272/0.5817, allocations: 1.881 MB / 0.5436 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01793/0.5996, allocations: 8.598 MB / 0.552 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05831/0.658, allocations: 39.59 MB / 0.5907 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/0.669, allocations: 3.843 MB / 0.5944 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003004/0.672, allocations: 1.622 MB / 0.596 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01406/0.6861, allocations: 7.904 MB / 0.6037 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.767e-05/0.6862, allocations: 58.2 kB / 0.6038 GB, free: 10.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 5.952e-06/0.6863, allocations: 0 / 0.6038 GB, free: 10.04 MB / 462.1 MB Notification: Performance of matching and sorting (n=169): time 0.04013/0.7264, allocations: 14.58 MB / 0.618 GB, free: 11.32 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001445/0.7279, allocations: 1.679 MB / 0.6197 GB, free: 9.469 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006704/0.7346, allocations: 3.933 MB / 0.6235 GB, free: 5.555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005826/0.7352, allocations: 45.7 kB / 0.6236 GB, free: 5.504 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002528/0.7378, allocations: 3.162 MB / 0.6266 GB, free: 2.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001368/0.7391, allocations: 0.6756 MB / 0.6273 GB, free: 1.672 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002109/0.7413, allocations: 1.252 MB / 0.6285 GB, free: 420 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.7414, allocations: 308.1 kB / 0.6288 GB, free: 112 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003486/0.7449, allocations: 2.089 MB / 0.6309 GB, free: 14.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005862/0.7508, allocations: 5.91 MB / 0.6366 GB, free: 6.266 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/0.762, allocations: 8.631 MB / 0.6451 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001375/0.7622, allocations: 40 kB / 0.6451 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=808) (initialization): time 0.02625/0.7884, allocations: 9.491 MB / 0.6544 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.7886, allocations: 64 kB / 0.6544 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01085/0.7995, allocations: 3.601 MB / 0.6579 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/0.81, allocations: 2.273 MB / 0.6602 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005322/0.8154, allocations: 1.423 MB / 0.6616 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009615/0.825, allocations: 6.919 MB / 0.6683 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006185/0.8313, allocations: 407.4 kB / 0.6687 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001581/0.8329, allocations: 387.9 kB / 0.6691 GB, free: 3.52 MB / 0.5137 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.00562/0.8385, allocations: 2.087 MB / 0.6711 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008511/0.8394, allocations: 343.5 kB / 0.6714 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006896/0.8463, allocations: 3.079 MB / 0.6744 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00516/0.8515, allocations: 2.586 MB / 0.677 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.469e-05/0.8515, allocations: 3.938 kB / 0.677 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.841e-05/0.8515, allocations: 11.97 kB / 0.677 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02222/0.8738, allocations: 9.664 MB / 0.6864 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/0.8738, allocations: 4 kB / 0.6864 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.8751, allocations: 279.5 kB / 0.6867 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00332/0.8784, allocations: 1.065 MB / 0.6877 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002424/0.8787, allocations: 47.97 kB / 0.6878 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00648/0.8852, allocations: 5.115 MB / 0.6928 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00112/0.8863, allocations: 1.549 MB / 0.6943 GB, free: 9.059 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009852/0.8962, allocations: 5.509 MB / 0.6997 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/0.8978, allocations: 392.5 kB / 0.7 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004512/0.8982, allocations: 35.98 kB / 0.7001 GB, free: 3.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/0.8997, allocations: 135.8 kB / 0.7002 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/0.9, allocations: 116.5 kB / 0.7003 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001348/0.9001, allocations: 54.17 kB / 0.7004 GB, free: 2.727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004159/0.9043, allocations: 2.427 MB / 0.7027 GB, free: 328 kB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9043, allocations: 4 kB / 0.7027 GB, free: 324 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.006319/0.9106, allocations: 1.051 MB / 0.7038 GB, free: 15.26 MB / 0.5606 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.0005254/0.9112, allocations: 170.1 kB / 0.7039 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01191/0.9231, allocations: 5.732 MB / 0.7095 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.9231, allocations: 0 / 0.7095 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004238/0.9274, allocations: 2.127 MB / 0.7116 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/0.9307, allocations: 477.8 kB / 0.7121 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02035/0.951, allocations: 9.559 MB / 0.7214 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004813/0.9559, allocations: 3.258 MB / 0.7246 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004646/0.9606, allocations: 1.921 MB / 0.7264 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007131/0.9613, allocations: 243.4 kB / 0.7267 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of SimCode: time 8.81e-07/0.9613, allocations: 0 / 0.7267 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of Templates: time 0.3501/1.311, allocations: 35.38 MB / 0.7612 GB, free: 194.1 MB / 0.5762 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)