Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006846/0.006846, allocations: 174.4 kB / 15.12 MB, free: 5.969 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.633/1.633, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001945/0.001945, allocations: 128.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2239/0.2239, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.0004027, allocations: 19.44 kB / 406.2 MB, free: 51.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1362, allocations: 54.88 MB / 461 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4861/0.6223, allocations: 97.98 MB / 0.5459 GB, free: 27.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.6226, allocations: 85.42 kB / 0.546 GB, free: 27.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2055/0.8282, allocations: 90.58 MB / 0.6344 GB, free: 11.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.8282, allocations: 0 / 0.6344 GB, free: 11.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000148/0.8284, allocations: 80 kB / 0.6345 GB, free: 11.08 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.01738/0.8458, allocations: 4.394 MB / 0.6388 GB, free: 6.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.8459, allocations: 8.031 kB / 0.6388 GB, free: 6.609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01543/0.8613, allocations: 3.554 MB / 0.6423 GB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01593/0.8773, allocations: 4.69 MB / 0.6469 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004353/0.8778, allocations: 328.6 kB / 0.6472 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003774/0.8815, allocations: 435.8 kB / 0.6476 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02639/0.908, allocations: 11.04 MB / 0.6584 GB, free: 2.023 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001379/0.9082, allocations: 31.72 kB / 0.6584 GB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006818/0.9089, allocations: 199.9 kB / 0.6586 GB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001692/0.9106, allocations: 1.228 MB / 0.6598 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02086/0.9314, allocations: 10.67 MB / 0.6702 GB, free: 5.871 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3704/1.302, allocations: 37.33 MB / 0.7067 GB, free: 97.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008407/1.31, allocations: 4.39 MB / 0.711 GB, free: 96.26 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/1.312, allocations: 1.319 MB / 0.7123 GB, free: 95.14 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/1.312, allocations: 54.09 kB / 0.7123 GB, free: 95.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=244): time 6.813e-06/1.312, allocations: 7.859 kB / 0.7123 GB, free: 95.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=265): time 0.04182/1.354, allocations: 14.29 MB / 0.7263 GB, free: 93.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/1.354, allocations: 78.78 kB / 0.7263 GB, free: 93.56 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004335/1.358, allocations: 2.506 MB / 0.7288 GB, free: 93.28 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004022/1.358, allocations: 64.55 kB / 0.7288 GB, free: 93.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/1.36, allocations: 2.924 MB / 0.7317 GB, free: 91.83 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009747/1.361, allocations: 0.9727 MB / 0.7327 GB, free: 91.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002426/1.361, allocations: 117.7 kB / 0.7328 GB, free: 91.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002931/1.362, allocations: 0.5596 MB / 0.7333 GB, free: 90.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/1.364, allocations: 2.331 MB / 0.7356 GB, free: 90.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0045/1.369, allocations: 5.46 MB / 0.7409 GB, free: 86.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004286/1.373, allocations: 3.59 MB / 0.7444 GB, free: 86.88 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-05/1.373, allocations: 31.44 kB / 0.7445 GB, free: 86.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01468/1.388, allocations: 8.526 MB / 0.7528 GB, free: 86.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.974e-05/1.388, allocations: 51.44 kB / 0.7528 GB, free: 86.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/1.388, allocations: 108.9 kB / 0.7529 GB, free: 86.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003286/1.392, allocations: 1.055 MB / 0.754 GB, free: 86.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004449/1.396, allocations: 1.328 MB / 0.7553 GB, free: 86.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002385/1.398, allocations: 2.502 MB / 0.7577 GB, free: 84.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004467/1.403, allocations: 316.5 kB / 0.758 GB, free: 84.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006821/1.404, allocations: 336.1 kB / 0.7583 GB, free: 84.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 500 * 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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (719): * Single equations (assignments): 710 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004746/1.408, allocations: 2.263 MB / 0.7605 GB, free: 84.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007657/1.409, allocations: 285.2 kB / 0.7608 GB, free: 84.48 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008647/1.418, allocations: 5.062 MB / 0.7658 GB, free: 82.87 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.406e-05/1.418, allocations: 46.19 kB / 0.7658 GB, free: 82.86 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/1.418, allocations: 2.125 kB / 0.7658 GB, free: 82.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-05/1.418, allocations: 16.86 kB / 0.7658 GB, free: 82.86 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02059/1.438, allocations: 11.6 MB / 0.7771 GB, free: 78.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/1.439, allocations: 6.875 kB / 0.7772 GB, free: 78.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.44, allocations: 428.1 kB / 0.7776 GB, free: 78.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003067/1.443, allocations: 0.9142 MB / 0.7785 GB, free: 78.76 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002889/1.444, allocations: 59.95 kB / 0.7785 GB, free: 78.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/1.446, allocations: 2.305 MB / 0.7808 GB, free: 77.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.446, allocations: 11.44 kB / 0.7808 GB, free: 77.22 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/1.457, allocations: 8.151 MB / 0.7887 GB, free: 73.56 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.458, allocations: 327 kB / 0.789 GB, free: 73.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/1.458, allocations: 53.69 kB / 0.7891 GB, free: 73.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/1.46, allocations: 141.2 kB / 0.7892 GB, free: 73.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003033/1.46, allocations: 158.5 kB / 0.7894 GB, free: 73.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/1.46, allocations: 83.61 kB / 0.7895 GB, free: 73.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00267/1.463, allocations: 1.709 MB / 0.7911 GB, free: 72.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-07/1.463, allocations: 0 / 0.7911 GB, free: 72.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004988/1.468, allocations: 1.004 MB / 0.7921 GB, free: 71.64 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000551/1.468, allocations: 203.7 kB / 0.7923 GB, free: 71.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009572/1.478, allocations: 6.138 MB / 0.7983 GB, free: 66.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.478e-05/1.478, allocations: 4 kB / 0.7983 GB, free: 66.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004151/1.482, allocations: 2.596 MB / 0.8008 GB, free: 63.82 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/1.485, allocations: 392.2 kB / 0.8012 GB, free: 63.51 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02668/1.511, allocations: 12.96 MB / 0.8139 GB, free: 51.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004146/1.516, allocations: 3.595 MB / 0.8174 GB, free: 48.93 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004823/1.521, allocations: 2.085 MB / 0.8194 GB, free: 47.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007302/1.521, allocations: 244.6 kB / 0.8196 GB, free: 47.38 MB / 474.7 MB Notification: Performance of SimCode: time 1.934e-06/1.521, allocations: 0 / 0.8196 GB, free: 47.38 MB / 474.7 MB Notification: Performance of Templates: time 0.05905/1.58, allocations: 31.63 MB / 0.8505 GB, free: 22.06 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.pipe 2>&1)