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.001376/0.001376, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001341/0.001341, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.716/1.716, allocations: 205.1 MB / 222 MB, free: 4.766 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.4073/0.4073, allocations: 39.93 MB / 309.3 MB, free: 9.355 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.001941/0.001941, allocations: 66.41 kB / 376.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1832, allocations: 56.88 MB / 433.8 MB, free: 4.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.3439/0.5272, allocations: 46.4 MB / 480.2 MB, free: 26.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0281/0.5553, allocations: 10 MB / 490.2 MB, free: 19.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01529/0.5706, allocations: 198.2 kB / 490.4 MB, free: 19.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005308/0.576, allocations: 2.572 MB / 493 MB, free: 18.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006572/0.5827, allocations: 1.753 MB / 494.7 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.5848, allocations: 0.659 MB / 495.4 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009928/0.5948, allocations: 6.08 MB / 0.4897 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006397/0.6013, allocations: 3.386 MB / 0.493 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004084/0.6054, allocations: 1.372 MB / 0.4943 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005428/0.6108, allocations: 2.201 MB / 0.4965 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00142/0.6123, allocations: 231.8 kB / 0.4967 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005201/0.6175, allocations: 1.214 MB / 0.4979 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004785/0.6223, allocations: 1.907 MB / 0.4998 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004884/0.6272, allocations: 2.166 MB / 0.5019 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.6387, allocations: 6.826 MB / 0.5085 GB, free: 7.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.6388, allocations: 1.156 kB / 0.5085 GB, free: 7.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6388, allocations: 0 / 0.5085 GB, free: 7.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003228/0.6391, allocations: 0 / 0.5085 GB, free: 7.75 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.01616/0.6553, allocations: 4.811 MB / 0.5132 GB, free: 4.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.6553, allocations: 14.31 kB / 0.5133 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007563/0.6629, allocations: 1.936 MB / 0.5152 GB, free: 3.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006602/0.6696, allocations: 2.458 MB / 0.5176 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/0.6698, allocations: 253.8 kB / 0.5178 GB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001553/0.6714, allocations: 416.6 kB / 0.5182 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02333/0.6947, allocations: 10.17 MB / 0.5281 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.695, allocations: 39.59 kB / 0.5282 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004826/0.6955, allocations: 155.9 kB / 0.5283 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003007/0.6985, allocations: 1.884 MB / 0.5301 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0214/0.7199, allocations: 8.606 MB / 0.5386 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05901/0.779, allocations: 39.76 MB / 0.5774 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/0.7898, allocations: 3.851 MB / 0.5811 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003373/0.7932, allocations: 1.609 MB / 0.5827 GB, free: 14.35 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01545/0.8087, allocations: 7.92 MB / 0.5904 GB, free: 6.051 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/0.8088, allocations: 47.56 kB / 0.5905 GB, free: 5.996 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 5.811e-06/0.8089, allocations: 0 / 0.5905 GB, free: 5.996 MB / 462.1 MB Notification: Performance of matching and sorting (n=169): time 0.04236/0.8512, allocations: 14.59 MB / 0.6047 GB, free: 7.23 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001584/0.8529, allocations: 1.585 MB / 0.6063 GB, free: 5.469 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006952/0.8598, allocations: 3.929 MB / 0.6101 GB, free: 1.559 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005718/0.8604, allocations: 45.7 kB / 0.6102 GB, free: 1.508 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002765/0.8632, allocations: 3.159 MB / 0.6132 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.8644, allocations: 0.6793 MB / 0.6139 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001934/0.8663, allocations: 1.249 MB / 0.6151 GB, free: 12.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.8664, allocations: 309.1 kB / 0.6154 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003463/0.8699, allocations: 2.093 MB / 0.6175 GB, free: 9.945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006592/0.8765, allocations: 5.912 MB / 0.6232 GB, free: 2.125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3432/1.22, allocations: 8.629 MB / 0.6317 GB, free: 137.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001612/1.22, allocations: 37.94 kB / 0.6317 GB, free: 137.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=808) (initialization): time 0.02466/1.245, allocations: 9.49 MB / 0.641 GB, free: 134.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/1.245, allocations: 65.38 kB / 0.641 GB, free: 134.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0103/1.255, allocations: 3.612 MB / 0.6446 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009673/1.265, allocations: 2.267 MB / 0.6468 GB, free: 133.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005102/1.27, allocations: 1.419 MB / 0.6482 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008959/1.279, allocations: 6.379 MB / 0.6544 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007349/1.286, allocations: 408.5 kB / 0.6548 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002225/1.289, allocations: 378.6 kB / 0.6551 GB, free: 129.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.007137/1.296, allocations: 2.102 MB / 0.6572 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001259/1.297, allocations: 344.2 kB / 0.6575 GB, free: 128.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009584/1.307, allocations: 3.072 MB / 0.6605 GB, free: 127.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006687/1.313, allocations: 2.587 MB / 0.663 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.863e-05/1.313, allocations: 6.75 kB / 0.6631 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.046e-05/1.314, allocations: 12.27 kB / 0.6631 GB, free: 127.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02569/1.339, allocations: 9.672 MB / 0.6725 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/1.339, allocations: 7.172 kB / 0.6725 GB, free: 123.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/1.341, allocations: 273.5 kB / 0.6728 GB, free: 123.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003233/1.344, allocations: 1.069 MB / 0.6738 GB, free: 123.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002633/1.344, allocations: 46.09 kB / 0.6739 GB, free: 123.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004485/1.349, allocations: 4.803 MB / 0.6786 GB, free: 120 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007738/1.349, allocations: 1.464 MB / 0.68 GB, free: 118.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008324/1.358, allocations: 5.505 MB / 0.6854 GB, free: 116.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/1.359, allocations: 395.6 kB / 0.6857 GB, free: 116.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005688/1.36, allocations: 39.61 kB / 0.6858 GB, free: 116.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001447/1.361, allocations: 134 kB / 0.6859 GB, free: 116.1 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/1.362, allocations: 122.4 kB / 0.686 GB, free: 116.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/1.362, allocations: 47.84 kB / 0.6861 GB, free: 116.1 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003821/1.366, allocations: 2.428 MB / 0.6884 GB, free: 115.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/1.366, allocations: 0 / 0.6884 GB, free: 115.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00686/1.372, allocations: 1.053 MB / 0.6895 GB, free: 114.6 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.0006024/1.373, allocations: 184.7 kB / 0.6896 GB, free: 114.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0103/1.383, allocations: 5.682 MB / 0.6952 GB, free: 109.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.759e-05/1.383, allocations: 8 kB / 0.6952 GB, free: 109.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003906/1.387, allocations: 2.121 MB / 0.6973 GB, free: 106.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004575/1.392, allocations: 441.6 kB / 0.6977 GB, free: 106.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/1.411, allocations: 11.66 MB / 0.7091 GB, free: 94.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002998/1.414, allocations: 3.26 MB / 0.7123 GB, free: 91.52 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004574/1.419, allocations: 1.907 MB / 0.7141 GB, free: 89.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005824/1.42, allocations: 243.4 kB / 0.7144 GB, free: 89.36 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/1.42, allocations: 3.609 kB / 0.7144 GB, free: 89.36 MB / 494.1 MB Notification: Performance of Templates: time 0.06728/1.487, allocations: 37.42 MB / 0.7509 GB, free: 52.05 MB / 494.1 MB 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)