Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005988/0.005988, allocations: 165 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.245/1.245, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001517/0.001517, allocations: 109.7 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3286/0.3286, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003824/0.0003824, allocations: 8 kB / 362.9 MB, free: 5.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1367, allocations: 48.7 MB / 411.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.5773, allocations: 89.3 MB / 0.4891 GB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.5775, allocations: 77.91 kB / 0.4892 GB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2342/0.8118, allocations: 86.36 MB / 0.5735 GB, free: 12.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.8119, allocations: 0 / 0.5735 GB, free: 12.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003101/0.8122, allocations: 72 kB / 0.5736 GB, free: 12.82 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.0183/0.8305, allocations: 3.857 MB / 0.5774 GB, free: 8.895 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.111e-05/0.8306, allocations: 12.03 kB / 0.5774 GB, free: 8.883 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01702/0.8477, allocations: 3.636 MB / 0.5809 GB, free: 5.238 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01657/0.8643, allocations: 4.935 MB / 0.5858 GB, free: 260 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3152/1.18, allocations: 294 kB / 0.586 GB, free: 85.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003025/1.183, allocations: 385.1 kB / 0.5864 GB, free: 85.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01789/1.201, allocations: 10.34 MB / 0.5965 GB, free: 83.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.803e-05/1.201, allocations: 32.97 kB / 0.5965 GB, free: 83.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005041/1.201, allocations: 173.8 kB / 0.5967 GB, free: 83.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001482/1.203, allocations: 1.197 MB / 0.5979 GB, free: 83.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/1.219, allocations: 10.15 MB / 0.6078 GB, free: 83.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0525/1.271, allocations: 36.46 MB / 0.6434 GB, free: 64.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007274/1.279, allocations: 4.407 MB / 0.6477 GB, free: 62.74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/1.28, allocations: 1.32 MB / 0.649 GB, free: 61.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/1.28, allocations: 55.78 kB / 0.649 GB, free: 61.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=245): time 6.873e-06/1.28, allocations: 0 / 0.649 GB, free: 61.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=261): time 0.03706/1.317, allocations: 17.3 MB / 0.6659 GB, free: 55.49 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001352/1.318, allocations: 1.54 MB / 0.6674 GB, free: 53.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004721/1.323, allocations: 2.456 MB / 0.6698 GB, free: 53.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006443/1.324, allocations: 59.91 kB / 0.6699 GB, free: 53.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001664/1.325, allocations: 2.728 MB / 0.6726 GB, free: 51.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001377/1.327, allocations: 0.9575 MB / 0.6735 GB, free: 50.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/1.327, allocations: 109.2 kB / 0.6736 GB, free: 50.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003156/1.327, allocations: 0.5526 MB / 0.6741 GB, free: 49.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003128/1.33, allocations: 2.413 MB / 0.6765 GB, free: 49.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004946/1.335, allocations: 5.428 MB / 0.6818 GB, free: 44.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004993/1.34, allocations: 3.614 MB / 0.6853 GB, free: 43.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.053e-05/1.34, allocations: 35.58 kB / 0.6853 GB, free: 43.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01765/1.358, allocations: 8.793 MB / 0.6939 GB, free: 39.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/1.358, allocations: 56.03 kB / 0.694 GB, free: 39.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007031/1.365, allocations: 3.903 MB / 0.6978 GB, free: 36.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004051/1.369, allocations: 1.249 MB / 0.699 GB, free: 35.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004852/1.374, allocations: 1.287 MB / 0.7003 GB, free: 34.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004457/1.379, allocations: 4.177 MB / 0.7044 GB, free: 30.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005827/1.385, allocations: 401.8 kB / 0.7047 GB, free: 29.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002197/1.387, allocations: 328.6 kB / 0.7051 GB, free: 29.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (688): * Single equations (assignments): 676 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.006979/1.394, allocations: 2.101 MB / 0.7071 GB, free: 27.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001167/1.395, allocations: 272.4 kB / 0.7074 GB, free: 27.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/1.406, allocations: 5.389 MB / 0.7126 GB, free: 23.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008151/1.414, allocations: 4.638 MB / 0.7172 GB, free: 19.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-05/1.415, allocations: 0 / 0.7172 GB, free: 19.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.064e-05/1.415, allocations: 14.36 kB / 0.7172 GB, free: 19.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03201/1.447, allocations: 14.65 MB / 0.7315 GB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-05/1.447, allocations: 8 kB / 0.7315 GB, free: 7.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/1.449, allocations: 420.6 kB / 0.7319 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004121/1.453, allocations: 1.194 MB / 0.7331 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006124/1.454, allocations: 67.92 kB / 0.7331 GB, free: 5.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004603/1.458, allocations: 4.531 MB / 0.7375 GB, free: 1.121 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001107/1.46, allocations: 1.482 MB / 0.739 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/1.476, allocations: 8.841 MB / 0.7476 GB, free: 6.234 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/1.478, allocations: 345.4 kB / 0.748 GB, free: 5.875 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009857/1.479, allocations: 47.98 kB / 0.748 GB, free: 5.828 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002205/1.481, allocations: 199.1 kB / 0.7482 GB, free: 5.637 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005197/1.482, allocations: 169.6 kB / 0.7484 GB, free: 5.473 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002849/1.482, allocations: 75.98 kB / 0.7484 GB, free: 5.398 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004245/1.486, allocations: 1.685 MB / 0.7501 GB, free: 3.707 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.486, allocations: 0 / 0.7501 GB, free: 3.707 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00754/1.494, allocations: 1.055 MB / 0.7511 GB, free: 2.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (202): * Single equations (assignments): 192 * Array equations: 6 * 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.0008975/1.495, allocations: 200.7 kB / 0.7513 GB, free: 2.457 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2823/1.777, allocations: 6.436 MB / 0.7576 GB, free: 90.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.69e-05/1.777, allocations: 1.438 kB / 0.7576 GB, free: 90.98 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005781/1.783, allocations: 2.883 MB / 0.7604 GB, free: 90.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/1.785, allocations: 349.3 kB / 0.7607 GB, free: 90.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02326/1.809, allocations: 12.55 MB / 0.773 GB, free: 85.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004002/1.813, allocations: 3.387 MB / 0.7763 GB, free: 85.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005714/1.818, allocations: 2.106 MB / 0.7783 GB, free: 84.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009171/1.819, allocations: 227.8 kB / 0.7786 GB, free: 84.95 MB / 442.7 MB Notification: Performance of SimCode: time 2.234e-06/1.819, allocations: 0 / 0.7786 GB, free: 84.95 MB / 442.7 MB Notification: Performance of Templates: time 0.07341/1.893, allocations: 32.34 MB / 0.8101 GB, free: 83.29 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)