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.00169/0.00169, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.523/1.523, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001662/0.001662, allocations: 103.5 kB / 218 MB, free: 8.41 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.1673/0.1673, allocations: 37.97 MB / 295.1 MB, free: 9.504 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.69e-05, allocations: 4.031 kB / 350 MB, free: 36.99 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08797/0.088, allocations: 48.72 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.359/0.4471, allocations: 92.29 MB / 491 MB, free: 17.83 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/0.4473, allocations: 71.16 kB / 491.1 MB, free: 17.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2814/0.7288, allocations: 114.4 MB / 0.5913 GB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.7288, allocations: 0 / 0.5913 GB, free: 13.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003332/0.7292, allocations: 92 kB / 0.5914 GB, free: 13.34 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: 1910 * Number of variables: 1910 Notification: Performance of Generate backend data structure: time 0.0158/0.745, allocations: 4.441 MB / 0.5957 GB, free: 8.828 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.7451, allocations: 11.97 kB / 0.5957 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01727/0.7624, allocations: 3.655 MB / 0.5993 GB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01612/0.7785, allocations: 4.792 MB / 0.604 GB, free: 312 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003712/0.7789, allocations: 160 kB / 0.6041 GB, free: 152 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003826/0.7828, allocations: 292 kB / 0.6044 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01818/0.801, allocations: 8.451 MB / 0.6127 GB, free: 7.406 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2891/1.09, allocations: 11.19 MB / 0.6236 GB, free: 82.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002756/1.09, allocations: 38.56 kB / 0.6236 GB, free: 82.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001437/1.092, allocations: 16.88 kB / 0.6237 GB, free: 82.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002332/1.094, allocations: 1.393 MB / 0.625 GB, free: 82.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06235/1.157, allocations: 39.72 MB / 0.6638 GB, free: 67.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005126/1.162, allocations: 4.372 MB / 0.6681 GB, free: 65.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002902/1.165, allocations: 2.368 MB / 0.6704 GB, free: 65.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009379/1.166, allocations: 1.316 MB / 0.6717 GB, free: 64.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/1.166, allocations: 54.62 kB / 0.6717 GB, free: 64.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=252): time 4.258e-06/1.166, allocations: 2.406 kB / 0.6717 GB, free: 64.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=271): time 0.02998/1.196, allocations: 18.88 MB / 0.6902 GB, free: 58.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/1.196, allocations: 99.14 kB / 0.6903 GB, free: 58.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003326/1.199, allocations: 2.644 MB / 0.6928 GB, free: 57.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002983/1.2, allocations: 25.7 kB / 0.6929 GB, free: 57.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001676/1.201, allocations: 3.371 MB / 0.6962 GB, free: 55.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007804/1.202, allocations: 0.9649 MB / 0.6971 GB, free: 54.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/1.202, allocations: 3.594 kB / 0.6971 GB, free: 54.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002606/1.202, allocations: 0.5897 MB / 0.6977 GB, free: 54.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002532/1.205, allocations: 2.39 MB / 0.7 GB, free: 53.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004158/1.209, allocations: 6.018 MB / 0.7059 GB, free: 47.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004725/1.214, allocations: 3.825 MB / 0.7096 GB, free: 46.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/1.214, allocations: 38.28 kB / 0.7097 GB, free: 46.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=859) (initialization): time 0.01783/1.232, allocations: 8.568 MB / 0.718 GB, free: 44.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001694/1.232, allocations: 61.45 kB / 0.7181 GB, free: 44.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003049/1.232, allocations: 129.8 kB / 0.7182 GB, free: 44.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003947/1.236, allocations: 1.078 MB / 0.7193 GB, free: 43.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005322/1.242, allocations: 1.481 MB / 0.7207 GB, free: 43.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005804/1.248, allocations: 4.876 MB / 0.7255 GB, free: 41.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004416/1.252, allocations: 215.3 kB / 0.7257 GB, free: 41.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00103/1.253, allocations: 383.8 kB / 0.726 GB, free: 41 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (797): * Single equations (assignments): 790 * 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 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001162/1.254, allocations: 446.5 kB / 0.7265 GB, free: 40.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005316/1.255, allocations: 311.8 kB / 0.7268 GB, free: 40.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007734/1.263, allocations: 5.189 MB / 0.7318 GB, free: 36.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.9e-05/1.263, allocations: 51.75 kB / 0.7319 GB, free: 35.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.263, allocations: 4 kB / 0.7319 GB, free: 35.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.894e-05/1.263, allocations: 11.53 kB / 0.7319 GB, free: 35.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/1.28, allocations: 12.01 MB / 0.7436 GB, free: 25.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/1.28, allocations: 15.94 kB / 0.7436 GB, free: 25.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.282, allocations: 431.1 kB / 0.7441 GB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002433/1.284, allocations: 0.8757 MB / 0.7449 GB, free: 24.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/1.285, allocations: 28.31 kB / 0.7449 GB, free: 24.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004738/1.289, allocations: 4.221 MB / 0.7491 GB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/1.29, allocations: 19.88 kB / 0.7491 GB, free: 21.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/1.3, allocations: 8.97 MB / 0.7578 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/1.302, allocations: 0.7207 MB / 0.7585 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003984/1.302, allocations: 19.42 kB / 0.7586 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.303, allocations: 109.4 kB / 0.7587 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002761/1.304, allocations: 163.2 kB / 0.7588 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001548/1.304, allocations: 84.61 kB / 0.7589 GB, free: 11.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002412/1.306, allocations: 1.732 MB / 0.7606 GB, free: 10.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.61e-07/1.306, allocations: 0 / 0.7606 GB, free: 10.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004933/1.311, allocations: 0.9747 MB / 0.7615 GB, free: 9.324 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 205 * 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.0004003/1.311, allocations: 169.3 kB / 0.7617 GB, free: 9.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006602/1.318, allocations: 5.823 MB / 0.7674 GB, free: 3.883 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.318, allocations: 4 kB / 0.7674 GB, free: 3.879 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002336/1.32, allocations: 2.177 MB / 0.7695 GB, free: 1.902 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/1.322, allocations: 274.8 kB / 0.7698 GB, free: 1.668 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/1.342, allocations: 10.02 MB / 0.7796 GB, free: 9.039 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004363/1.347, allocations: 3.929 MB / 0.7834 GB, free: 5.094 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005354/1.352, allocations: 2.29 MB / 0.7856 GB, free: 2.797 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007094/1.353, allocations: 239.4 kB / 0.7859 GB, free: 2.566 MB / 442.7 MB Notification: Performance of SimCode: time 6.92e-07/1.353, allocations: 0 / 0.7859 GB, free: 2.566 MB / 442.7 MB Notification: Performance of Templates: time 0.2864/1.639, allocations: 30.86 MB / 0.816 GB, free: 87.66 MB / 442.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)