Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001609/0.001609, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.8/1.8, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.372/0.372, allocations: 39.94 MB / 309.7 MB, free: 9.254 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.2. 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.001563/0.001563, allocations: 74.39 kB / 377.6 MB, free: 12.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1644, allocations: 56.88 MB / 434.5 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.01358/0.1781, allocations: 11.43 MB / 445.9 MB, free: 8.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01177/0.1899, allocations: 4.152 MB / 450.1 MB, free: 4.066 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003237/0.1932, allocations: 67.81 kB / 450.1 MB, free: 4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006271/0.1996, allocations: 2.585 MB / 452.7 MB, free: 1.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3157/0.5153, allocations: 1.862 MB / 454.6 MB, free: 36.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.5174, allocations: 0.734 MB / 455.3 MB, free: 36.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006511/0.524, allocations: 4.26 MB / 459.6 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004352/0.5284, allocations: 3.408 MB / 463 MB, free: 36.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002646/0.531, allocations: 1.555 MB / 464.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002731/0.5338, allocations: 2.038 MB / 466.6 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008339/0.5346, allocations: 329.5 kB / 466.9 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.5372, allocations: 1.256 MB / 468.2 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00197/0.5392, allocations: 1.959 MB / 470.1 MB, free: 34.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002359/0.5415, allocations: 2.25 MB / 472.4 MB, free: 33.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007197/0.5488, allocations: 6.903 MB / 479.3 MB, free: 31.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.5488, allocations: 0 / 479.3 MB, free: 31.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5488, allocations: 0 / 479.3 MB, free: 31.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002227/0.549, allocations: 0 / 479.3 MB, free: 31.1 MB / 382.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.01049/0.5595, allocations: 4.807 MB / 484.1 MB, free: 28.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5596, allocations: 16.92 kB / 484.1 MB, free: 28.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007924/0.5675, allocations: 1.94 MB / 486 MB, free: 28.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005955/0.5735, allocations: 2.458 MB / 488.5 MB, free: 27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.5738, allocations: 247 kB / 488.7 MB, free: 26.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/0.5751, allocations: 416.6 kB / 489.1 MB, free: 26.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02549/0.6006, allocations: 10.17 MB / 499.3 MB, free: 22.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001603/0.6008, allocations: 49.83 kB / 499.4 MB, free: 22.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005421/0.6014, allocations: 154.7 kB / 499.5 MB, free: 22.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003716/0.6051, allocations: 1.887 MB / 0.4897 GB, free: 21.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01976/0.6249, allocations: 8.594 MB / 0.498 GB, free: 18.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06301/0.6879, allocations: 39.76 MB / 0.5369 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01138/0.6994, allocations: 3.848 MB / 0.5406 GB, free: 7.574 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003385/0.7028, allocations: 1.621 MB / 0.5422 GB, free: 5.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01652/0.7193, allocations: 7.902 MB / 0.5499 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.593e-05/0.7195, allocations: 59.48 kB / 0.55 GB, free: 13.65 MB / 430.1 MB Notification: Performance of pre-optimization done (n=153): time 6.032e-06/0.7195, allocations: 0 / 0.55 GB, free: 13.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=169): time 0.04523/0.7647, allocations: 14.58 MB / 0.5642 GB, free: 14.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001653/0.7664, allocations: 1.675 MB / 0.5659 GB, free: 13.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01084/0.7773, allocations: 3.929 MB / 0.5697 GB, free: 9.145 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000692/0.778, allocations: 45.7 kB / 0.5697 GB, free: 9.094 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003668/0.7817, allocations: 3.16 MB / 0.5728 GB, free: 5.934 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001594/0.7833, allocations: 0.6833 MB / 0.5735 GB, free: 5.258 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004279/0.7877, allocations: 1.253 MB / 0.5747 GB, free: 3.996 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.7878, allocations: 305.1 kB / 0.575 GB, free: 3.695 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004438/0.7923, allocations: 2.085 MB / 0.5771 GB, free: 1.605 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008116/0.8004, allocations: 5.913 MB / 0.5828 GB, free: 9.793 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01414/0.8146, allocations: 8.629 MB / 0.5913 GB, free: 15.29 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001861/0.8148, allocations: 40 kB / 0.5913 GB, free: 15.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.02575/0.8406, allocations: 9.501 MB / 0.6006 GB, free: 5.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002359/0.8408, allocations: 60 kB / 0.6006 GB, free: 5.672 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01196/0.8528, allocations: 3.606 MB / 0.6041 GB, free: 2.047 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01122/0.8641, allocations: 2.273 MB / 0.6064 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005958/0.8701, allocations: 1.419 MB / 0.6078 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.8814, allocations: 6.931 MB / 0.6145 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006291/0.8878, allocations: 407.3 kB / 0.6149 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001661/0.8895, allocations: 387 kB / 0.6153 GB, free: 6.348 MB / 494.1 MB 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.006042/0.8955, allocations: 2.091 MB / 0.6173 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/0.8966, allocations: 343.5 kB / 0.6176 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007727/0.9043, allocations: 3.08 MB / 0.6207 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005456/0.9098, allocations: 2.582 MB / 0.6232 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/0.9099, allocations: 7.938 kB / 0.6232 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.099e-05/0.9099, allocations: 7.969 kB / 0.6232 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02351/0.9334, allocations: 9.67 MB / 0.6326 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.563e-05/0.9335, allocations: 4.469 kB / 0.6326 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/0.9349, allocations: 279.5 kB / 0.6329 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003437/0.9384, allocations: 1.068 MB / 0.634 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002716/0.9387, allocations: 43.97 kB / 0.634 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2983/1.237, allocations: 5.115 MB / 0.639 GB, free: 157.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009553/1.238, allocations: 1.542 MB / 0.6405 GB, free: 155.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00873/1.247, allocations: 5.512 MB / 0.6459 GB, free: 154.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/1.248, allocations: 398.2 kB / 0.6463 GB, free: 154.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004409/1.249, allocations: 37.27 kB / 0.6463 GB, free: 154.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/1.25, allocations: 133.4 kB / 0.6464 GB, free: 154.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003513/1.251, allocations: 114.2 kB / 0.6465 GB, free: 154.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/1.251, allocations: 51.89 kB / 0.6466 GB, free: 154.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003633/1.254, allocations: 2.431 MB / 0.649 GB, free: 153.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/1.254, allocations: 0 / 0.649 GB, free: 153.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005695/1.26, allocations: 1.054 MB / 0.65 GB, free: 153.7 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.000477/1.261, allocations: 178 kB / 0.6502 GB, free: 153.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01117/1.272, allocations: 6.381 MB / 0.6564 GB, free: 151.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/1.272, allocations: 0 / 0.6564 GB, free: 151.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003719/1.275, allocations: 2.125 MB / 0.6585 GB, free: 150.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/1.278, allocations: 462.9 kB / 0.6589 GB, free: 150.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/1.299, allocations: 9.692 MB / 0.6684 GB, free: 146.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004728/1.304, allocations: 3.256 MB / 0.6715 GB, free: 145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006302/1.31, allocations: 1.917 MB / 0.6734 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009375/1.311, allocations: 248.1 kB / 0.6737 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of SimCode: time 2.505e-06/1.311, allocations: 0 / 0.6737 GB, free: 144.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.08274/1.394, allocations: 38.77 MB / 0.7115 GB, free: 121.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1)