Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.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.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007465/0.007465, allocations: 166.5 kB / 15.11 MB, free: 5.98 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.418/1.418, allocations: 170.8 MB / 186.6 MB, free: 0.9648 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.00164/0.00164, allocations: 106.6 kB / 226.2 MB, free: 10.09 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.3086/0.3086, allocations: 38.06 MB / 303.7 MB, free: 42.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004103, allocations: 8 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.136, allocations: 48.7 MB / 411.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.438/0.574, allocations: 93.05 MB / 0.4928 GB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.5744, allocations: 74.34 kB / 0.4929 GB, free: 10.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.592/1.166, allocations: 116.5 MB / 0.6066 GB, free: 80.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.166, allocations: 0 / 0.6066 GB, free: 80.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001725/1.167, allocations: 91.78 kB / 0.6067 GB, free: 80.17 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: 1910 * Number of variables: 1910 Notification: Performance of Generate backend data structure: time 0.01564/1.182, allocations: 4.688 MB / 0.6113 GB, free: 78.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.182, allocations: 8.844 kB / 0.6113 GB, free: 78.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01646/1.199, allocations: 3.652 MB / 0.6149 GB, free: 77.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/1.213, allocations: 4.814 MB / 0.6196 GB, free: 77.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004555/1.214, allocations: 383.6 kB / 0.62 GB, free: 77.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003178/1.217, allocations: 0.4893 MB / 0.6204 GB, free: 77.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02623/1.243, allocations: 12.2 MB / 0.6323 GB, free: 75.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001752/1.244, allocations: 31.44 kB / 0.6324 GB, free: 75.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008173/1.244, allocations: 227.6 kB / 0.6326 GB, free: 75.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001756/1.246, allocations: 1.397 MB / 0.634 GB, free: 75.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02496/1.271, allocations: 11.32 MB / 0.645 GB, free: 74.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06706/1.338, allocations: 42.75 MB / 0.6868 GB, free: 47.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01431/1.353, allocations: 4.709 MB / 0.6914 GB, free: 45.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001883/1.355, allocations: 1.324 MB / 0.6927 GB, free: 44.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.086e-05/1.355, allocations: 63.47 kB / 0.6927 GB, free: 44.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 1.441e-05/1.355, allocations: 0 / 0.6927 GB, free: 44.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=268): time 0.04982/1.405, allocations: 19.82 MB / 0.7121 GB, free: 29.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/1.405, allocations: 99.11 kB / 0.7122 GB, free: 29.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006128/1.411, allocations: 2.879 MB / 0.715 GB, free: 26.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006289/1.412, allocations: 66.88 kB / 0.715 GB, free: 26.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002251/1.414, allocations: 3.261 MB / 0.7182 GB, free: 23.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0016/1.415, allocations: 0.9704 MB / 0.7192 GB, free: 22.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005921/1.416, allocations: 117.5 kB / 0.7193 GB, free: 22.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000382/1.416, allocations: 0.5715 MB / 0.7198 GB, free: 22.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003531/1.42, allocations: 2.447 MB / 0.7222 GB, free: 20.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005144/1.425, allocations: 5.812 MB / 0.7279 GB, free: 13.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004998/1.43, allocations: 3.763 MB / 0.7316 GB, free: 9.504 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.518e-05/1.43, allocations: 32 kB / 0.7316 GB, free: 9.473 MB / 426.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.01604/1.446, allocations: 9.056 MB / 0.7405 GB, free: 416 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.764e-05/1.446, allocations: 56 kB / 0.7405 GB, free: 360 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001249/1.446, allocations: 119.9 kB / 0.7406 GB, free: 240 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3296/1.776, allocations: 1.066 MB / 0.7417 GB, free: 70.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005826/1.782, allocations: 1.38 MB / 0.743 GB, free: 70.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008215/1.79, allocations: 5.235 MB / 0.7481 GB, free: 69.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005415/1.796, allocations: 322 kB / 0.7484 GB, free: 69.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/1.797, allocations: 350.7 kB / 0.7488 GB, free: 69.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 39 (axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[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 (743): * Single equations (assignments): 736 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006218/1.803, allocations: 2.479 MB / 0.7512 GB, free: 69.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008943/1.804, allocations: 319.9 kB / 0.7515 GB, free: 69.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/1.814, allocations: 5.347 MB / 0.7567 GB, free: 69.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.972e-05/1.814, allocations: 50.23 kB / 0.7568 GB, free: 69.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/1.814, allocations: 3.125 kB / 0.7568 GB, free: 69.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-05/1.814, allocations: 9.516 kB / 0.7568 GB, free: 69.24 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02767/1.842, allocations: 13.31 MB / 0.7698 GB, free: 68.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/1.842, allocations: 10.59 kB / 0.7698 GB, free: 68.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001689/1.844, allocations: 429.9 kB / 0.7702 GB, free: 68.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002479/1.846, allocations: 0.8846 MB / 0.7711 GB, free: 68.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000221/1.847, allocations: 60.2 kB / 0.7711 GB, free: 68.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006984/1.854, allocations: 4.565 MB / 0.7756 GB, free: 66.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.082e-05/1.854, allocations: 18.34 kB / 0.7756 GB, free: 66.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/1.87, allocations: 9.082 MB / 0.7845 GB, free: 63.81 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003397/1.873, allocations: 0.7383 MB / 0.7852 GB, free: 63.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008141/1.874, allocations: 58.7 kB / 0.7852 GB, free: 63.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/1.876, allocations: 142.1 kB / 0.7854 GB, free: 63.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004237/1.876, allocations: 172.7 kB / 0.7855 GB, free: 63.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/1.876, allocations: 72.44 kB / 0.7856 GB, free: 63.47 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003236/1.88, allocations: 1.981 MB / 0.7875 GB, free: 62.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.88, allocations: 0 / 0.7875 GB, free: 62.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006162/1.886, allocations: 1.117 MB / 0.7886 GB, free: 62.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (209): * Single equations (assignments): 202 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006208/1.886, allocations: 197.3 kB / 0.7888 GB, free: 62.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009213/1.896, allocations: 5.998 MB / 0.7947 GB, free: 60.69 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/1.896, allocations: 3.219 kB / 0.7947 GB, free: 60.69 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003243/1.899, allocations: 2.249 MB / 0.7969 GB, free: 59.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/1.901, allocations: 395.9 kB / 0.7973 GB, free: 59.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02675/1.928, allocations: 13.81 MB / 0.8107 GB, free: 52.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005292/1.933, allocations: 3.922 MB / 0.8146 GB, free: 51.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005201/1.939, allocations: 2.21 MB / 0.8167 GB, free: 51.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007716/1.939, allocations: 241.8 kB / 0.817 GB, free: 51.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.743e-06/1.94, allocations: 0 / 0.817 GB, free: 51.29 MB / 426.7 MB Notification: Performance of Templates: time 0.07011/2.01, allocations: 34.96 MB / 0.8511 GB, free: 35.95 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1)