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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009646/0.0009645, allocations: 183 kB / 7.654 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.534/1.534, allocations: 194.4 MB / 202.4 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001602/0.001602, allocations: 112.4 kB / 247.4 MB, free: 32 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1727/0.1727, allocations: 39.95 MB / 332.2 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.936e-05/1.938e-05, allocations: 4 kB / 393.3 MB, free: 3.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2868, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3953/0.6822, allocations: 98.79 MB / 0.5342 GB, free: 88.08 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.6825, allocations: 75 kB / 0.5342 GB, free: 88.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1828/0.8653, allocations: 80.28 MB / 0.6126 GB, free: 12.1 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.8653, allocations: 0 / 0.6126 GB, free: 12.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002589/0.8656, allocations: 83.98 kB / 0.6127 GB, free: 12.02 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01352/0.8792, allocations: 3.908 MB / 0.6165 GB, free: 8.047 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.8792, allocations: 8.031 kB / 0.6165 GB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.8907, allocations: 2.338 MB / 0.6188 GB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0124/0.9031, allocations: 5.2 MB / 0.6239 GB, free: 436 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.9034, allocations: 136 kB / 0.624 GB, free: 300 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001593/0.905, allocations: 243.9 kB / 0.6243 GB, free: 56 kB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01074/0.9157, allocations: 6.006 MB / 0.6301 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/0.9336, allocations: 9.292 MB / 0.6392 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002099/0.9339, allocations: 67.39 kB / 0.6393 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000591/0.9345, allocations: 32 kB / 0.6393 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001421/0.9359, allocations: 0.9985 MB / 0.6403 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05329/0.9892, allocations: 47.48 MB / 0.6866 GB, free: 13.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003538/0.9928, allocations: 2.495 MB / 0.6891 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.9946, allocations: 1.435 MB / 0.6905 GB, free: 9.344 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000419/0.9951, allocations: 356 kB / 0.6908 GB, free: 8.941 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/0.9951, allocations: 43.48 kB / 0.6909 GB, free: 8.891 MB / 458.7 MB Notification: Performance of pre-optimization done (n=145): time 4.048e-06/0.9951, allocations: 0 / 0.6909 GB, free: 8.891 MB / 458.7 MB Notification: Performance of matching and sorting (n=163): time 0.2847/1.28, allocations: 12.96 MB / 0.7035 GB, free: 106.1 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/1.28, allocations: 149.5 kB / 0.7037 GB, free: 105.9 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005989/1.286, allocations: 3.067 MB / 0.7066 GB, free: 105.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003618/1.286, allocations: 25.7 kB / 0.7067 GB, free: 105.6 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001771/1.288, allocations: 3.185 MB / 0.7098 GB, free: 104.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006527/1.289, allocations: 0.646 MB / 0.7104 GB, free: 103.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/1.289, allocations: 2.75 kB / 0.7104 GB, free: 103.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000264/1.289, allocations: 0.5689 MB / 0.711 GB, free: 103.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00255/1.292, allocations: 1.929 MB / 0.7129 GB, free: 103.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003843/1.296, allocations: 5.836 MB / 0.7186 GB, free: 98.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004699/1.3, allocations: 3.337 MB / 0.7218 GB, free: 98.24 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.245e-05/1.301, allocations: 40.06 kB / 0.7219 GB, free: 98.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.01157/1.312, allocations: 7.674 MB / 0.7293 GB, free: 97.65 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.817e-05/1.312, allocations: 63.03 kB / 0.7294 GB, free: 97.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004166/1.316, allocations: 2.508 MB / 0.7319 GB, free: 97.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003119/1.32, allocations: 1.125 MB / 0.733 GB, free: 97.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004274/1.324, allocations: 1.451 MB / 0.7344 GB, free: 97.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/1.328, allocations: 4.495 MB / 0.7388 GB, free: 94.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00466/1.333, allocations: 277.8 kB / 0.739 GB, free: 94.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007801/1.333, allocations: 393.3 kB / 0.7394 GB, free: 94.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 643 * Number of states: 0 () * Number of discrete variables: 36 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (782): * Single equations (assignments): 773 * 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.0008288/1.334, allocations: 458.9 kB / 0.7398 GB, free: 94.51 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000516/1.335, allocations: 320.7 kB / 0.7401 GB, free: 94.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005027/1.34, allocations: 2.872 MB / 0.7429 GB, free: 93.74 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003863/1.344, allocations: 2.426 MB / 0.7453 GB, free: 93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/1.344, allocations: 3.656 kB / 0.7453 GB, free: 93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/1.344, allocations: 7.172 kB / 0.7453 GB, free: 93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/1.357, allocations: 8.785 MB / 0.7539 GB, free: 89.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/1.357, allocations: 4.812 kB / 0.7539 GB, free: 89.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.358, allocations: 269 kB / 0.7542 GB, free: 89.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002651/1.361, allocations: 0.9947 MB / 0.7551 GB, free: 89.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/1.361, allocations: 21.19 kB / 0.7552 GB, free: 89.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004146/1.365, allocations: 4.726 MB / 0.7598 GB, free: 86.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006006/1.365, allocations: 1.394 MB / 0.7611 GB, free: 84.99 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006585/1.372, allocations: 5.61 MB / 0.7666 GB, free: 82.41 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000864/1.373, allocations: 367.9 kB / 0.767 GB, free: 82.13 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003233/1.373, allocations: 11.53 kB / 0.767 GB, free: 82.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/1.375, allocations: 109 kB / 0.7671 GB, free: 82.13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/1.375, allocations: 109.7 kB / 0.7672 GB, free: 82.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/1.375, allocations: 53.06 kB / 0.7672 GB, free: 82.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00267/1.378, allocations: 2.03 MB / 0.7692 GB, free: 80.86 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.378, allocations: 0 / 0.7692 GB, free: 80.86 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004447/1.382, allocations: 0.9035 MB / 0.7701 GB, free: 79.97 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 125 * 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.0003932/1.382, allocations: 154 kB / 0.7702 GB, free: 79.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007065/1.39, allocations: 5.209 MB / 0.7753 GB, free: 75.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.39, allocations: 0 / 0.7753 GB, free: 75.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003127/1.393, allocations: 2.115 MB / 0.7774 GB, free: 73.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/1.395, allocations: 353.5 kB / 0.7777 GB, free: 73.01 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/1.407, allocations: 7.768 MB / 0.7853 GB, free: 66.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002726/1.41, allocations: 3.292 MB / 0.7885 GB, free: 63.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004782/1.414, allocations: 1.988 MB / 0.7905 GB, free: 62.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006222/1.415, allocations: 236.8 kB / 0.7907 GB, free: 62.14 MB / 458.7 MB Notification: Performance of SimCode: time 1.313e-06/1.415, allocations: 0 / 0.7907 GB, free: 62.14 MB / 458.7 MB Notification: Performance of Templates: time 0.04671/1.462, allocations: 30.04 MB / 0.82 GB, free: 36.18 MB / 458.7 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)