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.001115/0.001114, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001568/0.001567, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.949/1.949, allocations: 205.4 MB / 222.1 MB, free: 5.871 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.4348/0.4348, allocations: 40 MB / 310.4 MB, free: 10.12 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.0005877/0.0005878, allocations: 23.98 kB / 378.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1578, allocations: 57.96 MB / 436.8 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.3286/0.4865, allocations: 42.02 MB / 478.8 MB, free: 29.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02487/0.5115, allocations: 9.48 MB / 488.3 MB, free: 22.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01324/0.5247, allocations: 198.6 kB / 488.5 MB, free: 22.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007768/0.5325, allocations: 2.159 MB / 490.6 MB, free: 22.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02056/0.5531, allocations: 6.471 MB / 497.1 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003664/0.5568, allocations: 0.6087 MB / 497.7 MB, free: 19.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009312/0.5662, allocations: 4.831 MB / 0.4908 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008814/0.575, allocations: 4.057 MB / 0.4947 GB, free: 16.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004398/0.5795, allocations: 1.26 MB / 0.496 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004802/0.5843, allocations: 1.894 MB / 0.4978 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009478/0.5853, allocations: 136.6 kB / 0.4979 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003533/0.5888, allocations: 0.9521 MB / 0.4989 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003662/0.5925, allocations: 1.735 MB / 0.5006 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002368/0.5949, allocations: 0.8428 MB / 0.5014 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.6059, allocations: 5.464 MB / 0.5067 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.6059, allocations: 0 / 0.5067 GB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.606, allocations: 0 / 0.5067 GB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003183/0.6063, allocations: 0 / 0.5067 GB, free: 10.82 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.01149/0.6178, allocations: 3.994 MB / 0.5106 GB, free: 8.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.6179, allocations: 9.312 kB / 0.5106 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007908/0.6258, allocations: 1.992 MB / 0.5126 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007484/0.6333, allocations: 2.406 MB / 0.5149 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002741/0.6336, allocations: 242.1 kB / 0.5152 GB, free: 5.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00175/0.6354, allocations: 418.9 kB / 0.5156 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02105/0.6564, allocations: 10.15 MB / 0.5255 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002397/0.6567, allocations: 43.59 kB / 0.5255 GB, free: 12.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001171/0.6579, allocations: 159.8 kB / 0.5257 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003642/0.6616, allocations: 1.877 MB / 0.5275 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0231/0.6847, allocations: 8.561 MB / 0.5359 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06697/0.7517, allocations: 39.75 MB / 0.5747 GB, free: 9.008 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.7625, allocations: 3.836 MB / 0.5784 GB, free: 5.027 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003523/0.7661, allocations: 1.615 MB / 0.58 GB, free: 3.402 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0176/0.7837, allocations: 7.904 MB / 0.5877 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.898e-05/0.7839, allocations: 63.48 kB / 0.5878 GB, free: 11.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 7.905e-06/0.7839, allocations: 0 / 0.5878 GB, free: 11.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=169): time 0.04454/0.8284, allocations: 14.56 MB / 0.602 GB, free: 12.31 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001785/0.8303, allocations: 1.597 MB / 0.6036 GB, free: 10.54 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/0.8405, allocations: 3.902 MB / 0.6074 GB, free: 6.656 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007525/0.8414, allocations: 45.7 kB / 0.6074 GB, free: 6.605 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003706/0.8451, allocations: 3.155 MB / 0.6105 GB, free: 3.402 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001538/0.8467, allocations: 0.6868 MB / 0.6112 GB, free: 2.707 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/0.8478, allocations: 124 kB / 0.6113 GB, free: 2.586 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000837/0.8486, allocations: 0.5625 MB / 0.6118 GB, free: 2.016 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004981/0.8536, allocations: 2.062 MB / 0.6138 GB, free: 15.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009965/0.8636, allocations: 5.889 MB / 0.6196 GB, free: 8.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007362/0.871, allocations: 3.413 MB / 0.6229 GB, free: 4.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002146/0.8713, allocations: 40 kB / 0.623 GB, free: 4.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.3472/1.219, allocations: 9.43 MB / 0.6322 GB, free: 137.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.219, allocations: 63.69 kB / 0.6322 GB, free: 137.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009749/1.228, allocations: 3.594 MB / 0.6357 GB, free: 137.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009068/1.238, allocations: 2.287 MB / 0.638 GB, free: 137.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004753/1.242, allocations: 1.418 MB / 0.6394 GB, free: 137.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007859/1.25, allocations: 6.379 MB / 0.6456 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005271/1.256, allocations: 408.4 kB / 0.646 GB, free: 135.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009874/1.257, allocations: 380.2 kB / 0.6463 GB, free: 135.2 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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004271/1.261, allocations: 2.094 MB / 0.6484 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000689/1.262, allocations: 342.4 kB / 0.6487 GB, free: 134.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005388/1.267, allocations: 3.075 MB / 0.6517 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00521/1.272, allocations: 2.581 MB / 0.6542 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.038e-05/1.272, allocations: 5.875 kB / 0.6542 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.273e-05/1.272, allocations: 12.62 kB / 0.6543 GB, free: 132.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02339/1.296, allocations: 9.661 MB / 0.6637 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.884e-05/1.296, allocations: 4.125 kB / 0.6637 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/1.297, allocations: 272.2 kB / 0.664 GB, free: 129.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003504/1.301, allocations: 1.065 MB / 0.665 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003616/1.301, allocations: 46.8 kB / 0.665 GB, free: 129.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006653/1.308, allocations: 4.82 MB / 0.6698 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001022/1.309, allocations: 1.459 MB / 0.6712 GB, free: 124.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009735/1.319, allocations: 5.492 MB / 0.6765 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001704/1.321, allocations: 409.4 kB / 0.6769 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003806/1.321, allocations: 39.28 kB / 0.677 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/1.322, allocations: 126.9 kB / 0.6771 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/1.323, allocations: 122.7 kB / 0.6772 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/1.323, allocations: 54.69 kB / 0.6773 GB, free: 122.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004392/1.327, allocations: 2.407 MB / 0.6796 GB, free: 121.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.51e-07/1.327, allocations: 0 / 0.6796 GB, free: 121.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006545/1.334, allocations: 1.054 MB / 0.6806 GB, free: 121.2 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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004924/1.334, allocations: 173.3 kB / 0.6808 GB, free: 121.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009894/1.344, allocations: 5.646 MB / 0.6863 GB, free: 119 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/1.344, allocations: 4 kB / 0.6863 GB, free: 119 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003511/1.348, allocations: 2.118 MB / 0.6884 GB, free: 117.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/1.351, allocations: 450.4 kB / 0.6888 GB, free: 117.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/1.37, allocations: 11.37 MB / 0.6999 GB, free: 106.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004132/1.374, allocations: 3.26 MB / 0.7031 GB, free: 103.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004895/1.379, allocations: 1.907 MB / 0.705 GB, free: 101.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007624/1.38, allocations: 247.4 kB / 0.7052 GB, free: 101 MB / 494.1 MB Notification: Performance of SimCode: time 2.284e-06/1.38, allocations: 4 kB / 0.7052 GB, free: 101 MB / 494.1 MB Notification: Performance of Templates: time 0.0647/1.445, allocations: 36.27 MB / 0.7406 GB, free: 64.83 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: