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.01133/0.01133, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001584/0.001584, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.526/1.526, allocations: 205.1 MB / 222.6 MB, free: 4.469 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.3416/0.3416, 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.001855/0.001855, allocations: 67.84 kB / 433 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3125, allocations: 56.46 MB / 489.4 MB, free: 20.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01094/0.3234, allocations: 11.45 MB / 0.4892 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008082/0.3315, allocations: 4.122 MB / 0.4932 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002679/0.3343, allocations: 71.97 kB / 0.4932 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005522/0.3399, allocations: 2.599 MB / 0.4958 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005892/0.3458, allocations: 1.861 MB / 0.4976 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.3482, allocations: 0.7309 MB / 0.4983 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007728/0.356, allocations: 4.268 MB / 0.5025 GB, free: 4.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005793/0.3618, allocations: 3.403 MB / 0.5058 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003763/0.3656, allocations: 1.556 MB / 0.5073 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003657/0.3692, allocations: 2.04 MB / 0.5093 GB, free: 380 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009079/0.3702, allocations: 330.3 kB / 0.5096 GB, free: 380 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.3729, allocations: 1.245 MB / 0.5109 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00213/0.375, allocations: 1.974 MB / 0.5128 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002985/0.378, allocations: 2.251 MB / 0.515 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009228/0.3873, allocations: 7.166 MB / 0.522 GB, free: 6.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3873, allocations: 3.938 kB / 0.522 GB, free: 6.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3873, allocations: 0 / 0.522 GB, free: 6.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001775/0.3875, allocations: 0 / 0.522 GB, free: 6.336 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.00893/0.3964, allocations: 4.94 MB / 0.5268 GB, free: 1.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.3965, allocations: 15.89 kB / 0.5268 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006713/0.4032, allocations: 1.971 MB / 0.5287 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003892/0.4071, allocations: 2.508 MB / 0.5312 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.4073, allocations: 242.6 kB / 0.5314 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008197/0.4082, allocations: 419.5 kB / 0.5318 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01638/0.4245, allocations: 10.17 MB / 0.5418 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.4247, allocations: 43.64 kB / 0.5418 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000474/0.4252, allocations: 167.7 kB / 0.542 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002932/0.4281, allocations: 1.873 MB / 0.5438 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01887/0.447, allocations: 8.604 MB / 0.5522 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04842/0.4955, allocations: 39.66 MB / 0.5909 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00978/0.5053, allocations: 3.854 MB / 0.5947 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002271/0.5076, allocations: 1.615 MB / 0.5963 GB, free: 8.039 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01222/0.5199, allocations: 7.921 MB / 0.604 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.989e-05/0.52, allocations: 47.56 kB / 0.604 GB, free: 15.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=153): time 7.434e-06/0.52, allocations: 0 / 0.604 GB, free: 15.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=169): time 0.03686/0.5569, allocations: 14.81 MB / 0.6185 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001374/0.5583, allocations: 1.691 MB / 0.6202 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005144/0.5634, allocations: 3.938 MB / 0.624 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003575/0.5638, allocations: 49.7 kB / 0.624 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002166/0.566, allocations: 3.283 MB / 0.6273 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008873/0.5669, allocations: 0.7133 MB / 0.6279 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001636/0.5685, allocations: 1.266 MB / 0.6292 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.599e-05/0.5686, allocations: 301.1 kB / 0.6295 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002942/0.5716, allocations: 2.085 MB / 0.6315 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3064/0.878, allocations: 5.915 MB / 0.6373 GB, free: 120.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01444/0.8925, allocations: 8.623 MB / 0.6457 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002579/0.8928, allocations: 42.47 kB / 0.6457 GB, free: 113.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=808) (initialization): time 0.02601/0.9188, allocations: 9.502 MB / 0.655 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.919, allocations: 67.06 kB / 0.6551 GB, free: 110.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01099/0.93, allocations: 3.61 MB / 0.6586 GB, free: 109.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/0.9402, allocations: 2.263 MB / 0.6608 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004547/0.9447, allocations: 1.423 MB / 0.6622 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00897/0.9537, allocations: 6.916 MB / 0.669 GB, free: 105.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0061/0.9599, allocations: 402.5 kB / 0.6694 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001869/0.9618, allocations: 385.4 kB / 0.6697 GB, free: 105.4 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.006251/0.968, allocations: 2.096 MB / 0.6718 GB, free: 104.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001902/0.9699, allocations: 360.9 kB / 0.6721 GB, free: 104.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007909/0.9779, allocations: 3.076 MB / 0.6751 GB, free: 103.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004535/0.9824, allocations: 2.591 MB / 0.6776 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/0.9825, allocations: 0 / 0.6776 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/0.9825, allocations: 11.28 kB / 0.6777 GB, free: 102.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01561/0.9981, allocations: 9.662 MB / 0.6871 GB, free: 96.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.9982, allocations: 5.5 kB / 0.6871 GB, free: 96.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.9993, allocations: 285 kB / 0.6874 GB, free: 96.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002802/1.002, allocations: 1.068 MB / 0.6884 GB, free: 95.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001535/1.002, allocations: 52.2 kB / 0.6885 GB, free: 95.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004132/1.006, allocations: 5.115 MB / 0.6935 GB, free: 90.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006838/1.007, allocations: 1.546 MB / 0.695 GB, free: 89.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00719/1.014, allocations: 5.534 MB / 0.7004 GB, free: 83.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008675/1.015, allocations: 410 kB / 0.7008 GB, free: 83.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006867/1.016, allocations: 35.94 kB / 0.7008 GB, free: 83.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/1.017, allocations: 135.8 kB / 0.7009 GB, free: 83.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/1.018, allocations: 116.6 kB / 0.701 GB, free: 82.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/1.018, allocations: 55.98 kB / 0.7011 GB, free: 82.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002864/1.021, allocations: 2.427 MB / 0.7035 GB, free: 80.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.021, allocations: 0 / 0.7035 GB, free: 80.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005072/1.026, allocations: 1.051 MB / 0.7045 GB, free: 79.39 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.000387/1.026, allocations: 176.2 kB / 0.7047 GB, free: 79.22 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008735/1.035, allocations: 5.728 MB / 0.7102 GB, free: 73.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/1.035, allocations: 0 / 0.7102 GB, free: 73.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003312/1.038, allocations: 2.134 MB / 0.7123 GB, free: 71.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/1.041, allocations: 463.2 kB / 0.7128 GB, free: 70.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/1.057, allocations: 9.709 MB / 0.7223 GB, free: 61.03 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003452/1.061, allocations: 3.261 MB / 0.7254 GB, free: 57.74 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003878/1.064, allocations: 1.917 MB / 0.7273 GB, free: 55.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006945/1.065, allocations: 247.4 kB / 0.7275 GB, free: 55.57 MB / 0.4981 GB Notification: Performance of SimCode: time 1.253e-06/1.065, allocations: 0 / 0.7275 GB, free: 55.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.05448/1.12, allocations: 35.52 MB / 0.7622 GB, free: 20.14 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)