Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.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.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001514/0.001514, allocations: 182.4 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.488/1.488, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001595/0.001595, allocations: 109.5 kB / 252.6 MB, free: 4.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1988/0.1988, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.088e-05, allocations: 8 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.0983, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3969/0.4952, allocations: 95.94 MB / 0.5382 GB, free: 11.81 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003842/0.4957, allocations: 79.62 kB / 0.5382 GB, free: 11.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2526/0.7483, allocations: 86.62 MB / 0.6228 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.546e-06/0.7484, allocations: 0 / 0.6228 GB, free: 12.73 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002651/0.7487, allocations: 71.94 kB / 0.6229 GB, free: 12.66 MB / 442.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.0182/0.7669, allocations: 3.701 MB / 0.6265 GB, free: 8.902 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/0.767, allocations: 8.031 kB / 0.6265 GB, free: 8.895 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03087/0.7979, allocations: 3.644 MB / 0.6301 GB, free: 5.238 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02082/0.8188, allocations: 4.924 MB / 0.6349 GB, free: 272 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00046/0.8193, allocations: 295.6 kB / 0.6352 GB, free: 15.97 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002449/0.8218, allocations: 395.7 kB / 0.6355 GB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02327/0.845, allocations: 10.26 MB / 0.6456 GB, free: 4.836 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001453/0.8453, allocations: 35.59 kB / 0.6456 GB, free: 4.801 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000944/0.8462, allocations: 175.9 kB / 0.6458 GB, free: 4.629 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001731/0.8479, allocations: 1.195 MB / 0.6469 GB, free: 3.434 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02105/0.869, allocations: 9.999 MB / 0.6567 GB, free: 9.422 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.332/1.201, allocations: 36.47 MB / 0.6923 GB, free: 94.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/1.211, allocations: 4.368 MB / 0.6966 GB, free: 93.43 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003471/1.215, allocations: 2.164 MB / 0.6987 GB, free: 93.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/1.216, allocations: 1.315 MB / 0.7 GB, free: 92.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.006e-05/1.216, allocations: 55.59 kB / 0.7 GB, free: 92.23 MB / 474.7 MB Notification: Performance of pre-optimization done (n=245): time 8.336e-06/1.216, allocations: 0 / 0.7 GB, free: 92.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=261): time 0.03688/1.253, allocations: 14.3 MB / 0.714 GB, free: 90.84 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001219/1.254, allocations: 1.533 MB / 0.7155 GB, free: 89.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005583/1.26, allocations: 2.438 MB / 0.7179 GB, free: 89.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008186/1.261, allocations: 59.83 kB / 0.7179 GB, free: 89.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003114/1.264, allocations: 2.731 MB / 0.7206 GB, free: 87.54 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001715/1.266, allocations: 0.9537 MB / 0.7215 GB, free: 86.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008793/1.267, allocations: 110.7 kB / 0.7216 GB, free: 86.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006096/1.267, allocations: 0.5478 MB / 0.7222 GB, free: 86.35 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004109/1.271, allocations: 2.384 MB / 0.7245 GB, free: 85.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005556/1.277, allocations: 5.382 MB / 0.7298 GB, free: 80.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005796/1.283, allocations: 3.625 MB / 0.7333 GB, free: 79.85 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001612/1.283, allocations: 30.09 kB / 0.7333 GB, free: 79.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02315/1.306, allocations: 9.373 MB / 0.7425 GB, free: 77.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/1.306, allocations: 55.06 kB / 0.7425 GB, free: 77.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01324/1.32, allocations: 4.536 MB / 0.747 GB, free: 76.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01017/1.33, allocations: 2.06 MB / 0.749 GB, free: 76.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004904/1.335, allocations: 1.288 MB / 0.7502 GB, free: 76.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006502/1.341, allocations: 4.942 MB / 0.7551 GB, free: 72.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005773/1.347, allocations: 398.8 kB / 0.7554 GB, free: 72.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001645/1.349, allocations: 332 kB / 0.7558 GB, free: 72.73 MB / 474.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 () * 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): 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.00249/1.351, allocations: 0.5042 MB / 0.7562 GB, free: 72.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.352, allocations: 276.3 kB / 0.7565 GB, free: 72.03 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/1.363, allocations: 5.348 MB / 0.7617 GB, free: 67.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008395/1.372, allocations: 4.592 MB / 0.7662 GB, free: 63.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/1.372, allocations: 4 kB / 0.7662 GB, free: 63.89 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.509e-05/1.372, allocations: 10.59 kB / 0.7662 GB, free: 63.89 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02995/1.402, allocations: 14.6 MB / 0.7805 GB, free: 51.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-05/1.402, allocations: 8 kB / 0.7805 GB, free: 51.87 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/1.404, allocations: 426 kB / 0.7809 GB, free: 51.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004025/1.408, allocations: 1.188 MB / 0.7821 GB, free: 50.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004532/1.409, allocations: 60.12 kB / 0.7821 GB, free: 50.75 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004145/1.413, allocations: 4.454 MB / 0.7865 GB, free: 46.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008537/1.414, allocations: 1.477 MB / 0.7879 GB, free: 45.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01231/1.426, allocations: 8.763 MB / 0.7965 GB, free: 36.32 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.427, allocations: 345.3 kB / 0.7968 GB, free: 35.96 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008028/1.428, allocations: 56.69 kB / 0.7968 GB, free: 35.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001982/1.43, allocations: 197 kB / 0.797 GB, free: 35.71 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003996/1.431, allocations: 170.7 kB / 0.7972 GB, free: 35.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002149/1.431, allocations: 75.98 kB / 0.7973 GB, free: 35.47 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003475/1.434, allocations: 1.665 MB / 0.7989 GB, free: 33.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.434, allocations: 0 / 0.7989 GB, free: 33.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006049/1.44, allocations: 1.065 MB / 0.7999 GB, free: 32.74 MB / 474.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 () * 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.0006781/1.441, allocations: 196.1 kB / 0.8001 GB, free: 32.55 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01015/1.451, allocations: 6.384 MB / 0.8064 GB, free: 26.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.451, allocations: 4 kB / 0.8064 GB, free: 26.11 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004764/1.456, allocations: 2.872 MB / 0.8092 GB, free: 23.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/1.459, allocations: 350.9 kB / 0.8095 GB, free: 22.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02273/1.481, allocations: 9.17 MB / 0.8185 GB, free: 13.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005102/1.487, allocations: 3.394 MB / 0.8218 GB, free: 10.13 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005384/1.492, allocations: 2.106 MB / 0.8238 GB, free: 8.027 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.493, allocations: 223.4 kB / 0.824 GB, free: 7.809 MB / 474.7 MB Notification: Performance of SimCode: time 1.983e-06/1.493, allocations: 0 / 0.824 GB, free: 7.809 MB / 474.7 MB Notification: Performance of Templates: time 0.3798/1.873, allocations: 33.93 MB / 0.8572 GB, free: 116.2 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.pipe 2>&1)