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.001233/0.001233, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01072/0.01072, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.907/1.907, allocations: 205.4 MB / 222.4 MB, free: 5.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.4169/0.4169, allocations: 40 MB / 310.7 MB, free: 9.555 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.0006259/0.0006259, allocations: 20 kB / 379.4 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1508, allocations: 57.96 MB / 437.4 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.3476/0.4985, allocations: 45.16 MB / 482.6 MB, free: 24.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02886/0.5274, allocations: 9.939 MB / 492.5 MB, free: 19.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01365/0.5411, allocations: 198.9 kB / 492.7 MB, free: 19.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.5432, allocations: 417 kB / 493.1 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005991/0.5492, allocations: 1.76 MB / 494.9 MB, free: 18.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.5514, allocations: 0.6708 MB / 495.5 MB, free: 18.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008545/0.5599, allocations: 6.073 MB / 0.4899 GB, free: 16.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008364/0.5683, allocations: 4.427 MB / 0.4942 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003679/0.572, allocations: 1.151 MB / 0.4953 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004483/0.5766, allocations: 1.911 MB / 0.4972 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001386/0.578, allocations: 137.8 kB / 0.4973 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00409/0.5821, allocations: 1.126 MB / 0.4984 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003673/0.5858, allocations: 1.761 MB / 0.5001 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003466/0.5893, allocations: 2.026 MB / 0.5021 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009579/0.5989, allocations: 6.633 MB / 0.5086 GB, free: 8.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5989, allocations: 0 / 0.5086 GB, free: 8.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5989, allocations: 0 / 0.5086 GB, free: 8.891 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00026/0.5992, allocations: 1.031 kB / 0.5086 GB, free: 8.891 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.01237/0.6115, allocations: 3.939 MB / 0.5124 GB, free: 6.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.6116, allocations: 13.06 kB / 0.5124 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009434/0.621, allocations: 1.989 MB / 0.5144 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007871/0.629, allocations: 2.455 MB / 0.5168 GB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002828/0.6293, allocations: 243.6 kB / 0.517 GB, free: 3.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001642/0.631, allocations: 418.1 kB / 0.5174 GB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02094/0.6519, allocations: 10.18 MB / 0.5273 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001495/0.6521, allocations: 39.59 kB / 0.5274 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004911/0.6526, allocations: 167.7 kB / 0.5275 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003516/0.6561, allocations: 1.877 MB / 0.5294 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01984/0.676, allocations: 8.611 MB / 0.5378 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07013/0.7462, allocations: 39.76 MB / 0.5766 GB, free: 6.934 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/0.757, allocations: 3.854 MB / 0.5804 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/0.7598, allocations: 1.611 MB / 0.582 GB, free: 1.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0152/0.775, allocations: 7.9 MB / 0.5897 GB, free: 9.035 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.091e-05/0.7751, allocations: 55.5 kB / 0.5897 GB, free: 8.973 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 5.45e-06/0.7752, allocations: 0 / 0.5897 GB, free: 8.973 MB / 462.1 MB Notification: Performance of matching and sorting (n=169): time 0.04688/0.8221, allocations: 14.57 MB / 0.6039 GB, free: 10.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001624/0.8237, allocations: 1.604 MB / 0.6055 GB, free: 8.445 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/0.8346, allocations: 3.929 MB / 0.6094 GB, free: 4.535 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005937/0.8353, allocations: 45.7 kB / 0.6094 GB, free: 4.484 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003196/0.8385, allocations: 3.155 MB / 0.6125 GB, free: 1.281 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001361/0.8398, allocations: 0.6829 MB / 0.6131 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001807/0.8417, allocations: 0.5271 MB / 0.6137 GB, free: 56 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.8418, allocations: 305.2 kB / 0.6139 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004502/0.8464, allocations: 2.089 MB / 0.616 GB, free: 13.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009672/0.8561, allocations: 5.912 MB / 0.6218 GB, free: 5.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3035/1.16, allocations: 8.629 MB / 0.6302 GB, free: 137.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/1.16, allocations: 41.62 kB / 0.6302 GB, free: 137.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.02236/1.182, allocations: 9.474 MB / 0.6395 GB, free: 136.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/1.182, allocations: 65.41 kB / 0.6395 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01056/1.193, allocations: 3.611 MB / 0.6431 GB, free: 136 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01028/1.203, allocations: 2.269 MB / 0.6453 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004546/1.208, allocations: 1.423 MB / 0.6467 GB, free: 135.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008419/1.216, allocations: 6.378 MB / 0.6529 GB, free: 132 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005813/1.222, allocations: 405.5 kB / 0.6533 GB, free: 131.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/1.224, allocations: 378.5 kB / 0.6537 GB, free: 131.8 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.006951/1.231, allocations: 2.098 MB / 0.6557 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001433/1.232, allocations: 340.7 kB / 0.656 GB, free: 130.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008417/1.24, allocations: 3.078 MB / 0.659 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00593/1.246, allocations: 2.59 MB / 0.6616 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.55e-05/1.246, allocations: 10.78 kB / 0.6616 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.73e-05/1.247, allocations: 12.39 kB / 0.6616 GB, free: 129 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02641/1.273, allocations: 9.669 MB / 0.671 GB, free: 125.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.292e-05/1.273, allocations: 5.25 kB / 0.671 GB, free: 125.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.274, allocations: 278 kB / 0.6713 GB, free: 125.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003248/1.278, allocations: 1.062 MB / 0.6723 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000276/1.278, allocations: 45.28 kB / 0.6724 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004721/1.283, allocations: 4.82 MB / 0.6771 GB, free: 122 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007715/1.283, allocations: 1.458 MB / 0.6785 GB, free: 120.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008655/1.292, allocations: 5.511 MB / 0.6839 GB, free: 118.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/1.294, allocations: 405.9 kB / 0.6843 GB, free: 118.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009366/1.295, allocations: 38.22 kB / 0.6843 GB, free: 118.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/1.296, allocations: 142.5 kB / 0.6844 GB, free: 118.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/1.297, allocations: 113.3 kB / 0.6846 GB, free: 118.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/1.297, allocations: 53.45 kB / 0.6846 GB, free: 118.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003975/1.301, allocations: 2.421 MB / 0.687 GB, free: 117.1 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.774e-06/1.301, allocations: 0 / 0.687 GB, free: 117.1 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007392/1.308, allocations: 1.066 MB / 0.688 GB, free: 117 MB / 494.1 MB 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.0005417/1.309, allocations: 172.5 kB / 0.6882 GB, free: 116.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01021/1.319, allocations: 5.676 MB / 0.6937 GB, free: 111.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.319, allocations: 0 / 0.6937 GB, free: 111.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003865/1.323, allocations: 2.132 MB / 0.6958 GB, free: 109.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005538/1.328, allocations: 447.3 kB / 0.6962 GB, free: 108.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/1.346, allocations: 11.83 MB / 0.7078 GB, free: 96.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002923/1.349, allocations: 3.253 MB / 0.711 GB, free: 93.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004205/1.353, allocations: 1.91 MB / 0.7128 GB, free: 91.58 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005849/1.354, allocations: 239.4 kB / 0.7131 GB, free: 91.35 MB / 494.1 MB Notification: Performance of SimCode: time 9.01e-07/1.354, allocations: 0 / 0.7131 GB, free: 91.35 MB / 494.1 MB Notification: Performance of Templates: time 0.0595/1.413, allocations: 37.01 MB / 0.7492 GB, free: 54.44 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: